f65624666b147b751af89afc08257d3f9a4e0057
[platform/upstream/efreet.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for efreet 1.7.1.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
238   fi
239   exit 1
240 fi
241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257   { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266   return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274   set +e
275   as_fn_set_status $1
276   exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285   case $as_dir in #(
286   -*) as_dir=./$as_dir;;
287   esac
288   test -d "$as_dir" || eval $as_mkdir_p || {
289     as_dirs=
290     while :; do
291       case $as_dir in #(
292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293       *) as_qdir=$as_dir;;
294       esac
295       as_dirs="'$as_qdir' $as_dirs"
296       as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298          X"$as_dir" : 'X\(//\)[^/]' \| \
299          X"$as_dir" : 'X\(//\)$' \| \
300          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)[^/].*/{
307             s//\1/
308             q
309           }
310           /^X\(\/\/\)$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\).*/{
315             s//\1/
316             q
317           }
318           s/.*/./; q'`
319       test -d "$as_dir" && break
320     done
321     test -z "$as_dirs" || eval "mkdir $as_dirs"
322   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333   eval 'as_fn_append ()
334   {
335     eval $1+=\$2
336   }'
337 else
338   as_fn_append ()
339   {
340     eval $1=\$$1\$2
341   }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350   eval 'as_fn_arith ()
351   {
352     as_val=$(( $* ))
353   }'
354 else
355   as_fn_arith ()
356   {
357     as_val=`expr "$@" || test $? -eq 1`
358   }
359 fi # as_fn_arith
360
361
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
367 as_fn_error ()
368 {
369   as_status=$1; test $as_status -eq 0 && as_status=1
370   if test "$4"; then
371     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373   fi
374   $as_echo "$as_me: error: $2" >&2
375   as_fn_exit $as_status
376 } # as_fn_error
377
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
380   as_expr=expr
381 else
382   as_expr=false
383 fi
384
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386   as_basename=basename
387 else
388   as_basename=false
389 fi
390
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392   as_dirname=dirname
393 else
394   as_dirname=false
395 fi
396
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399          X"$0" : 'X\(//\)$' \| \
400          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402     sed '/^.*\/\([^/][^/]*\)\/*$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\/\)$/{
407             s//\1/
408             q
409           }
410           /^X\/\(\/\).*/{
411             s//\1/
412             q
413           }
414           s/.*/./; q'`
415
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429   sed -n '
430     p
431     /[$]LINENO/=
432   ' <$as_myself |
433     sed '
434       s/[$]LINENO.*/&-/
435       t lineno
436       b
437       :lineno
438       N
439       :loop
440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441       t loop
442       s/-\n.*//
443     ' >$as_me.lineno &&
444   chmod +x "$as_me.lineno" ||
445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447   # Don't try to exec as it changes $[0], causing all sort of problems
448   # (the dirname of $[0] is not the place where we might find the
449   # original and so on.  Autoconf is especially sensitive to this).
450   . "./$as_me.lineno"
451   # Exit status is that of the last command.
452   exit
453 }
454
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458   case `echo 'xy\c'` in
459   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460   xy)  ECHO_C='\c';;
461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462        ECHO_T=' ';;
463   esac;;
464 *)
465   ECHO_N='-n';;
466 esac
467
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470   rm -f conf$$.dir/conf$$.file
471 else
472   rm -f conf$$.dir
473   mkdir conf$$.dir 2>/dev/null
474 fi
475 if (echo >conf$$.file) 2>/dev/null; then
476   if ln -s conf$$.file conf$$ 2>/dev/null; then
477     as_ln_s='ln -s'
478     # ... but there are two gotchas:
479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481     # In both cases, we have to default to `cp -p'.
482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483       as_ln_s='cp -p'
484   elif ln conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s=ln
486   else
487     as_ln_s='cp -p'
488   fi
489 else
490   as_ln_s='cp -p'
491 fi
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
494
495 if mkdir -p . 2>/dev/null; then
496   as_mkdir_p='mkdir -p "$as_dir"'
497 else
498   test -d ./-p && rmdir ./-p
499   as_mkdir_p=false
500 fi
501
502 if test -x / >/dev/null 2>&1; then
503   as_test_x='test -x'
504 else
505   if ls -dL / >/dev/null 2>&1; then
506     as_ls_L_option=L
507   else
508     as_ls_L_option=
509   fi
510   as_test_x='
511     eval sh -c '\''
512       if test -d "$1"; then
513         test -d "$1/.";
514       else
515         case $1 in #(
516         -*)set "./$1";;
517         esac;
518         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519         ???[sx]*):;;*)false;;esac;fi
520     '\'' sh
521   '
522 fi
523 as_executable_p=$as_test_x
524
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538   # Remove one level of quotation (which was required for Make).
539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540   ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545   # Discard the --no-reexec flag, and continue.
546   shift
547 elif test "X$1" = X--fallback-echo; then
548   # Avoid inline document here, it may be left over
549   :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551   # Yippee, $ECHO works!
552   :
553 else
554   # Restart under the correct shell.
555   exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559   # used as fallback echo
560   shift
561   cat <<_LT_EOF
562 $*
563 _LT_EOF
564   exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572   if test "X${echo_test_string+set}" != Xset; then
573     # find a string as large as possible, as long as the shell can cope with it
574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578       then
579         break
580       fi
581     done
582   fi
583
584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586      test "X$echo_testing_string" = "X$echo_test_string"; then
587     :
588   else
589     # The Solaris, AIX, and Digital Unix default echo programs unquote
590     # backslashes.  This makes it impossible to quote backslashes using
591     #   echo "$something" | sed 's/\\/\\\\/g'
592     #
593     # So, first we look for a working echo in the user's PATH.
594
595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596     for dir in $PATH /usr/ucb; do
597       IFS="$lt_save_ifs"
598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601          test "X$echo_testing_string" = "X$echo_test_string"; then
602         ECHO="$dir/echo"
603         break
604       fi
605     done
606     IFS="$lt_save_ifs"
607
608     if test "X$ECHO" = Xecho; then
609       # We didn't find a better echo, so look for alternatives.
610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612          test "X$echo_testing_string" = "X$echo_test_string"; then
613         # This shell has a builtin print -r that does the trick.
614         ECHO='print -r'
615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616            test "X$CONFIG_SHELL" != X/bin/ksh; then
617         # If we have ksh, try running configure again with it.
618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619         export ORIGINAL_CONFIG_SHELL
620         CONFIG_SHELL=/bin/ksh
621         export CONFIG_SHELL
622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623       else
624         # Try using printf.
625         ECHO='printf %s\n'
626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628            test "X$echo_testing_string" = "X$echo_test_string"; then
629           # Cool, printf works
630           :
631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632              test "X$echo_testing_string" = 'X\t' &&
633              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634              test "X$echo_testing_string" = "X$echo_test_string"; then
635           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636           export CONFIG_SHELL
637           SHELL="$CONFIG_SHELL"
638           export SHELL
639           ECHO="$CONFIG_SHELL $0 --fallback-echo"
640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641              test "X$echo_testing_string" = 'X\t' &&
642              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643              test "X$echo_testing_string" = "X$echo_test_string"; then
644           ECHO="$CONFIG_SHELL $0 --fallback-echo"
645         else
646           # maybe with a smaller string...
647           prev=:
648
649           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651             then
652               break
653             fi
654             prev="$cmd"
655           done
656
657           if test "$prev" != 'sed 50q "$0"'; then
658             echo_test_string=`eval $prev`
659             export echo_test_string
660             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661           else
662             # Oops.  We lost completely, so just stick with echo.
663             ECHO=echo
664           fi
665         fi
666       fi
667     fi
668   fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679
680
681 test -n "$DJDIR" || exec 7<&0 </dev/null
682 exec 6>&1
683
684 # Name of the host.
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689 #
690 # Initializations.
691 #
692 ac_default_prefix=/usr/local
693 ac_clean_files=
694 ac_config_libobj_dir=.
695 LIBOBJS=
696 cross_compiling=no
697 subdirs=
698 MFLAGS=
699 MAKEFLAGS=
700
701 # Identity of this package.
702 PACKAGE_NAME='efreet'
703 PACKAGE_TARNAME='efreet'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='efreet 1.7.1'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707 PACKAGE_URL=''
708
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
712 #include <stdio.h>
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
715 #endif
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
718 #endif
719 #ifdef STDC_HEADERS
720 # include <stdlib.h>
721 # include <stddef.h>
722 #else
723 # ifdef HAVE_STDLIB_H
724 #  include <stdlib.h>
725 # endif
726 #endif
727 #ifdef HAVE_STRING_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #  include <memory.h>
730 # endif
731 # include <string.h>
732 #endif
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
735 #endif
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
738 #endif
739 #ifdef HAVE_STDINT_H
740 # include <stdint.h>
741 #endif
742 #ifdef HAVE_UNISTD_H
743 # include <unistd.h>
744 #endif"
745
746 gt_needs=
747 ac_subst_vars='am__EXEEXT_FALSE
748 am__EXEEXT_TRUE
749 LTLIBOBJS
750 LIBOBJS
751 requirement_efreet
752 EFL_ENABLE_COVERAGE_FALSE
753 EFL_ENABLE_COVERAGE_TRUE
754 EFL_COVERAGE_LIBS
755 EFL_COVERAGE_CFLAGS
756 have_lcov
757 EFL_ENABLE_TESTS_FALSE
758 EFL_ENABLE_TESTS_TRUE
759 CHECK_LIBS
760 CHECK_CFLAGS
761 ALLOCA
762 lt_enable_auto_import
763 WIN32_LIBS
764 EINA_LIBS
765 EINA_CFLAGS
766 EFREET_LIBS
767 EFREET_CFLAGS
768 EFL_EFREET_TRASH_BUILD
769 EFL_EFREET_MIME_BUILD
770 EFL_EFREET_BUILD
771 EVIL_LIBS
772 EVIL_CFLAGS
773 EFL_BUILD_DOC_FALSE
774 EFL_BUILD_DOC_TRUE
775 efl_doxygen
776 efl_have_doxygen
777 pkgconfig_requires_private
778 PKG_CONFIG_LIBDIR
779 PKG_CONFIG_PATH
780 PKG_CONFIG
781 DEFAULT_VISIBILITY_FALSE
782 DEFAULT_VISIBILITY_TRUE
783 HAVE_PO_FALSE
784 HAVE_PO_TRUE
785 LOCALE_DIR
786 POSUB
787 LTLIBINTL
788 LIBINTL
789 INTLLIBS
790 LTLIBICONV
791 LIBICONV
792 INTL_MACOSX_LIBS
793 XGETTEXT_EXTRA_OPTIONS
794 MSGMERGE
795 XGETTEXT_015
796 XGETTEXT
797 GMSGFMT_015
798 MSGFMT_015
799 GMSGFMT
800 MSGFMT
801 GETTEXT_MACRO_VERSION
802 USE_NLS
803 VMAJ
804 release_info
805 version_info
806 CPP
807 OTOOL64
808 OTOOL
809 LIPO
810 NMEDIT
811 DSYMUTIL
812 lt_ECHO
813 RANLIB
814 AR
815 LN_S
816 NM
817 ac_ct_DUMPBIN
818 DUMPBIN
819 LD
820 FGREP
821 EGREP
822 GREP
823 SED
824 am__fastdepCC_FALSE
825 am__fastdepCC_TRUE
826 CCDEPMODE
827 AMDEPBACKSLASH
828 AMDEP_FALSE
829 AMDEP_TRUE
830 am__quote
831 am__include
832 DEPDIR
833 OBJEXT
834 EXEEXT
835 ac_ct_CC
836 CPPFLAGS
837 LDFLAGS
838 CFLAGS
839 CC
840 LIBTOOL
841 OBJDUMP
842 DLLTOOL
843 AS
844 host_os
845 host_vendor
846 host_cpu
847 host
848 build_os
849 build_vendor
850 build_cpu
851 build
852 AM_BACKSLASH
853 AM_DEFAULT_VERBOSITY
854 am__untar
855 am__tar
856 AMTAR
857 am__leading_dot
858 SET_MAKE
859 AWK
860 mkdir_p
861 MKDIR_P
862 INSTALL_STRIP_PROGRAM
863 STRIP
864 install_sh
865 MAKEINFO
866 AUTOHEADER
867 AUTOMAKE
868 AUTOCONF
869 ACLOCAL
870 VERSION
871 PACKAGE
872 CYGPATH_W
873 am__isrc
874 INSTALL_DATA
875 INSTALL_SCRIPT
876 INSTALL_PROGRAM
877 target_alias
878 host_alias
879 build_alias
880 LIBS
881 ECHO_T
882 ECHO_N
883 ECHO_C
884 DEFS
885 mandir
886 localedir
887 libdir
888 psdir
889 pdfdir
890 dvidir
891 htmldir
892 infodir
893 docdir
894 oldincludedir
895 includedir
896 localstatedir
897 sharedstatedir
898 sysconfdir
899 datadir
900 datarootdir
901 libexecdir
902 sbindir
903 bindir
904 program_transform_name
905 prefix
906 exec_prefix
907 PACKAGE_URL
908 PACKAGE_BUGREPORT
909 PACKAGE_STRING
910 PACKAGE_VERSION
911 PACKAGE_TARNAME
912 PACKAGE_NAME
913 PATH_SEPARATOR
914 SHELL'
915 ac_subst_files=''
916 ac_user_opts='
917 enable_option_checking
918 enable_silent_rules
919 enable_shared
920 enable_static
921 with_pic
922 enable_fast_install
923 enable_dependency_tracking
924 with_gnu_ld
925 enable_libtool_lock
926 enable_nls
927 enable_rpath
928 with_libiconv_prefix
929 with_libintl_prefix
930 enable_strict_spec
931 enable_sloppy_spec
932 enable_doc
933 with_doxygen
934 enable_tests
935 enable_coverage
936 '
937       ac_precious_vars='build_alias
938 host_alias
939 target_alias
940 CC
941 CFLAGS
942 LDFLAGS
943 LIBS
944 CPPFLAGS
945 CPP
946 PKG_CONFIG
947 PKG_CONFIG_PATH
948 PKG_CONFIG_LIBDIR
949 EVIL_CFLAGS
950 EVIL_LIBS
951 EFREET_CFLAGS
952 EFREET_LIBS
953 EINA_CFLAGS
954 EINA_LIBS
955 CHECK_CFLAGS
956 CHECK_LIBS'
957
958
959 # Initialize some variables set by options.
960 ac_init_help=
961 ac_init_version=false
962 ac_unrecognized_opts=
963 ac_unrecognized_sep=
964 # The variables have the same names as the options, with
965 # dashes changed to underlines.
966 cache_file=/dev/null
967 exec_prefix=NONE
968 no_create=
969 no_recursion=
970 prefix=NONE
971 program_prefix=NONE
972 program_suffix=NONE
973 program_transform_name=s,x,x,
974 silent=
975 site=
976 srcdir=
977 verbose=
978 x_includes=NONE
979 x_libraries=NONE
980
981 # Installation directory options.
982 # These are left unexpanded so users can "make install exec_prefix=/foo"
983 # and all the variables that are supposed to be based on exec_prefix
984 # by default will actually change.
985 # Use braces instead of parens because sh, perl, etc. also accept them.
986 # (The list follows the same order as the GNU Coding Standards.)
987 bindir='${exec_prefix}/bin'
988 sbindir='${exec_prefix}/sbin'
989 libexecdir='${exec_prefix}/libexec'
990 datarootdir='${prefix}/share'
991 datadir='${datarootdir}'
992 sysconfdir='${prefix}/etc'
993 sharedstatedir='${prefix}/com'
994 localstatedir='${prefix}/var'
995 includedir='${prefix}/include'
996 oldincludedir='/usr/include'
997 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
998 infodir='${datarootdir}/info'
999 htmldir='${docdir}'
1000 dvidir='${docdir}'
1001 pdfdir='${docdir}'
1002 psdir='${docdir}'
1003 libdir='${exec_prefix}/lib'
1004 localedir='${datarootdir}/locale'
1005 mandir='${datarootdir}/man'
1006
1007 ac_prev=
1008 ac_dashdash=
1009 for ac_option
1010 do
1011   # If the previous option needs an argument, assign it.
1012   if test -n "$ac_prev"; then
1013     eval $ac_prev=\$ac_option
1014     ac_prev=
1015     continue
1016   fi
1017
1018   case $ac_option in
1019   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1020   *=)   ac_optarg= ;;
1021   *)    ac_optarg=yes ;;
1022   esac
1023
1024   # Accept the important Cygnus configure options, so we can diagnose typos.
1025
1026   case $ac_dashdash$ac_option in
1027   --)
1028     ac_dashdash=yes ;;
1029
1030   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1031     ac_prev=bindir ;;
1032   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1033     bindir=$ac_optarg ;;
1034
1035   -build | --build | --buil | --bui | --bu)
1036     ac_prev=build_alias ;;
1037   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1038     build_alias=$ac_optarg ;;
1039
1040   -cache-file | --cache-file | --cache-fil | --cache-fi \
1041   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1042     ac_prev=cache_file ;;
1043   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1044   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1045     cache_file=$ac_optarg ;;
1046
1047   --config-cache | -C)
1048     cache_file=config.cache ;;
1049
1050   -datadir | --datadir | --datadi | --datad)
1051     ac_prev=datadir ;;
1052   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1053     datadir=$ac_optarg ;;
1054
1055   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1056   | --dataroo | --dataro | --datar)
1057     ac_prev=datarootdir ;;
1058   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1059   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1060     datarootdir=$ac_optarg ;;
1061
1062   -disable-* | --disable-*)
1063     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1064     # Reject names that are not valid shell variable names.
1065     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1066       as_fn_error $? "invalid feature name: $ac_useropt"
1067     ac_useropt_orig=$ac_useropt
1068     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1069     case $ac_user_opts in
1070       *"
1071 "enable_$ac_useropt"
1072 "*) ;;
1073       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1074          ac_unrecognized_sep=', ';;
1075     esac
1076     eval enable_$ac_useropt=no ;;
1077
1078   -docdir | --docdir | --docdi | --doc | --do)
1079     ac_prev=docdir ;;
1080   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1081     docdir=$ac_optarg ;;
1082
1083   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1084     ac_prev=dvidir ;;
1085   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1086     dvidir=$ac_optarg ;;
1087
1088   -enable-* | --enable-*)
1089     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1090     # Reject names that are not valid shell variable names.
1091     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1092       as_fn_error $? "invalid feature name: $ac_useropt"
1093     ac_useropt_orig=$ac_useropt
1094     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1095     case $ac_user_opts in
1096       *"
1097 "enable_$ac_useropt"
1098 "*) ;;
1099       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1100          ac_unrecognized_sep=', ';;
1101     esac
1102     eval enable_$ac_useropt=\$ac_optarg ;;
1103
1104   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1105   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1106   | --exec | --exe | --ex)
1107     ac_prev=exec_prefix ;;
1108   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1109   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1110   | --exec=* | --exe=* | --ex=*)
1111     exec_prefix=$ac_optarg ;;
1112
1113   -gas | --gas | --ga | --g)
1114     # Obsolete; use --with-gas.
1115     with_gas=yes ;;
1116
1117   -help | --help | --hel | --he | -h)
1118     ac_init_help=long ;;
1119   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1120     ac_init_help=recursive ;;
1121   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1122     ac_init_help=short ;;
1123
1124   -host | --host | --hos | --ho)
1125     ac_prev=host_alias ;;
1126   -host=* | --host=* | --hos=* | --ho=*)
1127     host_alias=$ac_optarg ;;
1128
1129   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1130     ac_prev=htmldir ;;
1131   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1132   | --ht=*)
1133     htmldir=$ac_optarg ;;
1134
1135   -includedir | --includedir | --includedi | --included | --include \
1136   | --includ | --inclu | --incl | --inc)
1137     ac_prev=includedir ;;
1138   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1139   | --includ=* | --inclu=* | --incl=* | --inc=*)
1140     includedir=$ac_optarg ;;
1141
1142   -infodir | --infodir | --infodi | --infod | --info | --inf)
1143     ac_prev=infodir ;;
1144   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1145     infodir=$ac_optarg ;;
1146
1147   -libdir | --libdir | --libdi | --libd)
1148     ac_prev=libdir ;;
1149   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1150     libdir=$ac_optarg ;;
1151
1152   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1153   | --libexe | --libex | --libe)
1154     ac_prev=libexecdir ;;
1155   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1156   | --libexe=* | --libex=* | --libe=*)
1157     libexecdir=$ac_optarg ;;
1158
1159   -localedir | --localedir | --localedi | --localed | --locale)
1160     ac_prev=localedir ;;
1161   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1162     localedir=$ac_optarg ;;
1163
1164   -localstatedir | --localstatedir | --localstatedi | --localstated \
1165   | --localstate | --localstat | --localsta | --localst | --locals)
1166     ac_prev=localstatedir ;;
1167   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1168   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1169     localstatedir=$ac_optarg ;;
1170
1171   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1172     ac_prev=mandir ;;
1173   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1174     mandir=$ac_optarg ;;
1175
1176   -nfp | --nfp | --nf)
1177     # Obsolete; use --without-fp.
1178     with_fp=no ;;
1179
1180   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1181   | --no-cr | --no-c | -n)
1182     no_create=yes ;;
1183
1184   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1185   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1186     no_recursion=yes ;;
1187
1188   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1189   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1190   | --oldin | --oldi | --old | --ol | --o)
1191     ac_prev=oldincludedir ;;
1192   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1193   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1194   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1195     oldincludedir=$ac_optarg ;;
1196
1197   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1198     ac_prev=prefix ;;
1199   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1200     prefix=$ac_optarg ;;
1201
1202   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1203   | --program-pre | --program-pr | --program-p)
1204     ac_prev=program_prefix ;;
1205   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1206   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1207     program_prefix=$ac_optarg ;;
1208
1209   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1210   | --program-suf | --program-su | --program-s)
1211     ac_prev=program_suffix ;;
1212   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1213   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1214     program_suffix=$ac_optarg ;;
1215
1216   -program-transform-name | --program-transform-name \
1217   | --program-transform-nam | --program-transform-na \
1218   | --program-transform-n | --program-transform- \
1219   | --program-transform | --program-transfor \
1220   | --program-transfo | --program-transf \
1221   | --program-trans | --program-tran \
1222   | --progr-tra | --program-tr | --program-t)
1223     ac_prev=program_transform_name ;;
1224   -program-transform-name=* | --program-transform-name=* \
1225   | --program-transform-nam=* | --program-transform-na=* \
1226   | --program-transform-n=* | --program-transform-=* \
1227   | --program-transform=* | --program-transfor=* \
1228   | --program-transfo=* | --program-transf=* \
1229   | --program-trans=* | --program-tran=* \
1230   | --progr-tra=* | --program-tr=* | --program-t=*)
1231     program_transform_name=$ac_optarg ;;
1232
1233   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1234     ac_prev=pdfdir ;;
1235   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1236     pdfdir=$ac_optarg ;;
1237
1238   -psdir | --psdir | --psdi | --psd | --ps)
1239     ac_prev=psdir ;;
1240   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1241     psdir=$ac_optarg ;;
1242
1243   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1244   | -silent | --silent | --silen | --sile | --sil)
1245     silent=yes ;;
1246
1247   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1248     ac_prev=sbindir ;;
1249   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1250   | --sbi=* | --sb=*)
1251     sbindir=$ac_optarg ;;
1252
1253   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1254   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1255   | --sharedst | --shareds | --shared | --share | --shar \
1256   | --sha | --sh)
1257     ac_prev=sharedstatedir ;;
1258   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1259   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1260   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1261   | --sha=* | --sh=*)
1262     sharedstatedir=$ac_optarg ;;
1263
1264   -site | --site | --sit)
1265     ac_prev=site ;;
1266   -site=* | --site=* | --sit=*)
1267     site=$ac_optarg ;;
1268
1269   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1270     ac_prev=srcdir ;;
1271   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1272     srcdir=$ac_optarg ;;
1273
1274   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1275   | --syscon | --sysco | --sysc | --sys | --sy)
1276     ac_prev=sysconfdir ;;
1277   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1278   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1279     sysconfdir=$ac_optarg ;;
1280
1281   -target | --target | --targe | --targ | --tar | --ta | --t)
1282     ac_prev=target_alias ;;
1283   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1284     target_alias=$ac_optarg ;;
1285
1286   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1287     verbose=yes ;;
1288
1289   -version | --version | --versio | --versi | --vers | -V)
1290     ac_init_version=: ;;
1291
1292   -with-* | --with-*)
1293     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1294     # Reject names that are not valid shell variable names.
1295     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296       as_fn_error $? "invalid package name: $ac_useropt"
1297     ac_useropt_orig=$ac_useropt
1298     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1299     case $ac_user_opts in
1300       *"
1301 "with_$ac_useropt"
1302 "*) ;;
1303       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1304          ac_unrecognized_sep=', ';;
1305     esac
1306     eval with_$ac_useropt=\$ac_optarg ;;
1307
1308   -without-* | --without-*)
1309     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1310     # Reject names that are not valid shell variable names.
1311     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1312       as_fn_error $? "invalid package name: $ac_useropt"
1313     ac_useropt_orig=$ac_useropt
1314     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1315     case $ac_user_opts in
1316       *"
1317 "with_$ac_useropt"
1318 "*) ;;
1319       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1320          ac_unrecognized_sep=', ';;
1321     esac
1322     eval with_$ac_useropt=no ;;
1323
1324   --x)
1325     # Obsolete; use --with-x.
1326     with_x=yes ;;
1327
1328   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1329   | --x-incl | --x-inc | --x-in | --x-i)
1330     ac_prev=x_includes ;;
1331   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1332   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1333     x_includes=$ac_optarg ;;
1334
1335   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1336   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1337     ac_prev=x_libraries ;;
1338   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1339   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1340     x_libraries=$ac_optarg ;;
1341
1342   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1343 Try \`$0 --help' for more information"
1344     ;;
1345
1346   *=*)
1347     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1348     # Reject names that are not valid shell variable names.
1349     case $ac_envvar in #(
1350       '' | [0-9]* | *[!_$as_cr_alnum]* )
1351       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1352     esac
1353     eval $ac_envvar=\$ac_optarg
1354     export $ac_envvar ;;
1355
1356   *)
1357     # FIXME: should be removed in autoconf 3.0.
1358     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1359     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1360       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1361     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1362     ;;
1363
1364   esac
1365 done
1366
1367 if test -n "$ac_prev"; then
1368   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1369   as_fn_error $? "missing argument to $ac_option"
1370 fi
1371
1372 if test -n "$ac_unrecognized_opts"; then
1373   case $enable_option_checking in
1374     no) ;;
1375     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1376     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1377   esac
1378 fi
1379
1380 # Check all directory arguments for consistency.
1381 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1382                 datadir sysconfdir sharedstatedir localstatedir includedir \
1383                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1384                 libdir localedir mandir
1385 do
1386   eval ac_val=\$$ac_var
1387   # Remove trailing slashes.
1388   case $ac_val in
1389     */ )
1390       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1391       eval $ac_var=\$ac_val;;
1392   esac
1393   # Be sure to have absolute directory names.
1394   case $ac_val in
1395     [\\/$]* | ?:[\\/]* )  continue;;
1396     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1397   esac
1398   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1399 done
1400
1401 # There might be people who depend on the old broken behavior: `$host'
1402 # used to hold the argument of --host etc.
1403 # FIXME: To remove some day.
1404 build=$build_alias
1405 host=$host_alias
1406 target=$target_alias
1407
1408 # FIXME: To remove some day.
1409 if test "x$host_alias" != x; then
1410   if test "x$build_alias" = x; then
1411     cross_compiling=maybe
1412     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1413     If a cross compiler is detected then cross compile mode will be used" >&2
1414   elif test "x$build_alias" != "x$host_alias"; then
1415     cross_compiling=yes
1416   fi
1417 fi
1418
1419 ac_tool_prefix=
1420 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1421
1422 test "$silent" = yes && exec 6>/dev/null
1423
1424
1425 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1426 ac_ls_di=`ls -di .` &&
1427 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1428   as_fn_error $? "working directory cannot be determined"
1429 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430   as_fn_error $? "pwd does not report name of working directory"
1431
1432
1433 # Find the source files, if location was not specified.
1434 if test -z "$srcdir"; then
1435   ac_srcdir_defaulted=yes
1436   # Try the directory containing this script, then the parent directory.
1437   ac_confdir=`$as_dirname -- "$as_myself" ||
1438 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1439          X"$as_myself" : 'X\(//\)[^/]' \| \
1440          X"$as_myself" : 'X\(//\)$' \| \
1441          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1442 $as_echo X"$as_myself" |
1443     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1444             s//\1/
1445             q
1446           }
1447           /^X\(\/\/\)[^/].*/{
1448             s//\1/
1449             q
1450           }
1451           /^X\(\/\/\)$/{
1452             s//\1/
1453             q
1454           }
1455           /^X\(\/\).*/{
1456             s//\1/
1457             q
1458           }
1459           s/.*/./; q'`
1460   srcdir=$ac_confdir
1461   if test ! -r "$srcdir/$ac_unique_file"; then
1462     srcdir=..
1463   fi
1464 else
1465   ac_srcdir_defaulted=no
1466 fi
1467 if test ! -r "$srcdir/$ac_unique_file"; then
1468   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1469   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1470 fi
1471 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1472 ac_abs_confdir=`(
1473         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1474         pwd)`
1475 # When building in place, set srcdir=.
1476 if test "$ac_abs_confdir" = "$ac_pwd"; then
1477   srcdir=.
1478 fi
1479 # Remove unnecessary trailing slashes from srcdir.
1480 # Double slashes in file names in object file debugging info
1481 # mess up M-x gdb in Emacs.
1482 case $srcdir in
1483 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1484 esac
1485 for ac_var in $ac_precious_vars; do
1486   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1487   eval ac_env_${ac_var}_value=\$${ac_var}
1488   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1489   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1490 done
1491
1492 #
1493 # Report the --help message.
1494 #
1495 if test "$ac_init_help" = "long"; then
1496   # Omit some internal or obsolete options to make the list less imposing.
1497   # This message is too long to be a string in the A/UX 3.1 sh.
1498   cat <<_ACEOF
1499 \`configure' configures efreet 1.7.1 to adapt to many kinds of systems.
1500
1501 Usage: $0 [OPTION]... [VAR=VALUE]...
1502
1503 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1504 VAR=VALUE.  See below for descriptions of some of the useful variables.
1505
1506 Defaults for the options are specified in brackets.
1507
1508 Configuration:
1509   -h, --help              display this help and exit
1510       --help=short        display options specific to this package
1511       --help=recursive    display the short help of all the included packages
1512   -V, --version           display version information and exit
1513   -q, --quiet, --silent   do not print \`checking ...' messages
1514       --cache-file=FILE   cache test results in FILE [disabled]
1515   -C, --config-cache      alias for \`--cache-file=config.cache'
1516   -n, --no-create         do not create output files
1517       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1518
1519 Installation directories:
1520   --prefix=PREFIX         install architecture-independent files in PREFIX
1521                           [$ac_default_prefix]
1522   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1523                           [PREFIX]
1524
1525 By default, \`make install' will install all the files in
1526 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1527 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1528 for instance \`--prefix=\$HOME'.
1529
1530 For better control, use the options below.
1531
1532 Fine tuning of the installation directories:
1533   --bindir=DIR            user executables [EPREFIX/bin]
1534   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1535   --libexecdir=DIR        program executables [EPREFIX/libexec]
1536   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1537   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1538   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1539   --libdir=DIR            object code libraries [EPREFIX/lib]
1540   --includedir=DIR        C header files [PREFIX/include]
1541   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1542   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1543   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1544   --infodir=DIR           info documentation [DATAROOTDIR/info]
1545   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1546   --mandir=DIR            man documentation [DATAROOTDIR/man]
1547   --docdir=DIR            documentation root [DATAROOTDIR/doc/efreet]
1548   --htmldir=DIR           html documentation [DOCDIR]
1549   --dvidir=DIR            dvi documentation [DOCDIR]
1550   --pdfdir=DIR            pdf documentation [DOCDIR]
1551   --psdir=DIR             ps documentation [DOCDIR]
1552 _ACEOF
1553
1554   cat <<\_ACEOF
1555
1556 Program names:
1557   --program-prefix=PREFIX            prepend PREFIX to installed program names
1558   --program-suffix=SUFFIX            append SUFFIX to installed program names
1559   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1560
1561 System types:
1562   --build=BUILD     configure for building on BUILD [guessed]
1563   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1564 _ACEOF
1565 fi
1566
1567 if test -n "$ac_init_help"; then
1568   case $ac_init_help in
1569      short | recursive ) echo "Configuration of efreet 1.7.1:";;
1570    esac
1571   cat <<\_ACEOF
1572
1573 Optional Features:
1574   --disable-option-checking  ignore unrecognized --enable/--with options
1575   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1576   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1577   --enable-silent-rules          less verbose build output (undo: `make V=1')
1578   --disable-silent-rules         verbose build output (undo: `make V=0')
1579   --enable-shared[=PKGS]  build shared libraries [default=yes]
1580   --enable-static[=PKGS]  build static libraries [default=yes]
1581   --enable-fast-install[=PKGS]
1582                           optimize for fast installation [default=yes]
1583   --disable-dependency-tracking  speeds up one-time build
1584   --enable-dependency-tracking   do not reject slow dependency extractors
1585   --disable-libtool-lock  avoid locking (might break parallel builds)
1586   --disable-nls           do not use Native Language Support
1587   --disable-rpath         do not hardcode runtime library paths
1588   --enable-strict-spec    Enable strict spec compliance [default=disabled]
1589   --disable-sloppy-spec   Enable sloppy spec compliance [default=enabled]
1590   --disable-doc           Disable documentation build [default=enabled]
1591   --enable-tests          enable tests [default=disabled]
1592   --enable-coverage       enable coverage profiling instrumentation
1593                           [default=disabled]
1594
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-gnu-ld           assume the C compiler uses GNU ld default=no
1602   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1603   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1604   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1605   --without-libintl-prefix     don't search for libintl in includedir and libdir
1606   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1607
1608 Some influential environment variables:
1609   CC          C compiler command
1610   CFLAGS      C compiler flags
1611   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1612               nonstandard directory <lib dir>
1613   LIBS        libraries to pass to the linker, e.g. -l<library>
1614   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1615               you have headers in a nonstandard directory <include dir>
1616   CPP         C preprocessor
1617   PKG_CONFIG  path to pkg-config utility
1618   PKG_CONFIG_PATH
1619               directories to add to pkg-config's search path
1620   PKG_CONFIG_LIBDIR
1621               path overriding pkg-config's built-in search path
1622   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1623   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1624   EFREET_CFLAGS
1625               C compiler flags for EFREET, overriding pkg-config
1626   EFREET_LIBS linker flags for EFREET, overriding pkg-config
1627   EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
1628   EINA_LIBS   linker flags for EINA, overriding pkg-config
1629   CHECK_CFLAGS
1630               C compiler flags for CHECK, overriding pkg-config
1631   CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1632
1633 Use these variables to override the choices made by `configure' or to help
1634 it to find libraries and programs with nonstandard names/locations.
1635
1636 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1637 _ACEOF
1638 ac_status=$?
1639 fi
1640
1641 if test "$ac_init_help" = "recursive"; then
1642   # If there are subdirs, report their specific --help.
1643   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1644     test -d "$ac_dir" ||
1645       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1646       continue
1647     ac_builddir=.
1648
1649 case "$ac_dir" in
1650 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 *)
1652   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1653   # A ".." for each directory in $ac_dir_suffix.
1654   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1655   case $ac_top_builddir_sub in
1656   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1657   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1658   esac ;;
1659 esac
1660 ac_abs_top_builddir=$ac_pwd
1661 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1662 # for backward compatibility:
1663 ac_top_builddir=$ac_top_build_prefix
1664
1665 case $srcdir in
1666   .)  # We are building in place.
1667     ac_srcdir=.
1668     ac_top_srcdir=$ac_top_builddir_sub
1669     ac_abs_top_srcdir=$ac_pwd ;;
1670   [\\/]* | ?:[\\/]* )  # Absolute name.
1671     ac_srcdir=$srcdir$ac_dir_suffix;
1672     ac_top_srcdir=$srcdir
1673     ac_abs_top_srcdir=$srcdir ;;
1674   *) # Relative name.
1675     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1676     ac_top_srcdir=$ac_top_build_prefix$srcdir
1677     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1678 esac
1679 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680
1681     cd "$ac_dir" || { ac_status=$?; continue; }
1682     # Check for guested configure.
1683     if test -f "$ac_srcdir/configure.gnu"; then
1684       echo &&
1685       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1686     elif test -f "$ac_srcdir/configure"; then
1687       echo &&
1688       $SHELL "$ac_srcdir/configure" --help=recursive
1689     else
1690       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1691     fi || ac_status=$?
1692     cd "$ac_pwd" || { ac_status=$?; break; }
1693   done
1694 fi
1695
1696 test -n "$ac_init_help" && exit $ac_status
1697 if $ac_init_version; then
1698   cat <<\_ACEOF
1699 efreet configure 1.7.1
1700 generated by GNU Autoconf 2.67
1701
1702 Copyright (C) 2010 Free Software Foundation, Inc.
1703 This configure script is free software; the Free Software Foundation
1704 gives unlimited permission to copy, distribute and modify it.
1705 _ACEOF
1706   exit
1707 fi
1708
1709 ## ------------------------ ##
1710 ## Autoconf initialization. ##
1711 ## ------------------------ ##
1712
1713 # ac_fn_c_try_compile LINENO
1714 # --------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_c_try_compile ()
1717 {
1718   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719   rm -f conftest.$ac_objext
1720   if { { ac_try="$ac_compile"
1721 case "(($ac_try" in
1722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723   *) ac_try_echo=$ac_try;;
1724 esac
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727   (eval "$ac_compile") 2>conftest.err
1728   ac_status=$?
1729   if test -s conftest.err; then
1730     grep -v '^ *+' conftest.err >conftest.er1
1731     cat conftest.er1 >&5
1732     mv -f conftest.er1 conftest.err
1733   fi
1734   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735   test $ac_status = 0; } && {
1736          test -z "$ac_c_werror_flag" ||
1737          test ! -s conftest.err
1738        } && test -s conftest.$ac_objext; then :
1739   ac_retval=0
1740 else
1741   $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744         ac_retval=1
1745 fi
1746   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747   as_fn_set_status $ac_retval
1748
1749 } # ac_fn_c_try_compile
1750
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_c_try_link ()
1755 {
1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757   rm -f conftest.$ac_objext conftest$ac_exeext
1758   if { { ac_try="$ac_link"
1759 case "(($ac_try" in
1760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761   *) ac_try_echo=$ac_try;;
1762 esac
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765   (eval "$ac_link") 2>conftest.err
1766   ac_status=$?
1767   if test -s conftest.err; then
1768     grep -v '^ *+' conftest.err >conftest.er1
1769     cat conftest.er1 >&5
1770     mv -f conftest.er1 conftest.err
1771   fi
1772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773   test $ac_status = 0; } && {
1774          test -z "$ac_c_werror_flag" ||
1775          test ! -s conftest.err
1776        } && test -s conftest$ac_exeext && {
1777          test "$cross_compiling" = yes ||
1778          $as_test_x conftest$ac_exeext
1779        }; then :
1780   ac_retval=0
1781 else
1782   $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1784
1785         ac_retval=1
1786 fi
1787   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789   # interfere with the next link command; also delete a directory that is
1790   # left behind by Apple's compiler.  We do this before executing the actions.
1791   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793   as_fn_set_status $ac_retval
1794
1795 } # ac_fn_c_try_link
1796
1797 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1798 # -------------------------------------------------------
1799 # Tests whether HEADER exists and can be compiled using the include files in
1800 # INCLUDES, setting the cache variable VAR accordingly.
1801 ac_fn_c_check_header_compile ()
1802 {
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 eval "test \"\${$3+set}\"" = set; then :
1807   $as_echo_n "(cached) " >&6
1808 else
1809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1810 /* end confdefs.h.  */
1811 $4
1812 #include <$2>
1813 _ACEOF
1814 if ac_fn_c_try_compile "$LINENO"; then :
1815   eval "$3=yes"
1816 else
1817   eval "$3=no"
1818 fi
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 fi
1821 eval ac_res=\$$3
1822                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1823 $as_echo "$ac_res" >&6; }
1824   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825
1826 } # ac_fn_c_check_header_compile
1827
1828 # ac_fn_c_try_cpp LINENO
1829 # ----------------------
1830 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_cpp ()
1832 {
1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834   if { { ac_try="$ac_cpp conftest.$ac_ext"
1835 case "(($ac_try" in
1836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837   *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1842   ac_status=$?
1843   if test -s conftest.err; then
1844     grep -v '^ *+' conftest.err >conftest.er1
1845     cat conftest.er1 >&5
1846     mv -f conftest.er1 conftest.err
1847   fi
1848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849   test $ac_status = 0; } > conftest.i && {
1850          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1851          test ! -s conftest.err
1852        }; then :
1853   ac_retval=0
1854 else
1855   $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1857
1858     ac_retval=1
1859 fi
1860   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861   as_fn_set_status $ac_retval
1862
1863 } # ac_fn_c_try_cpp
1864
1865 # ac_fn_c_try_run LINENO
1866 # ----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1868 # that executables *can* be run.
1869 ac_fn_c_try_run ()
1870 {
1871   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872   if { { ac_try="$ac_link"
1873 case "(($ac_try" in
1874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875   *) ac_try_echo=$ac_try;;
1876 esac
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879   (eval "$ac_link") 2>&5
1880   ac_status=$?
1881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1883   { { case "(($ac_try" in
1884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885   *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889   (eval "$ac_try") 2>&5
1890   ac_status=$?
1891   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892   test $ac_status = 0; }; }; then :
1893   ac_retval=0
1894 else
1895   $as_echo "$as_me: program exited with status $ac_status" >&5
1896        $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1898
1899        ac_retval=$ac_status
1900 fi
1901   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903   as_fn_set_status $ac_retval
1904
1905 } # ac_fn_c_try_run
1906
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1911 {
1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if eval "test \"\${$3+set}\"" = set; then :
1916   $as_echo_n "(cached) " >&6
1917 else
1918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 /* end confdefs.h.  */
1920 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1922 #define $2 innocuous_$2
1923
1924 /* System header to define __stub macros and hopefully few prototypes,
1925     which can conflict with char $2 (); below.
1926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1927     <limits.h> exists even on freestanding compilers.  */
1928
1929 #ifdef __STDC__
1930 # include <limits.h>
1931 #else
1932 # include <assert.h>
1933 #endif
1934
1935 #undef $2
1936
1937 /* Override any GCC internal prototype to avoid an error.
1938    Use char because int might match the return type of a GCC
1939    builtin and then its argument prototype would still apply.  */
1940 #ifdef __cplusplus
1941 extern "C"
1942 #endif
1943 char $2 ();
1944 /* The GNU C library defines this for functions which it implements
1945     to always fail with ENOSYS.  Some functions are actually named
1946     something starting with __ and the normal name is an alias.  */
1947 #if defined __stub_$2 || defined __stub___$2
1948 choke me
1949 #endif
1950
1951 int
1952 main ()
1953 {
1954 return $2 ();
1955   ;
1956   return 0;
1957 }
1958 _ACEOF
1959 if ac_fn_c_try_link "$LINENO"; then :
1960   eval "$3=yes"
1961 else
1962   eval "$3=no"
1963 fi
1964 rm -f core conftest.err conftest.$ac_objext \
1965     conftest$ac_exeext conftest.$ac_ext
1966 fi
1967 eval ac_res=\$$3
1968                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1971
1972 } # ac_fn_c_check_func
1973
1974 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1977 # the include files in INCLUDES and setting the cache variable VAR
1978 # accordingly.
1979 ac_fn_c_check_header_mongrel ()
1980 {
1981   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982   if eval "test \"\${$3+set}\"" = set; then :
1983   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1984 $as_echo_n "checking for $2... " >&6; }
1985 if eval "test \"\${$3+set}\"" = set; then :
1986   $as_echo_n "(cached) " >&6
1987 fi
1988 eval ac_res=\$$3
1989                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990 $as_echo "$ac_res" >&6; }
1991 else
1992   # Is the header compilable?
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1994 $as_echo_n "checking $2 usability... " >&6; }
1995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h.  */
1997 $4
1998 #include <$2>
1999 _ACEOF
2000 if ac_fn_c_try_compile "$LINENO"; then :
2001   ac_header_compiler=yes
2002 else
2003   ac_header_compiler=no
2004 fi
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2007 $as_echo "$ac_header_compiler" >&6; }
2008
2009 # Is the header present?
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2011 $as_echo_n "checking $2 presence... " >&6; }
2012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h.  */
2014 #include <$2>
2015 _ACEOF
2016 if ac_fn_c_try_cpp "$LINENO"; then :
2017   ac_header_preproc=yes
2018 else
2019   ac_header_preproc=no
2020 fi
2021 rm -f conftest.err conftest.i conftest.$ac_ext
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2023 $as_echo "$ac_header_preproc" >&6; }
2024
2025 # So?  What about this header?
2026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2027   yes:no: )
2028     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2029 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2030     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2031 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2032     ;;
2033   no:yes:* )
2034     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2035 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2036     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2037 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2038     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2039 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2040     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2041 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2042     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2043 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2044 ( $as_echo "## -------------------------------------------------------- ##
2045 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2046 ## -------------------------------------------------------- ##"
2047      ) | sed "s/^/$as_me: WARNING:     /" >&2
2048     ;;
2049 esac
2050   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2051 $as_echo_n "checking for $2... " >&6; }
2052 if eval "test \"\${$3+set}\"" = set; then :
2053   $as_echo_n "(cached) " >&6
2054 else
2055   eval "$3=\$ac_header_compiler"
2056 fi
2057 eval ac_res=\$$3
2058                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2059 $as_echo "$ac_res" >&6; }
2060 fi
2061   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2062
2063 } # ac_fn_c_check_header_mongrel
2064 cat >config.log <<_ACEOF
2065 This file contains any messages produced by compilers while
2066 running configure, to aid debugging if configure makes a mistake.
2067
2068 It was created by efreet $as_me 1.7.1, which was
2069 generated by GNU Autoconf 2.67.  Invocation command line was
2070
2071   $ $0 $@
2072
2073 _ACEOF
2074 exec 5>>config.log
2075 {
2076 cat <<_ASUNAME
2077 ## --------- ##
2078 ## Platform. ##
2079 ## --------- ##
2080
2081 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2082 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2083 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2084 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2085 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2086
2087 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2088 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2089
2090 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2091 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2092 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2093 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2094 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2095 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2096 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2097
2098 _ASUNAME
2099
2100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2101 for as_dir in $PATH
2102 do
2103   IFS=$as_save_IFS
2104   test -z "$as_dir" && as_dir=.
2105     $as_echo "PATH: $as_dir"
2106   done
2107 IFS=$as_save_IFS
2108
2109 } >&5
2110
2111 cat >&5 <<_ACEOF
2112
2113
2114 ## ----------- ##
2115 ## Core tests. ##
2116 ## ----------- ##
2117
2118 _ACEOF
2119
2120
2121 # Keep a trace of the command line.
2122 # Strip out --no-create and --no-recursion so they do not pile up.
2123 # Strip out --silent because we don't want to record it for future runs.
2124 # Also quote any args containing shell meta-characters.
2125 # Make two passes to allow for proper duplicate-argument suppression.
2126 ac_configure_args=
2127 ac_configure_args0=
2128 ac_configure_args1=
2129 ac_must_keep_next=false
2130 for ac_pass in 1 2
2131 do
2132   for ac_arg
2133   do
2134     case $ac_arg in
2135     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2136     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2137     | -silent | --silent | --silen | --sile | --sil)
2138       continue ;;
2139     *\'*)
2140       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2141     esac
2142     case $ac_pass in
2143     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2144     2)
2145       as_fn_append ac_configure_args1 " '$ac_arg'"
2146       if test $ac_must_keep_next = true; then
2147         ac_must_keep_next=false # Got value, back to normal.
2148       else
2149         case $ac_arg in
2150           *=* | --config-cache | -C | -disable-* | --disable-* \
2151           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2152           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2153           | -with-* | --with-* | -without-* | --without-* | --x)
2154             case "$ac_configure_args0 " in
2155               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2156             esac
2157             ;;
2158           -* ) ac_must_keep_next=true ;;
2159         esac
2160       fi
2161       as_fn_append ac_configure_args " '$ac_arg'"
2162       ;;
2163     esac
2164   done
2165 done
2166 { ac_configure_args0=; unset ac_configure_args0;}
2167 { ac_configure_args1=; unset ac_configure_args1;}
2168
2169 # When interrupted or exit'd, cleanup temporary files, and complete
2170 # config.log.  We remove comments because anyway the quotes in there
2171 # would cause problems or look ugly.
2172 # WARNING: Use '\'' to represent an apostrophe within the trap.
2173 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2174 trap 'exit_status=$?
2175   # Save into config.log some information that might help in debugging.
2176   {
2177     echo
2178
2179     $as_echo "## ---------------- ##
2180 ## Cache variables. ##
2181 ## ---------------- ##"
2182     echo
2183     # The following way of writing the cache mishandles newlines in values,
2184 (
2185   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2186     eval ac_val=\$$ac_var
2187     case $ac_val in #(
2188     *${as_nl}*)
2189       case $ac_var in #(
2190       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2191 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2192       esac
2193       case $ac_var in #(
2194       _ | IFS | as_nl) ;; #(
2195       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2196       *) { eval $ac_var=; unset $ac_var;} ;;
2197       esac ;;
2198     esac
2199   done
2200   (set) 2>&1 |
2201     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2202     *${as_nl}ac_space=\ *)
2203       sed -n \
2204         "s/'\''/'\''\\\\'\'''\''/g;
2205           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2206       ;; #(
2207     *)
2208       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2209       ;;
2210     esac |
2211     sort
2212 )
2213     echo
2214
2215     $as_echo "## ----------------- ##
2216 ## Output variables. ##
2217 ## ----------------- ##"
2218     echo
2219     for ac_var in $ac_subst_vars
2220     do
2221       eval ac_val=\$$ac_var
2222       case $ac_val in
2223       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2224       esac
2225       $as_echo "$ac_var='\''$ac_val'\''"
2226     done | sort
2227     echo
2228
2229     if test -n "$ac_subst_files"; then
2230       $as_echo "## ------------------- ##
2231 ## File substitutions. ##
2232 ## ------------------- ##"
2233       echo
2234       for ac_var in $ac_subst_files
2235       do
2236         eval ac_val=\$$ac_var
2237         case $ac_val in
2238         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2239         esac
2240         $as_echo "$ac_var='\''$ac_val'\''"
2241       done | sort
2242       echo
2243     fi
2244
2245     if test -s confdefs.h; then
2246       $as_echo "## ----------- ##
2247 ## confdefs.h. ##
2248 ## ----------- ##"
2249       echo
2250       cat confdefs.h
2251       echo
2252     fi
2253     test "$ac_signal" != 0 &&
2254       $as_echo "$as_me: caught signal $ac_signal"
2255     $as_echo "$as_me: exit $exit_status"
2256   } >&5
2257   rm -f core *.core core.conftest.* &&
2258     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2259     exit $exit_status
2260 ' 0
2261 for ac_signal in 1 2 13 15; do
2262   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2263 done
2264 ac_signal=0
2265
2266 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2267 rm -f -r conftest* confdefs.h
2268
2269 $as_echo "/* confdefs.h */" > confdefs.h
2270
2271 # Predefined preprocessor variables.
2272
2273 cat >>confdefs.h <<_ACEOF
2274 #define PACKAGE_NAME "$PACKAGE_NAME"
2275 _ACEOF
2276
2277 cat >>confdefs.h <<_ACEOF
2278 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2279 _ACEOF
2280
2281 cat >>confdefs.h <<_ACEOF
2282 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2283 _ACEOF
2284
2285 cat >>confdefs.h <<_ACEOF
2286 #define PACKAGE_STRING "$PACKAGE_STRING"
2287 _ACEOF
2288
2289 cat >>confdefs.h <<_ACEOF
2290 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2291 _ACEOF
2292
2293 cat >>confdefs.h <<_ACEOF
2294 #define PACKAGE_URL "$PACKAGE_URL"
2295 _ACEOF
2296
2297
2298 # Let the site file select an alternate cache file if it wants to.
2299 # Prefer an explicitly selected file to automatically selected ones.
2300 ac_site_file1=NONE
2301 ac_site_file2=NONE
2302 if test -n "$CONFIG_SITE"; then
2303   # We do not want a PATH search for config.site.
2304   case $CONFIG_SITE in #((
2305     -*)  ac_site_file1=./$CONFIG_SITE;;
2306     */*) ac_site_file1=$CONFIG_SITE;;
2307     *)   ac_site_file1=./$CONFIG_SITE;;
2308   esac
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
2315 fi
2316 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2317 do
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       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2326 as_fn_error $? "failed to load site script $ac_site_file
2327 See \`config.log' for more details" "$LINENO" 5 ; }
2328   fi
2329 done
2330
2331 if test -r "$cache_file"; then
2332   # Some versions of bash will fail to source /dev/null (special files
2333   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2334   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2335     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2336 $as_echo "$as_me: loading cache $cache_file" >&6;}
2337     case $cache_file in
2338       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2339       *)                      . "./$cache_file";;
2340     esac
2341   fi
2342 else
2343   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2344 $as_echo "$as_me: creating cache $cache_file" >&6;}
2345   >$cache_file
2346 fi
2347
2348 gt_needs="$gt_needs "
2349 # Check that the precious variables saved in the cache have kept the same
2350 # value.
2351 ac_cache_corrupted=false
2352 for ac_var in $ac_precious_vars; do
2353   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2354   eval ac_new_set=\$ac_env_${ac_var}_set
2355   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2356   eval ac_new_val=\$ac_env_${ac_var}_value
2357   case $ac_old_set,$ac_new_set in
2358     set,)
2359       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2360 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2361       ac_cache_corrupted=: ;;
2362     ,set)
2363       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2364 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2365       ac_cache_corrupted=: ;;
2366     ,);;
2367     *)
2368       if test "x$ac_old_val" != "x$ac_new_val"; then
2369         # differences in whitespace do not lead to failure.
2370         ac_old_val_w=`echo x $ac_old_val`
2371         ac_new_val_w=`echo x $ac_new_val`
2372         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2373           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2374 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2375           ac_cache_corrupted=:
2376         else
2377           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2378 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2379           eval $ac_var=\$ac_old_val
2380         fi
2381         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2382 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2383         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2384 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2385       fi;;
2386   esac
2387   # Pass precious variables to config.status.
2388   if test "$ac_new_set" = set; then
2389     case $ac_new_val in
2390     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2391     *) ac_arg=$ac_var=$ac_new_val ;;
2392     esac
2393     case " $ac_configure_args " in
2394       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2395       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2396     esac
2397   fi
2398 done
2399 if $ac_cache_corrupted; then
2400   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2402   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2403 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2404   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2405 fi
2406 ## -------------------- ##
2407 ## Main body of script. ##
2408 ## -------------------- ##
2409
2410 ac_ext=c
2411 ac_cpp='$CPP $CPPFLAGS'
2412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2415
2416
2417
2418
2419
2420
2421 ac_config_headers="$ac_config_headers config.h"
2422
2423
2424
2425
2426 am__api_version='1.11'
2427
2428 ac_aux_dir=
2429 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2430   if test -f "$ac_dir/install-sh"; then
2431     ac_aux_dir=$ac_dir
2432     ac_install_sh="$ac_aux_dir/install-sh -c"
2433     break
2434   elif test -f "$ac_dir/install.sh"; then
2435     ac_aux_dir=$ac_dir
2436     ac_install_sh="$ac_aux_dir/install.sh -c"
2437     break
2438   elif test -f "$ac_dir/shtool"; then
2439     ac_aux_dir=$ac_dir
2440     ac_install_sh="$ac_aux_dir/shtool install -c"
2441     break
2442   fi
2443 done
2444 if test -z "$ac_aux_dir"; then
2445   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2446 fi
2447
2448 # These three variables are undocumented and unsupported,
2449 # and are intended to be withdrawn in a future Autoconf release.
2450 # They can cause serious problems if a builder's source tree is in a directory
2451 # whose full name contains unusual characters.
2452 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2453 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2454 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2455
2456
2457 # Find a good install program.  We prefer a C program (faster),
2458 # so one script is as good as another.  But avoid the broken or
2459 # incompatible versions:
2460 # SysV /etc/install, /usr/sbin/install
2461 # SunOS /usr/etc/install
2462 # IRIX /sbin/install
2463 # AIX /bin/install
2464 # AmigaOS /C/install, which installs bootblocks on floppy discs
2465 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2466 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2467 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2468 # OS/2's system install, which has a completely different semantic
2469 # ./install, which can be erroneously created by make from ./install.sh.
2470 # Reject install programs that cannot install multiple files.
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2472 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2473 if test -z "$INSTALL"; then
2474 if test "${ac_cv_path_install+set}" = set; then :
2475   $as_echo_n "(cached) " >&6
2476 else
2477   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 for as_dir in $PATH
2479 do
2480   IFS=$as_save_IFS
2481   test -z "$as_dir" && as_dir=.
2482     # Account for people who put trailing slashes in PATH elements.
2483 case $as_dir/ in #((
2484   ./ | .// | /[cC]/* | \
2485   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2486   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2487   /usr/ucb/* ) ;;
2488   *)
2489     # OSF1 and SCO ODT 3.0 have their own names for install.
2490     # Don't use installbsd from OSF since it installs stuff as root
2491     # by default.
2492     for ac_prog in ginstall scoinst install; do
2493       for ac_exec_ext in '' $ac_executable_extensions; do
2494         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2495           if test $ac_prog = install &&
2496             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2497             # AIX install.  It has an incompatible calling convention.
2498             :
2499           elif test $ac_prog = install &&
2500             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2501             # program-specific install script used by HP pwplus--don't use.
2502             :
2503           else
2504             rm -rf conftest.one conftest.two conftest.dir
2505             echo one > conftest.one
2506             echo two > conftest.two
2507             mkdir conftest.dir
2508             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2509               test -s conftest.one && test -s conftest.two &&
2510               test -s conftest.dir/conftest.one &&
2511               test -s conftest.dir/conftest.two
2512             then
2513               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2514               break 3
2515             fi
2516           fi
2517         fi
2518       done
2519     done
2520     ;;
2521 esac
2522
2523   done
2524 IFS=$as_save_IFS
2525
2526 rm -rf conftest.one conftest.two conftest.dir
2527
2528 fi
2529   if test "${ac_cv_path_install+set}" = set; then
2530     INSTALL=$ac_cv_path_install
2531   else
2532     # As a last resort, use the slow shell script.  Don't cache a
2533     # value for INSTALL within a source directory, because that will
2534     # break other packages using the cache if that directory is
2535     # removed, or if the value is a relative name.
2536     INSTALL=$ac_install_sh
2537   fi
2538 fi
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2540 $as_echo "$INSTALL" >&6; }
2541
2542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2543 # It thinks the first close brace ends the variable substitution.
2544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2545
2546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2547
2548 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2549
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2551 $as_echo_n "checking whether build environment is sane... " >&6; }
2552 # Just in case
2553 sleep 1
2554 echo timestamp > conftest.file
2555 # Reject unsafe characters in $srcdir or the absolute working directory
2556 # name.  Accept space and tab only in the latter.
2557 am_lf='
2558 '
2559 case `pwd` in
2560   *[\\\"\#\$\&\'\`$am_lf]*)
2561     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2562 esac
2563 case $srcdir in
2564   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2565     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2566 esac
2567
2568 # Do `set' in a subshell so we don't clobber the current shell's
2569 # arguments.  Must try -L first in case configure is actually a
2570 # symlink; some systems play weird games with the mod time of symlinks
2571 # (eg FreeBSD returns the mod time of the symlink's containing
2572 # directory).
2573 if (
2574    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2575    if test "$*" = "X"; then
2576       # -L didn't work.
2577       set X `ls -t "$srcdir/configure" conftest.file`
2578    fi
2579    rm -f conftest.file
2580    if test "$*" != "X $srcdir/configure conftest.file" \
2581       && test "$*" != "X conftest.file $srcdir/configure"; then
2582
2583       # If neither matched, then we have a broken ls.  This can happen
2584       # if, for instance, CONFIG_SHELL is bash and it inherits a
2585       # broken ls alias from the environment.  This has actually
2586       # happened.  Such a system could not be considered "sane".
2587       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2588 alias in your environment" "$LINENO" 5
2589    fi
2590
2591    test "$2" = conftest.file
2592    )
2593 then
2594    # Ok.
2595    :
2596 else
2597    as_fn_error $? "newly created file is older than distributed files!
2598 Check your system clock" "$LINENO" 5
2599 fi
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2601 $as_echo "yes" >&6; }
2602 test "$program_prefix" != NONE &&
2603   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2604 # Use a double $ so make ignores it.
2605 test "$program_suffix" != NONE &&
2606   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2607 # Double any \ or $.
2608 # By default was `s,x,x', remove it if useless.
2609 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2610 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2611
2612 # expand $ac_aux_dir to an absolute path
2613 am_aux_dir=`cd $ac_aux_dir && pwd`
2614
2615 if test x"${MISSING+set}" != xset; then
2616   case $am_aux_dir in
2617   *\ * | *\     *)
2618     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2619   *)
2620     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2621   esac
2622 fi
2623 # Use eval to expand $SHELL
2624 if eval "$MISSING --run true"; then
2625   am_missing_run="$MISSING --run "
2626 else
2627   am_missing_run=
2628   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2629 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2630 fi
2631
2632 if test x"${install_sh}" != xset; then
2633   case $am_aux_dir in
2634   *\ * | *\     *)
2635     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2636   *)
2637     install_sh="\${SHELL} $am_aux_dir/install-sh"
2638   esac
2639 fi
2640
2641 # Installed binaries are usually stripped using `strip' when the user
2642 # run `make install-strip'.  However `strip' might not be the right
2643 # tool to use in cross-compilation environments, therefore Automake
2644 # will honor the `STRIP' environment variable to overrule this program.
2645 if test "$cross_compiling" != no; then
2646   if test -n "$ac_tool_prefix"; then
2647   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2648 set dummy ${ac_tool_prefix}strip; ac_word=$2
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2650 $as_echo_n "checking for $ac_word... " >&6; }
2651 if test "${ac_cv_prog_STRIP+set}" = set; then :
2652   $as_echo_n "(cached) " >&6
2653 else
2654   if test -n "$STRIP"; then
2655   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2656 else
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2658 for as_dir in $PATH
2659 do
2660   IFS=$as_save_IFS
2661   test -z "$as_dir" && as_dir=.
2662     for ac_exec_ext in '' $ac_executable_extensions; do
2663   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2665     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2666     break 2
2667   fi
2668 done
2669   done
2670 IFS=$as_save_IFS
2671
2672 fi
2673 fi
2674 STRIP=$ac_cv_prog_STRIP
2675 if test -n "$STRIP"; then
2676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2677 $as_echo "$STRIP" >&6; }
2678 else
2679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680 $as_echo "no" >&6; }
2681 fi
2682
2683
2684 fi
2685 if test -z "$ac_cv_prog_STRIP"; then
2686   ac_ct_STRIP=$STRIP
2687   # Extract the first word of "strip", so it can be a program name with args.
2688 set dummy strip; ac_word=$2
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2690 $as_echo_n "checking for $ac_word... " >&6; }
2691 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2692   $as_echo_n "(cached) " >&6
2693 else
2694   if test -n "$ac_ct_STRIP"; then
2695   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2696 else
2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 for as_dir in $PATH
2699 do
2700   IFS=$as_save_IFS
2701   test -z "$as_dir" && as_dir=.
2702     for ac_exec_ext in '' $ac_executable_extensions; do
2703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2704     ac_cv_prog_ac_ct_STRIP="strip"
2705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2706     break 2
2707   fi
2708 done
2709   done
2710 IFS=$as_save_IFS
2711
2712 fi
2713 fi
2714 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2715 if test -n "$ac_ct_STRIP"; then
2716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2717 $as_echo "$ac_ct_STRIP" >&6; }
2718 else
2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720 $as_echo "no" >&6; }
2721 fi
2722
2723   if test "x$ac_ct_STRIP" = x; then
2724     STRIP=":"
2725   else
2726     case $cross_compiling:$ac_tool_warned in
2727 yes:)
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2730 ac_tool_warned=yes ;;
2731 esac
2732     STRIP=$ac_ct_STRIP
2733   fi
2734 else
2735   STRIP="$ac_cv_prog_STRIP"
2736 fi
2737
2738 fi
2739 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2740
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2742 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2743 if test -z "$MKDIR_P"; then
2744   if test "${ac_cv_path_mkdir+set}" = set; then :
2745   $as_echo_n "(cached) " >&6
2746 else
2747   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2748 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2749 do
2750   IFS=$as_save_IFS
2751   test -z "$as_dir" && as_dir=.
2752     for ac_prog in mkdir gmkdir; do
2753          for ac_exec_ext in '' $ac_executable_extensions; do
2754            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2755            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2756              'mkdir (GNU coreutils) '* | \
2757              'mkdir (coreutils) '* | \
2758              'mkdir (fileutils) '4.1*)
2759                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2760                break 3;;
2761            esac
2762          done
2763        done
2764   done
2765 IFS=$as_save_IFS
2766
2767 fi
2768
2769   test -d ./--version && rmdir ./--version
2770   if test "${ac_cv_path_mkdir+set}" = set; then
2771     MKDIR_P="$ac_cv_path_mkdir -p"
2772   else
2773     # As a last resort, use the slow shell script.  Don't cache a
2774     # value for MKDIR_P within a source directory, because that will
2775     # break other packages using the cache if that directory is
2776     # removed, or if the value is a relative name.
2777     MKDIR_P="$ac_install_sh -d"
2778   fi
2779 fi
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2781 $as_echo "$MKDIR_P" >&6; }
2782
2783 mkdir_p="$MKDIR_P"
2784 case $mkdir_p in
2785   [\\/$]* | ?:[\\/]*) ;;
2786   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2787 esac
2788
2789 for ac_prog in gawk mawk nawk awk
2790 do
2791   # Extract the first word of "$ac_prog", so it can be a program name with args.
2792 set dummy $ac_prog; ac_word=$2
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2794 $as_echo_n "checking for $ac_word... " >&6; }
2795 if test "${ac_cv_prog_AWK+set}" = set; then :
2796   $as_echo_n "(cached) " >&6
2797 else
2798   if test -n "$AWK"; then
2799   ac_cv_prog_AWK="$AWK" # Let the user override the test.
2800 else
2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802 for as_dir in $PATH
2803 do
2804   IFS=$as_save_IFS
2805   test -z "$as_dir" && as_dir=.
2806     for ac_exec_ext in '' $ac_executable_extensions; do
2807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808     ac_cv_prog_AWK="$ac_prog"
2809     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2810     break 2
2811   fi
2812 done
2813   done
2814 IFS=$as_save_IFS
2815
2816 fi
2817 fi
2818 AWK=$ac_cv_prog_AWK
2819 if test -n "$AWK"; then
2820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2821 $as_echo "$AWK" >&6; }
2822 else
2823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2824 $as_echo "no" >&6; }
2825 fi
2826
2827
2828   test -n "$AWK" && break
2829 done
2830
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2832 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2833 set x ${MAKE-make}
2834 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2835 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2836   $as_echo_n "(cached) " >&6
2837 else
2838   cat >conftest.make <<\_ACEOF
2839 SHELL = /bin/sh
2840 all:
2841         @echo '@@@%%%=$(MAKE)=@@@%%%'
2842 _ACEOF
2843 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2845   *@@@%%%=?*=@@@%%%*)
2846     eval ac_cv_prog_make_${ac_make}_set=yes;;
2847   *)
2848     eval ac_cv_prog_make_${ac_make}_set=no;;
2849 esac
2850 rm -f conftest.make
2851 fi
2852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2854 $as_echo "yes" >&6; }
2855   SET_MAKE=
2856 else
2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 $as_echo "no" >&6; }
2859   SET_MAKE="MAKE=${MAKE-make}"
2860 fi
2861
2862 rm -rf .tst 2>/dev/null
2863 mkdir .tst 2>/dev/null
2864 if test -d .tst; then
2865   am__leading_dot=.
2866 else
2867   am__leading_dot=_
2868 fi
2869 rmdir .tst 2>/dev/null
2870
2871 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2872   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2873   # is not polluted with repeated "-I."
2874   am__isrc=' -I$(srcdir)'
2875   # test to see if srcdir already configured
2876   if test -f $srcdir/config.status; then
2877     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2878   fi
2879 fi
2880
2881 # test whether we have cygpath
2882 if test -z "$CYGPATH_W"; then
2883   if (cygpath --version) >/dev/null 2>/dev/null; then
2884     CYGPATH_W='cygpath -w'
2885   else
2886     CYGPATH_W=echo
2887   fi
2888 fi
2889
2890
2891 # Define the identity of the package.
2892  PACKAGE='efreet'
2893  VERSION='1.7.1'
2894
2895
2896 cat >>confdefs.h <<_ACEOF
2897 #define PACKAGE "$PACKAGE"
2898 _ACEOF
2899
2900
2901 cat >>confdefs.h <<_ACEOF
2902 #define VERSION "$VERSION"
2903 _ACEOF
2904
2905 # Some tools Automake needs.
2906
2907 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2908
2909
2910 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2911
2912
2913 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2914
2915
2916 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2917
2918
2919 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2920
2921 # We need awk for the "check" target.  The system "awk" is bad on
2922 # some platforms.
2923 # Always define AMTAR for backward compatibility.
2924
2925 AMTAR=${AMTAR-"${am_missing_run}tar"}
2926
2927 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2928
2929
2930
2931
2932
2933 # Check whether --enable-silent-rules was given.
2934 if test "${enable_silent_rules+set}" = set; then :
2935   enableval=$enable_silent_rules;
2936 fi
2937
2938 case $enable_silent_rules in
2939 yes) AM_DEFAULT_VERBOSITY=0;;
2940 no)  AM_DEFAULT_VERBOSITY=1;;
2941 *)   AM_DEFAULT_VERBOSITY=0;;
2942 esac
2943 AM_BACKSLASH='\'
2944
2945
2946 # Make sure we can run config.sub.
2947 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2948   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2949
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2951 $as_echo_n "checking build system type... " >&6; }
2952 if test "${ac_cv_build+set}" = set; then :
2953   $as_echo_n "(cached) " >&6
2954 else
2955   ac_build_alias=$build_alias
2956 test "x$ac_build_alias" = x &&
2957   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2958 test "x$ac_build_alias" = x &&
2959   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2960 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2961   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2962
2963 fi
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2965 $as_echo "$ac_cv_build" >&6; }
2966 case $ac_cv_build in
2967 *-*-*) ;;
2968 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2969 esac
2970 build=$ac_cv_build
2971 ac_save_IFS=$IFS; IFS='-'
2972 set x $ac_cv_build
2973 shift
2974 build_cpu=$1
2975 build_vendor=$2
2976 shift; shift
2977 # Remember, the first character of IFS is used to create $*,
2978 # except with old shells:
2979 build_os=$*
2980 IFS=$ac_save_IFS
2981 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2982
2983
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2985 $as_echo_n "checking host system type... " >&6; }
2986 if test "${ac_cv_host+set}" = set; then :
2987   $as_echo_n "(cached) " >&6
2988 else
2989   if test "x$host_alias" = x; then
2990   ac_cv_host=$ac_cv_build
2991 else
2992   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2993     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2994 fi
2995
2996 fi
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2998 $as_echo "$ac_cv_host" >&6; }
2999 case $ac_cv_host in
3000 *-*-*) ;;
3001 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3002 esac
3003 host=$ac_cv_host
3004 ac_save_IFS=$IFS; IFS='-'
3005 set x $ac_cv_host
3006 shift
3007 host_cpu=$1
3008 host_vendor=$2
3009 shift; shift
3010 # Remember, the first character of IFS is used to create $*,
3011 # except with old shells:
3012 host_os=$*
3013 IFS=$ac_save_IFS
3014 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3015
3016
3017 enable_win32_dll=yes
3018
3019 case $host in
3020 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3021   if test -n "$ac_tool_prefix"; then
3022   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3023 set dummy ${ac_tool_prefix}as; ac_word=$2
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3025 $as_echo_n "checking for $ac_word... " >&6; }
3026 if test "${ac_cv_prog_AS+set}" = set; then :
3027   $as_echo_n "(cached) " >&6
3028 else
3029   if test -n "$AS"; then
3030   ac_cv_prog_AS="$AS" # Let the user override the test.
3031 else
3032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 for as_dir in $PATH
3034 do
3035   IFS=$as_save_IFS
3036   test -z "$as_dir" && as_dir=.
3037     for ac_exec_ext in '' $ac_executable_extensions; do
3038   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3039     ac_cv_prog_AS="${ac_tool_prefix}as"
3040     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041     break 2
3042   fi
3043 done
3044   done
3045 IFS=$as_save_IFS
3046
3047 fi
3048 fi
3049 AS=$ac_cv_prog_AS
3050 if test -n "$AS"; then
3051   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3052 $as_echo "$AS" >&6; }
3053 else
3054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3055 $as_echo "no" >&6; }
3056 fi
3057
3058
3059 fi
3060 if test -z "$ac_cv_prog_AS"; then
3061   ac_ct_AS=$AS
3062   # Extract the first word of "as", so it can be a program name with args.
3063 set dummy as; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3067   $as_echo_n "(cached) " >&6
3068 else
3069   if test -n "$ac_ct_AS"; then
3070   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3071 else
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3074 do
3075   IFS=$as_save_IFS
3076   test -z "$as_dir" && as_dir=.
3077     for ac_exec_ext in '' $ac_executable_extensions; do
3078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079     ac_cv_prog_ac_ct_AS="as"
3080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081     break 2
3082   fi
3083 done
3084   done
3085 IFS=$as_save_IFS
3086
3087 fi
3088 fi
3089 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3090 if test -n "$ac_ct_AS"; then
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3092 $as_echo "$ac_ct_AS" >&6; }
3093 else
3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3096 fi
3097
3098   if test "x$ac_ct_AS" = x; then
3099     AS="false"
3100   else
3101     case $cross_compiling:$ac_tool_warned in
3102 yes:)
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3105 ac_tool_warned=yes ;;
3106 esac
3107     AS=$ac_ct_AS
3108   fi
3109 else
3110   AS="$ac_cv_prog_AS"
3111 fi
3112
3113   if test -n "$ac_tool_prefix"; then
3114   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3115 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
3119   $as_echo_n "(cached) " >&6
3120 else
3121   if test -n "$DLLTOOL"; then
3122   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3123 else
3124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3125 for as_dir in $PATH
3126 do
3127   IFS=$as_save_IFS
3128   test -z "$as_dir" && as_dir=.
3129     for ac_exec_ext in '' $ac_executable_extensions; do
3130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133     break 2
3134   fi
3135 done
3136   done
3137 IFS=$as_save_IFS
3138
3139 fi
3140 fi
3141 DLLTOOL=$ac_cv_prog_DLLTOOL
3142 if test -n "$DLLTOOL"; then
3143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3144 $as_echo "$DLLTOOL" >&6; }
3145 else
3146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3148 fi
3149
3150
3151 fi
3152 if test -z "$ac_cv_prog_DLLTOOL"; then
3153   ac_ct_DLLTOOL=$DLLTOOL
3154   # Extract the first word of "dlltool", so it can be a program name with args.
3155 set dummy dlltool; ac_word=$2
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3157 $as_echo_n "checking for $ac_word... " >&6; }
3158 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
3159   $as_echo_n "(cached) " >&6
3160 else
3161   if test -n "$ac_ct_DLLTOOL"; then
3162   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3163 else
3164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3165 for as_dir in $PATH
3166 do
3167   IFS=$as_save_IFS
3168   test -z "$as_dir" && as_dir=.
3169     for ac_exec_ext in '' $ac_executable_extensions; do
3170   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3171     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3173     break 2
3174   fi
3175 done
3176   done
3177 IFS=$as_save_IFS
3178
3179 fi
3180 fi
3181 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3182 if test -n "$ac_ct_DLLTOOL"; then
3183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3184 $as_echo "$ac_ct_DLLTOOL" >&6; }
3185 else
3186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3187 $as_echo "no" >&6; }
3188 fi
3189
3190   if test "x$ac_ct_DLLTOOL" = x; then
3191     DLLTOOL="false"
3192   else
3193     case $cross_compiling:$ac_tool_warned in
3194 yes:)
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3196 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3197 ac_tool_warned=yes ;;
3198 esac
3199     DLLTOOL=$ac_ct_DLLTOOL
3200   fi
3201 else
3202   DLLTOOL="$ac_cv_prog_DLLTOOL"
3203 fi
3204
3205   if test -n "$ac_tool_prefix"; then
3206   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3207 set dummy ${ac_tool_prefix}objdump; ac_word=$2
3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3209 $as_echo_n "checking for $ac_word... " >&6; }
3210 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
3211   $as_echo_n "(cached) " >&6
3212 else
3213   if test -n "$OBJDUMP"; then
3214   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3215 else
3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3217 for as_dir in $PATH
3218 do
3219   IFS=$as_save_IFS
3220   test -z "$as_dir" && as_dir=.
3221     for ac_exec_ext in '' $ac_executable_extensions; do
3222   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3223     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225     break 2
3226   fi
3227 done
3228   done
3229 IFS=$as_save_IFS
3230
3231 fi
3232 fi
3233 OBJDUMP=$ac_cv_prog_OBJDUMP
3234 if test -n "$OBJDUMP"; then
3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3236 $as_echo "$OBJDUMP" >&6; }
3237 else
3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3239 $as_echo "no" >&6; }
3240 fi
3241
3242
3243 fi
3244 if test -z "$ac_cv_prog_OBJDUMP"; then
3245   ac_ct_OBJDUMP=$OBJDUMP
3246   # Extract the first word of "objdump", so it can be a program name with args.
3247 set dummy objdump; ac_word=$2
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3249 $as_echo_n "checking for $ac_word... " >&6; }
3250 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
3251   $as_echo_n "(cached) " >&6
3252 else
3253   if test -n "$ac_ct_OBJDUMP"; then
3254   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3255 else
3256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3257 for as_dir in $PATH
3258 do
3259   IFS=$as_save_IFS
3260   test -z "$as_dir" && as_dir=.
3261     for ac_exec_ext in '' $ac_executable_extensions; do
3262   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3263     ac_cv_prog_ac_ct_OBJDUMP="objdump"
3264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3265     break 2
3266   fi
3267 done
3268   done
3269 IFS=$as_save_IFS
3270
3271 fi
3272 fi
3273 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3274 if test -n "$ac_ct_OBJDUMP"; then
3275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3276 $as_echo "$ac_ct_OBJDUMP" >&6; }
3277 else
3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3279 $as_echo "no" >&6; }
3280 fi
3281
3282   if test "x$ac_ct_OBJDUMP" = x; then
3283     OBJDUMP="false"
3284   else
3285     case $cross_compiling:$ac_tool_warned in
3286 yes:)
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3289 ac_tool_warned=yes ;;
3290 esac
3291     OBJDUMP=$ac_ct_OBJDUMP
3292   fi
3293 else
3294   OBJDUMP="$ac_cv_prog_OBJDUMP"
3295 fi
3296
3297   ;;
3298 esac
3299
3300 test -z "$AS" && AS=as
3301
3302
3303
3304
3305
3306 test -z "$DLLTOOL" && DLLTOOL=dlltool
3307
3308
3309
3310
3311
3312 test -z "$OBJDUMP" && OBJDUMP=objdump
3313
3314
3315
3316
3317
3318
3319
3320 case `pwd` in
3321   *\ * | *\     *)
3322     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3323 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3324 esac
3325
3326
3327
3328 macro_version='2.2.6b'
3329 macro_revision='1.3017'
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343 ltmain="$ac_aux_dir/ltmain.sh"
3344
3345 DEPDIR="${am__leading_dot}deps"
3346
3347 ac_config_commands="$ac_config_commands depfiles"
3348
3349
3350 am_make=${MAKE-make}
3351 cat > confinc << 'END'
3352 am__doit:
3353         @echo this is the am__doit target
3354 .PHONY: am__doit
3355 END
3356 # If we don't find an include directive, just comment out the code.
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3358 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3359 am__include="#"
3360 am__quote=
3361 _am_result=none
3362 # First try GNU make style include.
3363 echo "include confinc" > confmf
3364 # Ignore all kinds of additional output from `make'.
3365 case `$am_make -s -f confmf 2> /dev/null` in #(
3366 *the\ am__doit\ target*)
3367   am__include=include
3368   am__quote=
3369   _am_result=GNU
3370   ;;
3371 esac
3372 # Now try BSD make style include.
3373 if test "$am__include" = "#"; then
3374    echo '.include "confinc"' > confmf
3375    case `$am_make -s -f confmf 2> /dev/null` in #(
3376    *the\ am__doit\ target*)
3377      am__include=.include
3378      am__quote="\""
3379      _am_result=BSD
3380      ;;
3381    esac
3382 fi
3383
3384
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3386 $as_echo "$_am_result" >&6; }
3387 rm -f confinc confmf
3388
3389 # Check whether --enable-dependency-tracking was given.
3390 if test "${enable_dependency_tracking+set}" = set; then :
3391   enableval=$enable_dependency_tracking;
3392 fi
3393
3394 if test "x$enable_dependency_tracking" != xno; then
3395   am_depcomp="$ac_aux_dir/depcomp"
3396   AMDEPBACKSLASH='\'
3397 fi
3398  if test "x$enable_dependency_tracking" != xno; then
3399   AMDEP_TRUE=
3400   AMDEP_FALSE='#'
3401 else
3402   AMDEP_TRUE='#'
3403   AMDEP_FALSE=
3404 fi
3405
3406
3407 ac_ext=c
3408 ac_cpp='$CPP $CPPFLAGS'
3409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412 if test -n "$ac_tool_prefix"; then
3413   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3414 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3416 $as_echo_n "checking for $ac_word... " >&6; }
3417 if test "${ac_cv_prog_CC+set}" = set; then :
3418   $as_echo_n "(cached) " >&6
3419 else
3420   if test -n "$CC"; then
3421   ac_cv_prog_CC="$CC" # Let the user override the test.
3422 else
3423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3424 for as_dir in $PATH
3425 do
3426   IFS=$as_save_IFS
3427   test -z "$as_dir" && as_dir=.
3428     for ac_exec_ext in '' $ac_executable_extensions; do
3429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3430     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3431     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432     break 2
3433   fi
3434 done
3435   done
3436 IFS=$as_save_IFS
3437
3438 fi
3439 fi
3440 CC=$ac_cv_prog_CC
3441 if test -n "$CC"; then
3442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3443 $as_echo "$CC" >&6; }
3444 else
3445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3446 $as_echo "no" >&6; }
3447 fi
3448
3449
3450 fi
3451 if test -z "$ac_cv_prog_CC"; then
3452   ac_ct_CC=$CC
3453   # Extract the first word of "gcc", so it can be a program name with args.
3454 set dummy gcc; ac_word=$2
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3456 $as_echo_n "checking for $ac_word... " >&6; }
3457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3458   $as_echo_n "(cached) " >&6
3459 else
3460   if test -n "$ac_ct_CC"; then
3461   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3462 else
3463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464 for as_dir in $PATH
3465 do
3466   IFS=$as_save_IFS
3467   test -z "$as_dir" && as_dir=.
3468     for ac_exec_ext in '' $ac_executable_extensions; do
3469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3470     ac_cv_prog_ac_ct_CC="gcc"
3471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3472     break 2
3473   fi
3474 done
3475   done
3476 IFS=$as_save_IFS
3477
3478 fi
3479 fi
3480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3481 if test -n "$ac_ct_CC"; then
3482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3483 $as_echo "$ac_ct_CC" >&6; }
3484 else
3485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3486 $as_echo "no" >&6; }
3487 fi
3488
3489   if test "x$ac_ct_CC" = x; then
3490     CC=""
3491   else
3492     case $cross_compiling:$ac_tool_warned in
3493 yes:)
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3496 ac_tool_warned=yes ;;
3497 esac
3498     CC=$ac_ct_CC
3499   fi
3500 else
3501   CC="$ac_cv_prog_CC"
3502 fi
3503
3504 if test -z "$CC"; then
3505           if test -n "$ac_tool_prefix"; then
3506     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3507 set dummy ${ac_tool_prefix}cc; ac_word=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if test "${ac_cv_prog_CC+set}" = set; then :
3511   $as_echo_n "(cached) " >&6
3512 else
3513   if test -n "$CC"; then
3514   ac_cv_prog_CC="$CC" # Let the user override the test.
3515 else
3516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517 for as_dir in $PATH
3518 do
3519   IFS=$as_save_IFS
3520   test -z "$as_dir" && as_dir=.
3521     for ac_exec_ext in '' $ac_executable_extensions; do
3522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523     ac_cv_prog_CC="${ac_tool_prefix}cc"
3524     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3525     break 2
3526   fi
3527 done
3528   done
3529 IFS=$as_save_IFS
3530
3531 fi
3532 fi
3533 CC=$ac_cv_prog_CC
3534 if test -n "$CC"; then
3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3536 $as_echo "$CC" >&6; }
3537 else
3538   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3540 fi
3541
3542
3543   fi
3544 fi
3545 if test -z "$CC"; then
3546   # Extract the first word of "cc", so it can be a program name with args.
3547 set dummy cc; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_CC+set}" = set; then :
3551   $as_echo_n "(cached) " >&6
3552 else
3553   if test -n "$CC"; then
3554   ac_cv_prog_CC="$CC" # Let the user override the test.
3555 else
3556   ac_prog_rejected=no
3557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 for as_dir in $PATH
3559 do
3560   IFS=$as_save_IFS
3561   test -z "$as_dir" && as_dir=.
3562     for ac_exec_ext in '' $ac_executable_extensions; do
3563   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3564     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3565        ac_prog_rejected=yes
3566        continue
3567      fi
3568     ac_cv_prog_CC="cc"
3569     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570     break 2
3571   fi
3572 done
3573   done
3574 IFS=$as_save_IFS
3575
3576 if test $ac_prog_rejected = yes; then
3577   # We found a bogon in the path, so make sure we never use it.
3578   set dummy $ac_cv_prog_CC
3579   shift
3580   if test $# != 0; then
3581     # We chose a different compiler from the bogus one.
3582     # However, it has the same basename, so the bogon will be chosen
3583     # first if we set CC to just the basename; use the full file name.
3584     shift
3585     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3586   fi
3587 fi
3588 fi
3589 fi
3590 CC=$ac_cv_prog_CC
3591 if test -n "$CC"; then
3592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3593 $as_echo "$CC" >&6; }
3594 else
3595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3596 $as_echo "no" >&6; }
3597 fi
3598
3599
3600 fi
3601 if test -z "$CC"; then
3602   if test -n "$ac_tool_prefix"; then
3603   for ac_prog in cl.exe
3604   do
3605     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3606 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608 $as_echo_n "checking for $ac_word... " >&6; }
3609 if test "${ac_cv_prog_CC+set}" = set; then :
3610   $as_echo_n "(cached) " >&6
3611 else
3612   if test -n "$CC"; then
3613   ac_cv_prog_CC="$CC" # Let the user override the test.
3614 else
3615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 for as_dir in $PATH
3617 do
3618   IFS=$as_save_IFS
3619   test -z "$as_dir" && as_dir=.
3620     for ac_exec_ext in '' $ac_executable_extensions; do
3621   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3623     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624     break 2
3625   fi
3626 done
3627   done
3628 IFS=$as_save_IFS
3629
3630 fi
3631 fi
3632 CC=$ac_cv_prog_CC
3633 if test -n "$CC"; then
3634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3635 $as_echo "$CC" >&6; }
3636 else
3637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638 $as_echo "no" >&6; }
3639 fi
3640
3641
3642     test -n "$CC" && break
3643   done
3644 fi
3645 if test -z "$CC"; then
3646   ac_ct_CC=$CC
3647   for ac_prog in cl.exe
3648 do
3649   # Extract the first word of "$ac_prog", so it can be a program name with args.
3650 set dummy $ac_prog; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3654   $as_echo_n "(cached) " >&6
3655 else
3656   if test -n "$ac_ct_CC"; then
3657   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3661 do
3662   IFS=$as_save_IFS
3663   test -z "$as_dir" && as_dir=.
3664     for ac_exec_ext in '' $ac_executable_extensions; do
3665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3666     ac_cv_prog_ac_ct_CC="$ac_prog"
3667     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668     break 2
3669   fi
3670 done
3671   done
3672 IFS=$as_save_IFS
3673
3674 fi
3675 fi
3676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3677 if test -n "$ac_ct_CC"; then
3678   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3679 $as_echo "$ac_ct_CC" >&6; }
3680 else
3681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3683 fi
3684
3685
3686   test -n "$ac_ct_CC" && break
3687 done
3688
3689   if test "x$ac_ct_CC" = x; then
3690     CC=""
3691   else
3692     case $cross_compiling:$ac_tool_warned in
3693 yes:)
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3695 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3696 ac_tool_warned=yes ;;
3697 esac
3698     CC=$ac_ct_CC
3699   fi
3700 fi
3701
3702 fi
3703
3704
3705 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 as_fn_error $? "no acceptable C compiler found in \$PATH
3708 See \`config.log' for more details" "$LINENO" 5 ; }
3709
3710 # Provide some information about the compiler.
3711 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3712 set X $ac_compile
3713 ac_compiler=$2
3714 for ac_option in --version -v -V -qversion; do
3715   { { ac_try="$ac_compiler $ac_option >&5"
3716 case "(($ac_try" in
3717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718   *) ac_try_echo=$ac_try;;
3719 esac
3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3721 $as_echo "$ac_try_echo"; } >&5
3722   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3723   ac_status=$?
3724   if test -s conftest.err; then
3725     sed '10a\
3726 ... rest of stderr output deleted ...
3727          10q' conftest.err >conftest.er1
3728     cat conftest.er1 >&5
3729   fi
3730   rm -f conftest.er1 conftest.err
3731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3732   test $ac_status = 0; }
3733 done
3734
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h.  */
3737
3738 int
3739 main ()
3740 {
3741
3742   ;
3743   return 0;
3744 }
3745 _ACEOF
3746 ac_clean_files_save=$ac_clean_files
3747 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3748 # Try to create an executable without -o first, disregard a.out.
3749 # It will help us diagnose broken compilers, and finding out an intuition
3750 # of exeext.
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3752 $as_echo_n "checking whether the C compiler works... " >&6; }
3753 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3754
3755 # The possible output files:
3756 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3757
3758 ac_rmfiles=
3759 for ac_file in $ac_files
3760 do
3761   case $ac_file in
3762     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3763     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3764   esac
3765 done
3766 rm -f $ac_rmfiles
3767
3768 if { { ac_try="$ac_link_default"
3769 case "(($ac_try" in
3770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771   *) ac_try_echo=$ac_try;;
3772 esac
3773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774 $as_echo "$ac_try_echo"; } >&5
3775   (eval "$ac_link_default") 2>&5
3776   ac_status=$?
3777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3778   test $ac_status = 0; }; then :
3779   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3780 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3781 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3782 # so that the user can short-circuit this test for compilers unknown to
3783 # Autoconf.
3784 for ac_file in $ac_files ''
3785 do
3786   test -f "$ac_file" || continue
3787   case $ac_file in
3788     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3789         ;;
3790     [ab].out )
3791         # We found the default executable, but exeext='' is most
3792         # certainly right.
3793         break;;
3794     *.* )
3795         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3796         then :; else
3797            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3798         fi
3799         # We set ac_cv_exeext here because the later test for it is not
3800         # safe: cross compilers may not add the suffix if given an `-o'
3801         # argument, so we may need to know it at that point already.
3802         # Even if this section looks crufty: it has the advantage of
3803         # actually working.
3804         break;;
3805     * )
3806         break;;
3807   esac
3808 done
3809 test "$ac_cv_exeext" = no && ac_cv_exeext=
3810
3811 else
3812   ac_file=''
3813 fi
3814 if test -z "$ac_file"; then :
3815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3817 $as_echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3819
3820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 as_fn_error 77 "C compiler cannot create executables
3823 See \`config.log' for more details" "$LINENO" 5 ; }
3824 else
3825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3826 $as_echo "yes" >&6; }
3827 fi
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3829 $as_echo_n "checking for C compiler default output file name... " >&6; }
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3831 $as_echo "$ac_file" >&6; }
3832 ac_exeext=$ac_cv_exeext
3833
3834 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3835 ac_clean_files=$ac_clean_files_save
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3837 $as_echo_n "checking for suffix of executables... " >&6; }
3838 if { { ac_try="$ac_link"
3839 case "(($ac_try" in
3840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841   *) ac_try_echo=$ac_try;;
3842 esac
3843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3844 $as_echo "$ac_try_echo"; } >&5
3845   (eval "$ac_link") 2>&5
3846   ac_status=$?
3847   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3848   test $ac_status = 0; }; then :
3849   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3850 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3851 # work properly (i.e., refer to `conftest.exe'), while it won't with
3852 # `rm'.
3853 for ac_file in conftest.exe conftest conftest.*; do
3854   test -f "$ac_file" || continue
3855   case $ac_file in
3856     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3857     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3858           break;;
3859     * ) break;;
3860   esac
3861 done
3862 else
3863   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3864 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3865 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3866 See \`config.log' for more details" "$LINENO" 5 ; }
3867 fi
3868 rm -f conftest conftest$ac_cv_exeext
3869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3870 $as_echo "$ac_cv_exeext" >&6; }
3871
3872 rm -f conftest.$ac_ext
3873 EXEEXT=$ac_cv_exeext
3874 ac_exeext=$EXEEXT
3875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3876 /* end confdefs.h.  */
3877 #include <stdio.h>
3878 int
3879 main ()
3880 {
3881 FILE *f = fopen ("conftest.out", "w");
3882  return ferror (f) || fclose (f) != 0;
3883
3884   ;
3885   return 0;
3886 }
3887 _ACEOF
3888 ac_clean_files="$ac_clean_files conftest.out"
3889 # Check that the compiler produces executables we can run.  If not, either
3890 # the compiler is broken, or we cross compile.
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3892 $as_echo_n "checking whether we are cross compiling... " >&6; }
3893 if test "$cross_compiling" != yes; then
3894   { { ac_try="$ac_link"
3895 case "(($ac_try" in
3896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3897   *) ac_try_echo=$ac_try;;
3898 esac
3899 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3900 $as_echo "$ac_try_echo"; } >&5
3901   (eval "$ac_link") 2>&5
3902   ac_status=$?
3903   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3904   test $ac_status = 0; }
3905   if { ac_try='./conftest$ac_cv_exeext'
3906   { { case "(($ac_try" in
3907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3908   *) ac_try_echo=$ac_try;;
3909 esac
3910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3911 $as_echo "$ac_try_echo"; } >&5
3912   (eval "$ac_try") 2>&5
3913   ac_status=$?
3914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3915   test $ac_status = 0; }; }; then
3916     cross_compiling=no
3917   else
3918     if test "$cross_compiling" = maybe; then
3919         cross_compiling=yes
3920     else
3921         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3923 as_fn_error $? "cannot run C compiled programs.
3924 If you meant to cross compile, use \`--host'.
3925 See \`config.log' for more details" "$LINENO" 5 ; }
3926     fi
3927   fi
3928 fi
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3930 $as_echo "$cross_compiling" >&6; }
3931
3932 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3933 ac_clean_files=$ac_clean_files_save
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3935 $as_echo_n "checking for suffix of object files... " >&6; }
3936 if test "${ac_cv_objext+set}" = set; then :
3937   $as_echo_n "(cached) " >&6
3938 else
3939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h.  */
3941
3942 int
3943 main ()
3944 {
3945
3946   ;
3947   return 0;
3948 }
3949 _ACEOF
3950 rm -f conftest.o conftest.obj
3951 if { { ac_try="$ac_compile"
3952 case "(($ac_try" in
3953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954   *) ac_try_echo=$ac_try;;
3955 esac
3956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3957 $as_echo "$ac_try_echo"; } >&5
3958   (eval "$ac_compile") 2>&5
3959   ac_status=$?
3960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3961   test $ac_status = 0; }; then :
3962   for ac_file in conftest.o conftest.obj conftest.*; do
3963   test -f "$ac_file" || continue;
3964   case $ac_file in
3965     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3966     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3967        break;;
3968   esac
3969 done
3970 else
3971   $as_echo "$as_me: failed program was:" >&5
3972 sed 's/^/| /' conftest.$ac_ext >&5
3973
3974 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3976 as_fn_error $? "cannot compute suffix of object files: cannot compile
3977 See \`config.log' for more details" "$LINENO" 5 ; }
3978 fi
3979 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3980 fi
3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3982 $as_echo "$ac_cv_objext" >&6; }
3983 OBJEXT=$ac_cv_objext
3984 ac_objext=$OBJEXT
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3986 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3987 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3988   $as_echo_n "(cached) " >&6
3989 else
3990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3991 /* end confdefs.h.  */
3992
3993 int
3994 main ()
3995 {
3996 #ifndef __GNUC__
3997        choke me
3998 #endif
3999
4000   ;
4001   return 0;
4002 }
4003 _ACEOF
4004 if ac_fn_c_try_compile "$LINENO"; then :
4005   ac_compiler_gnu=yes
4006 else
4007   ac_compiler_gnu=no
4008 fi
4009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4010 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4011
4012 fi
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4014 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4015 if test $ac_compiler_gnu = yes; then
4016   GCC=yes
4017 else
4018   GCC=
4019 fi
4020 ac_test_CFLAGS=${CFLAGS+set}
4021 ac_save_CFLAGS=$CFLAGS
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4023 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4024 if test "${ac_cv_prog_cc_g+set}" = set; then :
4025   $as_echo_n "(cached) " >&6
4026 else
4027   ac_save_c_werror_flag=$ac_c_werror_flag
4028    ac_c_werror_flag=yes
4029    ac_cv_prog_cc_g=no
4030    CFLAGS="-g"
4031    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032 /* end confdefs.h.  */
4033
4034 int
4035 main ()
4036 {
4037
4038   ;
4039   return 0;
4040 }
4041 _ACEOF
4042 if ac_fn_c_try_compile "$LINENO"; then :
4043   ac_cv_prog_cc_g=yes
4044 else
4045   CFLAGS=""
4046       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h.  */
4048
4049 int
4050 main ()
4051 {
4052
4053   ;
4054   return 0;
4055 }
4056 _ACEOF
4057 if ac_fn_c_try_compile "$LINENO"; then :
4058
4059 else
4060   ac_c_werror_flag=$ac_save_c_werror_flag
4061          CFLAGS="-g"
4062          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4063 /* end confdefs.h.  */
4064
4065 int
4066 main ()
4067 {
4068
4069   ;
4070   return 0;
4071 }
4072 _ACEOF
4073 if ac_fn_c_try_compile "$LINENO"; then :
4074   ac_cv_prog_cc_g=yes
4075 fi
4076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4077 fi
4078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4079 fi
4080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4081    ac_c_werror_flag=$ac_save_c_werror_flag
4082 fi
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4084 $as_echo "$ac_cv_prog_cc_g" >&6; }
4085 if test "$ac_test_CFLAGS" = set; then
4086   CFLAGS=$ac_save_CFLAGS
4087 elif test $ac_cv_prog_cc_g = yes; then
4088   if test "$GCC" = yes; then
4089     CFLAGS="-g -O2"
4090   else
4091     CFLAGS="-g"
4092   fi
4093 else
4094   if test "$GCC" = yes; then
4095     CFLAGS="-O2"
4096   else
4097     CFLAGS=
4098   fi
4099 fi
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4101 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4102 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4103   $as_echo_n "(cached) " >&6
4104 else
4105   ac_cv_prog_cc_c89=no
4106 ac_save_CC=$CC
4107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4108 /* end confdefs.h.  */
4109 #include <stdarg.h>
4110 #include <stdio.h>
4111 #include <sys/types.h>
4112 #include <sys/stat.h>
4113 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4114 struct buf { int x; };
4115 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4116 static char *e (p, i)
4117      char **p;
4118      int i;
4119 {
4120   return p[i];
4121 }
4122 static char *f (char * (*g) (char **, int), char **p, ...)
4123 {
4124   char *s;
4125   va_list v;
4126   va_start (v,p);
4127   s = g (p, va_arg (v,int));
4128   va_end (v);
4129   return s;
4130 }
4131
4132 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4133    function prototypes and stuff, but not '\xHH' hex character constants.
4134    These don't provoke an error unfortunately, instead are silently treated
4135    as 'x'.  The following induces an error, until -std is added to get
4136    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4137    array size at least.  It's necessary to write '\x00'==0 to get something
4138    that's true only with -std.  */
4139 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4140
4141 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4142    inside strings and character constants.  */
4143 #define FOO(x) 'x'
4144 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4145
4146 int test (int i, double x);
4147 struct s1 {int (*f) (int a);};
4148 struct s2 {int (*f) (double a);};
4149 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4150 int argc;
4151 char **argv;
4152 int
4153 main ()
4154 {
4155 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4156   ;
4157   return 0;
4158 }
4159 _ACEOF
4160 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4161         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4162 do
4163   CC="$ac_save_CC $ac_arg"
4164   if ac_fn_c_try_compile "$LINENO"; then :
4165   ac_cv_prog_cc_c89=$ac_arg
4166 fi
4167 rm -f core conftest.err conftest.$ac_objext
4168   test "x$ac_cv_prog_cc_c89" != "xno" && break
4169 done
4170 rm -f conftest.$ac_ext
4171 CC=$ac_save_CC
4172
4173 fi
4174 # AC_CACHE_VAL
4175 case "x$ac_cv_prog_cc_c89" in
4176   x)
4177     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4178 $as_echo "none needed" >&6; } ;;
4179   xno)
4180     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4181 $as_echo "unsupported" >&6; } ;;
4182   *)
4183     CC="$CC $ac_cv_prog_cc_c89"
4184     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4185 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4186 esac
4187 if test "x$ac_cv_prog_cc_c89" != xno; then :
4188
4189 fi
4190
4191 ac_ext=c
4192 ac_cpp='$CPP $CPPFLAGS'
4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4196
4197 depcc="$CC"   am_compiler_list=
4198
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4200 $as_echo_n "checking dependency style of $depcc... " >&6; }
4201 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4202   $as_echo_n "(cached) " >&6
4203 else
4204   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4205   # We make a subdir and do the tests there.  Otherwise we can end up
4206   # making bogus files that we don't know about and never remove.  For
4207   # instance it was reported that on HP-UX the gcc test will end up
4208   # making a dummy file named `D' -- because `-MD' means `put the output
4209   # in D'.
4210   mkdir conftest.dir
4211   # Copy depcomp to subdir because otherwise we won't find it if we're
4212   # using a relative directory.
4213   cp "$am_depcomp" conftest.dir
4214   cd conftest.dir
4215   # We will build objects and dependencies in a subdirectory because
4216   # it helps to detect inapplicable dependency modes.  For instance
4217   # both Tru64's cc and ICC support -MD to output dependencies as a
4218   # side effect of compilation, but ICC will put the dependencies in
4219   # the current directory while Tru64 will put them in the object
4220   # directory.
4221   mkdir sub
4222
4223   am_cv_CC_dependencies_compiler_type=none
4224   if test "$am_compiler_list" = ""; then
4225      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4226   fi
4227   am__universal=false
4228   case " $depcc " in #(
4229      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4230      esac
4231
4232   for depmode in $am_compiler_list; do
4233     # Setup a source with many dependencies, because some compilers
4234     # like to wrap large dependency lists on column 80 (with \), and
4235     # we should not choose a depcomp mode which is confused by this.
4236     #
4237     # We need to recreate these files for each test, as the compiler may
4238     # overwrite some of them when testing with obscure command lines.
4239     # This happens at least with the AIX C compiler.
4240     : > sub/conftest.c
4241     for i in 1 2 3 4 5 6; do
4242       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4243       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4244       # Solaris 8's {/usr,}/bin/sh.
4245       touch sub/conftst$i.h
4246     done
4247     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4248
4249     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4250     # mode.  It turns out that the SunPro C++ compiler does not properly
4251     # handle `-M -o', and we need to detect this.  Also, some Intel
4252     # versions had trouble with output in subdirs
4253     am__obj=sub/conftest.${OBJEXT-o}
4254     am__minus_obj="-o $am__obj"
4255     case $depmode in
4256     gcc)
4257       # This depmode causes a compiler race in universal mode.
4258       test "$am__universal" = false || continue
4259       ;;
4260     nosideeffect)
4261       # after this tag, mechanisms are not by side-effect, so they'll
4262       # only be used when explicitly requested
4263       if test "x$enable_dependency_tracking" = xyes; then
4264         continue
4265       else
4266         break
4267       fi
4268       ;;
4269     msvisualcpp | msvcmsys)
4270       # This compiler won't grok `-c -o', but also, the minuso test has
4271       # not run yet.  These depmodes are late enough in the game, and
4272       # so weak that their functioning should not be impacted.
4273       am__obj=conftest.${OBJEXT-o}
4274       am__minus_obj=
4275       ;;
4276     none) break ;;
4277     esac
4278     if depmode=$depmode \
4279        source=sub/conftest.c object=$am__obj \
4280        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4281        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4282          >/dev/null 2>conftest.err &&
4283        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4284        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4285        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4286        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4287       # icc doesn't choke on unknown options, it will just issue warnings
4288       # or remarks (even with -Werror).  So we grep stderr for any message
4289       # that says an option was ignored or not supported.
4290       # When given -MP, icc 7.0 and 7.1 complain thusly:
4291       #   icc: Command line warning: ignoring option '-M'; no argument required
4292       # The diagnosis changed in icc 8.0:
4293       #   icc: Command line remark: option '-MP' not supported
4294       if (grep 'ignoring option' conftest.err ||
4295           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4296         am_cv_CC_dependencies_compiler_type=$depmode
4297         break
4298       fi
4299     fi
4300   done
4301
4302   cd ..
4303   rm -rf conftest.dir
4304 else
4305   am_cv_CC_dependencies_compiler_type=none
4306 fi
4307
4308 fi
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4310 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4311 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4312
4313  if
4314   test "x$enable_dependency_tracking" != xno \
4315   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4316   am__fastdepCC_TRUE=
4317   am__fastdepCC_FALSE='#'
4318 else
4319   am__fastdepCC_TRUE='#'
4320   am__fastdepCC_FALSE=
4321 fi
4322
4323
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4325 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4326 if test "${ac_cv_path_SED+set}" = set; then :
4327   $as_echo_n "(cached) " >&6
4328 else
4329             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4330      for ac_i in 1 2 3 4 5 6 7; do
4331        ac_script="$ac_script$as_nl$ac_script"
4332      done
4333      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4334      { ac_script=; unset ac_script;}
4335      if test -z "$SED"; then
4336   ac_path_SED_found=false
4337   # Loop through the user's path and test for each of PROGNAME-LIST
4338   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4339 for as_dir in $PATH
4340 do
4341   IFS=$as_save_IFS
4342   test -z "$as_dir" && as_dir=.
4343     for ac_prog in sed gsed; do
4344     for ac_exec_ext in '' $ac_executable_extensions; do
4345       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4346       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4347 # Check for GNU ac_path_SED and select it if it is found.
4348   # Check for GNU $ac_path_SED
4349 case `"$ac_path_SED" --version 2>&1` in
4350 *GNU*)
4351   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4352 *)
4353   ac_count=0
4354   $as_echo_n 0123456789 >"conftest.in"
4355   while :
4356   do
4357     cat "conftest.in" "conftest.in" >"conftest.tmp"
4358     mv "conftest.tmp" "conftest.in"
4359     cp "conftest.in" "conftest.nl"
4360     $as_echo '' >> "conftest.nl"
4361     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4362     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4363     as_fn_arith $ac_count + 1 && ac_count=$as_val
4364     if test $ac_count -gt ${ac_path_SED_max-0}; then
4365       # Best one so far, save it but keep looking for a better one
4366       ac_cv_path_SED="$ac_path_SED"
4367       ac_path_SED_max=$ac_count
4368     fi
4369     # 10*(2^10) chars as input seems more than enough
4370     test $ac_count -gt 10 && break
4371   done
4372   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4373 esac
4374
4375       $ac_path_SED_found && break 3
4376     done
4377   done
4378   done
4379 IFS=$as_save_IFS
4380   if test -z "$ac_cv_path_SED"; then
4381     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4382   fi
4383 else
4384   ac_cv_path_SED=$SED
4385 fi
4386
4387 fi
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4389 $as_echo "$ac_cv_path_SED" >&6; }
4390  SED="$ac_cv_path_SED"
4391   rm -f conftest.sed
4392
4393 test -z "$SED" && SED=sed
4394 Xsed="$SED -e 1s/^X//"
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4407 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4408 if test "${ac_cv_path_GREP+set}" = set; then :
4409   $as_echo_n "(cached) " >&6
4410 else
4411   if test -z "$GREP"; then
4412   ac_path_GREP_found=false
4413   # Loop through the user's path and test for each of PROGNAME-LIST
4414   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4415 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4416 do
4417   IFS=$as_save_IFS
4418   test -z "$as_dir" && as_dir=.
4419     for ac_prog in grep ggrep; do
4420     for ac_exec_ext in '' $ac_executable_extensions; do
4421       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4422       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4423 # Check for GNU ac_path_GREP and select it if it is found.
4424   # Check for GNU $ac_path_GREP
4425 case `"$ac_path_GREP" --version 2>&1` in
4426 *GNU*)
4427   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4428 *)
4429   ac_count=0
4430   $as_echo_n 0123456789 >"conftest.in"
4431   while :
4432   do
4433     cat "conftest.in" "conftest.in" >"conftest.tmp"
4434     mv "conftest.tmp" "conftest.in"
4435     cp "conftest.in" "conftest.nl"
4436     $as_echo 'GREP' >> "conftest.nl"
4437     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4438     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4439     as_fn_arith $ac_count + 1 && ac_count=$as_val
4440     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4441       # Best one so far, save it but keep looking for a better one
4442       ac_cv_path_GREP="$ac_path_GREP"
4443       ac_path_GREP_max=$ac_count
4444     fi
4445     # 10*(2^10) chars as input seems more than enough
4446     test $ac_count -gt 10 && break
4447   done
4448   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4449 esac
4450
4451       $ac_path_GREP_found && break 3
4452     done
4453   done
4454   done
4455 IFS=$as_save_IFS
4456   if test -z "$ac_cv_path_GREP"; then
4457     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4458   fi
4459 else
4460   ac_cv_path_GREP=$GREP
4461 fi
4462
4463 fi
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4465 $as_echo "$ac_cv_path_GREP" >&6; }
4466  GREP="$ac_cv_path_GREP"
4467
4468
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4470 $as_echo_n "checking for egrep... " >&6; }
4471 if test "${ac_cv_path_EGREP+set}" = set; then :
4472   $as_echo_n "(cached) " >&6
4473 else
4474   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4475    then ac_cv_path_EGREP="$GREP -E"
4476    else
4477      if test -z "$EGREP"; then
4478   ac_path_EGREP_found=false
4479   # Loop through the user's path and test for each of PROGNAME-LIST
4480   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4482 do
4483   IFS=$as_save_IFS
4484   test -z "$as_dir" && as_dir=.
4485     for ac_prog in egrep; do
4486     for ac_exec_ext in '' $ac_executable_extensions; do
4487       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4488       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4489 # Check for GNU ac_path_EGREP and select it if it is found.
4490   # Check for GNU $ac_path_EGREP
4491 case `"$ac_path_EGREP" --version 2>&1` in
4492 *GNU*)
4493   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4494 *)
4495   ac_count=0
4496   $as_echo_n 0123456789 >"conftest.in"
4497   while :
4498   do
4499     cat "conftest.in" "conftest.in" >"conftest.tmp"
4500     mv "conftest.tmp" "conftest.in"
4501     cp "conftest.in" "conftest.nl"
4502     $as_echo 'EGREP' >> "conftest.nl"
4503     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4504     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4505     as_fn_arith $ac_count + 1 && ac_count=$as_val
4506     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4507       # Best one so far, save it but keep looking for a better one
4508       ac_cv_path_EGREP="$ac_path_EGREP"
4509       ac_path_EGREP_max=$ac_count
4510     fi
4511     # 10*(2^10) chars as input seems more than enough
4512     test $ac_count -gt 10 && break
4513   done
4514   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4515 esac
4516
4517       $ac_path_EGREP_found && break 3
4518     done
4519   done
4520   done
4521 IFS=$as_save_IFS
4522   if test -z "$ac_cv_path_EGREP"; then
4523     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4524   fi
4525 else
4526   ac_cv_path_EGREP=$EGREP
4527 fi
4528
4529    fi
4530 fi
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4532 $as_echo "$ac_cv_path_EGREP" >&6; }
4533  EGREP="$ac_cv_path_EGREP"
4534
4535
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4537 $as_echo_n "checking for fgrep... " >&6; }
4538 if test "${ac_cv_path_FGREP+set}" = set; then :
4539   $as_echo_n "(cached) " >&6
4540 else
4541   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4542    then ac_cv_path_FGREP="$GREP -F"
4543    else
4544      if test -z "$FGREP"; then
4545   ac_path_FGREP_found=false
4546   # Loop through the user's path and test for each of PROGNAME-LIST
4547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4549 do
4550   IFS=$as_save_IFS
4551   test -z "$as_dir" && as_dir=.
4552     for ac_prog in fgrep; do
4553     for ac_exec_ext in '' $ac_executable_extensions; do
4554       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4555       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4556 # Check for GNU ac_path_FGREP and select it if it is found.
4557   # Check for GNU $ac_path_FGREP
4558 case `"$ac_path_FGREP" --version 2>&1` in
4559 *GNU*)
4560   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4561 *)
4562   ac_count=0
4563   $as_echo_n 0123456789 >"conftest.in"
4564   while :
4565   do
4566     cat "conftest.in" "conftest.in" >"conftest.tmp"
4567     mv "conftest.tmp" "conftest.in"
4568     cp "conftest.in" "conftest.nl"
4569     $as_echo 'FGREP' >> "conftest.nl"
4570     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4571     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4572     as_fn_arith $ac_count + 1 && ac_count=$as_val
4573     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4574       # Best one so far, save it but keep looking for a better one
4575       ac_cv_path_FGREP="$ac_path_FGREP"
4576       ac_path_FGREP_max=$ac_count
4577     fi
4578     # 10*(2^10) chars as input seems more than enough
4579     test $ac_count -gt 10 && break
4580   done
4581   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4582 esac
4583
4584       $ac_path_FGREP_found && break 3
4585     done
4586   done
4587   done
4588 IFS=$as_save_IFS
4589   if test -z "$ac_cv_path_FGREP"; then
4590     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4591   fi
4592 else
4593   ac_cv_path_FGREP=$FGREP
4594 fi
4595
4596    fi
4597 fi
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4599 $as_echo "$ac_cv_path_FGREP" >&6; }
4600  FGREP="$ac_cv_path_FGREP"
4601
4602
4603 test -z "$GREP" && GREP=grep
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623 # Check whether --with-gnu-ld was given.
4624 if test "${with_gnu_ld+set}" = set; then :
4625   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4626 else
4627   with_gnu_ld=no
4628 fi
4629
4630 ac_prog=ld
4631 if test "$GCC" = yes; then
4632   # Check if gcc -print-prog-name=ld gives a path.
4633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4634 $as_echo_n "checking for ld used by $CC... " >&6; }
4635   case $host in
4636   *-*-mingw*)
4637     # gcc leaves a trailing carriage return which upsets mingw
4638     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4639   *)
4640     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4641   esac
4642   case $ac_prog in
4643     # Accept absolute paths.
4644     [\\/]* | ?:[\\/]*)
4645       re_direlt='/[^/][^/]*/\.\./'
4646       # Canonicalize the pathname of ld
4647       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4648       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4649         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4650       done
4651       test -z "$LD" && LD="$ac_prog"
4652       ;;
4653   "")
4654     # If it fails, then pretend we aren't using GCC.
4655     ac_prog=ld
4656     ;;
4657   *)
4658     # If it is relative, then search for the first ld in PATH.
4659     with_gnu_ld=unknown
4660     ;;
4661   esac
4662 elif test "$with_gnu_ld" = yes; then
4663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4664 $as_echo_n "checking for GNU ld... " >&6; }
4665 else
4666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4667 $as_echo_n "checking for non-GNU ld... " >&6; }
4668 fi
4669 if test "${lt_cv_path_LD+set}" = set; then :
4670   $as_echo_n "(cached) " >&6
4671 else
4672   if test -z "$LD"; then
4673   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4674   for ac_dir in $PATH; do
4675     IFS="$lt_save_ifs"
4676     test -z "$ac_dir" && ac_dir=.
4677     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4678       lt_cv_path_LD="$ac_dir/$ac_prog"
4679       # Check to see if the program is GNU ld.  I'd rather use --version,
4680       # but apparently some variants of GNU ld only accept -v.
4681       # Break only if it was the GNU/non-GNU ld that we prefer.
4682       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4683       *GNU* | *'with BFD'*)
4684         test "$with_gnu_ld" != no && break
4685         ;;
4686       *)
4687         test "$with_gnu_ld" != yes && break
4688         ;;
4689       esac
4690     fi
4691   done
4692   IFS="$lt_save_ifs"
4693 else
4694   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4695 fi
4696 fi
4697
4698 LD="$lt_cv_path_LD"
4699 if test -n "$LD"; then
4700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4701 $as_echo "$LD" >&6; }
4702 else
4703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4705 fi
4706 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4708 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4709 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4710   $as_echo_n "(cached) " >&6
4711 else
4712   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4713 case `$LD -v 2>&1 </dev/null` in
4714 *GNU* | *'with BFD'*)
4715   lt_cv_prog_gnu_ld=yes
4716   ;;
4717 *)
4718   lt_cv_prog_gnu_ld=no
4719   ;;
4720 esac
4721 fi
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4723 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4724 with_gnu_ld=$lt_cv_prog_gnu_ld
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4735 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4736 if test "${lt_cv_path_NM+set}" = set; then :
4737   $as_echo_n "(cached) " >&6
4738 else
4739   if test -n "$NM"; then
4740   # Let the user override the test.
4741   lt_cv_path_NM="$NM"
4742 else
4743   lt_nm_to_check="${ac_tool_prefix}nm"
4744   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4745     lt_nm_to_check="$lt_nm_to_check nm"
4746   fi
4747   for lt_tmp_nm in $lt_nm_to_check; do
4748     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4749     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4750       IFS="$lt_save_ifs"
4751       test -z "$ac_dir" && ac_dir=.
4752       tmp_nm="$ac_dir/$lt_tmp_nm"
4753       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4754         # Check to see if the nm accepts a BSD-compat flag.
4755         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4756         #   nm: unknown option "B" ignored
4757         # Tru64's nm complains that /dev/null is an invalid object file
4758         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4759         */dev/null* | *'Invalid file or object type'*)
4760           lt_cv_path_NM="$tmp_nm -B"
4761           break
4762           ;;
4763         *)
4764           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4765           */dev/null*)
4766             lt_cv_path_NM="$tmp_nm -p"
4767             break
4768             ;;
4769           *)
4770             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4771             continue # so that we can try to find one that supports BSD flags
4772             ;;
4773           esac
4774           ;;
4775         esac
4776       fi
4777     done
4778     IFS="$lt_save_ifs"
4779   done
4780   : ${lt_cv_path_NM=no}
4781 fi
4782 fi
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4784 $as_echo "$lt_cv_path_NM" >&6; }
4785 if test "$lt_cv_path_NM" != "no"; then
4786   NM="$lt_cv_path_NM"
4787 else
4788   # Didn't find any BSD compatible name lister, look for dumpbin.
4789   if test -n "$ac_tool_prefix"; then
4790   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4791   do
4792     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4793 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4795 $as_echo_n "checking for $ac_word... " >&6; }
4796 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4797   $as_echo_n "(cached) " >&6
4798 else
4799   if test -n "$DUMPBIN"; then
4800   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4801 else
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH
4804 do
4805   IFS=$as_save_IFS
4806   test -z "$as_dir" && as_dir=.
4807     for ac_exec_ext in '' $ac_executable_extensions; do
4808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4809     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4810     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811     break 2
4812   fi
4813 done
4814   done
4815 IFS=$as_save_IFS
4816
4817 fi
4818 fi
4819 DUMPBIN=$ac_cv_prog_DUMPBIN
4820 if test -n "$DUMPBIN"; then
4821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4822 $as_echo "$DUMPBIN" >&6; }
4823 else
4824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4825 $as_echo "no" >&6; }
4826 fi
4827
4828
4829     test -n "$DUMPBIN" && break
4830   done
4831 fi
4832 if test -z "$DUMPBIN"; then
4833   ac_ct_DUMPBIN=$DUMPBIN
4834   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4835 do
4836   # Extract the first word of "$ac_prog", so it can be a program name with args.
4837 set dummy $ac_prog; ac_word=$2
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4839 $as_echo_n "checking for $ac_word... " >&6; }
4840 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4841   $as_echo_n "(cached) " >&6
4842 else
4843   if test -n "$ac_ct_DUMPBIN"; then
4844   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4845 else
4846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4847 for as_dir in $PATH
4848 do
4849   IFS=$as_save_IFS
4850   test -z "$as_dir" && as_dir=.
4851     for ac_exec_ext in '' $ac_executable_extensions; do
4852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4853     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4855     break 2
4856   fi
4857 done
4858   done
4859 IFS=$as_save_IFS
4860
4861 fi
4862 fi
4863 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4864 if test -n "$ac_ct_DUMPBIN"; then
4865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4866 $as_echo "$ac_ct_DUMPBIN" >&6; }
4867 else
4868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4869 $as_echo "no" >&6; }
4870 fi
4871
4872
4873   test -n "$ac_ct_DUMPBIN" && break
4874 done
4875
4876   if test "x$ac_ct_DUMPBIN" = x; then
4877     DUMPBIN=":"
4878   else
4879     case $cross_compiling:$ac_tool_warned in
4880 yes:)
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4883 ac_tool_warned=yes ;;
4884 esac
4885     DUMPBIN=$ac_ct_DUMPBIN
4886   fi
4887 fi
4888
4889
4890   if test "$DUMPBIN" != ":"; then
4891     NM="$DUMPBIN"
4892   fi
4893 fi
4894 test -z "$NM" && NM=nm
4895
4896
4897
4898
4899
4900
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4902 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
4903 if test "${lt_cv_nm_interface+set}" = set; then :
4904   $as_echo_n "(cached) " >&6
4905 else
4906   lt_cv_nm_interface="BSD nm"
4907   echo "int some_variable = 0;" > conftest.$ac_ext
4908   (eval echo "\"\$as_me:4908: $ac_compile\"" >&5)
4909   (eval "$ac_compile" 2>conftest.err)
4910   cat conftest.err >&5
4911   (eval echo "\"\$as_me:4911: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4912   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4913   cat conftest.err >&5
4914   (eval echo "\"\$as_me:4914: output\"" >&5)
4915   cat conftest.out >&5
4916   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4917     lt_cv_nm_interface="MS dumpbin"
4918   fi
4919   rm -f conftest*
4920 fi
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4922 $as_echo "$lt_cv_nm_interface" >&6; }
4923
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4925 $as_echo_n "checking whether ln -s works... " >&6; }
4926 LN_S=$as_ln_s
4927 if test "$LN_S" = "ln -s"; then
4928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4929 $as_echo "yes" >&6; }
4930 else
4931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4932 $as_echo "no, using $LN_S" >&6; }
4933 fi
4934
4935 # find the maximum length of command line arguments
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4937 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
4938 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
4939   $as_echo_n "(cached) " >&6
4940 else
4941     i=0
4942   teststring="ABCD"
4943
4944   case $build_os in
4945   msdosdjgpp*)
4946     # On DJGPP, this test can blow up pretty badly due to problems in libc
4947     # (any single argument exceeding 2000 bytes causes a buffer overrun
4948     # during glob expansion).  Even if it were fixed, the result of this
4949     # check would be larger than it should be.
4950     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4951     ;;
4952
4953   gnu*)
4954     # Under GNU Hurd, this test is not required because there is
4955     # no limit to the length of command line arguments.
4956     # Libtool will interpret -1 as no limit whatsoever
4957     lt_cv_sys_max_cmd_len=-1;
4958     ;;
4959
4960   cygwin* | mingw* | cegcc*)
4961     # On Win9x/ME, this test blows up -- it succeeds, but takes
4962     # about 5 minutes as the teststring grows exponentially.
4963     # Worse, since 9x/ME are not pre-emptively multitasking,
4964     # you end up with a "frozen" computer, even though with patience
4965     # the test eventually succeeds (with a max line length of 256k).
4966     # Instead, let's just punt: use the minimum linelength reported by
4967     # all of the supported platforms: 8192 (on NT/2K/XP).
4968     lt_cv_sys_max_cmd_len=8192;
4969     ;;
4970
4971   amigaos*)
4972     # On AmigaOS with pdksh, this test takes hours, literally.
4973     # So we just punt and use a minimum line length of 8192.
4974     lt_cv_sys_max_cmd_len=8192;
4975     ;;
4976
4977   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4978     # This has been around since 386BSD, at least.  Likely further.
4979     if test -x /sbin/sysctl; then
4980       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4981     elif test -x /usr/sbin/sysctl; then
4982       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4983     else
4984       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4985     fi
4986     # And add a safety zone
4987     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4988     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4989     ;;
4990
4991   interix*)
4992     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4993     lt_cv_sys_max_cmd_len=196608
4994     ;;
4995
4996   osf*)
4997     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4998     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4999     # nice to cause kernel panics so lets avoid the loop below.
5000     # First set a reasonable default.
5001     lt_cv_sys_max_cmd_len=16384
5002     #
5003     if test -x /sbin/sysconfig; then
5004       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5005         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5006       esac
5007     fi
5008     ;;
5009   sco3.2v5*)
5010     lt_cv_sys_max_cmd_len=102400
5011     ;;
5012   sysv5* | sco5v6* | sysv4.2uw2*)
5013     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5014     if test -n "$kargmax"; then
5015       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5016     else
5017       lt_cv_sys_max_cmd_len=32768
5018     fi
5019     ;;
5020   *)
5021     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5022     if test -n "$lt_cv_sys_max_cmd_len"; then
5023       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5024       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5025     else
5026       # Make teststring a little bigger before we do anything with it.
5027       # a 1K string should be a reasonable start.
5028       for i in 1 2 3 4 5 6 7 8 ; do
5029         teststring=$teststring$teststring
5030       done
5031       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5032       # If test is not a shell built-in, we'll probably end up computing a
5033       # maximum length that is only half of the actual maximum length, but
5034       # we can't tell.
5035       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5036                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5037               test $i != 17 # 1/2 MB should be enough
5038       do
5039         i=`expr $i + 1`
5040         teststring=$teststring$teststring
5041       done
5042       # Only check the string length outside the loop.
5043       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5044       teststring=
5045       # Add a significant safety factor because C++ compilers can tack on
5046       # massive amounts of additional arguments before passing them to the
5047       # linker.  It appears as though 1/2 is a usable value.
5048       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5049     fi
5050     ;;
5051   esac
5052
5053 fi
5054
5055 if test -n $lt_cv_sys_max_cmd_len ; then
5056   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5057 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5058 else
5059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5060 $as_echo "none" >&6; }
5061 fi
5062 max_cmd_len=$lt_cv_sys_max_cmd_len
5063
5064
5065
5066
5067
5068
5069 : ${CP="cp -f"}
5070 : ${MV="mv -f"}
5071 : ${RM="rm -f"}
5072
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5074 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5075 # Try some XSI features
5076 xsi_shell=no
5077 ( _lt_dummy="a/b/c"
5078   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5079       = c,a/b,, \
5080     && eval 'test $(( 1 + 1 )) -eq 2 \
5081     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5082   && xsi_shell=yes
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5084 $as_echo "$xsi_shell" >&6; }
5085
5086
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5088 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5089 lt_shell_append=no
5090 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5091     >/dev/null 2>&1 \
5092   && lt_shell_append=yes
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5094 $as_echo "$lt_shell_append" >&6; }
5095
5096
5097 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5098   lt_unset=unset
5099 else
5100   lt_unset=false
5101 fi
5102
5103
5104
5105
5106
5107 # test EBCDIC or ASCII
5108 case `echo X|tr X '\101'` in
5109  A) # ASCII based system
5110     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5111   lt_SP2NL='tr \040 \012'
5112   lt_NL2SP='tr \015\012 \040\040'
5113   ;;
5114  *) # EBCDIC based system
5115   lt_SP2NL='tr \100 \n'
5116   lt_NL2SP='tr \r\n \100\100'
5117   ;;
5118 esac
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5129 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5130 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5131   $as_echo_n "(cached) " >&6
5132 else
5133   lt_cv_ld_reload_flag='-r'
5134 fi
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5136 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5137 reload_flag=$lt_cv_ld_reload_flag
5138 case $reload_flag in
5139 "" | " "*) ;;
5140 *) reload_flag=" $reload_flag" ;;
5141 esac
5142 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5143 case $host_os in
5144   darwin*)
5145     if test "$GCC" = yes; then
5146       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5147     else
5148       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5149     fi
5150     ;;
5151 esac
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161 if test -n "$ac_tool_prefix"; then
5162   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5163 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5167   $as_echo_n "(cached) " >&6
5168 else
5169   if test -n "$OBJDUMP"; then
5170   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5171 else
5172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5173 for as_dir in $PATH
5174 do
5175   IFS=$as_save_IFS
5176   test -z "$as_dir" && as_dir=.
5177     for ac_exec_ext in '' $ac_executable_extensions; do
5178   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5179     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5181     break 2
5182   fi
5183 done
5184   done
5185 IFS=$as_save_IFS
5186
5187 fi
5188 fi
5189 OBJDUMP=$ac_cv_prog_OBJDUMP
5190 if test -n "$OBJDUMP"; then
5191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5192 $as_echo "$OBJDUMP" >&6; }
5193 else
5194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5195 $as_echo "no" >&6; }
5196 fi
5197
5198
5199 fi
5200 if test -z "$ac_cv_prog_OBJDUMP"; then
5201   ac_ct_OBJDUMP=$OBJDUMP
5202   # Extract the first word of "objdump", so it can be a program name with args.
5203 set dummy objdump; ac_word=$2
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5205 $as_echo_n "checking for $ac_word... " >&6; }
5206 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5207   $as_echo_n "(cached) " >&6
5208 else
5209   if test -n "$ac_ct_OBJDUMP"; then
5210   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5214 do
5215   IFS=$as_save_IFS
5216   test -z "$as_dir" && as_dir=.
5217     for ac_exec_ext in '' $ac_executable_extensions; do
5218   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5221     break 2
5222   fi
5223 done
5224   done
5225 IFS=$as_save_IFS
5226
5227 fi
5228 fi
5229 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5230 if test -n "$ac_ct_OBJDUMP"; then
5231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5232 $as_echo "$ac_ct_OBJDUMP" >&6; }
5233 else
5234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5235 $as_echo "no" >&6; }
5236 fi
5237
5238   if test "x$ac_ct_OBJDUMP" = x; then
5239     OBJDUMP="false"
5240   else
5241     case $cross_compiling:$ac_tool_warned in
5242 yes:)
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5245 ac_tool_warned=yes ;;
5246 esac
5247     OBJDUMP=$ac_ct_OBJDUMP
5248   fi
5249 else
5250   OBJDUMP="$ac_cv_prog_OBJDUMP"
5251 fi
5252
5253 test -z "$OBJDUMP" && OBJDUMP=objdump
5254
5255
5256
5257
5258
5259
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5261 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5262 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5263   $as_echo_n "(cached) " >&6
5264 else
5265   lt_cv_file_magic_cmd='$MAGIC_CMD'
5266 lt_cv_file_magic_test_file=
5267 lt_cv_deplibs_check_method='unknown'
5268 # Need to set the preceding variable on all platforms that support
5269 # interlibrary dependencies.
5270 # 'none' -- dependencies not supported.
5271 # `unknown' -- same as none, but documents that we really don't know.
5272 # 'pass_all' -- all dependencies passed with no checks.
5273 # 'test_compile' -- check by making test program.
5274 # 'file_magic [[regex]]' -- check by looking for files in library path
5275 # which responds to the $file_magic_cmd with a given extended regex.
5276 # If you have `file' or equivalent on your system and you're not sure
5277 # whether `pass_all' will *always* work, you probably want this one.
5278
5279 case $host_os in
5280 aix[4-9]*)
5281   lt_cv_deplibs_check_method=pass_all
5282   ;;
5283
5284 beos*)
5285   lt_cv_deplibs_check_method=pass_all
5286   ;;
5287
5288 bsdi[45]*)
5289   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5290   lt_cv_file_magic_cmd='/usr/bin/file -L'
5291   lt_cv_file_magic_test_file=/shlib/libc.so
5292   ;;
5293
5294 cygwin*)
5295   # func_win32_libid is a shell function defined in ltmain.sh
5296   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5297   lt_cv_file_magic_cmd='func_win32_libid'
5298   ;;
5299
5300 mingw* | pw32*)
5301   # Base MSYS/MinGW do not provide the 'file' command needed by
5302   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5303   # unless we find 'file', for example because we are cross-compiling.
5304   if ( file / ) >/dev/null 2>&1; then
5305     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5306     lt_cv_file_magic_cmd='func_win32_libid'
5307   else
5308     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5309     lt_cv_file_magic_cmd='$OBJDUMP -f'
5310   fi
5311   ;;
5312
5313 cegcc)
5314   # use the weaker test based on 'objdump'. See mingw*.
5315   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5316   lt_cv_file_magic_cmd='$OBJDUMP -f'
5317   ;;
5318
5319 darwin* | rhapsody*)
5320   lt_cv_deplibs_check_method=pass_all
5321   ;;
5322
5323 freebsd* | dragonfly*)
5324   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5325     case $host_cpu in
5326     i*86 )
5327       # Not sure whether the presence of OpenBSD here was a mistake.
5328       # Let's accept both of them until this is cleared up.
5329       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5330       lt_cv_file_magic_cmd=/usr/bin/file
5331       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5332       ;;
5333     esac
5334   else
5335     lt_cv_deplibs_check_method=pass_all
5336   fi
5337   ;;
5338
5339 gnu*)
5340   lt_cv_deplibs_check_method=pass_all
5341   ;;
5342
5343 hpux10.20* | hpux11*)
5344   lt_cv_file_magic_cmd=/usr/bin/file
5345   case $host_cpu in
5346   ia64*)
5347     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5348     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5349     ;;
5350   hppa*64*)
5351     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]'
5352     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5353     ;;
5354   *)
5355     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5356     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5357     ;;
5358   esac
5359   ;;
5360
5361 interix[3-9]*)
5362   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5363   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5364   ;;
5365
5366 irix5* | irix6* | nonstopux*)
5367   case $LD in
5368   *-32|*"-32 ") libmagic=32-bit;;
5369   *-n32|*"-n32 ") libmagic=N32;;
5370   *-64|*"-64 ") libmagic=64-bit;;
5371   *) libmagic=never-match;;
5372   esac
5373   lt_cv_deplibs_check_method=pass_all
5374   ;;
5375
5376 # This must be Linux ELF.
5377 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5378   lt_cv_deplibs_check_method=pass_all
5379   ;;
5380
5381 netbsd* | netbsdelf*-gnu)
5382   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5383     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5384   else
5385     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5386   fi
5387   ;;
5388
5389 newos6*)
5390   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5391   lt_cv_file_magic_cmd=/usr/bin/file
5392   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5393   ;;
5394
5395 *nto* | *qnx*)
5396   lt_cv_deplibs_check_method=pass_all
5397   ;;
5398
5399 openbsd*)
5400   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5401     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5402   else
5403     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5404   fi
5405   ;;
5406
5407 osf3* | osf4* | osf5*)
5408   lt_cv_deplibs_check_method=pass_all
5409   ;;
5410
5411 rdos*)
5412   lt_cv_deplibs_check_method=pass_all
5413   ;;
5414
5415 solaris*)
5416   lt_cv_deplibs_check_method=pass_all
5417   ;;
5418
5419 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5420   lt_cv_deplibs_check_method=pass_all
5421   ;;
5422
5423 sysv4 | sysv4.3*)
5424   case $host_vendor in
5425   motorola)
5426     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]'
5427     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5428     ;;
5429   ncr)
5430     lt_cv_deplibs_check_method=pass_all
5431     ;;
5432   sequent)
5433     lt_cv_file_magic_cmd='/bin/file'
5434     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5435     ;;
5436   sni)
5437     lt_cv_file_magic_cmd='/bin/file'
5438     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5439     lt_cv_file_magic_test_file=/lib/libc.so
5440     ;;
5441   siemens)
5442     lt_cv_deplibs_check_method=pass_all
5443     ;;
5444   pc)
5445     lt_cv_deplibs_check_method=pass_all
5446     ;;
5447   esac
5448   ;;
5449
5450 tpf*)
5451   lt_cv_deplibs_check_method=pass_all
5452   ;;
5453 esac
5454
5455 fi
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5457 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5458 file_magic_cmd=$lt_cv_file_magic_cmd
5459 deplibs_check_method=$lt_cv_deplibs_check_method
5460 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473 if test -n "$ac_tool_prefix"; then
5474   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5475 set dummy ${ac_tool_prefix}ar; ac_word=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if test "${ac_cv_prog_AR+set}" = set; then :
5479   $as_echo_n "(cached) " >&6
5480 else
5481   if test -n "$AR"; then
5482   ac_cv_prog_AR="$AR" # Let the user override the test.
5483 else
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH
5486 do
5487   IFS=$as_save_IFS
5488   test -z "$as_dir" && as_dir=.
5489     for ac_exec_ext in '' $ac_executable_extensions; do
5490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5491     ac_cv_prog_AR="${ac_tool_prefix}ar"
5492     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493     break 2
5494   fi
5495 done
5496   done
5497 IFS=$as_save_IFS
5498
5499 fi
5500 fi
5501 AR=$ac_cv_prog_AR
5502 if test -n "$AR"; then
5503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5504 $as_echo "$AR" >&6; }
5505 else
5506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5508 fi
5509
5510
5511 fi
5512 if test -z "$ac_cv_prog_AR"; then
5513   ac_ct_AR=$AR
5514   # Extract the first word of "ar", so it can be a program name with args.
5515 set dummy ar; ac_word=$2
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517 $as_echo_n "checking for $ac_word... " >&6; }
5518 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5519   $as_echo_n "(cached) " >&6
5520 else
5521   if test -n "$ac_ct_AR"; then
5522   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5523 else
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in $PATH
5526 do
5527   IFS=$as_save_IFS
5528   test -z "$as_dir" && as_dir=.
5529     for ac_exec_ext in '' $ac_executable_extensions; do
5530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5531     ac_cv_prog_ac_ct_AR="ar"
5532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533     break 2
5534   fi
5535 done
5536   done
5537 IFS=$as_save_IFS
5538
5539 fi
5540 fi
5541 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5542 if test -n "$ac_ct_AR"; then
5543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5544 $as_echo "$ac_ct_AR" >&6; }
5545 else
5546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547 $as_echo "no" >&6; }
5548 fi
5549
5550   if test "x$ac_ct_AR" = x; then
5551     AR="false"
5552   else
5553     case $cross_compiling:$ac_tool_warned in
5554 yes:)
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557 ac_tool_warned=yes ;;
5558 esac
5559     AR=$ac_ct_AR
5560   fi
5561 else
5562   AR="$ac_cv_prog_AR"
5563 fi
5564
5565 test -z "$AR" && AR=ar
5566 test -z "$AR_FLAGS" && AR_FLAGS=cru
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578 if test -n "$ac_tool_prefix"; then
5579   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5580 set dummy ${ac_tool_prefix}strip; ac_word=$2
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5582 $as_echo_n "checking for $ac_word... " >&6; }
5583 if test "${ac_cv_prog_STRIP+set}" = set; then :
5584   $as_echo_n "(cached) " >&6
5585 else
5586   if test -n "$STRIP"; then
5587   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5588 else
5589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590 for as_dir in $PATH
5591 do
5592   IFS=$as_save_IFS
5593   test -z "$as_dir" && as_dir=.
5594     for ac_exec_ext in '' $ac_executable_extensions; do
5595   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5596     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5598     break 2
5599   fi
5600 done
5601   done
5602 IFS=$as_save_IFS
5603
5604 fi
5605 fi
5606 STRIP=$ac_cv_prog_STRIP
5607 if test -n "$STRIP"; then
5608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5609 $as_echo "$STRIP" >&6; }
5610 else
5611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5612 $as_echo "no" >&6; }
5613 fi
5614
5615
5616 fi
5617 if test -z "$ac_cv_prog_STRIP"; then
5618   ac_ct_STRIP=$STRIP
5619   # Extract the first word of "strip", so it can be a program name with args.
5620 set dummy strip; ac_word=$2
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5622 $as_echo_n "checking for $ac_word... " >&6; }
5623 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5624   $as_echo_n "(cached) " >&6
5625 else
5626   if test -n "$ac_ct_STRIP"; then
5627   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5628 else
5629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630 for as_dir in $PATH
5631 do
5632   IFS=$as_save_IFS
5633   test -z "$as_dir" && as_dir=.
5634     for ac_exec_ext in '' $ac_executable_extensions; do
5635   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5636     ac_cv_prog_ac_ct_STRIP="strip"
5637     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5638     break 2
5639   fi
5640 done
5641   done
5642 IFS=$as_save_IFS
5643
5644 fi
5645 fi
5646 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5647 if test -n "$ac_ct_STRIP"; then
5648   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5649 $as_echo "$ac_ct_STRIP" >&6; }
5650 else
5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5652 $as_echo "no" >&6; }
5653 fi
5654
5655   if test "x$ac_ct_STRIP" = x; then
5656     STRIP=":"
5657   else
5658     case $cross_compiling:$ac_tool_warned in
5659 yes:)
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5662 ac_tool_warned=yes ;;
5663 esac
5664     STRIP=$ac_ct_STRIP
5665   fi
5666 else
5667   STRIP="$ac_cv_prog_STRIP"
5668 fi
5669
5670 test -z "$STRIP" && STRIP=:
5671
5672
5673
5674
5675
5676
5677 if test -n "$ac_tool_prefix"; then
5678   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5679 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5681 $as_echo_n "checking for $ac_word... " >&6; }
5682 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5683   $as_echo_n "(cached) " >&6
5684 else
5685   if test -n "$RANLIB"; then
5686   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5687 else
5688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689 for as_dir in $PATH
5690 do
5691   IFS=$as_save_IFS
5692   test -z "$as_dir" && as_dir=.
5693     for ac_exec_ext in '' $ac_executable_extensions; do
5694   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5695     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5696     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5697     break 2
5698   fi
5699 done
5700   done
5701 IFS=$as_save_IFS
5702
5703 fi
5704 fi
5705 RANLIB=$ac_cv_prog_RANLIB
5706 if test -n "$RANLIB"; then
5707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5708 $as_echo "$RANLIB" >&6; }
5709 else
5710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5711 $as_echo "no" >&6; }
5712 fi
5713
5714
5715 fi
5716 if test -z "$ac_cv_prog_RANLIB"; then
5717   ac_ct_RANLIB=$RANLIB
5718   # Extract the first word of "ranlib", so it can be a program name with args.
5719 set dummy ranlib; ac_word=$2
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721 $as_echo_n "checking for $ac_word... " >&6; }
5722 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5723   $as_echo_n "(cached) " >&6
5724 else
5725   if test -n "$ac_ct_RANLIB"; then
5726   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5727 else
5728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729 for as_dir in $PATH
5730 do
5731   IFS=$as_save_IFS
5732   test -z "$as_dir" && as_dir=.
5733     for ac_exec_ext in '' $ac_executable_extensions; do
5734   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735     ac_cv_prog_ac_ct_RANLIB="ranlib"
5736     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737     break 2
5738   fi
5739 done
5740   done
5741 IFS=$as_save_IFS
5742
5743 fi
5744 fi
5745 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5746 if test -n "$ac_ct_RANLIB"; then
5747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5748 $as_echo "$ac_ct_RANLIB" >&6; }
5749 else
5750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751 $as_echo "no" >&6; }
5752 fi
5753
5754   if test "x$ac_ct_RANLIB" = x; then
5755     RANLIB=":"
5756   else
5757     case $cross_compiling:$ac_tool_warned in
5758 yes:)
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5760 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5761 ac_tool_warned=yes ;;
5762 esac
5763     RANLIB=$ac_ct_RANLIB
5764   fi
5765 else
5766   RANLIB="$ac_cv_prog_RANLIB"
5767 fi
5768
5769 test -z "$RANLIB" && RANLIB=:
5770
5771
5772
5773
5774
5775
5776 # Determine commands to create old-style static archives.
5777 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5778 old_postinstall_cmds='chmod 644 $oldlib'
5779 old_postuninstall_cmds=
5780
5781 if test -n "$RANLIB"; then
5782   case $host_os in
5783   openbsd*)
5784     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5785     ;;
5786   *)
5787     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5788     ;;
5789   esac
5790   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5791 fi
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826 # If no C compiler was specified, use CC.
5827 LTCC=${LTCC-"$CC"}
5828
5829 # If no C compiler flags were specified, use CFLAGS.
5830 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5831
5832 # Allow CC to be a program name with arguments.
5833 compiler=$CC
5834
5835
5836 # Check for command to grab the raw symbol name followed by C symbol from nm.
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5838 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5839 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5840   $as_echo_n "(cached) " >&6
5841 else
5842
5843 # These are sane defaults that work on at least a few old systems.
5844 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5845
5846 # Character class describing NM global symbol codes.
5847 symcode='[BCDEGRST]'
5848
5849 # Regexp to match symbols that can be accessed directly from C.
5850 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5851
5852 # Define system-specific variables.
5853 case $host_os in
5854 aix*)
5855   symcode='[BCDT]'
5856   ;;
5857 cygwin* | mingw* | pw32* | cegcc*)
5858   symcode='[ABCDGISTW]'
5859   ;;
5860 hpux*)
5861   if test "$host_cpu" = ia64; then
5862     symcode='[ABCDEGRST]'
5863   fi
5864   ;;
5865 irix* | nonstopux*)
5866   symcode='[BCDEGRST]'
5867   ;;
5868 osf*)
5869   symcode='[BCDEGQRST]'
5870   ;;
5871 solaris*)
5872   symcode='[BDRT]'
5873   ;;
5874 sco3.2v5*)
5875   symcode='[DT]'
5876   ;;
5877 sysv4.2uw2*)
5878   symcode='[DT]'
5879   ;;
5880 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5881   symcode='[ABDT]'
5882   ;;
5883 sysv4)
5884   symcode='[DFNSTU]'
5885   ;;
5886 esac
5887
5888 # If we're using GNU nm, then use its standard symbol codes.
5889 case `$NM -V 2>&1` in
5890 *GNU* | *'with BFD'*)
5891   symcode='[ABCDGIRSTW]' ;;
5892 esac
5893
5894 # Transform an extracted symbol line into a proper C declaration.
5895 # Some systems (esp. on ia64) link data and code symbols differently,
5896 # so use this general approach.
5897 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5898
5899 # Transform an extracted symbol line into symbol name and symbol address
5900 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5901 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'"
5902
5903 # Handle CRLF in mingw tool chain
5904 opt_cr=
5905 case $build_os in
5906 mingw*)
5907   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5908   ;;
5909 esac
5910
5911 # Try without a prefix underscore, then with it.
5912 for ac_symprfx in "" "_"; do
5913
5914   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5915   symxfrm="\\1 $ac_symprfx\\2 \\2"
5916
5917   # Write the raw and C identifiers.
5918   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5919     # Fake it for dumpbin and say T for any non-static function
5920     # and D for any global variable.
5921     # Also find C++ and __fastcall symbols from MSVC++,
5922     # which start with @ or ?.
5923     lt_cv_sys_global_symbol_pipe="$AWK '"\
5924 "     {last_section=section; section=\$ 3};"\
5925 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5926 "     \$ 0!~/External *\|/{next};"\
5927 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5928 "     {if(hide[section]) next};"\
5929 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5930 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5931 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5932 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5933 "     ' prfx=^$ac_symprfx"
5934   else
5935     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5936   fi
5937
5938   # Check to see that the pipe works correctly.
5939   pipe_works=no
5940
5941   rm -f conftest*
5942   cat > conftest.$ac_ext <<_LT_EOF
5943 #ifdef __cplusplus
5944 extern "C" {
5945 #endif
5946 char nm_test_var;
5947 void nm_test_func(void);
5948 void nm_test_func(void){}
5949 #ifdef __cplusplus
5950 }
5951 #endif
5952 int main(){nm_test_var='a';nm_test_func();return(0);}
5953 _LT_EOF
5954
5955   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5956   (eval $ac_compile) 2>&5
5957   ac_status=$?
5958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5959   test $ac_status = 0; }; then
5960     # Now try to grab the symbols.
5961     nlist=conftest.nm
5962     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
5963   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5964   ac_status=$?
5965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5966   test $ac_status = 0; } && test -s "$nlist"; then
5967       # Try sorting and uniquifying the output.
5968       if sort "$nlist" | uniq > "$nlist"T; then
5969         mv -f "$nlist"T "$nlist"
5970       else
5971         rm -f "$nlist"T
5972       fi
5973
5974       # Make sure that we snagged all the symbols we need.
5975       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5976         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5977           cat <<_LT_EOF > conftest.$ac_ext
5978 #ifdef __cplusplus
5979 extern "C" {
5980 #endif
5981
5982 _LT_EOF
5983           # Now generate the symbol file.
5984           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5985
5986           cat <<_LT_EOF >> conftest.$ac_ext
5987
5988 /* The mapping between symbol names and symbols.  */
5989 const struct {
5990   const char *name;
5991   void       *address;
5992 }
5993 lt__PROGRAM__LTX_preloaded_symbols[] =
5994 {
5995   { "@PROGRAM@", (void *) 0 },
5996 _LT_EOF
5997           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5998           cat <<\_LT_EOF >> conftest.$ac_ext
5999   {0, (void *) 0}
6000 };
6001
6002 /* This works around a problem in FreeBSD linker */
6003 #ifdef FREEBSD_WORKAROUND
6004 static const void *lt_preloaded_setup() {
6005   return lt__PROGRAM__LTX_preloaded_symbols;
6006 }
6007 #endif
6008
6009 #ifdef __cplusplus
6010 }
6011 #endif
6012 _LT_EOF
6013           # Now try linking the two files.
6014           mv conftest.$ac_objext conftstm.$ac_objext
6015           lt_save_LIBS="$LIBS"
6016           lt_save_CFLAGS="$CFLAGS"
6017           LIBS="conftstm.$ac_objext"
6018           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6019           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6020   (eval $ac_link) 2>&5
6021   ac_status=$?
6022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6023   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6024             pipe_works=yes
6025           fi
6026           LIBS="$lt_save_LIBS"
6027           CFLAGS="$lt_save_CFLAGS"
6028         else
6029           echo "cannot find nm_test_func in $nlist" >&5
6030         fi
6031       else
6032         echo "cannot find nm_test_var in $nlist" >&5
6033       fi
6034     else
6035       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6036     fi
6037   else
6038     echo "$progname: failed program was:" >&5
6039     cat conftest.$ac_ext >&5
6040   fi
6041   rm -rf conftest* conftst*
6042
6043   # Do not use the global_symbol_pipe unless it works.
6044   if test "$pipe_works" = yes; then
6045     break
6046   else
6047     lt_cv_sys_global_symbol_pipe=
6048   fi
6049 done
6050
6051 fi
6052
6053 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6054   lt_cv_sys_global_symbol_to_cdecl=
6055 fi
6056 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6058 $as_echo "failed" >&6; }
6059 else
6060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6061 $as_echo "ok" >&6; }
6062 fi
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086 # Check whether --enable-libtool-lock was given.
6087 if test "${enable_libtool_lock+set}" = set; then :
6088   enableval=$enable_libtool_lock;
6089 fi
6090
6091 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6092
6093 # Some flags need to be propagated to the compiler or linker for good
6094 # libtool support.
6095 case $host in
6096 ia64-*-hpux*)
6097   # Find out which ABI we are using.
6098   echo 'int i;' > conftest.$ac_ext
6099   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6100   (eval $ac_compile) 2>&5
6101   ac_status=$?
6102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6103   test $ac_status = 0; }; then
6104     case `/usr/bin/file conftest.$ac_objext` in
6105       *ELF-32*)
6106         HPUX_IA64_MODE="32"
6107         ;;
6108       *ELF-64*)
6109         HPUX_IA64_MODE="64"
6110         ;;
6111     esac
6112   fi
6113   rm -rf conftest*
6114   ;;
6115 *-*-irix6*)
6116   # Find out which ABI we are using.
6117   echo '#line 6117 "configure"' > conftest.$ac_ext
6118   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6119   (eval $ac_compile) 2>&5
6120   ac_status=$?
6121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6122   test $ac_status = 0; }; then
6123     if test "$lt_cv_prog_gnu_ld" = yes; then
6124       case `/usr/bin/file conftest.$ac_objext` in
6125         *32-bit*)
6126           LD="${LD-ld} -melf32bsmip"
6127           ;;
6128         *N32*)
6129           LD="${LD-ld} -melf32bmipn32"
6130           ;;
6131         *64-bit*)
6132           LD="${LD-ld} -melf64bmip"
6133         ;;
6134       esac
6135     else
6136       case `/usr/bin/file conftest.$ac_objext` in
6137         *32-bit*)
6138           LD="${LD-ld} -32"
6139           ;;
6140         *N32*)
6141           LD="${LD-ld} -n32"
6142           ;;
6143         *64-bit*)
6144           LD="${LD-ld} -64"
6145           ;;
6146       esac
6147     fi
6148   fi
6149   rm -rf conftest*
6150   ;;
6151
6152 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6153 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6154   # Find out which ABI we are using.
6155   echo 'int i;' > conftest.$ac_ext
6156   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6157   (eval $ac_compile) 2>&5
6158   ac_status=$?
6159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6160   test $ac_status = 0; }; then
6161     case `/usr/bin/file conftest.o` in
6162       *32-bit*)
6163         case $host in
6164           x86_64-*kfreebsd*-gnu)
6165             LD="${LD-ld} -m elf_i386_fbsd"
6166             ;;
6167           x86_64-*linux*)
6168             LD="${LD-ld} -m elf_i386"
6169             ;;
6170           ppc64-*linux*|powerpc64-*linux*)
6171             LD="${LD-ld} -m elf32ppclinux"
6172             ;;
6173           s390x-*linux*)
6174             LD="${LD-ld} -m elf_s390"
6175             ;;
6176           sparc64-*linux*)
6177             LD="${LD-ld} -m elf32_sparc"
6178             ;;
6179         esac
6180         ;;
6181       *64-bit*)
6182         case $host in
6183           x86_64-*kfreebsd*-gnu)
6184             LD="${LD-ld} -m elf_x86_64_fbsd"
6185             ;;
6186           x86_64-*linux*)
6187             LD="${LD-ld} -m elf_x86_64"
6188             ;;
6189           ppc*-*linux*|powerpc*-*linux*)
6190             LD="${LD-ld} -m elf64ppc"
6191             ;;
6192           s390*-*linux*|s390*-*tpf*)
6193             LD="${LD-ld} -m elf64_s390"
6194             ;;
6195           sparc*-*linux*)
6196             LD="${LD-ld} -m elf64_sparc"
6197             ;;
6198         esac
6199         ;;
6200     esac
6201   fi
6202   rm -rf conftest*
6203   ;;
6204
6205 *-*-sco3.2v5*)
6206   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6207   SAVE_CFLAGS="$CFLAGS"
6208   CFLAGS="$CFLAGS -belf"
6209   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6210 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6211 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6212   $as_echo_n "(cached) " >&6
6213 else
6214   ac_ext=c
6215 ac_cpp='$CPP $CPPFLAGS'
6216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6219
6220      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221 /* end confdefs.h.  */
6222
6223 int
6224 main ()
6225 {
6226
6227   ;
6228   return 0;
6229 }
6230 _ACEOF
6231 if ac_fn_c_try_link "$LINENO"; then :
6232   lt_cv_cc_needs_belf=yes
6233 else
6234   lt_cv_cc_needs_belf=no
6235 fi
6236 rm -f core conftest.err conftest.$ac_objext \
6237     conftest$ac_exeext conftest.$ac_ext
6238      ac_ext=c
6239 ac_cpp='$CPP $CPPFLAGS'
6240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6243
6244 fi
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6246 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6247   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6248     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6249     CFLAGS="$SAVE_CFLAGS"
6250   fi
6251   ;;
6252 sparc*-*solaris*)
6253   # Find out which ABI we are using.
6254   echo 'int i;' > conftest.$ac_ext
6255   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6256   (eval $ac_compile) 2>&5
6257   ac_status=$?
6258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6259   test $ac_status = 0; }; then
6260     case `/usr/bin/file conftest.o` in
6261     *64-bit*)
6262       case $lt_cv_prog_gnu_ld in
6263       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6264       *)
6265         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6266           LD="${LD-ld} -64"
6267         fi
6268         ;;
6269       esac
6270       ;;
6271     esac
6272   fi
6273   rm -rf conftest*
6274   ;;
6275 esac
6276
6277 need_locks="$enable_libtool_lock"
6278
6279
6280   case $host_os in
6281     rhapsody* | darwin*)
6282     if test -n "$ac_tool_prefix"; then
6283   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6284 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6286 $as_echo_n "checking for $ac_word... " >&6; }
6287 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6288   $as_echo_n "(cached) " >&6
6289 else
6290   if test -n "$DSYMUTIL"; then
6291   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6292 else
6293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 for as_dir in $PATH
6295 do
6296   IFS=$as_save_IFS
6297   test -z "$as_dir" && as_dir=.
6298     for ac_exec_ext in '' $ac_executable_extensions; do
6299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6300     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6302     break 2
6303   fi
6304 done
6305   done
6306 IFS=$as_save_IFS
6307
6308 fi
6309 fi
6310 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6311 if test -n "$DSYMUTIL"; then
6312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6313 $as_echo "$DSYMUTIL" >&6; }
6314 else
6315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6316 $as_echo "no" >&6; }
6317 fi
6318
6319
6320 fi
6321 if test -z "$ac_cv_prog_DSYMUTIL"; then
6322   ac_ct_DSYMUTIL=$DSYMUTIL
6323   # Extract the first word of "dsymutil", so it can be a program name with args.
6324 set dummy dsymutil; ac_word=$2
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326 $as_echo_n "checking for $ac_word... " >&6; }
6327 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6328   $as_echo_n "(cached) " >&6
6329 else
6330   if test -n "$ac_ct_DSYMUTIL"; then
6331   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6332 else
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 for as_dir in $PATH
6335 do
6336   IFS=$as_save_IFS
6337   test -z "$as_dir" && as_dir=.
6338     for ac_exec_ext in '' $ac_executable_extensions; do
6339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6340     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342     break 2
6343   fi
6344 done
6345   done
6346 IFS=$as_save_IFS
6347
6348 fi
6349 fi
6350 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6351 if test -n "$ac_ct_DSYMUTIL"; then
6352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6353 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6354 else
6355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356 $as_echo "no" >&6; }
6357 fi
6358
6359   if test "x$ac_ct_DSYMUTIL" = x; then
6360     DSYMUTIL=":"
6361   else
6362     case $cross_compiling:$ac_tool_warned in
6363 yes:)
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6366 ac_tool_warned=yes ;;
6367 esac
6368     DSYMUTIL=$ac_ct_DSYMUTIL
6369   fi
6370 else
6371   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6372 fi
6373
6374     if test -n "$ac_tool_prefix"; then
6375   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6376 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6378 $as_echo_n "checking for $ac_word... " >&6; }
6379 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6380   $as_echo_n "(cached) " >&6
6381 else
6382   if test -n "$NMEDIT"; then
6383   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6384 else
6385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6386 for as_dir in $PATH
6387 do
6388   IFS=$as_save_IFS
6389   test -z "$as_dir" && as_dir=.
6390     for ac_exec_ext in '' $ac_executable_extensions; do
6391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6392     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6394     break 2
6395   fi
6396 done
6397   done
6398 IFS=$as_save_IFS
6399
6400 fi
6401 fi
6402 NMEDIT=$ac_cv_prog_NMEDIT
6403 if test -n "$NMEDIT"; then
6404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6405 $as_echo "$NMEDIT" >&6; }
6406 else
6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6408 $as_echo "no" >&6; }
6409 fi
6410
6411
6412 fi
6413 if test -z "$ac_cv_prog_NMEDIT"; then
6414   ac_ct_NMEDIT=$NMEDIT
6415   # Extract the first word of "nmedit", so it can be a program name with args.
6416 set dummy nmedit; ac_word=$2
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6418 $as_echo_n "checking for $ac_word... " >&6; }
6419 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6420   $as_echo_n "(cached) " >&6
6421 else
6422   if test -n "$ac_ct_NMEDIT"; then
6423   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6424 else
6425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6426 for as_dir in $PATH
6427 do
6428   IFS=$as_save_IFS
6429   test -z "$as_dir" && as_dir=.
6430     for ac_exec_ext in '' $ac_executable_extensions; do
6431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6432     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6434     break 2
6435   fi
6436 done
6437   done
6438 IFS=$as_save_IFS
6439
6440 fi
6441 fi
6442 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6443 if test -n "$ac_ct_NMEDIT"; then
6444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6445 $as_echo "$ac_ct_NMEDIT" >&6; }
6446 else
6447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6448 $as_echo "no" >&6; }
6449 fi
6450
6451   if test "x$ac_ct_NMEDIT" = x; then
6452     NMEDIT=":"
6453   else
6454     case $cross_compiling:$ac_tool_warned in
6455 yes:)
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6457 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6458 ac_tool_warned=yes ;;
6459 esac
6460     NMEDIT=$ac_ct_NMEDIT
6461   fi
6462 else
6463   NMEDIT="$ac_cv_prog_NMEDIT"
6464 fi
6465
6466     if test -n "$ac_tool_prefix"; then
6467   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6468 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6470 $as_echo_n "checking for $ac_word... " >&6; }
6471 if test "${ac_cv_prog_LIPO+set}" = set; then :
6472   $as_echo_n "(cached) " >&6
6473 else
6474   if test -n "$LIPO"; then
6475   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6476 else
6477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6478 for as_dir in $PATH
6479 do
6480   IFS=$as_save_IFS
6481   test -z "$as_dir" && as_dir=.
6482     for ac_exec_ext in '' $ac_executable_extensions; do
6483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6484     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6485     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6486     break 2
6487   fi
6488 done
6489   done
6490 IFS=$as_save_IFS
6491
6492 fi
6493 fi
6494 LIPO=$ac_cv_prog_LIPO
6495 if test -n "$LIPO"; then
6496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6497 $as_echo "$LIPO" >&6; }
6498 else
6499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6500 $as_echo "no" >&6; }
6501 fi
6502
6503
6504 fi
6505 if test -z "$ac_cv_prog_LIPO"; then
6506   ac_ct_LIPO=$LIPO
6507   # Extract the first word of "lipo", so it can be a program name with args.
6508 set dummy lipo; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6512   $as_echo_n "(cached) " >&6
6513 else
6514   if test -n "$ac_ct_LIPO"; then
6515   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6519 do
6520   IFS=$as_save_IFS
6521   test -z "$as_dir" && as_dir=.
6522     for ac_exec_ext in '' $ac_executable_extensions; do
6523   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6524     ac_cv_prog_ac_ct_LIPO="lipo"
6525     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526     break 2
6527   fi
6528 done
6529   done
6530 IFS=$as_save_IFS
6531
6532 fi
6533 fi
6534 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6535 if test -n "$ac_ct_LIPO"; then
6536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6537 $as_echo "$ac_ct_LIPO" >&6; }
6538 else
6539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6541 fi
6542
6543   if test "x$ac_ct_LIPO" = x; then
6544     LIPO=":"
6545   else
6546     case $cross_compiling:$ac_tool_warned in
6547 yes:)
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6549 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6550 ac_tool_warned=yes ;;
6551 esac
6552     LIPO=$ac_ct_LIPO
6553   fi
6554 else
6555   LIPO="$ac_cv_prog_LIPO"
6556 fi
6557
6558     if test -n "$ac_tool_prefix"; then
6559   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6560 set dummy ${ac_tool_prefix}otool; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6564   $as_echo_n "(cached) " >&6
6565 else
6566   if test -n "$OTOOL"; then
6567   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6571 do
6572   IFS=$as_save_IFS
6573   test -z "$as_dir" && as_dir=.
6574     for ac_exec_ext in '' $ac_executable_extensions; do
6575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6576     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578     break 2
6579   fi
6580 done
6581   done
6582 IFS=$as_save_IFS
6583
6584 fi
6585 fi
6586 OTOOL=$ac_cv_prog_OTOOL
6587 if test -n "$OTOOL"; then
6588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6589 $as_echo "$OTOOL" >&6; }
6590 else
6591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6593 fi
6594
6595
6596 fi
6597 if test -z "$ac_cv_prog_OTOOL"; then
6598   ac_ct_OTOOL=$OTOOL
6599   # Extract the first word of "otool", so it can be a program name with args.
6600 set dummy otool; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6604   $as_echo_n "(cached) " >&6
6605 else
6606   if test -n "$ac_ct_OTOOL"; then
6607   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6611 do
6612   IFS=$as_save_IFS
6613   test -z "$as_dir" && as_dir=.
6614     for ac_exec_ext in '' $ac_executable_extensions; do
6615   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6616     ac_cv_prog_ac_ct_OTOOL="otool"
6617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618     break 2
6619   fi
6620 done
6621   done
6622 IFS=$as_save_IFS
6623
6624 fi
6625 fi
6626 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6627 if test -n "$ac_ct_OTOOL"; then
6628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6629 $as_echo "$ac_ct_OTOOL" >&6; }
6630 else
6631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6633 fi
6634
6635   if test "x$ac_ct_OTOOL" = x; then
6636     OTOOL=":"
6637   else
6638     case $cross_compiling:$ac_tool_warned in
6639 yes:)
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6641 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6642 ac_tool_warned=yes ;;
6643 esac
6644     OTOOL=$ac_ct_OTOOL
6645   fi
6646 else
6647   OTOOL="$ac_cv_prog_OTOOL"
6648 fi
6649
6650     if test -n "$ac_tool_prefix"; then
6651   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6652 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654 $as_echo_n "checking for $ac_word... " >&6; }
6655 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6656   $as_echo_n "(cached) " >&6
6657 else
6658   if test -n "$OTOOL64"; then
6659   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6660 else
6661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6662 for as_dir in $PATH
6663 do
6664   IFS=$as_save_IFS
6665   test -z "$as_dir" && as_dir=.
6666     for ac_exec_ext in '' $ac_executable_extensions; do
6667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6668     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6670     break 2
6671   fi
6672 done
6673   done
6674 IFS=$as_save_IFS
6675
6676 fi
6677 fi
6678 OTOOL64=$ac_cv_prog_OTOOL64
6679 if test -n "$OTOOL64"; then
6680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6681 $as_echo "$OTOOL64" >&6; }
6682 else
6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684 $as_echo "no" >&6; }
6685 fi
6686
6687
6688 fi
6689 if test -z "$ac_cv_prog_OTOOL64"; then
6690   ac_ct_OTOOL64=$OTOOL64
6691   # Extract the first word of "otool64", so it can be a program name with args.
6692 set dummy otool64; ac_word=$2
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6694 $as_echo_n "checking for $ac_word... " >&6; }
6695 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6696   $as_echo_n "(cached) " >&6
6697 else
6698   if test -n "$ac_ct_OTOOL64"; then
6699   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6700 else
6701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6702 for as_dir in $PATH
6703 do
6704   IFS=$as_save_IFS
6705   test -z "$as_dir" && as_dir=.
6706     for ac_exec_ext in '' $ac_executable_extensions; do
6707   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6708     ac_cv_prog_ac_ct_OTOOL64="otool64"
6709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6710     break 2
6711   fi
6712 done
6713   done
6714 IFS=$as_save_IFS
6715
6716 fi
6717 fi
6718 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6719 if test -n "$ac_ct_OTOOL64"; then
6720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6721 $as_echo "$ac_ct_OTOOL64" >&6; }
6722 else
6723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6724 $as_echo "no" >&6; }
6725 fi
6726
6727   if test "x$ac_ct_OTOOL64" = x; then
6728     OTOOL64=":"
6729   else
6730     case $cross_compiling:$ac_tool_warned in
6731 yes:)
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6733 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6734 ac_tool_warned=yes ;;
6735 esac
6736     OTOOL64=$ac_ct_OTOOL64
6737   fi
6738 else
6739   OTOOL64="$ac_cv_prog_OTOOL64"
6740 fi
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6769 $as_echo_n "checking for -single_module linker flag... " >&6; }
6770 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6771   $as_echo_n "(cached) " >&6
6772 else
6773   lt_cv_apple_cc_single_mod=no
6774       if test -z "${LT_MULTI_MODULE}"; then
6775         # By default we will add the -single_module flag. You can override
6776         # by either setting the environment variable LT_MULTI_MODULE
6777         # non-empty at configure time, or by adding -multi_module to the
6778         # link flags.
6779         rm -rf libconftest.dylib*
6780         echo "int foo(void){return 1;}" > conftest.c
6781         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6782 -dynamiclib -Wl,-single_module conftest.c" >&5
6783         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6784           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6785         _lt_result=$?
6786         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6787           lt_cv_apple_cc_single_mod=yes
6788         else
6789           cat conftest.err >&5
6790         fi
6791         rm -rf libconftest.dylib*
6792         rm -f conftest.*
6793       fi
6794 fi
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6796 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6797     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6798 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6799 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6800   $as_echo_n "(cached) " >&6
6801 else
6802   lt_cv_ld_exported_symbols_list=no
6803       save_LDFLAGS=$LDFLAGS
6804       echo "_main" > conftest.sym
6805       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6806       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6807 /* end confdefs.h.  */
6808
6809 int
6810 main ()
6811 {
6812
6813   ;
6814   return 0;
6815 }
6816 _ACEOF
6817 if ac_fn_c_try_link "$LINENO"; then :
6818   lt_cv_ld_exported_symbols_list=yes
6819 else
6820   lt_cv_ld_exported_symbols_list=no
6821 fi
6822 rm -f core conftest.err conftest.$ac_objext \
6823     conftest$ac_exeext conftest.$ac_ext
6824         LDFLAGS="$save_LDFLAGS"
6825
6826 fi
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6828 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6829     case $host_os in
6830     rhapsody* | darwin1.[012])
6831       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6832     darwin1.*)
6833       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6834     darwin*) # darwin 5.x on
6835       # if running on 10.5 or later, the deployment target defaults
6836       # to the OS version, if on x86, and 10.4, the deployment
6837       # target defaults to 10.4. Don't you love it?
6838       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6839         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6840           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6841         10.[012]*)
6842           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6843         10.*)
6844           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6845       esac
6846     ;;
6847   esac
6848     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6849       _lt_dar_single_mod='$single_module'
6850     fi
6851     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6852       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6853     else
6854       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6855     fi
6856     if test "$DSYMUTIL" != ":"; then
6857       _lt_dsymutil='~$DSYMUTIL $lib || :'
6858     else
6859       _lt_dsymutil=
6860     fi
6861     ;;
6862   esac
6863
6864 ac_ext=c
6865 ac_cpp='$CPP $CPPFLAGS'
6866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6870 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6871 # On Suns, sometimes $CPP names a directory.
6872 if test -n "$CPP" && test -d "$CPP"; then
6873   CPP=
6874 fi
6875 if test -z "$CPP"; then
6876   if test "${ac_cv_prog_CPP+set}" = set; then :
6877   $as_echo_n "(cached) " >&6
6878 else
6879       # Double quotes because CPP needs to be expanded
6880     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6881     do
6882       ac_preproc_ok=false
6883 for ac_c_preproc_warn_flag in '' yes
6884 do
6885   # Use a header file that comes with gcc, so configuring glibc
6886   # with a fresh cross-compiler works.
6887   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6888   # <limits.h> exists even on freestanding compilers.
6889   # On the NeXT, cc -E runs the code through the compiler's parser,
6890   # not just through cpp. "Syntax error" is here to catch this case.
6891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h.  */
6893 #ifdef __STDC__
6894 # include <limits.h>
6895 #else
6896 # include <assert.h>
6897 #endif
6898                      Syntax error
6899 _ACEOF
6900 if ac_fn_c_try_cpp "$LINENO"; then :
6901
6902 else
6903   # Broken: fails on valid input.
6904 continue
6905 fi
6906 rm -f conftest.err conftest.i conftest.$ac_ext
6907
6908   # OK, works on sane cases.  Now check whether nonexistent headers
6909   # can be detected and how.
6910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6911 /* end confdefs.h.  */
6912 #include <ac_nonexistent.h>
6913 _ACEOF
6914 if ac_fn_c_try_cpp "$LINENO"; then :
6915   # Broken: success on invalid input.
6916 continue
6917 else
6918   # Passes both tests.
6919 ac_preproc_ok=:
6920 break
6921 fi
6922 rm -f conftest.err conftest.i conftest.$ac_ext
6923
6924 done
6925 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6926 rm -f conftest.i conftest.err conftest.$ac_ext
6927 if $ac_preproc_ok; then :
6928   break
6929 fi
6930
6931     done
6932     ac_cv_prog_CPP=$CPP
6933
6934 fi
6935   CPP=$ac_cv_prog_CPP
6936 else
6937   ac_cv_prog_CPP=$CPP
6938 fi
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6940 $as_echo "$CPP" >&6; }
6941 ac_preproc_ok=false
6942 for ac_c_preproc_warn_flag in '' yes
6943 do
6944   # Use a header file that comes with gcc, so configuring glibc
6945   # with a fresh cross-compiler works.
6946   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6947   # <limits.h> exists even on freestanding compilers.
6948   # On the NeXT, cc -E runs the code through the compiler's parser,
6949   # not just through cpp. "Syntax error" is here to catch this case.
6950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6951 /* end confdefs.h.  */
6952 #ifdef __STDC__
6953 # include <limits.h>
6954 #else
6955 # include <assert.h>
6956 #endif
6957                      Syntax error
6958 _ACEOF
6959 if ac_fn_c_try_cpp "$LINENO"; then :
6960
6961 else
6962   # Broken: fails on valid input.
6963 continue
6964 fi
6965 rm -f conftest.err conftest.i conftest.$ac_ext
6966
6967   # OK, works on sane cases.  Now check whether nonexistent headers
6968   # can be detected and how.
6969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6970 /* end confdefs.h.  */
6971 #include <ac_nonexistent.h>
6972 _ACEOF
6973 if ac_fn_c_try_cpp "$LINENO"; then :
6974   # Broken: success on invalid input.
6975 continue
6976 else
6977   # Passes both tests.
6978 ac_preproc_ok=:
6979 break
6980 fi
6981 rm -f conftest.err conftest.i conftest.$ac_ext
6982
6983 done
6984 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6985 rm -f conftest.i conftest.err conftest.$ac_ext
6986 if $ac_preproc_ok; then :
6987
6988 else
6989   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6990 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6991 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6992 See \`config.log' for more details" "$LINENO" 5 ; }
6993 fi
6994
6995 ac_ext=c
6996 ac_cpp='$CPP $CPPFLAGS'
6997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7000
7001
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7003 $as_echo_n "checking for ANSI C header files... " >&6; }
7004 if test "${ac_cv_header_stdc+set}" = set; then :
7005   $as_echo_n "(cached) " >&6
7006 else
7007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7008 /* end confdefs.h.  */
7009 #include <stdlib.h>
7010 #include <stdarg.h>
7011 #include <string.h>
7012 #include <float.h>
7013
7014 int
7015 main ()
7016 {
7017
7018   ;
7019   return 0;
7020 }
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023   ac_cv_header_stdc=yes
7024 else
7025   ac_cv_header_stdc=no
7026 fi
7027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7028
7029 if test $ac_cv_header_stdc = yes; then
7030   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h.  */
7033 #include <string.h>
7034
7035 _ACEOF
7036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7037   $EGREP "memchr" >/dev/null 2>&1; then :
7038
7039 else
7040   ac_cv_header_stdc=no
7041 fi
7042 rm -f conftest*
7043
7044 fi
7045
7046 if test $ac_cv_header_stdc = yes; then
7047   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h.  */
7050 #include <stdlib.h>
7051
7052 _ACEOF
7053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7054   $EGREP "free" >/dev/null 2>&1; then :
7055
7056 else
7057   ac_cv_header_stdc=no
7058 fi
7059 rm -f conftest*
7060
7061 fi
7062
7063 if test $ac_cv_header_stdc = yes; then
7064   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7065   if test "$cross_compiling" = yes; then :
7066   :
7067 else
7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7069 /* end confdefs.h.  */
7070 #include <ctype.h>
7071 #include <stdlib.h>
7072 #if ((' ' & 0x0FF) == 0x020)
7073 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7074 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7075 #else
7076 # define ISLOWER(c) \
7077                    (('a' <= (c) && (c) <= 'i') \
7078                      || ('j' <= (c) && (c) <= 'r') \
7079                      || ('s' <= (c) && (c) <= 'z'))
7080 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7081 #endif
7082
7083 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7084 int
7085 main ()
7086 {
7087   int i;
7088   for (i = 0; i < 256; i++)
7089     if (XOR (islower (i), ISLOWER (i))
7090         || toupper (i) != TOUPPER (i))
7091       return 2;
7092   return 0;
7093 }
7094 _ACEOF
7095 if ac_fn_c_try_run "$LINENO"; then :
7096
7097 else
7098   ac_cv_header_stdc=no
7099 fi
7100 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7101   conftest.$ac_objext conftest.beam conftest.$ac_ext
7102 fi
7103
7104 fi
7105 fi
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7107 $as_echo "$ac_cv_header_stdc" >&6; }
7108 if test $ac_cv_header_stdc = yes; then
7109
7110 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7111
7112 fi
7113
7114 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7115 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7116                   inttypes.h stdint.h unistd.h
7117 do :
7118   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7119 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7120 "
7121 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7122   cat >>confdefs.h <<_ACEOF
7123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7124 _ACEOF
7125
7126 fi
7127
7128 done
7129
7130
7131 for ac_header in dlfcn.h
7132 do :
7133   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7134 "
7135 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7136   cat >>confdefs.h <<_ACEOF
7137 #define HAVE_DLFCN_H 1
7138 _ACEOF
7139
7140 fi
7141
7142 done
7143
7144
7145
7146 # Set options
7147
7148
7149
7150         enable_dlopen=no
7151
7152
7153
7154             # Check whether --enable-shared was given.
7155 if test "${enable_shared+set}" = set; then :
7156   enableval=$enable_shared; p=${PACKAGE-default}
7157     case $enableval in
7158     yes) enable_shared=yes ;;
7159     no) enable_shared=no ;;
7160     *)
7161       enable_shared=no
7162       # Look at the argument we got.  We use all the common list separators.
7163       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7164       for pkg in $enableval; do
7165         IFS="$lt_save_ifs"
7166         if test "X$pkg" = "X$p"; then
7167           enable_shared=yes
7168         fi
7169       done
7170       IFS="$lt_save_ifs"
7171       ;;
7172     esac
7173 else
7174   enable_shared=yes
7175 fi
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185   # Check whether --enable-static was given.
7186 if test "${enable_static+set}" = set; then :
7187   enableval=$enable_static; p=${PACKAGE-default}
7188     case $enableval in
7189     yes) enable_static=yes ;;
7190     no) enable_static=no ;;
7191     *)
7192      enable_static=no
7193       # Look at the argument we got.  We use all the common list separators.
7194       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7195       for pkg in $enableval; do
7196         IFS="$lt_save_ifs"
7197         if test "X$pkg" = "X$p"; then
7198           enable_static=yes
7199         fi
7200       done
7201       IFS="$lt_save_ifs"
7202       ;;
7203     esac
7204 else
7205   enable_static=yes
7206 fi
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217 # Check whether --with-pic was given.
7218 if test "${with_pic+set}" = set; then :
7219   withval=$with_pic; pic_mode="$withval"
7220 else
7221   pic_mode=default
7222 fi
7223
7224
7225 test -z "$pic_mode" && pic_mode=default
7226
7227
7228
7229
7230
7231
7232
7233   # Check whether --enable-fast-install was given.
7234 if test "${enable_fast_install+set}" = set; then :
7235   enableval=$enable_fast_install; p=${PACKAGE-default}
7236     case $enableval in
7237     yes) enable_fast_install=yes ;;
7238     no) enable_fast_install=no ;;
7239     *)
7240       enable_fast_install=no
7241       # Look at the argument we got.  We use all the common list separators.
7242       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7243       for pkg in $enableval; do
7244         IFS="$lt_save_ifs"
7245         if test "X$pkg" = "X$p"; then
7246           enable_fast_install=yes
7247         fi
7248       done
7249       IFS="$lt_save_ifs"
7250       ;;
7251     esac
7252 else
7253   enable_fast_install=yes
7254 fi
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266 # This can be used to rebuild libtool when needed
7267 LIBTOOL_DEPS="$ltmain"
7268
7269 # Always use our own libtool.
7270 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296 test -z "$LN_S" && LN_S="ln -s"
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311 if test -n "${ZSH_VERSION+set}" ; then
7312    setopt NO_GLOB_SUBST
7313 fi
7314
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7316 $as_echo_n "checking for objdir... " >&6; }
7317 if test "${lt_cv_objdir+set}" = set; then :
7318   $as_echo_n "(cached) " >&6
7319 else
7320   rm -f .libs 2>/dev/null
7321 mkdir .libs 2>/dev/null
7322 if test -d .libs; then
7323   lt_cv_objdir=.libs
7324 else
7325   # MS-DOS does not allow filenames that begin with a dot.
7326   lt_cv_objdir=_libs
7327 fi
7328 rmdir .libs 2>/dev/null
7329 fi
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7331 $as_echo "$lt_cv_objdir" >&6; }
7332 objdir=$lt_cv_objdir
7333
7334
7335
7336
7337
7338 cat >>confdefs.h <<_ACEOF
7339 #define LT_OBJDIR "$lt_cv_objdir/"
7340 _ACEOF
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358 case $host_os in
7359 aix3*)
7360   # AIX sometimes has problems with the GCC collect2 program.  For some
7361   # reason, if we set the COLLECT_NAMES environment variable, the problems
7362   # vanish in a puff of smoke.
7363   if test "X${COLLECT_NAMES+set}" != Xset; then
7364     COLLECT_NAMES=
7365     export COLLECT_NAMES
7366   fi
7367   ;;
7368 esac
7369
7370 # Sed substitution that helps us do robust quoting.  It backslashifies
7371 # metacharacters that are still active within double-quoted strings.
7372 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7373
7374 # Same as above, but do not quote variable references.
7375 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7376
7377 # Sed substitution to delay expansion of an escaped shell variable in a
7378 # double_quote_subst'ed string.
7379 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7380
7381 # Sed substitution to delay expansion of an escaped single quote.
7382 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7383
7384 # Sed substitution to avoid accidental globbing in evaled expressions
7385 no_glob_subst='s/\*/\\\*/g'
7386
7387 # Global variables:
7388 ofile=libtool
7389 can_build_shared=yes
7390
7391 # All known linkers require a `.a' archive for static linking (except MSVC,
7392 # which needs '.lib').
7393 libext=a
7394
7395 with_gnu_ld="$lt_cv_prog_gnu_ld"
7396
7397 old_CC="$CC"
7398 old_CFLAGS="$CFLAGS"
7399
7400 # Set sane defaults for various variables
7401 test -z "$CC" && CC=cc
7402 test -z "$LTCC" && LTCC=$CC
7403 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7404 test -z "$LD" && LD=ld
7405 test -z "$ac_objext" && ac_objext=o
7406
7407 for cc_temp in $compiler""; do
7408   case $cc_temp in
7409     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7410     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7411     \-*) ;;
7412     *) break;;
7413   esac
7414 done
7415 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7416
7417
7418 # Only perform the check for file, if the check method requires it
7419 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7420 case $deplibs_check_method in
7421 file_magic*)
7422   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7423     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7424 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7425 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7426   $as_echo_n "(cached) " >&6
7427 else
7428   case $MAGIC_CMD in
7429 [\\/*] |  ?:[\\/]*)
7430   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7431   ;;
7432 *)
7433   lt_save_MAGIC_CMD="$MAGIC_CMD"
7434   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7435   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7436   for ac_dir in $ac_dummy; do
7437     IFS="$lt_save_ifs"
7438     test -z "$ac_dir" && ac_dir=.
7439     if test -f $ac_dir/${ac_tool_prefix}file; then
7440       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7441       if test -n "$file_magic_test_file"; then
7442         case $deplibs_check_method in
7443         "file_magic "*)
7444           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7445           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7446           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7447             $EGREP "$file_magic_regex" > /dev/null; then
7448             :
7449           else
7450             cat <<_LT_EOF 1>&2
7451
7452 *** Warning: the command libtool uses to detect shared libraries,
7453 *** $file_magic_cmd, produces output that libtool cannot recognize.
7454 *** The result is that libtool may fail to recognize shared libraries
7455 *** as such.  This will affect the creation of libtool libraries that
7456 *** depend on shared libraries, but programs linked with such libtool
7457 *** libraries will work regardless of this problem.  Nevertheless, you
7458 *** may want to report the problem to your system manager and/or to
7459 *** bug-libtool@gnu.org
7460
7461 _LT_EOF
7462           fi ;;
7463         esac
7464       fi
7465       break
7466     fi
7467   done
7468   IFS="$lt_save_ifs"
7469   MAGIC_CMD="$lt_save_MAGIC_CMD"
7470   ;;
7471 esac
7472 fi
7473
7474 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7475 if test -n "$MAGIC_CMD"; then
7476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7477 $as_echo "$MAGIC_CMD" >&6; }
7478 else
7479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7480 $as_echo "no" >&6; }
7481 fi
7482
7483
7484
7485
7486
7487 if test -z "$lt_cv_path_MAGIC_CMD"; then
7488   if test -n "$ac_tool_prefix"; then
7489     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7490 $as_echo_n "checking for file... " >&6; }
7491 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7492   $as_echo_n "(cached) " >&6
7493 else
7494   case $MAGIC_CMD in
7495 [\\/*] |  ?:[\\/]*)
7496   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7497   ;;
7498 *)
7499   lt_save_MAGIC_CMD="$MAGIC_CMD"
7500   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7501   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7502   for ac_dir in $ac_dummy; do
7503     IFS="$lt_save_ifs"
7504     test -z "$ac_dir" && ac_dir=.
7505     if test -f $ac_dir/file; then
7506       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7507       if test -n "$file_magic_test_file"; then
7508         case $deplibs_check_method in
7509         "file_magic "*)
7510           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7511           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7512           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7513             $EGREP "$file_magic_regex" > /dev/null; then
7514             :
7515           else
7516             cat <<_LT_EOF 1>&2
7517
7518 *** Warning: the command libtool uses to detect shared libraries,
7519 *** $file_magic_cmd, produces output that libtool cannot recognize.
7520 *** The result is that libtool may fail to recognize shared libraries
7521 *** as such.  This will affect the creation of libtool libraries that
7522 *** depend on shared libraries, but programs linked with such libtool
7523 *** libraries will work regardless of this problem.  Nevertheless, you
7524 *** may want to report the problem to your system manager and/or to
7525 *** bug-libtool@gnu.org
7526
7527 _LT_EOF
7528           fi ;;
7529         esac
7530       fi
7531       break
7532     fi
7533   done
7534   IFS="$lt_save_ifs"
7535   MAGIC_CMD="$lt_save_MAGIC_CMD"
7536   ;;
7537 esac
7538 fi
7539
7540 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7541 if test -n "$MAGIC_CMD"; then
7542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7543 $as_echo "$MAGIC_CMD" >&6; }
7544 else
7545   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7546 $as_echo "no" >&6; }
7547 fi
7548
7549
7550   else
7551     MAGIC_CMD=:
7552   fi
7553 fi
7554
7555   fi
7556   ;;
7557 esac
7558
7559 # Use C for the default configuration in the libtool script
7560
7561 lt_save_CC="$CC"
7562 ac_ext=c
7563 ac_cpp='$CPP $CPPFLAGS'
7564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7567
7568
7569 # Source file extension for C test sources.
7570 ac_ext=c
7571
7572 # Object file extension for compiled C test sources.
7573 objext=o
7574 objext=$objext
7575
7576 # Code to be used in simple compile tests
7577 lt_simple_compile_test_code="int some_variable = 0;"
7578
7579 # Code to be used in simple link tests
7580 lt_simple_link_test_code='int main(){return(0);}'
7581
7582
7583
7584
7585
7586
7587
7588 # If no C compiler was specified, use CC.
7589 LTCC=${LTCC-"$CC"}
7590
7591 # If no C compiler flags were specified, use CFLAGS.
7592 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7593
7594 # Allow CC to be a program name with arguments.
7595 compiler=$CC
7596
7597 # Save the default compiler, since it gets overwritten when the other
7598 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7599 compiler_DEFAULT=$CC
7600
7601 # save warnings/boilerplate of simple test code
7602 ac_outfile=conftest.$ac_objext
7603 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7604 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7605 _lt_compiler_boilerplate=`cat conftest.err`
7606 $RM conftest*
7607
7608 ac_outfile=conftest.$ac_objext
7609 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7610 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7611 _lt_linker_boilerplate=`cat conftest.err`
7612 $RM -r conftest*
7613
7614
7615 ## CAVEAT EMPTOR:
7616 ## There is no encapsulation within the following macros, do not change
7617 ## the running order or otherwise move them around unless you know exactly
7618 ## what you are doing...
7619 if test -n "$compiler"; then
7620
7621 lt_prog_compiler_no_builtin_flag=
7622
7623 if test "$GCC" = yes; then
7624   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7625
7626   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7627 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7628 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7629   $as_echo_n "(cached) " >&6
7630 else
7631   lt_cv_prog_compiler_rtti_exceptions=no
7632    ac_outfile=conftest.$ac_objext
7633    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7634    lt_compiler_flag="-fno-rtti -fno-exceptions"
7635    # Insert the option either (1) after the last *FLAGS variable, or
7636    # (2) before a word containing "conftest.", or (3) at the end.
7637    # Note that $ac_compile itself does not contain backslashes and begins
7638    # with a dollar sign (not a hyphen), so the echo should work correctly.
7639    # The option is referenced via a variable to avoid confusing sed.
7640    lt_compile=`echo "$ac_compile" | $SED \
7641    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7642    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7643    -e 's:$: $lt_compiler_flag:'`
7644    (eval echo "\"\$as_me:7644: $lt_compile\"" >&5)
7645    (eval "$lt_compile" 2>conftest.err)
7646    ac_status=$?
7647    cat conftest.err >&5
7648    echo "$as_me:7648: \$? = $ac_status" >&5
7649    if (exit $ac_status) && test -s "$ac_outfile"; then
7650      # The compiler can only warn and ignore the option if not recognized
7651      # So say no if there are warnings other than the usual output.
7652      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7653      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7654      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7655        lt_cv_prog_compiler_rtti_exceptions=yes
7656      fi
7657    fi
7658    $RM conftest*
7659
7660 fi
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7662 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7663
7664 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7665     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7666 else
7667     :
7668 fi
7669
7670 fi
7671
7672
7673
7674
7675
7676
7677   lt_prog_compiler_wl=
7678 lt_prog_compiler_pic=
7679 lt_prog_compiler_static=
7680
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7682 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7683
7684   if test "$GCC" = yes; then
7685     lt_prog_compiler_wl='-Wl,'
7686     lt_prog_compiler_static='-static'
7687
7688     case $host_os in
7689       aix*)
7690       # All AIX code is PIC.
7691       if test "$host_cpu" = ia64; then
7692         # AIX 5 now supports IA64 processor
7693         lt_prog_compiler_static='-Bstatic'
7694       fi
7695       ;;
7696
7697     amigaos*)
7698       case $host_cpu in
7699       powerpc)
7700             # see comment about AmigaOS4 .so support
7701             lt_prog_compiler_pic='-fPIC'
7702         ;;
7703       m68k)
7704             # FIXME: we need at least 68020 code to build shared libraries, but
7705             # adding the `-m68020' flag to GCC prevents building anything better,
7706             # like `-m68040'.
7707             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7708         ;;
7709       esac
7710       ;;
7711
7712     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7713       # PIC is the default for these OSes.
7714       ;;
7715
7716     mingw* | cygwin* | pw32* | os2* | cegcc*)
7717       # This hack is so that the source file can tell whether it is being
7718       # built for inclusion in a dll (and should export symbols for example).
7719       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7720       # (--disable-auto-import) libraries
7721       lt_prog_compiler_pic='-DDLL_EXPORT'
7722       ;;
7723
7724     darwin* | rhapsody*)
7725       # PIC is the default on this platform
7726       # Common symbols not allowed in MH_DYLIB files
7727       lt_prog_compiler_pic='-fno-common'
7728       ;;
7729
7730     hpux*)
7731       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7732       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7733       # sets the default TLS model and affects inlining.
7734       case $host_cpu in
7735       hppa*64*)
7736         # +Z the default
7737         ;;
7738       *)
7739         lt_prog_compiler_pic='-fPIC'
7740         ;;
7741       esac
7742       ;;
7743
7744     interix[3-9]*)
7745       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7746       # Instead, we relocate shared libraries at runtime.
7747       ;;
7748
7749     msdosdjgpp*)
7750       # Just because we use GCC doesn't mean we suddenly get shared libraries
7751       # on systems that don't support them.
7752       lt_prog_compiler_can_build_shared=no
7753       enable_shared=no
7754       ;;
7755
7756     *nto* | *qnx*)
7757       # QNX uses GNU C++, but need to define -shared option too, otherwise
7758       # it will coredump.
7759       lt_prog_compiler_pic='-fPIC -shared'
7760       ;;
7761
7762     sysv4*MP*)
7763       if test -d /usr/nec; then
7764         lt_prog_compiler_pic=-Kconform_pic
7765       fi
7766       ;;
7767
7768     *)
7769       lt_prog_compiler_pic='-fPIC'
7770       ;;
7771     esac
7772   else
7773     # PORTME Check for flag to pass linker flags through the system compiler.
7774     case $host_os in
7775     aix*)
7776       lt_prog_compiler_wl='-Wl,'
7777       if test "$host_cpu" = ia64; then
7778         # AIX 5 now supports IA64 processor
7779         lt_prog_compiler_static='-Bstatic'
7780       else
7781         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7782       fi
7783       ;;
7784
7785     mingw* | cygwin* | pw32* | os2* | cegcc*)
7786       # This hack is so that the source file can tell whether it is being
7787       # built for inclusion in a dll (and should export symbols for example).
7788       lt_prog_compiler_pic='-DDLL_EXPORT'
7789       ;;
7790
7791     hpux9* | hpux10* | hpux11*)
7792       lt_prog_compiler_wl='-Wl,'
7793       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7794       # not for PA HP-UX.
7795       case $host_cpu in
7796       hppa*64*|ia64*)
7797         # +Z the default
7798         ;;
7799       *)
7800         lt_prog_compiler_pic='+Z'
7801         ;;
7802       esac
7803       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7804       lt_prog_compiler_static='${wl}-a ${wl}archive'
7805       ;;
7806
7807     irix5* | irix6* | nonstopux*)
7808       lt_prog_compiler_wl='-Wl,'
7809       # PIC (with -KPIC) is the default.
7810       lt_prog_compiler_static='-non_shared'
7811       ;;
7812
7813     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7814       case $cc_basename in
7815       # old Intel for x86_64 which still supported -KPIC.
7816       ecc*)
7817         lt_prog_compiler_wl='-Wl,'
7818         lt_prog_compiler_pic='-KPIC'
7819         lt_prog_compiler_static='-static'
7820         ;;
7821       # icc used to be incompatible with GCC.
7822       # ICC 10 doesn't accept -KPIC any more.
7823       icc* | ifort*)
7824         lt_prog_compiler_wl='-Wl,'
7825         lt_prog_compiler_pic='-fPIC'
7826         lt_prog_compiler_static='-static'
7827         ;;
7828       # Lahey Fortran 8.1.
7829       lf95*)
7830         lt_prog_compiler_wl='-Wl,'
7831         lt_prog_compiler_pic='--shared'
7832         lt_prog_compiler_static='--static'
7833         ;;
7834       pgcc* | pgf77* | pgf90* | pgf95*)
7835         # Portland Group compilers (*not* the Pentium gcc compiler,
7836         # which looks to be a dead project)
7837         lt_prog_compiler_wl='-Wl,'
7838         lt_prog_compiler_pic='-fpic'
7839         lt_prog_compiler_static='-Bstatic'
7840         ;;
7841       ccc*)
7842         lt_prog_compiler_wl='-Wl,'
7843         # All Alpha code is PIC.
7844         lt_prog_compiler_static='-non_shared'
7845         ;;
7846       xl*)
7847         # IBM XL C 8.0/Fortran 10.1 on PPC
7848         lt_prog_compiler_wl='-Wl,'
7849         lt_prog_compiler_pic='-qpic'
7850         lt_prog_compiler_static='-qstaticlink'
7851         ;;
7852       *)
7853         case `$CC -V 2>&1 | sed 5q` in
7854         *Sun\ C*)
7855           # Sun C 5.9
7856           lt_prog_compiler_pic='-KPIC'
7857           lt_prog_compiler_static='-Bstatic'
7858           lt_prog_compiler_wl='-Wl,'
7859           ;;
7860         *Sun\ F*)
7861           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7862           lt_prog_compiler_pic='-KPIC'
7863           lt_prog_compiler_static='-Bstatic'
7864           lt_prog_compiler_wl=''
7865           ;;
7866         esac
7867         ;;
7868       esac
7869       ;;
7870
7871     newsos6)
7872       lt_prog_compiler_pic='-KPIC'
7873       lt_prog_compiler_static='-Bstatic'
7874       ;;
7875
7876     *nto* | *qnx*)
7877       # QNX uses GNU C++, but need to define -shared option too, otherwise
7878       # it will coredump.
7879       lt_prog_compiler_pic='-fPIC -shared'
7880       ;;
7881
7882     osf3* | osf4* | osf5*)
7883       lt_prog_compiler_wl='-Wl,'
7884       # All OSF/1 code is PIC.
7885       lt_prog_compiler_static='-non_shared'
7886       ;;
7887
7888     rdos*)
7889       lt_prog_compiler_static='-non_shared'
7890       ;;
7891
7892     solaris*)
7893       lt_prog_compiler_pic='-KPIC'
7894       lt_prog_compiler_static='-Bstatic'
7895       case $cc_basename in
7896       f77* | f90* | f95*)
7897         lt_prog_compiler_wl='-Qoption ld ';;
7898       *)
7899         lt_prog_compiler_wl='-Wl,';;
7900       esac
7901       ;;
7902
7903     sunos4*)
7904       lt_prog_compiler_wl='-Qoption ld '
7905       lt_prog_compiler_pic='-PIC'
7906       lt_prog_compiler_static='-Bstatic'
7907       ;;
7908
7909     sysv4 | sysv4.2uw2* | sysv4.3*)
7910       lt_prog_compiler_wl='-Wl,'
7911       lt_prog_compiler_pic='-KPIC'
7912       lt_prog_compiler_static='-Bstatic'
7913       ;;
7914
7915     sysv4*MP*)
7916       if test -d /usr/nec ;then
7917         lt_prog_compiler_pic='-Kconform_pic'
7918         lt_prog_compiler_static='-Bstatic'
7919       fi
7920       ;;
7921
7922     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7923       lt_prog_compiler_wl='-Wl,'
7924       lt_prog_compiler_pic='-KPIC'
7925       lt_prog_compiler_static='-Bstatic'
7926       ;;
7927
7928     unicos*)
7929       lt_prog_compiler_wl='-Wl,'
7930       lt_prog_compiler_can_build_shared=no
7931       ;;
7932
7933     uts4*)
7934       lt_prog_compiler_pic='-pic'
7935       lt_prog_compiler_static='-Bstatic'
7936       ;;
7937
7938     *)
7939       lt_prog_compiler_can_build_shared=no
7940       ;;
7941     esac
7942   fi
7943
7944 case $host_os in
7945   # For platforms which do not support PIC, -DPIC is meaningless:
7946   *djgpp*)
7947     lt_prog_compiler_pic=
7948     ;;
7949   *)
7950     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7951     ;;
7952 esac
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
7954 $as_echo "$lt_prog_compiler_pic" >&6; }
7955
7956
7957
7958
7959
7960
7961 #
7962 # Check to make sure the PIC flag actually works.
7963 #
7964 if test -n "$lt_prog_compiler_pic"; then
7965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7966 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7967 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
7968   $as_echo_n "(cached) " >&6
7969 else
7970   lt_cv_prog_compiler_pic_works=no
7971    ac_outfile=conftest.$ac_objext
7972    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7973    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7974    # Insert the option either (1) after the last *FLAGS variable, or
7975    # (2) before a word containing "conftest.", or (3) at the end.
7976    # Note that $ac_compile itself does not contain backslashes and begins
7977    # with a dollar sign (not a hyphen), so the echo should work correctly.
7978    # The option is referenced via a variable to avoid confusing sed.
7979    lt_compile=`echo "$ac_compile" | $SED \
7980    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7981    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7982    -e 's:$: $lt_compiler_flag:'`
7983    (eval echo "\"\$as_me:7983: $lt_compile\"" >&5)
7984    (eval "$lt_compile" 2>conftest.err)
7985    ac_status=$?
7986    cat conftest.err >&5
7987    echo "$as_me:7987: \$? = $ac_status" >&5
7988    if (exit $ac_status) && test -s "$ac_outfile"; then
7989      # The compiler can only warn and ignore the option if not recognized
7990      # So say no if there are warnings other than the usual output.
7991      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7992      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7993      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7994        lt_cv_prog_compiler_pic_works=yes
7995      fi
7996    fi
7997    $RM conftest*
7998
7999 fi
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8001 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8002
8003 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8004     case $lt_prog_compiler_pic in
8005      "" | " "*) ;;
8006      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8007      esac
8008 else
8009     lt_prog_compiler_pic=
8010      lt_prog_compiler_can_build_shared=no
8011 fi
8012
8013 fi
8014
8015
8016
8017
8018
8019
8020 #
8021 # Check to make sure the static flag actually works.
8022 #
8023 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8025 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8026 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8027   $as_echo_n "(cached) " >&6
8028 else
8029   lt_cv_prog_compiler_static_works=no
8030    save_LDFLAGS="$LDFLAGS"
8031    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8032    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8033    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8034      # The linker can only warn and ignore the option if not recognized
8035      # So say no if there are warnings
8036      if test -s conftest.err; then
8037        # Append any errors to the config.log.
8038        cat conftest.err 1>&5
8039        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8040        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8041        if diff conftest.exp conftest.er2 >/dev/null; then
8042          lt_cv_prog_compiler_static_works=yes
8043        fi
8044      else
8045        lt_cv_prog_compiler_static_works=yes
8046      fi
8047    fi
8048    $RM -r conftest*
8049    LDFLAGS="$save_LDFLAGS"
8050
8051 fi
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8053 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8054
8055 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8056     :
8057 else
8058     lt_prog_compiler_static=
8059 fi
8060
8061
8062
8063
8064
8065
8066
8067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8069 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8070   $as_echo_n "(cached) " >&6
8071 else
8072   lt_cv_prog_compiler_c_o=no
8073    $RM -r conftest 2>/dev/null
8074    mkdir conftest
8075    cd conftest
8076    mkdir out
8077    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8078
8079    lt_compiler_flag="-o out/conftest2.$ac_objext"
8080    # Insert the option either (1) after the last *FLAGS variable, or
8081    # (2) before a word containing "conftest.", or (3) at the end.
8082    # Note that $ac_compile itself does not contain backslashes and begins
8083    # with a dollar sign (not a hyphen), so the echo should work correctly.
8084    lt_compile=`echo "$ac_compile" | $SED \
8085    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8086    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8087    -e 's:$: $lt_compiler_flag:'`
8088    (eval echo "\"\$as_me:8088: $lt_compile\"" >&5)
8089    (eval "$lt_compile" 2>out/conftest.err)
8090    ac_status=$?
8091    cat out/conftest.err >&5
8092    echo "$as_me:8092: \$? = $ac_status" >&5
8093    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8094    then
8095      # The compiler can only warn and ignore the option if not recognized
8096      # So say no if there are warnings
8097      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8098      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8099      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8100        lt_cv_prog_compiler_c_o=yes
8101      fi
8102    fi
8103    chmod u+w . 2>&5
8104    $RM conftest*
8105    # SGI C++ compiler will create directory out/ii_files/ for
8106    # template instantiation
8107    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8108    $RM out/* && rmdir out
8109    cd ..
8110    $RM -r conftest
8111    $RM conftest*
8112
8113 fi
8114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8116
8117
8118
8119
8120
8121
8122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8123 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8124 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8125   $as_echo_n "(cached) " >&6
8126 else
8127   lt_cv_prog_compiler_c_o=no
8128    $RM -r conftest 2>/dev/null
8129    mkdir conftest
8130    cd conftest
8131    mkdir out
8132    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8133
8134    lt_compiler_flag="-o out/conftest2.$ac_objext"
8135    # Insert the option either (1) after the last *FLAGS variable, or
8136    # (2) before a word containing "conftest.", or (3) at the end.
8137    # Note that $ac_compile itself does not contain backslashes and begins
8138    # with a dollar sign (not a hyphen), so the echo should work correctly.
8139    lt_compile=`echo "$ac_compile" | $SED \
8140    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8141    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8142    -e 's:$: $lt_compiler_flag:'`
8143    (eval echo "\"\$as_me:8143: $lt_compile\"" >&5)
8144    (eval "$lt_compile" 2>out/conftest.err)
8145    ac_status=$?
8146    cat out/conftest.err >&5
8147    echo "$as_me:8147: \$? = $ac_status" >&5
8148    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8149    then
8150      # The compiler can only warn and ignore the option if not recognized
8151      # So say no if there are warnings
8152      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8153      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8154      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8155        lt_cv_prog_compiler_c_o=yes
8156      fi
8157    fi
8158    chmod u+w . 2>&5
8159    $RM conftest*
8160    # SGI C++ compiler will create directory out/ii_files/ for
8161    # template instantiation
8162    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8163    $RM out/* && rmdir out
8164    cd ..
8165    $RM -r conftest
8166    $RM conftest*
8167
8168 fi
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8170 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8171
8172
8173
8174
8175 hard_links="nottested"
8176 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8177   # do not overwrite the value of need_locks provided by the user
8178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8179 $as_echo_n "checking if we can lock with hard links... " >&6; }
8180   hard_links=yes
8181   $RM conftest*
8182   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8183   touch conftest.a
8184   ln conftest.a conftest.b 2>&5 || hard_links=no
8185   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8187 $as_echo "$hard_links" >&6; }
8188   if test "$hard_links" = no; then
8189     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8190 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8191     need_locks=warn
8192   fi
8193 else
8194   need_locks=no
8195 fi
8196
8197
8198
8199
8200
8201
8202   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8203 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8204
8205   runpath_var=
8206   allow_undefined_flag=
8207   always_export_symbols=no
8208   archive_cmds=
8209   archive_expsym_cmds=
8210   compiler_needs_object=no
8211   enable_shared_with_static_runtimes=no
8212   export_dynamic_flag_spec=
8213   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8214   hardcode_automatic=no
8215   hardcode_direct=no
8216   hardcode_direct_absolute=no
8217   hardcode_libdir_flag_spec=
8218   hardcode_libdir_flag_spec_ld=
8219   hardcode_libdir_separator=
8220   hardcode_minus_L=no
8221   hardcode_shlibpath_var=unsupported
8222   inherit_rpath=no
8223   link_all_deplibs=unknown
8224   module_cmds=
8225   module_expsym_cmds=
8226   old_archive_from_new_cmds=
8227   old_archive_from_expsyms_cmds=
8228   thread_safe_flag_spec=
8229   whole_archive_flag_spec=
8230   # include_expsyms should be a list of space-separated symbols to be *always*
8231   # included in the symbol list
8232   include_expsyms=
8233   # exclude_expsyms can be an extended regexp of symbols to exclude
8234   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8235   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8236   # as well as any symbol that contains `d'.
8237   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8238   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8239   # platforms (ab)use it in PIC code, but their linkers get confused if
8240   # the symbol is explicitly referenced.  Since portable code cannot
8241   # rely on this symbol name, it's probably fine to never include it in
8242   # preloaded symbol tables.
8243   # Exclude shared library initialization/finalization symbols.
8244   extract_expsyms_cmds=
8245
8246   case $host_os in
8247   cygwin* | mingw* | pw32* | cegcc*)
8248     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8249     # When not using gcc, we currently assume that we are using
8250     # Microsoft Visual C++.
8251     if test "$GCC" != yes; then
8252       with_gnu_ld=no
8253     fi
8254     ;;
8255   interix*)
8256     # we just hope/assume this is gcc and not c89 (= MSVC++)
8257     with_gnu_ld=yes
8258     ;;
8259   openbsd*)
8260     with_gnu_ld=no
8261     ;;
8262   linux* | k*bsd*-gnu)
8263     link_all_deplibs=no
8264     ;;
8265   esac
8266
8267   ld_shlibs=yes
8268   if test "$with_gnu_ld" = yes; then
8269     # If archive_cmds runs LD, not CC, wlarc should be empty
8270     wlarc='${wl}'
8271
8272     # Set some defaults for GNU ld with shared library support. These
8273     # are reset later if shared libraries are not supported. Putting them
8274     # here allows them to be overridden if necessary.
8275     runpath_var=LD_RUN_PATH
8276     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8277     export_dynamic_flag_spec='${wl}--export-dynamic'
8278     # ancient GNU ld didn't support --whole-archive et. al.
8279     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8280       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8281     else
8282       whole_archive_flag_spec=
8283     fi
8284     supports_anon_versioning=no
8285     case `$LD -v 2>&1` in
8286       *GNU\ gold*) supports_anon_versioning=yes ;;
8287       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8288       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8289       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8290       *\ 2.11.*) ;; # other 2.11 versions
8291       *) supports_anon_versioning=yes ;;
8292     esac
8293
8294     # See if GNU ld supports shared libraries.
8295     case $host_os in
8296     aix[3-9]*)
8297       # On AIX/PPC, the GNU linker is very broken
8298       if test "$host_cpu" != ia64; then
8299         ld_shlibs=no
8300         cat <<_LT_EOF 1>&2
8301
8302 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8303 *** to be unable to reliably create shared libraries on AIX.
8304 *** Therefore, libtool is disabling shared libraries support.  If you
8305 *** really care for shared libraries, you may want to modify your PATH
8306 *** so that a non-GNU linker is found, and then restart.
8307
8308 _LT_EOF
8309       fi
8310       ;;
8311
8312     amigaos*)
8313       case $host_cpu in
8314       powerpc)
8315             # see comment about AmigaOS4 .so support
8316             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8317             archive_expsym_cmds=''
8318         ;;
8319       m68k)
8320             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)'
8321             hardcode_libdir_flag_spec='-L$libdir'
8322             hardcode_minus_L=yes
8323         ;;
8324       esac
8325       ;;
8326
8327     beos*)
8328       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8329         allow_undefined_flag=unsupported
8330         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8331         # support --undefined.  This deserves some investigation.  FIXME
8332         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8333       else
8334         ld_shlibs=no
8335       fi
8336       ;;
8337
8338     cygwin* | mingw* | pw32* | cegcc*)
8339       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8340       # as there is no search path for DLLs.
8341       hardcode_libdir_flag_spec='-L$libdir'
8342       allow_undefined_flag=unsupported
8343       always_export_symbols=no
8344       enable_shared_with_static_runtimes=yes
8345       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8346
8347       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8348         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8349         # If the export-symbols file already is a .def file (1st line
8350         # is EXPORTS), use it as is; otherwise, prepend...
8351         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8352           cp $export_symbols $output_objdir/$soname.def;
8353         else
8354           echo EXPORTS > $output_objdir/$soname.def;
8355           cat $export_symbols >> $output_objdir/$soname.def;
8356         fi~
8357         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8358       else
8359         ld_shlibs=no
8360       fi
8361       ;;
8362
8363     interix[3-9]*)
8364       hardcode_direct=no
8365       hardcode_shlibpath_var=no
8366       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8367       export_dynamic_flag_spec='${wl}-E'
8368       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8369       # Instead, shared libraries are loaded at an image base (0x10000000 by
8370       # default) and relocated if they conflict, which is a slow very memory
8371       # consuming and fragmenting process.  To avoid this, we pick a random,
8372       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8373       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8374       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8375       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'
8376       ;;
8377
8378     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8379       tmp_diet=no
8380       if test "$host_os" = linux-dietlibc; then
8381         case $cc_basename in
8382           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8383         esac
8384       fi
8385       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8386          && test "$tmp_diet" = no
8387       then
8388         tmp_addflag=
8389         tmp_sharedflag='-shared'
8390         case $cc_basename,$host_cpu in
8391         pgcc*)                          # Portland Group C compiler
8392           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'
8393           tmp_addflag=' $pic_flag'
8394           ;;
8395         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8396           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'
8397           tmp_addflag=' $pic_flag -Mnomain' ;;
8398         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8399           tmp_addflag=' -i_dynamic' ;;
8400         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8401           tmp_addflag=' -i_dynamic -nofor_main' ;;
8402         ifc* | ifort*)                  # Intel Fortran compiler
8403           tmp_addflag=' -nofor_main' ;;
8404         lf95*)                          # Lahey Fortran 8.1
8405           whole_archive_flag_spec=
8406           tmp_sharedflag='--shared' ;;
8407         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8408           tmp_sharedflag='-qmkshrobj'
8409           tmp_addflag= ;;
8410         esac
8411         case `$CC -V 2>&1 | sed 5q` in
8412         *Sun\ C*)                       # Sun C 5.9
8413           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'
8414           compiler_needs_object=yes
8415           tmp_sharedflag='-G' ;;
8416         *Sun\ F*)                       # Sun Fortran 8.3
8417           tmp_sharedflag='-G' ;;
8418         esac
8419         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8420
8421         if test "x$supports_anon_versioning" = xyes; then
8422           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8423             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8424             echo "local: *; };" >> $output_objdir/$libname.ver~
8425             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8426         fi
8427
8428         case $cc_basename in
8429         xlf*)
8430           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8431           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8432           hardcode_libdir_flag_spec=
8433           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8434           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8435           if test "x$supports_anon_versioning" = xyes; then
8436             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8437               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8438               echo "local: *; };" >> $output_objdir/$libname.ver~
8439               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8440           fi
8441           ;;
8442         esac
8443       else
8444         ld_shlibs=no
8445       fi
8446       ;;
8447
8448     netbsd* | netbsdelf*-gnu)
8449       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8450         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8451         wlarc=
8452       else
8453         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8454         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8455       fi
8456       ;;
8457
8458     solaris*)
8459       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8460         ld_shlibs=no
8461         cat <<_LT_EOF 1>&2
8462
8463 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8464 *** create shared libraries on Solaris systems.  Therefore, libtool
8465 *** is disabling shared libraries support.  We urge you to upgrade GNU
8466 *** binutils to release 2.9.1 or newer.  Another option is to modify
8467 *** your PATH or compiler configuration so that the native linker is
8468 *** used, and then restart.
8469
8470 _LT_EOF
8471       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8472         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8473         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8474       else
8475         ld_shlibs=no
8476       fi
8477       ;;
8478
8479     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8480       case `$LD -v 2>&1` in
8481         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8482         ld_shlibs=no
8483         cat <<_LT_EOF 1>&2
8484
8485 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8486 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8487 *** is disabling shared libraries support.  We urge you to upgrade GNU
8488 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8489 *** your PATH or compiler configuration so that the native linker is
8490 *** used, and then restart.
8491
8492 _LT_EOF
8493         ;;
8494         *)
8495           # For security reasons, it is highly recommended that you always
8496           # use absolute paths for naming shared libraries, and exclude the
8497           # DT_RUNPATH tag from executables and libraries.  But doing so
8498           # requires that you compile everything twice, which is a pain.
8499           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8500             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8501             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8502             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8503           else
8504             ld_shlibs=no
8505           fi
8506         ;;
8507       esac
8508       ;;
8509
8510     sunos4*)
8511       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8512       wlarc=
8513       hardcode_direct=yes
8514       hardcode_shlibpath_var=no
8515       ;;
8516
8517     *)
8518       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8519         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8520         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8521       else
8522         ld_shlibs=no
8523       fi
8524       ;;
8525     esac
8526
8527     if test "$ld_shlibs" = no; then
8528       runpath_var=
8529       hardcode_libdir_flag_spec=
8530       export_dynamic_flag_spec=
8531       whole_archive_flag_spec=
8532     fi
8533   else
8534     # PORTME fill in a description of your system's linker (not GNU ld)
8535     case $host_os in
8536     aix3*)
8537       allow_undefined_flag=unsupported
8538       always_export_symbols=yes
8539       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'
8540       # Note: this linker hardcodes the directories in LIBPATH if there
8541       # are no directories specified by -L.
8542       hardcode_minus_L=yes
8543       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8544         # Neither direct hardcoding nor static linking is supported with a
8545         # broken collect2.
8546         hardcode_direct=unsupported
8547       fi
8548       ;;
8549
8550     aix[4-9]*)
8551       if test "$host_cpu" = ia64; then
8552         # On IA64, the linker does run time linking by default, so we don't
8553         # have to do anything special.
8554         aix_use_runtimelinking=no
8555         exp_sym_flag='-Bexport'
8556         no_entry_flag=""
8557       else
8558         # If we're using GNU nm, then we don't want the "-C" option.
8559         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8560         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8561           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'
8562         else
8563           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'
8564         fi
8565         aix_use_runtimelinking=no
8566
8567         # Test if we are trying to use run time linking or normal
8568         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8569         # need to do runtime linking.
8570         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8571           for ld_flag in $LDFLAGS; do
8572           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8573             aix_use_runtimelinking=yes
8574             break
8575           fi
8576           done
8577           ;;
8578         esac
8579
8580         exp_sym_flag='-bexport'
8581         no_entry_flag='-bnoentry'
8582       fi
8583
8584       # When large executables or shared objects are built, AIX ld can
8585       # have problems creating the table of contents.  If linking a library
8586       # or program results in "error TOC overflow" add -mminimal-toc to
8587       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8588       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8589
8590       archive_cmds=''
8591       hardcode_direct=yes
8592       hardcode_direct_absolute=yes
8593       hardcode_libdir_separator=':'
8594       link_all_deplibs=yes
8595       file_list_spec='${wl}-f,'
8596
8597       if test "$GCC" = yes; then
8598         case $host_os in aix4.[012]|aix4.[012].*)
8599         # We only want to do this on AIX 4.2 and lower, the check
8600         # below for broken collect2 doesn't work under 4.3+
8601           collect2name=`${CC} -print-prog-name=collect2`
8602           if test -f "$collect2name" &&
8603            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8604           then
8605           # We have reworked collect2
8606           :
8607           else
8608           # We have old collect2
8609           hardcode_direct=unsupported
8610           # It fails to find uninstalled libraries when the uninstalled
8611           # path is not listed in the libpath.  Setting hardcode_minus_L
8612           # to unsupported forces relinking
8613           hardcode_minus_L=yes
8614           hardcode_libdir_flag_spec='-L$libdir'
8615           hardcode_libdir_separator=
8616           fi
8617           ;;
8618         esac
8619         shared_flag='-shared'
8620         if test "$aix_use_runtimelinking" = yes; then
8621           shared_flag="$shared_flag "'${wl}-G'
8622         fi
8623         link_all_deplibs=no
8624       else
8625         # not using gcc
8626         if test "$host_cpu" = ia64; then
8627         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8628         # chokes on -Wl,-G. The following line is correct:
8629           shared_flag='-G'
8630         else
8631           if test "$aix_use_runtimelinking" = yes; then
8632             shared_flag='${wl}-G'
8633           else
8634             shared_flag='${wl}-bM:SRE'
8635           fi
8636         fi
8637       fi
8638
8639       export_dynamic_flag_spec='${wl}-bexpall'
8640       # It seems that -bexpall does not export symbols beginning with
8641       # underscore (_), so it is better to generate a list of symbols to export.
8642       always_export_symbols=yes
8643       if test "$aix_use_runtimelinking" = yes; then
8644         # Warning - without using the other runtime loading flags (-brtl),
8645         # -berok will link without error, but may produce a broken library.
8646         allow_undefined_flag='-berok'
8647         # Determine the default libpath from the value encoded in an
8648         # empty executable.
8649         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8650 /* end confdefs.h.  */
8651
8652 int
8653 main ()
8654 {
8655
8656   ;
8657   return 0;
8658 }
8659 _ACEOF
8660 if ac_fn_c_try_link "$LINENO"; then :
8661
8662 lt_aix_libpath_sed='
8663     /Import File Strings/,/^$/ {
8664         /^0/ {
8665             s/^0  *\(.*\)$/\1/
8666             p
8667         }
8668     }'
8669 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8670 # Check for a 64-bit object if we didn't find anything.
8671 if test -z "$aix_libpath"; then
8672   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8673 fi
8674 fi
8675 rm -f core conftest.err conftest.$ac_objext \
8676     conftest$ac_exeext conftest.$ac_ext
8677 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8678
8679         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8680         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"
8681       else
8682         if test "$host_cpu" = ia64; then
8683           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8684           allow_undefined_flag="-z nodefs"
8685           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"
8686         else
8687          # Determine the default libpath from the value encoded in an
8688          # empty executable.
8689          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8690 /* end confdefs.h.  */
8691
8692 int
8693 main ()
8694 {
8695
8696   ;
8697   return 0;
8698 }
8699 _ACEOF
8700 if ac_fn_c_try_link "$LINENO"; then :
8701
8702 lt_aix_libpath_sed='
8703     /Import File Strings/,/^$/ {
8704         /^0/ {
8705             s/^0  *\(.*\)$/\1/
8706             p
8707         }
8708     }'
8709 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8710 # Check for a 64-bit object if we didn't find anything.
8711 if test -z "$aix_libpath"; then
8712   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8713 fi
8714 fi
8715 rm -f core conftest.err conftest.$ac_objext \
8716     conftest$ac_exeext conftest.$ac_ext
8717 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8718
8719          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8720           # Warning - without using the other run time loading flags,
8721           # -berok will link without error, but may produce a broken library.
8722           no_undefined_flag=' ${wl}-bernotok'
8723           allow_undefined_flag=' ${wl}-berok'
8724           # Exported symbols can be pulled into shared objects from archives
8725           whole_archive_flag_spec='$convenience'
8726           archive_cmds_need_lc=yes
8727           # This is similar to how AIX traditionally builds its shared libraries.
8728           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'
8729         fi
8730       fi
8731       ;;
8732
8733     amigaos*)
8734       case $host_cpu in
8735       powerpc)
8736             # see comment about AmigaOS4 .so support
8737             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8738             archive_expsym_cmds=''
8739         ;;
8740       m68k)
8741             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)'
8742             hardcode_libdir_flag_spec='-L$libdir'
8743             hardcode_minus_L=yes
8744         ;;
8745       esac
8746       ;;
8747
8748     bsdi[45]*)
8749       export_dynamic_flag_spec=-rdynamic
8750       ;;
8751
8752     cygwin* | mingw* | pw32* | cegcc*)
8753       # When not using gcc, we currently assume that we are using
8754       # Microsoft Visual C++.
8755       # hardcode_libdir_flag_spec is actually meaningless, as there is
8756       # no search path for DLLs.
8757       hardcode_libdir_flag_spec=' '
8758       allow_undefined_flag=unsupported
8759       # Tell ltmain to make .lib files, not .a files.
8760       libext=lib
8761       # Tell ltmain to make .dll files, not .so files.
8762       shrext_cmds=".dll"
8763       # FIXME: Setting linknames here is a bad hack.
8764       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8765       # The linker will automatically build a .lib file if we build a DLL.
8766       old_archive_from_new_cmds='true'
8767       # FIXME: Should let the user specify the lib program.
8768       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8769       fix_srcfile_path='`cygpath -w "$srcfile"`'
8770       enable_shared_with_static_runtimes=yes
8771       ;;
8772
8773     darwin* | rhapsody*)
8774
8775
8776   archive_cmds_need_lc=no
8777   hardcode_direct=no
8778   hardcode_automatic=yes
8779   hardcode_shlibpath_var=unsupported
8780   whole_archive_flag_spec=''
8781   link_all_deplibs=yes
8782   allow_undefined_flag="$_lt_dar_allow_undefined"
8783   case $cc_basename in
8784      ifort*) _lt_dar_can_shared=yes ;;
8785      *) _lt_dar_can_shared=$GCC ;;
8786   esac
8787   if test "$_lt_dar_can_shared" = "yes"; then
8788     output_verbose_link_cmd=echo
8789     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8790     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8791     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}"
8792     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}"
8793
8794   else
8795   ld_shlibs=no
8796   fi
8797
8798       ;;
8799
8800     dgux*)
8801       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8802       hardcode_libdir_flag_spec='-L$libdir'
8803       hardcode_shlibpath_var=no
8804       ;;
8805
8806     freebsd1*)
8807       ld_shlibs=no
8808       ;;
8809
8810     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8811     # support.  Future versions do this automatically, but an explicit c++rt0.o
8812     # does not break anything, and helps significantly (at the cost of a little
8813     # extra space).
8814     freebsd2.2*)
8815       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8816       hardcode_libdir_flag_spec='-R$libdir'
8817       hardcode_direct=yes
8818       hardcode_shlibpath_var=no
8819       ;;
8820
8821     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8822     freebsd2*)
8823       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8824       hardcode_direct=yes
8825       hardcode_minus_L=yes
8826       hardcode_shlibpath_var=no
8827       ;;
8828
8829     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8830     freebsd* | dragonfly*)
8831       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8832       hardcode_libdir_flag_spec='-R$libdir'
8833       hardcode_direct=yes
8834       hardcode_shlibpath_var=no
8835       ;;
8836
8837     hpux9*)
8838       if test "$GCC" = yes; then
8839         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'
8840       else
8841         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'
8842       fi
8843       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8844       hardcode_libdir_separator=:
8845       hardcode_direct=yes
8846
8847       # hardcode_minus_L: Not really in the search PATH,
8848       # but as the default location of the library.
8849       hardcode_minus_L=yes
8850       export_dynamic_flag_spec='${wl}-E'
8851       ;;
8852
8853     hpux10*)
8854       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8855         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8856       else
8857         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8858       fi
8859       if test "$with_gnu_ld" = no; then
8860         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8861         hardcode_libdir_flag_spec_ld='+b $libdir'
8862         hardcode_libdir_separator=:
8863         hardcode_direct=yes
8864         hardcode_direct_absolute=yes
8865         export_dynamic_flag_spec='${wl}-E'
8866         # hardcode_minus_L: Not really in the search PATH,
8867         # but as the default location of the library.
8868         hardcode_minus_L=yes
8869       fi
8870       ;;
8871
8872     hpux11*)
8873       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8874         case $host_cpu in
8875         hppa*64*)
8876           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8877           ;;
8878         ia64*)
8879           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8880           ;;
8881         *)
8882           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8883           ;;
8884         esac
8885       else
8886         case $host_cpu in
8887         hppa*64*)
8888           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8889           ;;
8890         ia64*)
8891           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8892           ;;
8893         *)
8894           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8895           ;;
8896         esac
8897       fi
8898       if test "$with_gnu_ld" = no; then
8899         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8900         hardcode_libdir_separator=:
8901
8902         case $host_cpu in
8903         hppa*64*|ia64*)
8904           hardcode_direct=no
8905           hardcode_shlibpath_var=no
8906           ;;
8907         *)
8908           hardcode_direct=yes
8909           hardcode_direct_absolute=yes
8910           export_dynamic_flag_spec='${wl}-E'
8911
8912           # hardcode_minus_L: Not really in the search PATH,
8913           # but as the default location of the library.
8914           hardcode_minus_L=yes
8915           ;;
8916         esac
8917       fi
8918       ;;
8919
8920     irix5* | irix6* | nonstopux*)
8921       if test "$GCC" = yes; then
8922         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'
8923         # Try to use the -exported_symbol ld option, if it does not
8924         # work, assume that -exports_file does not work either and
8925         # implicitly export all symbols.
8926         save_LDFLAGS="$LDFLAGS"
8927         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8928         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h.  */
8930 int foo(void) {}
8931 _ACEOF
8932 if ac_fn_c_try_link "$LINENO"; then :
8933   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'
8934
8935 fi
8936 rm -f core conftest.err conftest.$ac_objext \
8937     conftest$ac_exeext conftest.$ac_ext
8938         LDFLAGS="$save_LDFLAGS"
8939       else
8940         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'
8941         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'
8942       fi
8943       archive_cmds_need_lc='no'
8944       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8945       hardcode_libdir_separator=:
8946       inherit_rpath=yes
8947       link_all_deplibs=yes
8948       ;;
8949
8950     netbsd* | netbsdelf*-gnu)
8951       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8952         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8953       else
8954         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8955       fi
8956       hardcode_libdir_flag_spec='-R$libdir'
8957       hardcode_direct=yes
8958       hardcode_shlibpath_var=no
8959       ;;
8960
8961     newsos6)
8962       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8963       hardcode_direct=yes
8964       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8965       hardcode_libdir_separator=:
8966       hardcode_shlibpath_var=no
8967       ;;
8968
8969     *nto* | *qnx*)
8970       ;;
8971
8972     openbsd*)
8973       if test -f /usr/libexec/ld.so; then
8974         hardcode_direct=yes
8975         hardcode_shlibpath_var=no
8976         hardcode_direct_absolute=yes
8977         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8978           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8979           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8980           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8981           export_dynamic_flag_spec='${wl}-E'
8982         else
8983           case $host_os in
8984            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8985              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8986              hardcode_libdir_flag_spec='-R$libdir'
8987              ;;
8988            *)
8989              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8990              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8991              ;;
8992           esac
8993         fi
8994       else
8995         ld_shlibs=no
8996       fi
8997       ;;
8998
8999     os2*)
9000       hardcode_libdir_flag_spec='-L$libdir'
9001       hardcode_minus_L=yes
9002       allow_undefined_flag=unsupported
9003       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'
9004       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9005       ;;
9006
9007     osf3*)
9008       if test "$GCC" = yes; then
9009         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9010         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'
9011       else
9012         allow_undefined_flag=' -expect_unresolved \*'
9013         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'
9014       fi
9015       archive_cmds_need_lc='no'
9016       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9017       hardcode_libdir_separator=:
9018       ;;
9019
9020     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9021       if test "$GCC" = yes; then
9022         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9023         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'
9024         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9025       else
9026         allow_undefined_flag=' -expect_unresolved \*'
9027         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'
9028         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~
9029         $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'
9030
9031         # Both c and cxx compiler support -rpath directly
9032         hardcode_libdir_flag_spec='-rpath $libdir'
9033       fi
9034       archive_cmds_need_lc='no'
9035       hardcode_libdir_separator=:
9036       ;;
9037
9038     solaris*)
9039       no_undefined_flag=' -z defs'
9040       if test "$GCC" = yes; then
9041         wlarc='${wl}'
9042         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9043         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9044           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9045       else
9046         case `$CC -V 2>&1` in
9047         *"Compilers 5.0"*)
9048           wlarc=''
9049           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9050           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9051           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9052           ;;
9053         *)
9054           wlarc='${wl}'
9055           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9056           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9057           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9058           ;;
9059         esac
9060       fi
9061       hardcode_libdir_flag_spec='-R$libdir'
9062       hardcode_shlibpath_var=no
9063       case $host_os in
9064       solaris2.[0-5] | solaris2.[0-5].*) ;;
9065       *)
9066         # The compiler driver will combine and reorder linker options,
9067         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9068         # but is careful enough not to reorder.
9069         # Supported since Solaris 2.6 (maybe 2.5.1?)
9070         if test "$GCC" = yes; then
9071           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9072         else
9073           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9074         fi
9075         ;;
9076       esac
9077       link_all_deplibs=yes
9078       ;;
9079
9080     sunos4*)
9081       if test "x$host_vendor" = xsequent; then
9082         # Use $CC to link under sequent, because it throws in some extra .o
9083         # files that make .init and .fini sections work.
9084         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9085       else
9086         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9087       fi
9088       hardcode_libdir_flag_spec='-L$libdir'
9089       hardcode_direct=yes
9090       hardcode_minus_L=yes
9091       hardcode_shlibpath_var=no
9092       ;;
9093
9094     sysv4)
9095       case $host_vendor in
9096         sni)
9097           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9098           hardcode_direct=yes # is this really true???
9099         ;;
9100         siemens)
9101           ## LD is ld it makes a PLAMLIB
9102           ## CC just makes a GrossModule.
9103           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9104           reload_cmds='$CC -r -o $output$reload_objs'
9105           hardcode_direct=no
9106         ;;
9107         motorola)
9108           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9109           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9110         ;;
9111       esac
9112       runpath_var='LD_RUN_PATH'
9113       hardcode_shlibpath_var=no
9114       ;;
9115
9116     sysv4.3*)
9117       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9118       hardcode_shlibpath_var=no
9119       export_dynamic_flag_spec='-Bexport'
9120       ;;
9121
9122     sysv4*MP*)
9123       if test -d /usr/nec; then
9124         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9125         hardcode_shlibpath_var=no
9126         runpath_var=LD_RUN_PATH
9127         hardcode_runpath_var=yes
9128         ld_shlibs=yes
9129       fi
9130       ;;
9131
9132     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9133       no_undefined_flag='${wl}-z,text'
9134       archive_cmds_need_lc=no
9135       hardcode_shlibpath_var=no
9136       runpath_var='LD_RUN_PATH'
9137
9138       if test "$GCC" = yes; then
9139         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9140         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9141       else
9142         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9143         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9144       fi
9145       ;;
9146
9147     sysv5* | sco3.2v5* | sco5v6*)
9148       # Note: We can NOT use -z defs as we might desire, because we do not
9149       # link with -lc, and that would cause any symbols used from libc to
9150       # always be unresolved, which means just about no library would
9151       # ever link correctly.  If we're not using GNU ld we use -z text
9152       # though, which does catch some bad symbols but isn't as heavy-handed
9153       # as -z defs.
9154       no_undefined_flag='${wl}-z,text'
9155       allow_undefined_flag='${wl}-z,nodefs'
9156       archive_cmds_need_lc=no
9157       hardcode_shlibpath_var=no
9158       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9159       hardcode_libdir_separator=':'
9160       link_all_deplibs=yes
9161       export_dynamic_flag_spec='${wl}-Bexport'
9162       runpath_var='LD_RUN_PATH'
9163
9164       if test "$GCC" = yes; then
9165         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9166         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9167       else
9168         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9169         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9170       fi
9171       ;;
9172
9173     uts4*)
9174       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9175       hardcode_libdir_flag_spec='-L$libdir'
9176       hardcode_shlibpath_var=no
9177       ;;
9178
9179     *)
9180       ld_shlibs=no
9181       ;;
9182     esac
9183
9184     if test x$host_vendor = xsni; then
9185       case $host in
9186       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9187         export_dynamic_flag_spec='${wl}-Blargedynsym'
9188         ;;
9189       esac
9190     fi
9191   fi
9192
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9194 $as_echo "$ld_shlibs" >&6; }
9195 test "$ld_shlibs" = no && can_build_shared=no
9196
9197 with_gnu_ld=$with_gnu_ld
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213 #
9214 # Do we need to explicitly link libc?
9215 #
9216 case "x$archive_cmds_need_lc" in
9217 x|xyes)
9218   # Assume -lc should be added
9219   archive_cmds_need_lc=yes
9220
9221   if test "$enable_shared" = yes && test "$GCC" = yes; then
9222     case $archive_cmds in
9223     *'~'*)
9224       # FIXME: we may have to deal with multi-command sequences.
9225       ;;
9226     '$CC '*)
9227       # Test whether the compiler implicitly links with -lc since on some
9228       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9229       # to ld, don't add -lc before -lgcc.
9230       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9231 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9232       $RM conftest*
9233       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9234
9235       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9236   (eval $ac_compile) 2>&5
9237   ac_status=$?
9238   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9239   test $ac_status = 0; } 2>conftest.err; then
9240         soname=conftest
9241         lib=conftest
9242         libobjs=conftest.$ac_objext
9243         deplibs=
9244         wl=$lt_prog_compiler_wl
9245         pic_flag=$lt_prog_compiler_pic
9246         compiler_flags=-v
9247         linker_flags=-v
9248         verstring=
9249         output_objdir=.
9250         libname=conftest
9251         lt_save_allow_undefined_flag=$allow_undefined_flag
9252         allow_undefined_flag=
9253         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9254   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9255   ac_status=$?
9256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9257   test $ac_status = 0; }
9258         then
9259           archive_cmds_need_lc=no
9260         else
9261           archive_cmds_need_lc=yes
9262         fi
9263         allow_undefined_flag=$lt_save_allow_undefined_flag
9264       else
9265         cat conftest.err 1>&5
9266       fi
9267       $RM conftest*
9268       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9269 $as_echo "$archive_cmds_need_lc" >&6; }
9270       ;;
9271     esac
9272   fi
9273   ;;
9274 esac
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9433 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9434
9435 if test "$GCC" = yes; then
9436   case $host_os in
9437     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9438     *) lt_awk_arg="/^libraries:/" ;;
9439   esac
9440   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9441   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9442     # if the path contains ";" then we assume it to be the separator
9443     # otherwise default to the standard path separator (i.e. ":") - it is
9444     # assumed that no part of a normal pathname contains ";" but that should
9445     # okay in the real world where ";" in dirpaths is itself problematic.
9446     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9447   else
9448     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9449   fi
9450   # Ok, now we have the path, separated by spaces, we can step through it
9451   # and add multilib dir if necessary.
9452   lt_tmp_lt_search_path_spec=
9453   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9454   for lt_sys_path in $lt_search_path_spec; do
9455     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9456       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9457     else
9458       test -d "$lt_sys_path" && \
9459         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9460     fi
9461   done
9462   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9463 BEGIN {RS=" "; FS="/|\n";} {
9464   lt_foo="";
9465   lt_count=0;
9466   for (lt_i = NF; lt_i > 0; lt_i--) {
9467     if ($lt_i != "" && $lt_i != ".") {
9468       if ($lt_i == "..") {
9469         lt_count++;
9470       } else {
9471         if (lt_count == 0) {
9472           lt_foo="/" $lt_i lt_foo;
9473         } else {
9474           lt_count--;
9475         }
9476       }
9477     }
9478   }
9479   if (lt_foo != "") { lt_freq[lt_foo]++; }
9480   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9481 }'`
9482   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9483 else
9484   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9485 fi
9486 library_names_spec=
9487 libname_spec='lib$name'
9488 soname_spec=
9489 shrext_cmds=".so"
9490 postinstall_cmds=
9491 postuninstall_cmds=
9492 finish_cmds=
9493 finish_eval=
9494 shlibpath_var=
9495 shlibpath_overrides_runpath=unknown
9496 version_type=none
9497 dynamic_linker="$host_os ld.so"
9498 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9499 need_lib_prefix=unknown
9500 hardcode_into_libs=no
9501
9502 # when you set need_version to no, make sure it does not cause -set_version
9503 # flags to be left without arguments
9504 need_version=unknown
9505
9506 case $host_os in
9507 aix3*)
9508   version_type=linux
9509   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9510   shlibpath_var=LIBPATH
9511
9512   # AIX 3 has no versioning support, so we append a major version to the name.
9513   soname_spec='${libname}${release}${shared_ext}$major'
9514   ;;
9515
9516 aix[4-9]*)
9517   version_type=linux
9518   need_lib_prefix=no
9519   need_version=no
9520   hardcode_into_libs=yes
9521   if test "$host_cpu" = ia64; then
9522     # AIX 5 supports IA64
9523     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9524     shlibpath_var=LD_LIBRARY_PATH
9525   else
9526     # With GCC up to 2.95.x, collect2 would create an import file
9527     # for dependence libraries.  The import file would start with
9528     # the line `#! .'.  This would cause the generated library to
9529     # depend on `.', always an invalid library.  This was fixed in
9530     # development snapshots of GCC prior to 3.0.
9531     case $host_os in
9532       aix4 | aix4.[01] | aix4.[01].*)
9533       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9534            echo ' yes '
9535            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9536         :
9537       else
9538         can_build_shared=no
9539       fi
9540       ;;
9541     esac
9542     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9543     # soname into executable. Probably we can add versioning support to
9544     # collect2, so additional links can be useful in future.
9545     if test "$aix_use_runtimelinking" = yes; then
9546       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9547       # instead of lib<name>.a to let people know that these are not
9548       # typical AIX shared libraries.
9549       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9550     else
9551       # We preserve .a as extension for shared libraries through AIX4.2
9552       # and later when we are not doing run time linking.
9553       library_names_spec='${libname}${release}.a $libname.a'
9554       soname_spec='${libname}${release}${shared_ext}$major'
9555     fi
9556     shlibpath_var=LIBPATH
9557   fi
9558   ;;
9559
9560 amigaos*)
9561   case $host_cpu in
9562   powerpc)
9563     # Since July 2007 AmigaOS4 officially supports .so libraries.
9564     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9565     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9566     ;;
9567   m68k)
9568     library_names_spec='$libname.ixlibrary $libname.a'
9569     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9570     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'
9571     ;;
9572   esac
9573   ;;
9574
9575 beos*)
9576   library_names_spec='${libname}${shared_ext}'
9577   dynamic_linker="$host_os ld.so"
9578   shlibpath_var=LIBRARY_PATH
9579   ;;
9580
9581 bsdi[45]*)
9582   version_type=linux
9583   need_version=no
9584   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9585   soname_spec='${libname}${release}${shared_ext}$major'
9586   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9587   shlibpath_var=LD_LIBRARY_PATH
9588   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9589   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9590   # the default ld.so.conf also contains /usr/contrib/lib and
9591   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9592   # libtool to hard-code these into programs
9593   ;;
9594
9595 cygwin* | mingw* | pw32* | cegcc*)
9596   version_type=windows
9597   shrext_cmds=".dll"
9598   need_version=no
9599   need_lib_prefix=no
9600
9601   case $GCC,$host_os in
9602   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9603     library_names_spec='$libname.dll.a'
9604     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9605     postinstall_cmds='base_file=`basename \${file}`~
9606       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9607       dldir=$destdir/`dirname \$dlpath`~
9608       test -d \$dldir || mkdir -p \$dldir~
9609       $install_prog $dir/$dlname \$dldir/$dlname~
9610       chmod a+x \$dldir/$dlname~
9611       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9612         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9613       fi'
9614     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9615       dlpath=$dir/\$dldll~
9616        $RM \$dlpath'
9617     shlibpath_overrides_runpath=yes
9618
9619     case $host_os in
9620     cygwin*)
9621       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9622       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9623       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9624       ;;
9625     mingw* | cegcc*)
9626       # MinGW DLLs use traditional 'lib' prefix
9627       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9628       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9629       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9630         # It is most probably a Windows format PATH printed by
9631         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9632         # path with ; separators, and with drive letters. We can handle the
9633         # drive letters (cygwin fileutils understands them), so leave them,
9634         # especially as we might pass files found there to a mingw objdump,
9635         # which wouldn't understand a cygwinified path. Ahh.
9636         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9637       else
9638         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9639       fi
9640       ;;
9641     pw32*)
9642       # pw32 DLLs use 'pw' prefix rather than 'lib'
9643       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9644       ;;
9645     esac
9646     ;;
9647
9648   *)
9649     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9650     ;;
9651   esac
9652   dynamic_linker='Win32 ld.exe'
9653   # FIXME: first we should search . and the directory the executable is in
9654   shlibpath_var=PATH
9655   ;;
9656
9657 darwin* | rhapsody*)
9658   dynamic_linker="$host_os dyld"
9659   version_type=darwin
9660   need_lib_prefix=no
9661   need_version=no
9662   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9663   soname_spec='${libname}${release}${major}$shared_ext'
9664   shlibpath_overrides_runpath=yes
9665   shlibpath_var=DYLD_LIBRARY_PATH
9666   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9667
9668   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9669   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9670   ;;
9671
9672 dgux*)
9673   version_type=linux
9674   need_lib_prefix=no
9675   need_version=no
9676   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9677   soname_spec='${libname}${release}${shared_ext}$major'
9678   shlibpath_var=LD_LIBRARY_PATH
9679   ;;
9680
9681 freebsd1*)
9682   dynamic_linker=no
9683   ;;
9684
9685 freebsd* | dragonfly*)
9686   # DragonFly does not have aout.  When/if they implement a new
9687   # versioning mechanism, adjust this.
9688   if test -x /usr/bin/objformat; then
9689     objformat=`/usr/bin/objformat`
9690   else
9691     case $host_os in
9692     freebsd[123]*) objformat=aout ;;
9693     *) objformat=elf ;;
9694     esac
9695   fi
9696   version_type=freebsd-$objformat
9697   case $version_type in
9698     freebsd-elf*)
9699       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9700       need_version=no
9701       need_lib_prefix=no
9702       ;;
9703     freebsd-*)
9704       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9705       need_version=yes
9706       ;;
9707   esac
9708   shlibpath_var=LD_LIBRARY_PATH
9709   case $host_os in
9710   freebsd2*)
9711     shlibpath_overrides_runpath=yes
9712     ;;
9713   freebsd3.[01]* | freebsdelf3.[01]*)
9714     shlibpath_overrides_runpath=yes
9715     hardcode_into_libs=yes
9716     ;;
9717   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9718   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9719     shlibpath_overrides_runpath=no
9720     hardcode_into_libs=yes
9721     ;;
9722   *) # from 4.6 on, and DragonFly
9723     shlibpath_overrides_runpath=yes
9724     hardcode_into_libs=yes
9725     ;;
9726   esac
9727   ;;
9728
9729 gnu*)
9730   version_type=linux
9731   need_lib_prefix=no
9732   need_version=no
9733   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9734   soname_spec='${libname}${release}${shared_ext}$major'
9735   shlibpath_var=LD_LIBRARY_PATH
9736   hardcode_into_libs=yes
9737   ;;
9738
9739 hpux9* | hpux10* | hpux11*)
9740   # Give a soname corresponding to the major version so that dld.sl refuses to
9741   # link against other versions.
9742   version_type=sunos
9743   need_lib_prefix=no
9744   need_version=no
9745   case $host_cpu in
9746   ia64*)
9747     shrext_cmds='.so'
9748     hardcode_into_libs=yes
9749     dynamic_linker="$host_os dld.so"
9750     shlibpath_var=LD_LIBRARY_PATH
9751     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9752     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9753     soname_spec='${libname}${release}${shared_ext}$major'
9754     if test "X$HPUX_IA64_MODE" = X32; then
9755       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9756     else
9757       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9758     fi
9759     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9760     ;;
9761   hppa*64*)
9762     shrext_cmds='.sl'
9763     hardcode_into_libs=yes
9764     dynamic_linker="$host_os dld.sl"
9765     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9766     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9767     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9768     soname_spec='${libname}${release}${shared_ext}$major'
9769     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9770     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9771     ;;
9772   *)
9773     shrext_cmds='.sl'
9774     dynamic_linker="$host_os dld.sl"
9775     shlibpath_var=SHLIB_PATH
9776     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9777     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9778     soname_spec='${libname}${release}${shared_ext}$major'
9779     ;;
9780   esac
9781   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9782   postinstall_cmds='chmod 555 $lib'
9783   ;;
9784
9785 interix[3-9]*)
9786   version_type=linux
9787   need_lib_prefix=no
9788   need_version=no
9789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9790   soname_spec='${libname}${release}${shared_ext}$major'
9791   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9792   shlibpath_var=LD_LIBRARY_PATH
9793   shlibpath_overrides_runpath=no
9794   hardcode_into_libs=yes
9795   ;;
9796
9797 irix5* | irix6* | nonstopux*)
9798   case $host_os in
9799     nonstopux*) version_type=nonstopux ;;
9800     *)
9801         if test "$lt_cv_prog_gnu_ld" = yes; then
9802                 version_type=linux
9803         else
9804                 version_type=irix
9805         fi ;;
9806   esac
9807   need_lib_prefix=no
9808   need_version=no
9809   soname_spec='${libname}${release}${shared_ext}$major'
9810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9811   case $host_os in
9812   irix5* | nonstopux*)
9813     libsuff= shlibsuff=
9814     ;;
9815   *)
9816     case $LD in # libtool.m4 will add one of these switches to LD
9817     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9818       libsuff= shlibsuff= libmagic=32-bit;;
9819     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9820       libsuff=32 shlibsuff=N32 libmagic=N32;;
9821     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9822       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9823     *) libsuff= shlibsuff= libmagic=never-match;;
9824     esac
9825     ;;
9826   esac
9827   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9828   shlibpath_overrides_runpath=no
9829   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9830   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9831   hardcode_into_libs=yes
9832   ;;
9833
9834 # No shared lib support for Linux oldld, aout, or coff.
9835 linux*oldld* | linux*aout* | linux*coff*)
9836   dynamic_linker=no
9837   ;;
9838
9839 # This must be Linux ELF.
9840 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9841   version_type=linux
9842   need_lib_prefix=no
9843   need_version=no
9844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9845   soname_spec='${libname}${release}${shared_ext}$major'
9846   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9847   shlibpath_var=LD_LIBRARY_PATH
9848   shlibpath_overrides_runpath=no
9849   # Some binutils ld are patched to set DT_RUNPATH
9850   save_LDFLAGS=$LDFLAGS
9851   save_libdir=$libdir
9852   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9853        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h.  */
9856
9857 int
9858 main ()
9859 {
9860
9861   ;
9862   return 0;
9863 }
9864 _ACEOF
9865 if ac_fn_c_try_link "$LINENO"; then :
9866   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9867   shlibpath_overrides_runpath=yes
9868 fi
9869 fi
9870 rm -f core conftest.err conftest.$ac_objext \
9871     conftest$ac_exeext conftest.$ac_ext
9872   LDFLAGS=$save_LDFLAGS
9873   libdir=$save_libdir
9874
9875   # This implies no fast_install, which is unacceptable.
9876   # Some rework will be needed to allow for fast_install
9877   # before this can be enabled.
9878   hardcode_into_libs=yes
9879
9880   # Append ld.so.conf contents to the search path
9881   if test -f /etc/ld.so.conf; then
9882     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' ' '`
9883     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9884   fi
9885
9886   # We used to test for /lib/ld.so.1 and disable shared libraries on
9887   # powerpc, because MkLinux only supported shared libraries with the
9888   # GNU dynamic linker.  Since this was broken with cross compilers,
9889   # most powerpc-linux boxes support dynamic linking these days and
9890   # people can always --disable-shared, the test was removed, and we
9891   # assume the GNU/Linux dynamic linker is in use.
9892   dynamic_linker='GNU/Linux ld.so'
9893   ;;
9894
9895 netbsdelf*-gnu)
9896   version_type=linux
9897   need_lib_prefix=no
9898   need_version=no
9899   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9900   soname_spec='${libname}${release}${shared_ext}$major'
9901   shlibpath_var=LD_LIBRARY_PATH
9902   shlibpath_overrides_runpath=no
9903   hardcode_into_libs=yes
9904   dynamic_linker='NetBSD ld.elf_so'
9905   ;;
9906
9907 netbsd*)
9908   version_type=sunos
9909   need_lib_prefix=no
9910   need_version=no
9911   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9912     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9913     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9914     dynamic_linker='NetBSD (a.out) ld.so'
9915   else
9916     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9917     soname_spec='${libname}${release}${shared_ext}$major'
9918     dynamic_linker='NetBSD ld.elf_so'
9919   fi
9920   shlibpath_var=LD_LIBRARY_PATH
9921   shlibpath_overrides_runpath=yes
9922   hardcode_into_libs=yes
9923   ;;
9924
9925 newsos6)
9926   version_type=linux
9927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9928   shlibpath_var=LD_LIBRARY_PATH
9929   shlibpath_overrides_runpath=yes
9930   ;;
9931
9932 *nto* | *qnx*)
9933   version_type=qnx
9934   need_lib_prefix=no
9935   need_version=no
9936   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9937   soname_spec='${libname}${release}${shared_ext}$major'
9938   shlibpath_var=LD_LIBRARY_PATH
9939   shlibpath_overrides_runpath=no
9940   hardcode_into_libs=yes
9941   dynamic_linker='ldqnx.so'
9942   ;;
9943
9944 openbsd*)
9945   version_type=sunos
9946   sys_lib_dlsearch_path_spec="/usr/lib"
9947   need_lib_prefix=no
9948   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9949   case $host_os in
9950     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9951     *)                          need_version=no  ;;
9952   esac
9953   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9954   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9955   shlibpath_var=LD_LIBRARY_PATH
9956   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9957     case $host_os in
9958       openbsd2.[89] | openbsd2.[89].*)
9959         shlibpath_overrides_runpath=no
9960         ;;
9961       *)
9962         shlibpath_overrides_runpath=yes
9963         ;;
9964       esac
9965   else
9966     shlibpath_overrides_runpath=yes
9967   fi
9968   ;;
9969
9970 os2*)
9971   libname_spec='$name'
9972   shrext_cmds=".dll"
9973   need_lib_prefix=no
9974   library_names_spec='$libname${shared_ext} $libname.a'
9975   dynamic_linker='OS/2 ld.exe'
9976   shlibpath_var=LIBPATH
9977   ;;
9978
9979 osf3* | osf4* | osf5*)
9980   version_type=osf
9981   need_lib_prefix=no
9982   need_version=no
9983   soname_spec='${libname}${release}${shared_ext}$major'
9984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9985   shlibpath_var=LD_LIBRARY_PATH
9986   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9987   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9988   ;;
9989
9990 rdos*)
9991   dynamic_linker=no
9992   ;;
9993
9994 solaris*)
9995   version_type=linux
9996   need_lib_prefix=no
9997   need_version=no
9998   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9999   soname_spec='${libname}${release}${shared_ext}$major'
10000   shlibpath_var=LD_LIBRARY_PATH
10001   shlibpath_overrides_runpath=yes
10002   hardcode_into_libs=yes
10003   # ldd complains unless libraries are executable
10004   postinstall_cmds='chmod +x $lib'
10005   ;;
10006
10007 sunos4*)
10008   version_type=sunos
10009   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10010   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10011   shlibpath_var=LD_LIBRARY_PATH
10012   shlibpath_overrides_runpath=yes
10013   if test "$with_gnu_ld" = yes; then
10014     need_lib_prefix=no
10015   fi
10016   need_version=yes
10017   ;;
10018
10019 sysv4 | sysv4.3*)
10020   version_type=linux
10021   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10022   soname_spec='${libname}${release}${shared_ext}$major'
10023   shlibpath_var=LD_LIBRARY_PATH
10024   case $host_vendor in
10025     sni)
10026       shlibpath_overrides_runpath=no
10027       need_lib_prefix=no
10028       runpath_var=LD_RUN_PATH
10029       ;;
10030     siemens)
10031       need_lib_prefix=no
10032       ;;
10033     motorola)
10034       need_lib_prefix=no
10035       need_version=no
10036       shlibpath_overrides_runpath=no
10037       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10038       ;;
10039   esac
10040   ;;
10041
10042 sysv4*MP*)
10043   if test -d /usr/nec ;then
10044     version_type=linux
10045     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10046     soname_spec='$libname${shared_ext}.$major'
10047     shlibpath_var=LD_LIBRARY_PATH
10048   fi
10049   ;;
10050
10051 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10052   version_type=freebsd-elf
10053   need_lib_prefix=no
10054   need_version=no
10055   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10056   soname_spec='${libname}${release}${shared_ext}$major'
10057   shlibpath_var=LD_LIBRARY_PATH
10058   shlibpath_overrides_runpath=yes
10059   hardcode_into_libs=yes
10060   if test "$with_gnu_ld" = yes; then
10061     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10062   else
10063     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10064     case $host_os in
10065       sco3.2v5*)
10066         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10067         ;;
10068     esac
10069   fi
10070   sys_lib_dlsearch_path_spec='/usr/lib'
10071   ;;
10072
10073 tpf*)
10074   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10075   version_type=linux
10076   need_lib_prefix=no
10077   need_version=no
10078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10079   shlibpath_var=LD_LIBRARY_PATH
10080   shlibpath_overrides_runpath=no
10081   hardcode_into_libs=yes
10082   ;;
10083
10084 uts4*)
10085   version_type=linux
10086   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10087   soname_spec='${libname}${release}${shared_ext}$major'
10088   shlibpath_var=LD_LIBRARY_PATH
10089   ;;
10090
10091 *)
10092   dynamic_linker=no
10093   ;;
10094 esac
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10096 $as_echo "$dynamic_linker" >&6; }
10097 test "$dynamic_linker" = no && can_build_shared=no
10098
10099 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10100 if test "$GCC" = yes; then
10101   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10102 fi
10103
10104 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10105   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10106 fi
10107 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10108   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10109 fi
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10198 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10199 hardcode_action=
10200 if test -n "$hardcode_libdir_flag_spec" ||
10201    test -n "$runpath_var" ||
10202    test "X$hardcode_automatic" = "Xyes" ; then
10203
10204   # We can hardcode non-existent directories.
10205   if test "$hardcode_direct" != no &&
10206      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10207      # have to relink, otherwise we might link with an installed library
10208      # when we should be linking with a yet-to-be-installed one
10209      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10210      test "$hardcode_minus_L" != no; then
10211     # Linking always hardcodes the temporary library directory.
10212     hardcode_action=relink
10213   else
10214     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10215     hardcode_action=immediate
10216   fi
10217 else
10218   # We cannot hardcode anything, or else we can only hardcode existing
10219   # directories.
10220   hardcode_action=unsupported
10221 fi
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10223 $as_echo "$hardcode_action" >&6; }
10224
10225 if test "$hardcode_action" = relink ||
10226    test "$inherit_rpath" = yes; then
10227   # Fast installation is not supported
10228   enable_fast_install=no
10229 elif test "$shlibpath_overrides_runpath" = yes ||
10230      test "$enable_shared" = no; then
10231   # Fast installation is not necessary
10232   enable_fast_install=needless
10233 fi
10234
10235
10236
10237
10238
10239
10240   if test "x$enable_dlopen" != xyes; then
10241   enable_dlopen=unknown
10242   enable_dlopen_self=unknown
10243   enable_dlopen_self_static=unknown
10244 else
10245   lt_cv_dlopen=no
10246   lt_cv_dlopen_libs=
10247
10248   case $host_os in
10249   beos*)
10250     lt_cv_dlopen="load_add_on"
10251     lt_cv_dlopen_libs=
10252     lt_cv_dlopen_self=yes
10253     ;;
10254
10255   mingw* | pw32* | cegcc*)
10256     lt_cv_dlopen="LoadLibrary"
10257     lt_cv_dlopen_libs=
10258     ;;
10259
10260   cygwin*)
10261     lt_cv_dlopen="dlopen"
10262     lt_cv_dlopen_libs=
10263     ;;
10264
10265   darwin*)
10266   # if libdl is installed we need to link against it
10267     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10268 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10269 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10270   $as_echo_n "(cached) " >&6
10271 else
10272   ac_check_lib_save_LIBS=$LIBS
10273 LIBS="-ldl  $LIBS"
10274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10275 /* end confdefs.h.  */
10276
10277 /* Override any GCC internal prototype to avoid an error.
10278    Use char because int might match the return type of a GCC
10279    builtin and then its argument prototype would still apply.  */
10280 #ifdef __cplusplus
10281 extern "C"
10282 #endif
10283 char dlopen ();
10284 int
10285 main ()
10286 {
10287 return dlopen ();
10288   ;
10289   return 0;
10290 }
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293   ac_cv_lib_dl_dlopen=yes
10294 else
10295   ac_cv_lib_dl_dlopen=no
10296 fi
10297 rm -f core conftest.err conftest.$ac_objext \
10298     conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10300 fi
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10302 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10303 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10304   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10305 else
10306
10307     lt_cv_dlopen="dyld"
10308     lt_cv_dlopen_libs=
10309     lt_cv_dlopen_self=yes
10310
10311 fi
10312
10313     ;;
10314
10315   *)
10316     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10317 if test "x$ac_cv_func_shl_load" = x""yes; then :
10318   lt_cv_dlopen="shl_load"
10319 else
10320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10321 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10322 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10323   $as_echo_n "(cached) " >&6
10324 else
10325   ac_check_lib_save_LIBS=$LIBS
10326 LIBS="-ldld  $LIBS"
10327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h.  */
10329
10330 /* Override any GCC internal prototype to avoid an error.
10331    Use char because int might match the return type of a GCC
10332    builtin and then its argument prototype would still apply.  */
10333 #ifdef __cplusplus
10334 extern "C"
10335 #endif
10336 char shl_load ();
10337 int
10338 main ()
10339 {
10340 return shl_load ();
10341   ;
10342   return 0;
10343 }
10344 _ACEOF
10345 if ac_fn_c_try_link "$LINENO"; then :
10346   ac_cv_lib_dld_shl_load=yes
10347 else
10348   ac_cv_lib_dld_shl_load=no
10349 fi
10350 rm -f core conftest.err conftest.$ac_objext \
10351     conftest$ac_exeext conftest.$ac_ext
10352 LIBS=$ac_check_lib_save_LIBS
10353 fi
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10355 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10356 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10357   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10358 else
10359   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10360 if test "x$ac_cv_func_dlopen" = x""yes; then :
10361   lt_cv_dlopen="dlopen"
10362 else
10363   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10364 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10365 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10366   $as_echo_n "(cached) " >&6
10367 else
10368   ac_check_lib_save_LIBS=$LIBS
10369 LIBS="-ldl  $LIBS"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h.  */
10372
10373 /* Override any GCC internal prototype to avoid an error.
10374    Use char because int might match the return type of a GCC
10375    builtin and then its argument prototype would still apply.  */
10376 #ifdef __cplusplus
10377 extern "C"
10378 #endif
10379 char dlopen ();
10380 int
10381 main ()
10382 {
10383 return dlopen ();
10384   ;
10385   return 0;
10386 }
10387 _ACEOF
10388 if ac_fn_c_try_link "$LINENO"; then :
10389   ac_cv_lib_dl_dlopen=yes
10390 else
10391   ac_cv_lib_dl_dlopen=no
10392 fi
10393 rm -f core conftest.err conftest.$ac_objext \
10394     conftest$ac_exeext conftest.$ac_ext
10395 LIBS=$ac_check_lib_save_LIBS
10396 fi
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10398 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10399 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10400   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10401 else
10402   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10403 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10404 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10405   $as_echo_n "(cached) " >&6
10406 else
10407   ac_check_lib_save_LIBS=$LIBS
10408 LIBS="-lsvld  $LIBS"
10409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h.  */
10411
10412 /* Override any GCC internal prototype to avoid an error.
10413    Use char because int might match the return type of a GCC
10414    builtin and then its argument prototype would still apply.  */
10415 #ifdef __cplusplus
10416 extern "C"
10417 #endif
10418 char dlopen ();
10419 int
10420 main ()
10421 {
10422 return dlopen ();
10423   ;
10424   return 0;
10425 }
10426 _ACEOF
10427 if ac_fn_c_try_link "$LINENO"; then :
10428   ac_cv_lib_svld_dlopen=yes
10429 else
10430   ac_cv_lib_svld_dlopen=no
10431 fi
10432 rm -f core conftest.err conftest.$ac_objext \
10433     conftest$ac_exeext conftest.$ac_ext
10434 LIBS=$ac_check_lib_save_LIBS
10435 fi
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10437 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10438 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10439   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10440 else
10441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10442 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10443 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10444   $as_echo_n "(cached) " >&6
10445 else
10446   ac_check_lib_save_LIBS=$LIBS
10447 LIBS="-ldld  $LIBS"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h.  */
10450
10451 /* Override any GCC internal prototype to avoid an error.
10452    Use char because int might match the return type of a GCC
10453    builtin and then its argument prototype would still apply.  */
10454 #ifdef __cplusplus
10455 extern "C"
10456 #endif
10457 char dld_link ();
10458 int
10459 main ()
10460 {
10461 return dld_link ();
10462   ;
10463   return 0;
10464 }
10465 _ACEOF
10466 if ac_fn_c_try_link "$LINENO"; then :
10467   ac_cv_lib_dld_dld_link=yes
10468 else
10469   ac_cv_lib_dld_dld_link=no
10470 fi
10471 rm -f core conftest.err conftest.$ac_objext \
10472     conftest$ac_exeext conftest.$ac_ext
10473 LIBS=$ac_check_lib_save_LIBS
10474 fi
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10476 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10477 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10478   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10479 fi
10480
10481
10482 fi
10483
10484
10485 fi
10486
10487
10488 fi
10489
10490
10491 fi
10492
10493
10494 fi
10495
10496     ;;
10497   esac
10498
10499   if test "x$lt_cv_dlopen" != xno; then
10500     enable_dlopen=yes
10501   else
10502     enable_dlopen=no
10503   fi
10504
10505   case $lt_cv_dlopen in
10506   dlopen)
10507     save_CPPFLAGS="$CPPFLAGS"
10508     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10509
10510     save_LDFLAGS="$LDFLAGS"
10511     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10512
10513     save_LIBS="$LIBS"
10514     LIBS="$lt_cv_dlopen_libs $LIBS"
10515
10516     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10517 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10518 if test "${lt_cv_dlopen_self+set}" = set; then :
10519   $as_echo_n "(cached) " >&6
10520 else
10521           if test "$cross_compiling" = yes; then :
10522   lt_cv_dlopen_self=cross
10523 else
10524   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10525   lt_status=$lt_dlunknown
10526   cat > conftest.$ac_ext <<_LT_EOF
10527 #line 10527 "configure"
10528 #include "confdefs.h"
10529
10530 #if HAVE_DLFCN_H
10531 #include <dlfcn.h>
10532 #endif
10533
10534 #include <stdio.h>
10535
10536 #ifdef RTLD_GLOBAL
10537 #  define LT_DLGLOBAL           RTLD_GLOBAL
10538 #else
10539 #  ifdef DL_GLOBAL
10540 #    define LT_DLGLOBAL         DL_GLOBAL
10541 #  else
10542 #    define LT_DLGLOBAL         0
10543 #  endif
10544 #endif
10545
10546 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10547    find out it does not work in some platform. */
10548 #ifndef LT_DLLAZY_OR_NOW
10549 #  ifdef RTLD_LAZY
10550 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10551 #  else
10552 #    ifdef DL_LAZY
10553 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10554 #    else
10555 #      ifdef RTLD_NOW
10556 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10557 #      else
10558 #        ifdef DL_NOW
10559 #          define LT_DLLAZY_OR_NOW      DL_NOW
10560 #        else
10561 #          define LT_DLLAZY_OR_NOW      0
10562 #        endif
10563 #      endif
10564 #    endif
10565 #  endif
10566 #endif
10567
10568 void fnord() { int i=42;}
10569 int main ()
10570 {
10571   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10572   int status = $lt_dlunknown;
10573
10574   if (self)
10575     {
10576       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10577       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10578       /* dlclose (self); */
10579     }
10580   else
10581     puts (dlerror ());
10582
10583   return status;
10584 }
10585 _LT_EOF
10586   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10587   (eval $ac_link) 2>&5
10588   ac_status=$?
10589   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10590   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10591     (./conftest; exit; ) >&5 2>/dev/null
10592     lt_status=$?
10593     case x$lt_status in
10594       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10595       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10596       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10597     esac
10598   else :
10599     # compilation failed
10600     lt_cv_dlopen_self=no
10601   fi
10602 fi
10603 rm -fr conftest*
10604
10605
10606 fi
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10608 $as_echo "$lt_cv_dlopen_self" >&6; }
10609
10610     if test "x$lt_cv_dlopen_self" = xyes; then
10611       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10612       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10613 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10614 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10615   $as_echo_n "(cached) " >&6
10616 else
10617           if test "$cross_compiling" = yes; then :
10618   lt_cv_dlopen_self_static=cross
10619 else
10620   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10621   lt_status=$lt_dlunknown
10622   cat > conftest.$ac_ext <<_LT_EOF
10623 #line 10623 "configure"
10624 #include "confdefs.h"
10625
10626 #if HAVE_DLFCN_H
10627 #include <dlfcn.h>
10628 #endif
10629
10630 #include <stdio.h>
10631
10632 #ifdef RTLD_GLOBAL
10633 #  define LT_DLGLOBAL           RTLD_GLOBAL
10634 #else
10635 #  ifdef DL_GLOBAL
10636 #    define LT_DLGLOBAL         DL_GLOBAL
10637 #  else
10638 #    define LT_DLGLOBAL         0
10639 #  endif
10640 #endif
10641
10642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10643    find out it does not work in some platform. */
10644 #ifndef LT_DLLAZY_OR_NOW
10645 #  ifdef RTLD_LAZY
10646 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10647 #  else
10648 #    ifdef DL_LAZY
10649 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10650 #    else
10651 #      ifdef RTLD_NOW
10652 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10653 #      else
10654 #        ifdef DL_NOW
10655 #          define LT_DLLAZY_OR_NOW      DL_NOW
10656 #        else
10657 #          define LT_DLLAZY_OR_NOW      0
10658 #        endif
10659 #      endif
10660 #    endif
10661 #  endif
10662 #endif
10663
10664 void fnord() { int i=42;}
10665 int main ()
10666 {
10667   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10668   int status = $lt_dlunknown;
10669
10670   if (self)
10671     {
10672       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10673       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10674       /* dlclose (self); */
10675     }
10676   else
10677     puts (dlerror ());
10678
10679   return status;
10680 }
10681 _LT_EOF
10682   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10683   (eval $ac_link) 2>&5
10684   ac_status=$?
10685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10686   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10687     (./conftest; exit; ) >&5 2>/dev/null
10688     lt_status=$?
10689     case x$lt_status in
10690       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10691       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10692       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10693     esac
10694   else :
10695     # compilation failed
10696     lt_cv_dlopen_self_static=no
10697   fi
10698 fi
10699 rm -fr conftest*
10700
10701
10702 fi
10703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10704 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10705     fi
10706
10707     CPPFLAGS="$save_CPPFLAGS"
10708     LDFLAGS="$save_LDFLAGS"
10709     LIBS="$save_LIBS"
10710     ;;
10711   esac
10712
10713   case $lt_cv_dlopen_self in
10714   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10715   *) enable_dlopen_self=unknown ;;
10716   esac
10717
10718   case $lt_cv_dlopen_self_static in
10719   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10720   *) enable_dlopen_self_static=unknown ;;
10721   esac
10722 fi
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740 striplib=
10741 old_striplib=
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10743 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10744 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10745   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10746   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10748 $as_echo "yes" >&6; }
10749 else
10750 # FIXME - insert some real tests, host_os isn't really good enough
10751   case $host_os in
10752   darwin*)
10753     if test -n "$STRIP" ; then
10754       striplib="$STRIP -x"
10755       old_striplib="$STRIP -S"
10756       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10757 $as_echo "yes" >&6; }
10758     else
10759       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10760 $as_echo "no" >&6; }
10761     fi
10762     ;;
10763   *)
10764     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10765 $as_echo "no" >&6; }
10766     ;;
10767   esac
10768 fi
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781   # Report which library types will actually be built
10782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10783 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10785 $as_echo "$can_build_shared" >&6; }
10786
10787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10788 $as_echo_n "checking whether to build shared libraries... " >&6; }
10789   test "$can_build_shared" = "no" && enable_shared=no
10790
10791   # On AIX, shared libraries and static libraries use the same namespace, and
10792   # are all built from PIC.
10793   case $host_os in
10794   aix3*)
10795     test "$enable_shared" = yes && enable_static=no
10796     if test -n "$RANLIB"; then
10797       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10798       postinstall_cmds='$RANLIB $lib'
10799     fi
10800     ;;
10801
10802   aix[4-9]*)
10803     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10804       test "$enable_shared" = yes && enable_static=no
10805     fi
10806     ;;
10807   esac
10808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10809 $as_echo "$enable_shared" >&6; }
10810
10811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10812 $as_echo_n "checking whether to build static libraries... " >&6; }
10813   # Make sure either enable_shared or enable_static is yes.
10814   test "$enable_shared" = yes || enable_static=yes
10815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10816 $as_echo "$enable_static" >&6; }
10817
10818
10819
10820
10821 fi
10822 ac_ext=c
10823 ac_cpp='$CPP $CPPFLAGS'
10824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10827
10828 CC="$lt_save_CC"
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842         ac_config_commands="$ac_config_commands libtool"
10843
10844
10845
10846
10847 # Only expand once:
10848
10849
10850
10851 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10852 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10853
10854
10855
10856 cat >>confdefs.h <<_ACEOF
10857 #define VMAJ 1
10858 _ACEOF
10859
10860
10861 cat >>confdefs.h <<_ACEOF
10862 #define VMIN 7
10863 _ACEOF
10864
10865
10866 cat >>confdefs.h <<_ACEOF
10867 #define VMIC 1
10868 _ACEOF
10869
10870
10871 cat >>confdefs.h <<_ACEOF
10872 #define VREV 0
10873 _ACEOF
10874
10875 version_info="8:1:7"
10876 release_info=""
10877
10878
10879 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10880 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10881 VMAJ=1
10882
10883
10884
10885
10886
10887
10888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
10889 $as_echo_n "checking whether NLS is requested... " >&6; }
10890     # Check whether --enable-nls was given.
10891 if test "${enable_nls+set}" = set; then :
10892   enableval=$enable_nls; USE_NLS=$enableval
10893 else
10894   USE_NLS=yes
10895 fi
10896
10897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
10898 $as_echo "$USE_NLS" >&6; }
10899
10900
10901
10902
10903       GETTEXT_MACRO_VERSION=0.17
10904
10905
10906
10907
10908 # Prepare PATH_SEPARATOR.
10909 # The user is always right.
10910 if test "${PATH_SEPARATOR+set}" != set; then
10911   echo "#! /bin/sh" >conf$$.sh
10912   echo  "exit 0"   >>conf$$.sh
10913   chmod +x conf$$.sh
10914   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10915     PATH_SEPARATOR=';'
10916   else
10917     PATH_SEPARATOR=:
10918   fi
10919   rm -f conf$$.sh
10920 fi
10921
10922 # Find out how to test for executable files. Don't use a zero-byte file,
10923 # as systems may use methods other than mode bits to determine executability.
10924 cat >conf$$.file <<_ASEOF
10925 #! /bin/sh
10926 exit 0
10927 _ASEOF
10928 chmod +x conf$$.file
10929 if test -x conf$$.file >/dev/null 2>&1; then
10930   ac_executable_p="test -x"
10931 else
10932   ac_executable_p="test -f"
10933 fi
10934 rm -f conf$$.file
10935
10936 # Extract the first word of "msgfmt", so it can be a program name with args.
10937 set dummy msgfmt; ac_word=$2
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10939 $as_echo_n "checking for $ac_word... " >&6; }
10940 if test "${ac_cv_path_MSGFMT+set}" = set; then :
10941   $as_echo_n "(cached) " >&6
10942 else
10943   case "$MSGFMT" in
10944   [\\/]* | ?:[\\/]*)
10945     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
10946     ;;
10947   *)
10948     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
10949     for ac_dir in $PATH; do
10950       IFS="$ac_save_IFS"
10951       test -z "$ac_dir" && ac_dir=.
10952       for ac_exec_ext in '' $ac_executable_extensions; do
10953         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
10954           echo "$as_me: trying $ac_dir/$ac_word..." >&5
10955           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
10956      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
10957             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
10958             break 2
10959           fi
10960         fi
10961       done
10962     done
10963     IFS="$ac_save_IFS"
10964   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
10965     ;;
10966 esac
10967 fi
10968 MSGFMT="$ac_cv_path_MSGFMT"
10969 if test "$MSGFMT" != ":"; then
10970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
10971 $as_echo "$MSGFMT" >&6; }
10972 else
10973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10974 $as_echo "no" >&6; }
10975 fi
10976
10977   # Extract the first word of "gmsgfmt", so it can be a program name with args.
10978 set dummy gmsgfmt; ac_word=$2
10979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10980 $as_echo_n "checking for $ac_word... " >&6; }
10981 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
10982   $as_echo_n "(cached) " >&6
10983 else
10984   case $GMSGFMT in
10985   [\\/]* | ?:[\\/]*)
10986   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
10987   ;;
10988   *)
10989   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10990 for as_dir in $PATH
10991 do
10992   IFS=$as_save_IFS
10993   test -z "$as_dir" && as_dir=.
10994     for ac_exec_ext in '' $ac_executable_extensions; do
10995   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10996     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
10997     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10998     break 2
10999   fi
11000 done
11001   done
11002 IFS=$as_save_IFS
11003
11004   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11005   ;;
11006 esac
11007 fi
11008 GMSGFMT=$ac_cv_path_GMSGFMT
11009 if test -n "$GMSGFMT"; then
11010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11011 $as_echo "$GMSGFMT" >&6; }
11012 else
11013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11014 $as_echo "no" >&6; }
11015 fi
11016
11017
11018
11019     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11020     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
11021     *) MSGFMT_015=$MSGFMT ;;
11022   esac
11023
11024   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11025     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
11026     *) GMSGFMT_015=$GMSGFMT ;;
11027   esac
11028
11029
11030
11031 # Prepare PATH_SEPARATOR.
11032 # The user is always right.
11033 if test "${PATH_SEPARATOR+set}" != set; then
11034   echo "#! /bin/sh" >conf$$.sh
11035   echo  "exit 0"   >>conf$$.sh
11036   chmod +x conf$$.sh
11037   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11038     PATH_SEPARATOR=';'
11039   else
11040     PATH_SEPARATOR=:
11041   fi
11042   rm -f conf$$.sh
11043 fi
11044
11045 # Find out how to test for executable files. Don't use a zero-byte file,
11046 # as systems may use methods other than mode bits to determine executability.
11047 cat >conf$$.file <<_ASEOF
11048 #! /bin/sh
11049 exit 0
11050 _ASEOF
11051 chmod +x conf$$.file
11052 if test -x conf$$.file >/dev/null 2>&1; then
11053   ac_executable_p="test -x"
11054 else
11055   ac_executable_p="test -f"
11056 fi
11057 rm -f conf$$.file
11058
11059 # Extract the first word of "xgettext", so it can be a program name with args.
11060 set dummy xgettext; ac_word=$2
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11062 $as_echo_n "checking for $ac_word... " >&6; }
11063 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11064   $as_echo_n "(cached) " >&6
11065 else
11066   case "$XGETTEXT" in
11067   [\\/]* | ?:[\\/]*)
11068     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11069     ;;
11070   *)
11071     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11072     for ac_dir in $PATH; do
11073       IFS="$ac_save_IFS"
11074       test -z "$ac_dir" && ac_dir=.
11075       for ac_exec_ext in '' $ac_executable_extensions; do
11076         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11077           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11078           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
11079      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11080             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11081             break 2
11082           fi
11083         fi
11084       done
11085     done
11086     IFS="$ac_save_IFS"
11087   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11088     ;;
11089 esac
11090 fi
11091 XGETTEXT="$ac_cv_path_XGETTEXT"
11092 if test "$XGETTEXT" != ":"; then
11093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11094 $as_echo "$XGETTEXT" >&6; }
11095 else
11096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11097 $as_echo "no" >&6; }
11098 fi
11099
11100     rm -f messages.po
11101
11102     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11103     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
11104     *) XGETTEXT_015=$XGETTEXT ;;
11105   esac
11106
11107
11108
11109 # Prepare PATH_SEPARATOR.
11110 # The user is always right.
11111 if test "${PATH_SEPARATOR+set}" != set; then
11112   echo "#! /bin/sh" >conf$$.sh
11113   echo  "exit 0"   >>conf$$.sh
11114   chmod +x conf$$.sh
11115   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11116     PATH_SEPARATOR=';'
11117   else
11118     PATH_SEPARATOR=:
11119   fi
11120   rm -f conf$$.sh
11121 fi
11122
11123 # Find out how to test for executable files. Don't use a zero-byte file,
11124 # as systems may use methods other than mode bits to determine executability.
11125 cat >conf$$.file <<_ASEOF
11126 #! /bin/sh
11127 exit 0
11128 _ASEOF
11129 chmod +x conf$$.file
11130 if test -x conf$$.file >/dev/null 2>&1; then
11131   ac_executable_p="test -x"
11132 else
11133   ac_executable_p="test -f"
11134 fi
11135 rm -f conf$$.file
11136
11137 # Extract the first word of "msgmerge", so it can be a program name with args.
11138 set dummy msgmerge; ac_word=$2
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11140 $as_echo_n "checking for $ac_word... " >&6; }
11141 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11142   $as_echo_n "(cached) " >&6
11143 else
11144   case "$MSGMERGE" in
11145   [\\/]* | ?:[\\/]*)
11146     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11147     ;;
11148   *)
11149     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11150     for ac_dir in $PATH; do
11151       IFS="$ac_save_IFS"
11152       test -z "$ac_dir" && ac_dir=.
11153       for ac_exec_ext in '' $ac_executable_extensions; do
11154         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11155           echo "$as_me: trying $ac_dir/$ac_word..." >&5
11156           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
11157             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11158             break 2
11159           fi
11160         fi
11161       done
11162     done
11163     IFS="$ac_save_IFS"
11164   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11165     ;;
11166 esac
11167 fi
11168 MSGMERGE="$ac_cv_path_MSGMERGE"
11169 if test "$MSGMERGE" != ":"; then
11170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11171 $as_echo "$MSGMERGE" >&6; }
11172 else
11173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11174 $as_echo "no" >&6; }
11175 fi
11176
11177
11178         test -n "$localedir" || localedir='${datadir}/locale'
11179
11180
11181     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
11182
11183
11184   ac_config_commands="$ac_config_commands po-directories"
11185
11186
11187
11188       if test "X$prefix" = "XNONE"; then
11189     acl_final_prefix="$ac_default_prefix"
11190   else
11191     acl_final_prefix="$prefix"
11192   fi
11193   if test "X$exec_prefix" = "XNONE"; then
11194     acl_final_exec_prefix='${prefix}'
11195   else
11196     acl_final_exec_prefix="$exec_prefix"
11197   fi
11198   acl_save_prefix="$prefix"
11199   prefix="$acl_final_prefix"
11200   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
11201   prefix="$acl_save_prefix"
11202
11203
11204 # Check whether --with-gnu-ld was given.
11205 if test "${with_gnu_ld+set}" = set; then :
11206   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11207 else
11208   with_gnu_ld=no
11209 fi
11210
11211 # Prepare PATH_SEPARATOR.
11212 # The user is always right.
11213 if test "${PATH_SEPARATOR+set}" != set; then
11214   echo "#! /bin/sh" >conf$$.sh
11215   echo  "exit 0"   >>conf$$.sh
11216   chmod +x conf$$.sh
11217   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11218     PATH_SEPARATOR=';'
11219   else
11220     PATH_SEPARATOR=:
11221   fi
11222   rm -f conf$$.sh
11223 fi
11224 ac_prog=ld
11225 if test "$GCC" = yes; then
11226   # Check if gcc -print-prog-name=ld gives a path.
11227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
11228 $as_echo_n "checking for ld used by GCC... " >&6; }
11229   case $host in
11230   *-*-mingw*)
11231     # gcc leaves a trailing carriage return which upsets mingw
11232     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11233   *)
11234     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11235   esac
11236   case $ac_prog in
11237     # Accept absolute paths.
11238     [\\/]* | [A-Za-z]:[\\/]*)
11239       re_direlt='/[^/][^/]*/\.\./'
11240       # Canonicalize the path of ld
11241       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
11242       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11243         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
11244       done
11245       test -z "$LD" && LD="$ac_prog"
11246       ;;
11247   "")
11248     # If it fails, then pretend we aren't using GCC.
11249     ac_prog=ld
11250     ;;
11251   *)
11252     # If it is relative, then search for the first ld in PATH.
11253     with_gnu_ld=unknown
11254     ;;
11255   esac
11256 elif test "$with_gnu_ld" = yes; then
11257   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11258 $as_echo_n "checking for GNU ld... " >&6; }
11259 else
11260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11261 $as_echo_n "checking for non-GNU ld... " >&6; }
11262 fi
11263 if test "${acl_cv_path_LD+set}" = set; then :
11264   $as_echo_n "(cached) " >&6
11265 else
11266   if test -z "$LD"; then
11267   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
11268   for ac_dir in $PATH; do
11269     test -z "$ac_dir" && ac_dir=.
11270     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11271       acl_cv_path_LD="$ac_dir/$ac_prog"
11272       # Check to see if the program is GNU ld.  I'd rather use --version,
11273       # but apparently some GNU ld's only accept -v.
11274       # Break only if it was the GNU/non-GNU ld that we prefer.
11275       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
11276       *GNU* | *'with BFD'*)
11277         test "$with_gnu_ld" != no && break ;;
11278       *)
11279         test "$with_gnu_ld" != yes && break ;;
11280       esac
11281     fi
11282   done
11283   IFS="$ac_save_ifs"
11284 else
11285   acl_cv_path_LD="$LD" # Let the user override the test with a path.
11286 fi
11287 fi
11288
11289 LD="$acl_cv_path_LD"
11290 if test -n "$LD"; then
11291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11292 $as_echo "$LD" >&6; }
11293 else
11294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11295 $as_echo "no" >&6; }
11296 fi
11297 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11300 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
11301   $as_echo_n "(cached) " >&6
11302 else
11303   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11304 case `$LD -v 2>&1 </dev/null` in
11305 *GNU* | *'with BFD'*)
11306   acl_cv_prog_gnu_ld=yes ;;
11307 *)
11308   acl_cv_prog_gnu_ld=no ;;
11309 esac
11310 fi
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
11312 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
11313 with_gnu_ld=$acl_cv_prog_gnu_ld
11314
11315
11316
11317
11318                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
11319 $as_echo_n "checking for shared library run path origin... " >&6; }
11320 if test "${acl_cv_rpath+set}" = set; then :
11321   $as_echo_n "(cached) " >&6
11322 else
11323
11324     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
11325     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
11326     . ./conftest.sh
11327     rm -f ./conftest.sh
11328     acl_cv_rpath=done
11329
11330 fi
11331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
11332 $as_echo "$acl_cv_rpath" >&6; }
11333   wl="$acl_cv_wl"
11334   acl_libext="$acl_cv_libext"
11335   acl_shlibext="$acl_cv_shlibext"
11336   acl_libname_spec="$acl_cv_libname_spec"
11337   acl_library_names_spec="$acl_cv_library_names_spec"
11338   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
11339   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
11340   acl_hardcode_direct="$acl_cv_hardcode_direct"
11341   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
11342     # Check whether --enable-rpath was given.
11343 if test "${enable_rpath+set}" = set; then :
11344   enableval=$enable_rpath; :
11345 else
11346   enable_rpath=yes
11347 fi
11348
11349
11350
11351                   acl_libdirstem=lib
11352   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
11353   if test -n "$searchpath"; then
11354     acl_save_IFS="${IFS=        }"; IFS=":"
11355     for searchdir in $searchpath; do
11356       if test -d "$searchdir"; then
11357         case "$searchdir" in
11358           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
11359           *) searchdir=`cd "$searchdir" && pwd`
11360              case "$searchdir" in
11361                */lib64 ) acl_libdirstem=lib64 ;;
11362              esac ;;
11363         esac
11364       fi
11365     done
11366     IFS="$acl_save_IFS"
11367   fi
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377     use_additional=yes
11378
11379   acl_save_prefix="$prefix"
11380   prefix="$acl_final_prefix"
11381   acl_save_exec_prefix="$exec_prefix"
11382   exec_prefix="$acl_final_exec_prefix"
11383
11384     eval additional_includedir=\"$includedir\"
11385     eval additional_libdir=\"$libdir\"
11386
11387   exec_prefix="$acl_save_exec_prefix"
11388   prefix="$acl_save_prefix"
11389
11390
11391 # Check whether --with-libiconv-prefix was given.
11392 if test "${with_libiconv_prefix+set}" = set; then :
11393   withval=$with_libiconv_prefix;
11394     if test "X$withval" = "Xno"; then
11395       use_additional=no
11396     else
11397       if test "X$withval" = "X"; then
11398
11399   acl_save_prefix="$prefix"
11400   prefix="$acl_final_prefix"
11401   acl_save_exec_prefix="$exec_prefix"
11402   exec_prefix="$acl_final_exec_prefix"
11403
11404           eval additional_includedir=\"$includedir\"
11405           eval additional_libdir=\"$libdir\"
11406
11407   exec_prefix="$acl_save_exec_prefix"
11408   prefix="$acl_save_prefix"
11409
11410       else
11411         additional_includedir="$withval/include"
11412         additional_libdir="$withval/$acl_libdirstem"
11413       fi
11414     fi
11415
11416 fi
11417
11418       LIBICONV=
11419   LTLIBICONV=
11420   INCICONV=
11421   LIBICONV_PREFIX=
11422   rpathdirs=
11423   ltrpathdirs=
11424   names_already_handled=
11425   names_next_round='iconv '
11426   while test -n "$names_next_round"; do
11427     names_this_round="$names_next_round"
11428     names_next_round=
11429     for name in $names_this_round; do
11430       already_handled=
11431       for n in $names_already_handled; do
11432         if test "$n" = "$name"; then
11433           already_handled=yes
11434           break
11435         fi
11436       done
11437       if test -z "$already_handled"; then
11438         names_already_handled="$names_already_handled $name"
11439                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
11440         eval value=\"\$HAVE_LIB$uppername\"
11441         if test -n "$value"; then
11442           if test "$value" = yes; then
11443             eval value=\"\$LIB$uppername\"
11444             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
11445             eval value=\"\$LTLIB$uppername\"
11446             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
11447           else
11448                                     :
11449           fi
11450         else
11451                               found_dir=
11452           found_la=
11453           found_so=
11454           found_a=
11455           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
11456           if test -n "$acl_shlibext"; then
11457             shrext=".$acl_shlibext"             # typically: shrext=.so
11458           else
11459             shrext=
11460           fi
11461           if test $use_additional = yes; then
11462             dir="$additional_libdir"
11463                                     if test -n "$acl_shlibext"; then
11464               if test -f "$dir/$libname$shrext"; then
11465                 found_dir="$dir"
11466                 found_so="$dir/$libname$shrext"
11467               else
11468                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
11469                   ver=`(cd "$dir" && \
11470                         for f in "$libname$shrext".*; do echo "$f"; done \
11471                         | sed -e "s,^$libname$shrext\\\\.,," \
11472                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
11473                         | sed 1q ) 2>/dev/null`
11474                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
11475                     found_dir="$dir"
11476                     found_so="$dir/$libname$shrext.$ver"
11477                   fi
11478                 else
11479                   eval library_names=\"$acl_library_names_spec\"
11480                   for f in $library_names; do
11481                     if test -f "$dir/$f"; then
11482                       found_dir="$dir"
11483                       found_so="$dir/$f"
11484                       break
11485                     fi
11486                   done
11487                 fi
11488               fi
11489             fi
11490                         if test "X$found_dir" = "X"; then
11491               if test -f "$dir/$libname.$acl_libext"; then
11492                 found_dir="$dir"
11493                 found_a="$dir/$libname.$acl_libext"
11494               fi
11495             fi
11496             if test "X$found_dir" != "X"; then
11497               if test -f "$dir/$libname.la"; then
11498                 found_la="$dir/$libname.la"
11499               fi
11500             fi
11501           fi
11502           if test "X$found_dir" = "X"; then
11503             for x in $LDFLAGS $LTLIBICONV; do
11504
11505   acl_save_prefix="$prefix"
11506   prefix="$acl_final_prefix"
11507   acl_save_exec_prefix="$exec_prefix"
11508   exec_prefix="$acl_final_exec_prefix"
11509   eval x=\"$x\"
11510   exec_prefix="$acl_save_exec_prefix"
11511   prefix="$acl_save_prefix"
11512
11513               case "$x" in
11514                 -L*)
11515                   dir=`echo "X$x" | sed -e 's/^X-L//'`
11516                                     if test -n "$acl_shlibext"; then
11517                     if test -f "$dir/$libname$shrext"; then
11518                       found_dir="$dir"
11519                       found_so="$dir/$libname$shrext"
11520                     else
11521                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
11522                         ver=`(cd "$dir" && \
11523                               for f in "$libname$shrext".*; do echo "$f"; done \
11524                               | sed -e "s,^$libname$shrext\\\\.,," \
11525                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
11526                               | sed 1q ) 2>/dev/null`
11527                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
11528                           found_dir="$dir"
11529                           found_so="$dir/$libname$shrext.$ver"
11530                         fi
11531                       else
11532                         eval library_names=\"$acl_library_names_spec\"
11533                         for f in $library_names; do
11534                           if test -f "$dir/$f"; then
11535                             found_dir="$dir"
11536                             found_so="$dir/$f"
11537                             break
11538                           fi
11539                         done
11540                       fi
11541                     fi
11542                   fi
11543                                     if test "X$found_dir" = "X"; then
11544                     if test -f "$dir/$libname.$acl_libext"; then
11545                       found_dir="$dir"
11546                       found_a="$dir/$libname.$acl_libext"
11547                     fi
11548                   fi
11549                   if test "X$found_dir" != "X"; then
11550                     if test -f "$dir/$libname.la"; then
11551                       found_la="$dir/$libname.la"
11552                     fi
11553                   fi
11554                   ;;
11555               esac
11556               if test "X$found_dir" != "X"; then
11557                 break
11558               fi
11559             done
11560           fi
11561           if test "X$found_dir" != "X"; then
11562                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
11563             if test "X$found_so" != "X"; then
11564                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
11565                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11566               else
11567                                                                                 haveit=
11568                 for x in $ltrpathdirs; do
11569                   if test "X$x" = "X$found_dir"; then
11570                     haveit=yes
11571                     break
11572                   fi
11573                 done
11574                 if test -z "$haveit"; then
11575                   ltrpathdirs="$ltrpathdirs $found_dir"
11576                 fi
11577                                 if test "$acl_hardcode_direct" = yes; then
11578                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11579                 else
11580                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
11581                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11582                                                             haveit=
11583                     for x in $rpathdirs; do
11584                       if test "X$x" = "X$found_dir"; then
11585                         haveit=yes
11586                         break
11587                       fi
11588                     done
11589                     if test -z "$haveit"; then
11590                       rpathdirs="$rpathdirs $found_dir"
11591                     fi
11592                   else
11593                                                                                 haveit=
11594                     for x in $LDFLAGS $LIBICONV; do
11595
11596   acl_save_prefix="$prefix"
11597   prefix="$acl_final_prefix"
11598   acl_save_exec_prefix="$exec_prefix"
11599   exec_prefix="$acl_final_exec_prefix"
11600   eval x=\"$x\"
11601   exec_prefix="$acl_save_exec_prefix"
11602   prefix="$acl_save_prefix"
11603
11604                       if test "X$x" = "X-L$found_dir"; then
11605                         haveit=yes
11606                         break
11607                       fi
11608                     done
11609                     if test -z "$haveit"; then
11610                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
11611                     fi
11612                     if test "$acl_hardcode_minus_L" != no; then
11613                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11614                     else
11615                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11616                     fi
11617                   fi
11618                 fi
11619               fi
11620             else
11621               if test "X$found_a" != "X"; then
11622                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
11623               else
11624                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
11625               fi
11626             fi
11627                         additional_includedir=
11628             case "$found_dir" in
11629               */$acl_libdirstem | */$acl_libdirstem/)
11630                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
11631                 LIBICONV_PREFIX="$basedir"
11632                 additional_includedir="$basedir/include"
11633                 ;;
11634             esac
11635             if test "X$additional_includedir" != "X"; then
11636                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
11637                 haveit=
11638                 if test "X$additional_includedir" = "X/usr/local/include"; then
11639                   if test -n "$GCC"; then
11640                     case $host_os in
11641                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
11642                     esac
11643                   fi
11644                 fi
11645                 if test -z "$haveit"; then
11646                   for x in $CPPFLAGS $INCICONV; do
11647
11648   acl_save_prefix="$prefix"
11649   prefix="$acl_final_prefix"
11650   acl_save_exec_prefix="$exec_prefix"
11651   exec_prefix="$acl_final_exec_prefix"
11652   eval x=\"$x\"
11653   exec_prefix="$acl_save_exec_prefix"
11654   prefix="$acl_save_prefix"
11655
11656                     if test "X$x" = "X-I$additional_includedir"; then
11657                       haveit=yes
11658                       break
11659                     fi
11660                   done
11661                   if test -z "$haveit"; then
11662                     if test -d "$additional_includedir"; then
11663                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
11664                     fi
11665                   fi
11666                 fi
11667               fi
11668             fi
11669                         if test -n "$found_la"; then
11670                                                         save_libdir="$libdir"
11671               case "$found_la" in
11672                 */* | *\\*) . "$found_la" ;;
11673                 *) . "./$found_la" ;;
11674               esac
11675               libdir="$save_libdir"
11676                             for dep in $dependency_libs; do
11677                 case "$dep" in
11678                   -L*)
11679                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
11680                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
11681                       haveit=
11682                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
11683                         if test -n "$GCC"; then
11684                           case $host_os in
11685                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
11686                           esac
11687                         fi
11688                       fi
11689                       if test -z "$haveit"; then
11690                         haveit=
11691                         for x in $LDFLAGS $LIBICONV; do
11692
11693   acl_save_prefix="$prefix"
11694   prefix="$acl_final_prefix"
11695   acl_save_exec_prefix="$exec_prefix"
11696   exec_prefix="$acl_final_exec_prefix"
11697   eval x=\"$x\"
11698   exec_prefix="$acl_save_exec_prefix"
11699   prefix="$acl_save_prefix"
11700
11701                           if test "X$x" = "X-L$additional_libdir"; then
11702                             haveit=yes
11703                             break
11704                           fi
11705                         done
11706                         if test -z "$haveit"; then
11707                           if test -d "$additional_libdir"; then
11708                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
11709                           fi
11710                         fi
11711                         haveit=
11712                         for x in $LDFLAGS $LTLIBICONV; do
11713
11714   acl_save_prefix="$prefix"
11715   prefix="$acl_final_prefix"
11716   acl_save_exec_prefix="$exec_prefix"
11717   exec_prefix="$acl_final_exec_prefix"
11718   eval x=\"$x\"
11719   exec_prefix="$acl_save_exec_prefix"
11720   prefix="$acl_save_prefix"
11721
11722                           if test "X$x" = "X-L$additional_libdir"; then
11723                             haveit=yes
11724                             break
11725                           fi
11726                         done
11727                         if test -z "$haveit"; then
11728                           if test -d "$additional_libdir"; then
11729                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
11730                           fi
11731                         fi
11732                       fi
11733                     fi
11734                     ;;
11735                   -R*)
11736                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
11737                     if test "$enable_rpath" != no; then
11738                                                                   haveit=
11739                       for x in $rpathdirs; do
11740                         if test "X$x" = "X$dir"; then
11741                           haveit=yes
11742                           break
11743                         fi
11744                       done
11745                       if test -z "$haveit"; then
11746                         rpathdirs="$rpathdirs $dir"
11747                       fi
11748                                                                   haveit=
11749                       for x in $ltrpathdirs; do
11750                         if test "X$x" = "X$dir"; then
11751                           haveit=yes
11752                           break
11753                         fi
11754                       done
11755                       if test -z "$haveit"; then
11756                         ltrpathdirs="$ltrpathdirs $dir"
11757                       fi
11758                     fi
11759                     ;;
11760                   -l*)
11761                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11762                     ;;
11763                   *.la)
11764                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11765                     ;;
11766                   *)
11767                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
11768                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
11769                     ;;
11770                 esac
11771               done
11772             fi
11773           else
11774                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11775             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
11776           fi
11777         fi
11778       fi
11779     done
11780   done
11781   if test "X$rpathdirs" != "X"; then
11782     if test -n "$acl_hardcode_libdir_separator"; then
11783                         alldirs=
11784       for found_dir in $rpathdirs; do
11785         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
11786       done
11787             acl_save_libdir="$libdir"
11788       libdir="$alldirs"
11789       eval flag=\"$acl_hardcode_libdir_flag_spec\"
11790       libdir="$acl_save_libdir"
11791       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11792     else
11793             for found_dir in $rpathdirs; do
11794         acl_save_libdir="$libdir"
11795         libdir="$found_dir"
11796         eval flag=\"$acl_hardcode_libdir_flag_spec\"
11797         libdir="$acl_save_libdir"
11798         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11799       done
11800     fi
11801   fi
11802   if test "X$ltrpathdirs" != "X"; then
11803             for found_dir in $ltrpathdirs; do
11804       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
11805     done
11806   fi
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
11833 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
11834 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
11835   $as_echo_n "(cached) " >&6
11836 else
11837   gt_save_LIBS="$LIBS"
11838      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11839      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h.  */
11841 #include <CoreFoundation/CFPreferences.h>
11842 int
11843 main ()
11844 {
11845 CFPreferencesCopyAppValue(NULL, NULL)
11846   ;
11847   return 0;
11848 }
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851   gt_cv_func_CFPreferencesCopyAppValue=yes
11852 else
11853   gt_cv_func_CFPreferencesCopyAppValue=no
11854 fi
11855 rm -f core conftest.err conftest.$ac_objext \
11856     conftest$ac_exeext conftest.$ac_ext
11857      LIBS="$gt_save_LIBS"
11858 fi
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
11860 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
11861   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
11862
11863 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
11864
11865   fi
11866     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
11867 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
11868 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
11869   $as_echo_n "(cached) " >&6
11870 else
11871   gt_save_LIBS="$LIBS"
11872      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
11873      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h.  */
11875 #include <CoreFoundation/CFLocale.h>
11876 int
11877 main ()
11878 {
11879 CFLocaleCopyCurrent();
11880   ;
11881   return 0;
11882 }
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"; then :
11885   gt_cv_func_CFLocaleCopyCurrent=yes
11886 else
11887   gt_cv_func_CFLocaleCopyCurrent=no
11888 fi
11889 rm -f core conftest.err conftest.$ac_objext \
11890     conftest$ac_exeext conftest.$ac_ext
11891      LIBS="$gt_save_LIBS"
11892 fi
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
11894 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
11895   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11896
11897 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
11898
11899   fi
11900   INTL_MACOSX_LIBS=
11901   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
11902     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
11903   fi
11904
11905
11906
11907
11908
11909
11910   LIBINTL=
11911   LTLIBINTL=
11912   POSUB=
11913
11914     case " $gt_needs " in
11915     *" need-formatstring-macros "*) gt_api_version=3 ;;
11916     *" need-ngettext "*) gt_api_version=2 ;;
11917     *) gt_api_version=1 ;;
11918   esac
11919   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
11920   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
11921
11922     if test "$USE_NLS" = "yes"; then
11923     gt_use_preinstalled_gnugettext=no
11924
11925
11926         if test $gt_api_version -ge 3; then
11927           gt_revision_test_code='
11928 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
11929 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
11930 #endif
11931 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
11932 '
11933         else
11934           gt_revision_test_code=
11935         fi
11936         if test $gt_api_version -ge 2; then
11937           gt_expression_test_code=' + * ngettext ("", "", 0)'
11938         else
11939           gt_expression_test_code=
11940         fi
11941
11942         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
11943 $as_echo_n "checking for GNU gettext in libc... " >&6; }
11944 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
11945   $as_echo_n "(cached) " >&6
11946 else
11947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h.  */
11949 #include <libintl.h>
11950 $gt_revision_test_code
11951 extern int _nl_msg_cat_cntr;
11952 extern int *_nl_domain_bindings;
11953 int
11954 main ()
11955 {
11956 bindtextdomain ("", "");
11957 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
11958   ;
11959   return 0;
11960 }
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"; then :
11963   eval "$gt_func_gnugettext_libc=yes"
11964 else
11965   eval "$gt_func_gnugettext_libc=no"
11966 fi
11967 rm -f core conftest.err conftest.$ac_objext \
11968     conftest$ac_exeext conftest.$ac_ext
11969 fi
11970 eval ac_res=\$$gt_func_gnugettext_libc
11971                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11972 $as_echo "$ac_res" >&6; }
11973
11974         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
11975
11976
11977
11978
11979
11980           am_save_CPPFLAGS="$CPPFLAGS"
11981
11982   for element in $INCICONV; do
11983     haveit=
11984     for x in $CPPFLAGS; do
11985
11986   acl_save_prefix="$prefix"
11987   prefix="$acl_final_prefix"
11988   acl_save_exec_prefix="$exec_prefix"
11989   exec_prefix="$acl_final_exec_prefix"
11990   eval x=\"$x\"
11991   exec_prefix="$acl_save_exec_prefix"
11992   prefix="$acl_save_prefix"
11993
11994       if test "X$x" = "X$element"; then
11995         haveit=yes
11996         break
11997       fi
11998     done
11999     if test -z "$haveit"; then
12000       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12001     fi
12002   done
12003
12004
12005   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12006 $as_echo_n "checking for iconv... " >&6; }
12007 if test "${am_cv_func_iconv+set}" = set; then :
12008   $as_echo_n "(cached) " >&6
12009 else
12010
12011     am_cv_func_iconv="no, consider installing GNU libiconv"
12012     am_cv_lib_iconv=no
12013     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h.  */
12015 #include <stdlib.h>
12016 #include <iconv.h>
12017 int
12018 main ()
12019 {
12020 iconv_t cd = iconv_open("","");
12021        iconv(cd,NULL,NULL,NULL,NULL);
12022        iconv_close(cd);
12023   ;
12024   return 0;
12025 }
12026 _ACEOF
12027 if ac_fn_c_try_link "$LINENO"; then :
12028   am_cv_func_iconv=yes
12029 fi
12030 rm -f core conftest.err conftest.$ac_objext \
12031     conftest$ac_exeext conftest.$ac_ext
12032     if test "$am_cv_func_iconv" != yes; then
12033       am_save_LIBS="$LIBS"
12034       LIBS="$LIBS $LIBICONV"
12035       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12036 /* end confdefs.h.  */
12037 #include <stdlib.h>
12038 #include <iconv.h>
12039 int
12040 main ()
12041 {
12042 iconv_t cd = iconv_open("","");
12043          iconv(cd,NULL,NULL,NULL,NULL);
12044          iconv_close(cd);
12045   ;
12046   return 0;
12047 }
12048 _ACEOF
12049 if ac_fn_c_try_link "$LINENO"; then :
12050   am_cv_lib_iconv=yes
12051         am_cv_func_iconv=yes
12052 fi
12053 rm -f core conftest.err conftest.$ac_objext \
12054     conftest$ac_exeext conftest.$ac_ext
12055       LIBS="$am_save_LIBS"
12056     fi
12057
12058 fi
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12060 $as_echo "$am_cv_func_iconv" >&6; }
12061   if test "$am_cv_func_iconv" = yes; then
12062     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
12063 $as_echo_n "checking for working iconv... " >&6; }
12064 if test "${am_cv_func_iconv_works+set}" = set; then :
12065   $as_echo_n "(cached) " >&6
12066 else
12067
12068             am_save_LIBS="$LIBS"
12069       if test $am_cv_lib_iconv = yes; then
12070         LIBS="$LIBS $LIBICONV"
12071       fi
12072       if test "$cross_compiling" = yes; then :
12073   case "$host_os" in
12074            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
12075            *)            am_cv_func_iconv_works="guessing yes" ;;
12076          esac
12077 else
12078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h.  */
12080
12081 #include <iconv.h>
12082 #include <string.h>
12083 int main ()
12084 {
12085   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
12086      returns.  */
12087   {
12088     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
12089     if (cd_utf8_to_88591 != (iconv_t)(-1))
12090       {
12091         static const char input[] = "\342\202\254"; /* EURO SIGN */
12092         char buf[10];
12093         const char *inptr = input;
12094         size_t inbytesleft = strlen (input);
12095         char *outptr = buf;
12096         size_t outbytesleft = sizeof (buf);
12097         size_t res = iconv (cd_utf8_to_88591,
12098                             (char **) &inptr, &inbytesleft,
12099                             &outptr, &outbytesleft);
12100         if (res == 0)
12101           return 1;
12102       }
12103   }
12104 #if 0 /* This bug could be worked around by the caller.  */
12105   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
12106   {
12107     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
12108     if (cd_88591_to_utf8 != (iconv_t)(-1))
12109       {
12110         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
12111         char buf[50];
12112         const char *inptr = input;
12113         size_t inbytesleft = strlen (input);
12114         char *outptr = buf;
12115         size_t outbytesleft = sizeof (buf);
12116         size_t res = iconv (cd_88591_to_utf8,
12117                             (char **) &inptr, &inbytesleft,
12118                             &outptr, &outbytesleft);
12119         if ((int)res > 0)
12120           return 1;
12121       }
12122   }
12123 #endif
12124   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
12125      provided.  */
12126   if (/* Try standardized names.  */
12127       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
12128       /* Try IRIX, OSF/1 names.  */
12129       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
12130       /* Try AIX names.  */
12131       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
12132       /* Try HP-UX names.  */
12133       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
12134     return 1;
12135   return 0;
12136 }
12137 _ACEOF
12138 if ac_fn_c_try_run "$LINENO"; then :
12139   am_cv_func_iconv_works=yes
12140 else
12141   am_cv_func_iconv_works=no
12142 fi
12143 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12144   conftest.$ac_objext conftest.beam conftest.$ac_ext
12145 fi
12146
12147       LIBS="$am_save_LIBS"
12148
12149 fi
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
12151 $as_echo "$am_cv_func_iconv_works" >&6; }
12152     case "$am_cv_func_iconv_works" in
12153       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
12154       *)   am_func_iconv=yes ;;
12155     esac
12156   else
12157     am_func_iconv=no am_cv_lib_iconv=no
12158   fi
12159   if test "$am_func_iconv" = yes; then
12160
12161 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12162
12163   fi
12164   if test "$am_cv_lib_iconv" = yes; then
12165     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12166 $as_echo_n "checking how to link with libiconv... " >&6; }
12167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12168 $as_echo "$LIBICONV" >&6; }
12169   else
12170             CPPFLAGS="$am_save_CPPFLAGS"
12171     LIBICONV=
12172     LTLIBICONV=
12173   fi
12174
12175
12176
12177
12178
12179
12180
12181
12182     use_additional=yes
12183
12184   acl_save_prefix="$prefix"
12185   prefix="$acl_final_prefix"
12186   acl_save_exec_prefix="$exec_prefix"
12187   exec_prefix="$acl_final_exec_prefix"
12188
12189     eval additional_includedir=\"$includedir\"
12190     eval additional_libdir=\"$libdir\"
12191
12192   exec_prefix="$acl_save_exec_prefix"
12193   prefix="$acl_save_prefix"
12194
12195
12196 # Check whether --with-libintl-prefix was given.
12197 if test "${with_libintl_prefix+set}" = set; then :
12198   withval=$with_libintl_prefix;
12199     if test "X$withval" = "Xno"; then
12200       use_additional=no
12201     else
12202       if test "X$withval" = "X"; then
12203
12204   acl_save_prefix="$prefix"
12205   prefix="$acl_final_prefix"
12206   acl_save_exec_prefix="$exec_prefix"
12207   exec_prefix="$acl_final_exec_prefix"
12208
12209           eval additional_includedir=\"$includedir\"
12210           eval additional_libdir=\"$libdir\"
12211
12212   exec_prefix="$acl_save_exec_prefix"
12213   prefix="$acl_save_prefix"
12214
12215       else
12216         additional_includedir="$withval/include"
12217         additional_libdir="$withval/$acl_libdirstem"
12218       fi
12219     fi
12220
12221 fi
12222
12223       LIBINTL=
12224   LTLIBINTL=
12225   INCINTL=
12226   LIBINTL_PREFIX=
12227   rpathdirs=
12228   ltrpathdirs=
12229   names_already_handled=
12230   names_next_round='intl '
12231   while test -n "$names_next_round"; do
12232     names_this_round="$names_next_round"
12233     names_next_round=
12234     for name in $names_this_round; do
12235       already_handled=
12236       for n in $names_already_handled; do
12237         if test "$n" = "$name"; then
12238           already_handled=yes
12239           break
12240         fi
12241       done
12242       if test -z "$already_handled"; then
12243         names_already_handled="$names_already_handled $name"
12244                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12245         eval value=\"\$HAVE_LIB$uppername\"
12246         if test -n "$value"; then
12247           if test "$value" = yes; then
12248             eval value=\"\$LIB$uppername\"
12249             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
12250             eval value=\"\$LTLIB$uppername\"
12251             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
12252           else
12253                                     :
12254           fi
12255         else
12256                               found_dir=
12257           found_la=
12258           found_so=
12259           found_a=
12260           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
12261           if test -n "$acl_shlibext"; then
12262             shrext=".$acl_shlibext"             # typically: shrext=.so
12263           else
12264             shrext=
12265           fi
12266           if test $use_additional = yes; then
12267             dir="$additional_libdir"
12268                                     if test -n "$acl_shlibext"; then
12269               if test -f "$dir/$libname$shrext"; then
12270                 found_dir="$dir"
12271                 found_so="$dir/$libname$shrext"
12272               else
12273                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12274                   ver=`(cd "$dir" && \
12275                         for f in "$libname$shrext".*; do echo "$f"; done \
12276                         | sed -e "s,^$libname$shrext\\\\.,," \
12277                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12278                         | sed 1q ) 2>/dev/null`
12279                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12280                     found_dir="$dir"
12281                     found_so="$dir/$libname$shrext.$ver"
12282                   fi
12283                 else
12284                   eval library_names=\"$acl_library_names_spec\"
12285                   for f in $library_names; do
12286                     if test -f "$dir/$f"; then
12287                       found_dir="$dir"
12288                       found_so="$dir/$f"
12289                       break
12290                     fi
12291                   done
12292                 fi
12293               fi
12294             fi
12295                         if test "X$found_dir" = "X"; then
12296               if test -f "$dir/$libname.$acl_libext"; then
12297                 found_dir="$dir"
12298                 found_a="$dir/$libname.$acl_libext"
12299               fi
12300             fi
12301             if test "X$found_dir" != "X"; then
12302               if test -f "$dir/$libname.la"; then
12303                 found_la="$dir/$libname.la"
12304               fi
12305             fi
12306           fi
12307           if test "X$found_dir" = "X"; then
12308             for x in $LDFLAGS $LTLIBINTL; do
12309
12310   acl_save_prefix="$prefix"
12311   prefix="$acl_final_prefix"
12312   acl_save_exec_prefix="$exec_prefix"
12313   exec_prefix="$acl_final_exec_prefix"
12314   eval x=\"$x\"
12315   exec_prefix="$acl_save_exec_prefix"
12316   prefix="$acl_save_prefix"
12317
12318               case "$x" in
12319                 -L*)
12320                   dir=`echo "X$x" | sed -e 's/^X-L//'`
12321                                     if test -n "$acl_shlibext"; then
12322                     if test -f "$dir/$libname$shrext"; then
12323                       found_dir="$dir"
12324                       found_so="$dir/$libname$shrext"
12325                     else
12326                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12327                         ver=`(cd "$dir" && \
12328                               for f in "$libname$shrext".*; do echo "$f"; done \
12329                               | sed -e "s,^$libname$shrext\\\\.,," \
12330                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12331                               | sed 1q ) 2>/dev/null`
12332                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12333                           found_dir="$dir"
12334                           found_so="$dir/$libname$shrext.$ver"
12335                         fi
12336                       else
12337                         eval library_names=\"$acl_library_names_spec\"
12338                         for f in $library_names; do
12339                           if test -f "$dir/$f"; then
12340                             found_dir="$dir"
12341                             found_so="$dir/$f"
12342                             break
12343                           fi
12344                         done
12345                       fi
12346                     fi
12347                   fi
12348                                     if test "X$found_dir" = "X"; then
12349                     if test -f "$dir/$libname.$acl_libext"; then
12350                       found_dir="$dir"
12351                       found_a="$dir/$libname.$acl_libext"
12352                     fi
12353                   fi
12354                   if test "X$found_dir" != "X"; then
12355                     if test -f "$dir/$libname.la"; then
12356                       found_la="$dir/$libname.la"
12357                     fi
12358                   fi
12359                   ;;
12360               esac
12361               if test "X$found_dir" != "X"; then
12362                 break
12363               fi
12364             done
12365           fi
12366           if test "X$found_dir" != "X"; then
12367                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
12368             if test "X$found_so" != "X"; then
12369                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12370                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12371               else
12372                                                                                 haveit=
12373                 for x in $ltrpathdirs; do
12374                   if test "X$x" = "X$found_dir"; then
12375                     haveit=yes
12376                     break
12377                   fi
12378                 done
12379                 if test -z "$haveit"; then
12380                   ltrpathdirs="$ltrpathdirs $found_dir"
12381                 fi
12382                                 if test "$acl_hardcode_direct" = yes; then
12383                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12384                 else
12385                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12386                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12387                                                             haveit=
12388                     for x in $rpathdirs; do
12389                       if test "X$x" = "X$found_dir"; then
12390                         haveit=yes
12391                         break
12392                       fi
12393                     done
12394                     if test -z "$haveit"; then
12395                       rpathdirs="$rpathdirs $found_dir"
12396                     fi
12397                   else
12398                                                                                 haveit=
12399                     for x in $LDFLAGS $LIBINTL; do
12400
12401   acl_save_prefix="$prefix"
12402   prefix="$acl_final_prefix"
12403   acl_save_exec_prefix="$exec_prefix"
12404   exec_prefix="$acl_final_exec_prefix"
12405   eval x=\"$x\"
12406   exec_prefix="$acl_save_exec_prefix"
12407   prefix="$acl_save_prefix"
12408
12409                       if test "X$x" = "X-L$found_dir"; then
12410                         haveit=yes
12411                         break
12412                       fi
12413                     done
12414                     if test -z "$haveit"; then
12415                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
12416                     fi
12417                     if test "$acl_hardcode_minus_L" != no; then
12418                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12419                     else
12420                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
12421                     fi
12422                   fi
12423                 fi
12424               fi
12425             else
12426               if test "X$found_a" != "X"; then
12427                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
12428               else
12429                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
12430               fi
12431             fi
12432                         additional_includedir=
12433             case "$found_dir" in
12434               */$acl_libdirstem | */$acl_libdirstem/)
12435                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12436                 LIBINTL_PREFIX="$basedir"
12437                 additional_includedir="$basedir/include"
12438                 ;;
12439             esac
12440             if test "X$additional_includedir" != "X"; then
12441                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
12442                 haveit=
12443                 if test "X$additional_includedir" = "X/usr/local/include"; then
12444                   if test -n "$GCC"; then
12445                     case $host_os in
12446                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12447                     esac
12448                   fi
12449                 fi
12450                 if test -z "$haveit"; then
12451                   for x in $CPPFLAGS $INCINTL; do
12452
12453   acl_save_prefix="$prefix"
12454   prefix="$acl_final_prefix"
12455   acl_save_exec_prefix="$exec_prefix"
12456   exec_prefix="$acl_final_exec_prefix"
12457   eval x=\"$x\"
12458   exec_prefix="$acl_save_exec_prefix"
12459   prefix="$acl_save_prefix"
12460
12461                     if test "X$x" = "X-I$additional_includedir"; then
12462                       haveit=yes
12463                       break
12464                     fi
12465                   done
12466                   if test -z "$haveit"; then
12467                     if test -d "$additional_includedir"; then
12468                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
12469                     fi
12470                   fi
12471                 fi
12472               fi
12473             fi
12474                         if test -n "$found_la"; then
12475                                                         save_libdir="$libdir"
12476               case "$found_la" in
12477                 */* | *\\*) . "$found_la" ;;
12478                 *) . "./$found_la" ;;
12479               esac
12480               libdir="$save_libdir"
12481                             for dep in $dependency_libs; do
12482                 case "$dep" in
12483                   -L*)
12484                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12485                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12486                       haveit=
12487                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12488                         if test -n "$GCC"; then
12489                           case $host_os in
12490                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12491                           esac
12492                         fi
12493                       fi
12494                       if test -z "$haveit"; then
12495                         haveit=
12496                         for x in $LDFLAGS $LIBINTL; do
12497
12498   acl_save_prefix="$prefix"
12499   prefix="$acl_final_prefix"
12500   acl_save_exec_prefix="$exec_prefix"
12501   exec_prefix="$acl_final_exec_prefix"
12502   eval x=\"$x\"
12503   exec_prefix="$acl_save_exec_prefix"
12504   prefix="$acl_save_prefix"
12505
12506                           if test "X$x" = "X-L$additional_libdir"; then
12507                             haveit=yes
12508                             break
12509                           fi
12510                         done
12511                         if test -z "$haveit"; then
12512                           if test -d "$additional_libdir"; then
12513                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
12514                           fi
12515                         fi
12516                         haveit=
12517                         for x in $LDFLAGS $LTLIBINTL; do
12518
12519   acl_save_prefix="$prefix"
12520   prefix="$acl_final_prefix"
12521   acl_save_exec_prefix="$exec_prefix"
12522   exec_prefix="$acl_final_exec_prefix"
12523   eval x=\"$x\"
12524   exec_prefix="$acl_save_exec_prefix"
12525   prefix="$acl_save_prefix"
12526
12527                           if test "X$x" = "X-L$additional_libdir"; then
12528                             haveit=yes
12529                             break
12530                           fi
12531                         done
12532                         if test -z "$haveit"; then
12533                           if test -d "$additional_libdir"; then
12534                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
12535                           fi
12536                         fi
12537                       fi
12538                     fi
12539                     ;;
12540                   -R*)
12541                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
12542                     if test "$enable_rpath" != no; then
12543                                                                   haveit=
12544                       for x in $rpathdirs; do
12545                         if test "X$x" = "X$dir"; then
12546                           haveit=yes
12547                           break
12548                         fi
12549                       done
12550                       if test -z "$haveit"; then
12551                         rpathdirs="$rpathdirs $dir"
12552                       fi
12553                                                                   haveit=
12554                       for x in $ltrpathdirs; do
12555                         if test "X$x" = "X$dir"; then
12556                           haveit=yes
12557                           break
12558                         fi
12559                       done
12560                       if test -z "$haveit"; then
12561                         ltrpathdirs="$ltrpathdirs $dir"
12562                       fi
12563                     fi
12564                     ;;
12565                   -l*)
12566                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12567                     ;;
12568                   *.la)
12569                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12570                     ;;
12571                   *)
12572                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
12573                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
12574                     ;;
12575                 esac
12576               done
12577             fi
12578           else
12579                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
12580             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
12581           fi
12582         fi
12583       fi
12584     done
12585   done
12586   if test "X$rpathdirs" != "X"; then
12587     if test -n "$acl_hardcode_libdir_separator"; then
12588                         alldirs=
12589       for found_dir in $rpathdirs; do
12590         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
12591       done
12592             acl_save_libdir="$libdir"
12593       libdir="$alldirs"
12594       eval flag=\"$acl_hardcode_libdir_flag_spec\"
12595       libdir="$acl_save_libdir"
12596       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
12597     else
12598             for found_dir in $rpathdirs; do
12599         acl_save_libdir="$libdir"
12600         libdir="$found_dir"
12601         eval flag=\"$acl_hardcode_libdir_flag_spec\"
12602         libdir="$acl_save_libdir"
12603         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
12604       done
12605     fi
12606   fi
12607   if test "X$ltrpathdirs" != "X"; then
12608             for found_dir in $ltrpathdirs; do
12609       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
12610     done
12611   fi
12612
12613           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
12614 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
12615 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
12616   $as_echo_n "(cached) " >&6
12617 else
12618   gt_save_CPPFLAGS="$CPPFLAGS"
12619             CPPFLAGS="$CPPFLAGS $INCINTL"
12620             gt_save_LIBS="$LIBS"
12621             LIBS="$LIBS $LIBINTL"
12622                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12623 /* end confdefs.h.  */
12624 #include <libintl.h>
12625 $gt_revision_test_code
12626 extern int _nl_msg_cat_cntr;
12627 extern
12628 #ifdef __cplusplus
12629 "C"
12630 #endif
12631 const char *_nl_expand_alias (const char *);
12632 int
12633 main ()
12634 {
12635 bindtextdomain ("", "");
12636 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
12637   ;
12638   return 0;
12639 }
12640 _ACEOF
12641 if ac_fn_c_try_link "$LINENO"; then :
12642   eval "$gt_func_gnugettext_libintl=yes"
12643 else
12644   eval "$gt_func_gnugettext_libintl=no"
12645 fi
12646 rm -f core conftest.err conftest.$ac_objext \
12647     conftest$ac_exeext conftest.$ac_ext
12648                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
12649               LIBS="$LIBS $LIBICONV"
12650               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12651 /* end confdefs.h.  */
12652 #include <libintl.h>
12653 $gt_revision_test_code
12654 extern int _nl_msg_cat_cntr;
12655 extern
12656 #ifdef __cplusplus
12657 "C"
12658 #endif
12659 const char *_nl_expand_alias (const char *);
12660 int
12661 main ()
12662 {
12663 bindtextdomain ("", "");
12664 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
12665   ;
12666   return 0;
12667 }
12668 _ACEOF
12669 if ac_fn_c_try_link "$LINENO"; then :
12670   LIBINTL="$LIBINTL $LIBICONV"
12671                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
12672                 eval "$gt_func_gnugettext_libintl=yes"
12673
12674 fi
12675 rm -f core conftest.err conftest.$ac_objext \
12676     conftest$ac_exeext conftest.$ac_ext
12677             fi
12678             CPPFLAGS="$gt_save_CPPFLAGS"
12679             LIBS="$gt_save_LIBS"
12680 fi
12681 eval ac_res=\$$gt_func_gnugettext_libintl
12682                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12683 $as_echo "$ac_res" >&6; }
12684         fi
12685
12686                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
12687            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
12688                 && test "$PACKAGE" != gettext-runtime \
12689                 && test "$PACKAGE" != gettext-tools; }; then
12690           gt_use_preinstalled_gnugettext=yes
12691         else
12692                     LIBINTL=
12693           LTLIBINTL=
12694           INCINTL=
12695         fi
12696
12697
12698
12699     if test -n "$INTL_MACOSX_LIBS"; then
12700       if test "$gt_use_preinstalled_gnugettext" = "yes" \
12701          || test "$nls_cv_use_gnu_gettext" = "yes"; then
12702                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
12703         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
12704       fi
12705     fi
12706
12707     if test "$gt_use_preinstalled_gnugettext" = "yes" \
12708        || test "$nls_cv_use_gnu_gettext" = "yes"; then
12709
12710 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
12711
12712     else
12713       USE_NLS=no
12714     fi
12715   fi
12716
12717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
12718 $as_echo_n "checking whether to use NLS... " >&6; }
12719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12720 $as_echo "$USE_NLS" >&6; }
12721   if test "$USE_NLS" = "yes"; then
12722     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
12723 $as_echo_n "checking where the gettext function comes from... " >&6; }
12724     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
12725       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
12726         gt_source="external libintl"
12727       else
12728         gt_source="libc"
12729       fi
12730     else
12731       gt_source="included intl directory"
12732     fi
12733     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
12734 $as_echo "$gt_source" >&6; }
12735   fi
12736
12737   if test "$USE_NLS" = "yes"; then
12738
12739     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
12740       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
12741         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
12742 $as_echo_n "checking how to link with libintl... " >&6; }
12743         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
12744 $as_echo "$LIBINTL" >&6; }
12745
12746   for element in $INCINTL; do
12747     haveit=
12748     for x in $CPPFLAGS; do
12749
12750   acl_save_prefix="$prefix"
12751   prefix="$acl_final_prefix"
12752   acl_save_exec_prefix="$exec_prefix"
12753   exec_prefix="$acl_final_exec_prefix"
12754   eval x=\"$x\"
12755   exec_prefix="$acl_save_exec_prefix"
12756   prefix="$acl_save_prefix"
12757
12758       if test "X$x" = "X$element"; then
12759         haveit=yes
12760         break
12761       fi
12762     done
12763     if test -z "$haveit"; then
12764       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12765     fi
12766   done
12767
12768       fi
12769
12770
12771 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12772
12773
12774 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
12775
12776     fi
12777
12778         POSUB=po
12779   fi
12780
12781
12782
12783     INTLLIBS="$LIBINTL"
12784
12785
12786
12787
12788
12789
12790 po_makefile_in=po/Makefile.in
12791 have_po="yes"
12792
12793
12794 LOCALE_DIR="${localedir}"
12795
12796
12797 if test "x${POSUB}" = "x" ; then
12798    have_po="no"
12799 fi
12800
12801  if test "x${have_po}" = "xyes"; then
12802   HAVE_PO_TRUE=
12803   HAVE_PO_FALSE='#'
12804 else
12805   HAVE_PO_TRUE='#'
12806   HAVE_PO_FALSE=
12807 fi
12808
12809
12810 ### Needed information
12811
12812
12813
12814
12815
12816 ### Additional options to configure
12817
12818 # Check whether --enable-strict-spec was given.
12819 if test "${enable_strict_spec+set}" = set; then :
12820   enableval=$enable_strict_spec;
12821     if test "x${enableval}" = "xyes" ; then
12822        enable_strict_spec="yes"
12823     else
12824        enable_strict_spec="no"
12825     fi
12826
12827 else
12828   enable_strict_spec="no"
12829 fi
12830
12831
12832 if test "x${enable_strict_spec}" = "xyes" ; then
12833
12834 $as_echo "#define STRICT_SPEC 1" >>confdefs.h
12835
12836 fi
12837
12838 # Check whether --enable-sloppy-spec was given.
12839 if test "${enable_sloppy_spec+set}" = set; then :
12840   enableval=$enable_sloppy_spec;
12841     if test "x${enableval}" = "xyes" ; then
12842        enable_sloppy_spec="yes"
12843     else
12844        enable_sloppy_spec="no"
12845     fi
12846
12847 else
12848   enable_sloppy_spec="yes"
12849 fi
12850
12851
12852 if test "x${enable_sloppy_spec}" = "xyes" ; then
12853
12854 $as_echo "#define SLOPPY_SPEC 1" >>confdefs.h
12855
12856 fi
12857
12858
12859 #AC_ARG_ENABLE(hidden-visibility,
12860 #       [AC_HELP_STRING([--enable-hidden-visibility],[Enable hidden visibility])],
12861 #       [enable_hidden_visibility=$enableval], [enable_hidden_visibility="auto"])
12862 #if test "x$enable_hidden_visibility" = "xyes" ; then
12863 #    CPPFLAGS="$CPPFLAGS -fvisibility=hidden"
12864 #else
12865 #    AC_DEFINE(DEFAULT_VISIBLITY, 1, [Default visibility])
12866 #fi
12867 #AM_CONDITIONAL(DEFAULT_VISIBILITY, test "x$enable_hidden_visibility" != "xyes")
12868  if false; then
12869   DEFAULT_VISIBILITY_TRUE=
12870   DEFAULT_VISIBILITY_FALSE='#'
12871 else
12872   DEFAULT_VISIBILITY_TRUE='#'
12873   DEFAULT_VISIBILITY_FALSE=
12874 fi
12875
12876
12877
12878 ### Checks for programs
12879 ac_ext=c
12880 ac_cpp='$CPP $CPPFLAGS'
12881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12884 if test -n "$ac_tool_prefix"; then
12885   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12886 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12888 $as_echo_n "checking for $ac_word... " >&6; }
12889 if test "${ac_cv_prog_CC+set}" = set; then :
12890   $as_echo_n "(cached) " >&6
12891 else
12892   if test -n "$CC"; then
12893   ac_cv_prog_CC="$CC" # Let the user override the test.
12894 else
12895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12896 for as_dir in $PATH
12897 do
12898   IFS=$as_save_IFS
12899   test -z "$as_dir" && as_dir=.
12900     for ac_exec_ext in '' $ac_executable_extensions; do
12901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12902     ac_cv_prog_CC="${ac_tool_prefix}gcc"
12903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12904     break 2
12905   fi
12906 done
12907   done
12908 IFS=$as_save_IFS
12909
12910 fi
12911 fi
12912 CC=$ac_cv_prog_CC
12913 if test -n "$CC"; then
12914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12915 $as_echo "$CC" >&6; }
12916 else
12917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12918 $as_echo "no" >&6; }
12919 fi
12920
12921
12922 fi
12923 if test -z "$ac_cv_prog_CC"; then
12924   ac_ct_CC=$CC
12925   # Extract the first word of "gcc", so it can be a program name with args.
12926 set dummy gcc; ac_word=$2
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12928 $as_echo_n "checking for $ac_word... " >&6; }
12929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
12930   $as_echo_n "(cached) " >&6
12931 else
12932   if test -n "$ac_ct_CC"; then
12933   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12934 else
12935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12936 for as_dir in $PATH
12937 do
12938   IFS=$as_save_IFS
12939   test -z "$as_dir" && as_dir=.
12940     for ac_exec_ext in '' $ac_executable_extensions; do
12941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12942     ac_cv_prog_ac_ct_CC="gcc"
12943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12944     break 2
12945   fi
12946 done
12947   done
12948 IFS=$as_save_IFS
12949
12950 fi
12951 fi
12952 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12953 if test -n "$ac_ct_CC"; then
12954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12955 $as_echo "$ac_ct_CC" >&6; }
12956 else
12957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12958 $as_echo "no" >&6; }
12959 fi
12960
12961   if test "x$ac_ct_CC" = x; then
12962     CC=""
12963   else
12964     case $cross_compiling:$ac_tool_warned in
12965 yes:)
12966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12968 ac_tool_warned=yes ;;
12969 esac
12970     CC=$ac_ct_CC
12971   fi
12972 else
12973   CC="$ac_cv_prog_CC"
12974 fi
12975
12976 if test -z "$CC"; then
12977           if test -n "$ac_tool_prefix"; then
12978     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12979 set dummy ${ac_tool_prefix}cc; ac_word=$2
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12981 $as_echo_n "checking for $ac_word... " >&6; }
12982 if test "${ac_cv_prog_CC+set}" = set; then :
12983   $as_echo_n "(cached) " >&6
12984 else
12985   if test -n "$CC"; then
12986   ac_cv_prog_CC="$CC" # Let the user override the test.
12987 else
12988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12989 for as_dir in $PATH
12990 do
12991   IFS=$as_save_IFS
12992   test -z "$as_dir" && as_dir=.
12993     for ac_exec_ext in '' $ac_executable_extensions; do
12994   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12995     ac_cv_prog_CC="${ac_tool_prefix}cc"
12996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12997     break 2
12998   fi
12999 done
13000   done
13001 IFS=$as_save_IFS
13002
13003 fi
13004 fi
13005 CC=$ac_cv_prog_CC
13006 if test -n "$CC"; then
13007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13008 $as_echo "$CC" >&6; }
13009 else
13010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13011 $as_echo "no" >&6; }
13012 fi
13013
13014
13015   fi
13016 fi
13017 if test -z "$CC"; then
13018   # Extract the first word of "cc", so it can be a program name with args.
13019 set dummy cc; ac_word=$2
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13021 $as_echo_n "checking for $ac_word... " >&6; }
13022 if test "${ac_cv_prog_CC+set}" = set; then :
13023   $as_echo_n "(cached) " >&6
13024 else
13025   if test -n "$CC"; then
13026   ac_cv_prog_CC="$CC" # Let the user override the test.
13027 else
13028   ac_prog_rejected=no
13029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13030 for as_dir in $PATH
13031 do
13032   IFS=$as_save_IFS
13033   test -z "$as_dir" && as_dir=.
13034     for ac_exec_ext in '' $ac_executable_extensions; do
13035   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13036     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13037        ac_prog_rejected=yes
13038        continue
13039      fi
13040     ac_cv_prog_CC="cc"
13041     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13042     break 2
13043   fi
13044 done
13045   done
13046 IFS=$as_save_IFS
13047
13048 if test $ac_prog_rejected = yes; then
13049   # We found a bogon in the path, so make sure we never use it.
13050   set dummy $ac_cv_prog_CC
13051   shift
13052   if test $# != 0; then
13053     # We chose a different compiler from the bogus one.
13054     # However, it has the same basename, so the bogon will be chosen
13055     # first if we set CC to just the basename; use the full file name.
13056     shift
13057     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13058   fi
13059 fi
13060 fi
13061 fi
13062 CC=$ac_cv_prog_CC
13063 if test -n "$CC"; then
13064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13065 $as_echo "$CC" >&6; }
13066 else
13067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13068 $as_echo "no" >&6; }
13069 fi
13070
13071
13072 fi
13073 if test -z "$CC"; then
13074   if test -n "$ac_tool_prefix"; then
13075   for ac_prog in cl.exe
13076   do
13077     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13080 $as_echo_n "checking for $ac_word... " >&6; }
13081 if test "${ac_cv_prog_CC+set}" = set; then :
13082   $as_echo_n "(cached) " >&6
13083 else
13084   if test -n "$CC"; then
13085   ac_cv_prog_CC="$CC" # Let the user override the test.
13086 else
13087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13088 for as_dir in $PATH
13089 do
13090   IFS=$as_save_IFS
13091   test -z "$as_dir" && as_dir=.
13092     for ac_exec_ext in '' $ac_executable_extensions; do
13093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13094     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13096     break 2
13097   fi
13098 done
13099   done
13100 IFS=$as_save_IFS
13101
13102 fi
13103 fi
13104 CC=$ac_cv_prog_CC
13105 if test -n "$CC"; then
13106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13107 $as_echo "$CC" >&6; }
13108 else
13109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13110 $as_echo "no" >&6; }
13111 fi
13112
13113
13114     test -n "$CC" && break
13115   done
13116 fi
13117 if test -z "$CC"; then
13118   ac_ct_CC=$CC
13119   for ac_prog in cl.exe
13120 do
13121   # Extract the first word of "$ac_prog", so it can be a program name with args.
13122 set dummy $ac_prog; ac_word=$2
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13124 $as_echo_n "checking for $ac_word... " >&6; }
13125 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
13126   $as_echo_n "(cached) " >&6
13127 else
13128   if test -n "$ac_ct_CC"; then
13129   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13130 else
13131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13132 for as_dir in $PATH
13133 do
13134   IFS=$as_save_IFS
13135   test -z "$as_dir" && as_dir=.
13136     for ac_exec_ext in '' $ac_executable_extensions; do
13137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13138     ac_cv_prog_ac_ct_CC="$ac_prog"
13139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13140     break 2
13141   fi
13142 done
13143   done
13144 IFS=$as_save_IFS
13145
13146 fi
13147 fi
13148 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13149 if test -n "$ac_ct_CC"; then
13150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13151 $as_echo "$ac_ct_CC" >&6; }
13152 else
13153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13154 $as_echo "no" >&6; }
13155 fi
13156
13157
13158   test -n "$ac_ct_CC" && break
13159 done
13160
13161   if test "x$ac_ct_CC" = x; then
13162     CC=""
13163   else
13164     case $cross_compiling:$ac_tool_warned in
13165 yes:)
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13168 ac_tool_warned=yes ;;
13169 esac
13170     CC=$ac_ct_CC
13171   fi
13172 fi
13173
13174 fi
13175
13176
13177 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13179 as_fn_error $? "no acceptable C compiler found in \$PATH
13180 See \`config.log' for more details" "$LINENO" 5 ; }
13181
13182 # Provide some information about the compiler.
13183 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13184 set X $ac_compile
13185 ac_compiler=$2
13186 for ac_option in --version -v -V -qversion; do
13187   { { ac_try="$ac_compiler $ac_option >&5"
13188 case "(($ac_try" in
13189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13190   *) ac_try_echo=$ac_try;;
13191 esac
13192 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13193 $as_echo "$ac_try_echo"; } >&5
13194   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13195   ac_status=$?
13196   if test -s conftest.err; then
13197     sed '10a\
13198 ... rest of stderr output deleted ...
13199          10q' conftest.err >conftest.er1
13200     cat conftest.er1 >&5
13201   fi
13202   rm -f conftest.er1 conftest.err
13203   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204   test $ac_status = 0; }
13205 done
13206
13207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13208 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13209 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
13210   $as_echo_n "(cached) " >&6
13211 else
13212   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13213 /* end confdefs.h.  */
13214
13215 int
13216 main ()
13217 {
13218 #ifndef __GNUC__
13219        choke me
13220 #endif
13221
13222   ;
13223   return 0;
13224 }
13225 _ACEOF
13226 if ac_fn_c_try_compile "$LINENO"; then :
13227   ac_compiler_gnu=yes
13228 else
13229   ac_compiler_gnu=no
13230 fi
13231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13232 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13233
13234 fi
13235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13236 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
13237 if test $ac_compiler_gnu = yes; then
13238   GCC=yes
13239 else
13240   GCC=
13241 fi
13242 ac_test_CFLAGS=${CFLAGS+set}
13243 ac_save_CFLAGS=$CFLAGS
13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13245 $as_echo_n "checking whether $CC accepts -g... " >&6; }
13246 if test "${ac_cv_prog_cc_g+set}" = set; then :
13247   $as_echo_n "(cached) " >&6
13248 else
13249   ac_save_c_werror_flag=$ac_c_werror_flag
13250    ac_c_werror_flag=yes
13251    ac_cv_prog_cc_g=no
13252    CFLAGS="-g"
13253    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13254 /* end confdefs.h.  */
13255
13256 int
13257 main ()
13258 {
13259
13260   ;
13261   return 0;
13262 }
13263 _ACEOF
13264 if ac_fn_c_try_compile "$LINENO"; then :
13265   ac_cv_prog_cc_g=yes
13266 else
13267   CFLAGS=""
13268       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13269 /* end confdefs.h.  */
13270
13271 int
13272 main ()
13273 {
13274
13275   ;
13276   return 0;
13277 }
13278 _ACEOF
13279 if ac_fn_c_try_compile "$LINENO"; then :
13280
13281 else
13282   ac_c_werror_flag=$ac_save_c_werror_flag
13283          CFLAGS="-g"
13284          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h.  */
13286
13287 int
13288 main ()
13289 {
13290
13291   ;
13292   return 0;
13293 }
13294 _ACEOF
13295 if ac_fn_c_try_compile "$LINENO"; then :
13296   ac_cv_prog_cc_g=yes
13297 fi
13298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13299 fi
13300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13301 fi
13302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13303    ac_c_werror_flag=$ac_save_c_werror_flag
13304 fi
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13306 $as_echo "$ac_cv_prog_cc_g" >&6; }
13307 if test "$ac_test_CFLAGS" = set; then
13308   CFLAGS=$ac_save_CFLAGS
13309 elif test $ac_cv_prog_cc_g = yes; then
13310   if test "$GCC" = yes; then
13311     CFLAGS="-g -O2"
13312   else
13313     CFLAGS="-g"
13314   fi
13315 else
13316   if test "$GCC" = yes; then
13317     CFLAGS="-O2"
13318   else
13319     CFLAGS=
13320   fi
13321 fi
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13323 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13324 if test "${ac_cv_prog_cc_c89+set}" = set; then :
13325   $as_echo_n "(cached) " >&6
13326 else
13327   ac_cv_prog_cc_c89=no
13328 ac_save_CC=$CC
13329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13330 /* end confdefs.h.  */
13331 #include <stdarg.h>
13332 #include <stdio.h>
13333 #include <sys/types.h>
13334 #include <sys/stat.h>
13335 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13336 struct buf { int x; };
13337 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13338 static char *e (p, i)
13339      char **p;
13340      int i;
13341 {
13342   return p[i];
13343 }
13344 static char *f (char * (*g) (char **, int), char **p, ...)
13345 {
13346   char *s;
13347   va_list v;
13348   va_start (v,p);
13349   s = g (p, va_arg (v,int));
13350   va_end (v);
13351   return s;
13352 }
13353
13354 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13355    function prototypes and stuff, but not '\xHH' hex character constants.
13356    These don't provoke an error unfortunately, instead are silently treated
13357    as 'x'.  The following induces an error, until -std is added to get
13358    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13359    array size at least.  It's necessary to write '\x00'==0 to get something
13360    that's true only with -std.  */
13361 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13362
13363 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13364    inside strings and character constants.  */
13365 #define FOO(x) 'x'
13366 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13367
13368 int test (int i, double x);
13369 struct s1 {int (*f) (int a);};
13370 struct s2 {int (*f) (double a);};
13371 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13372 int argc;
13373 char **argv;
13374 int
13375 main ()
13376 {
13377 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13378   ;
13379   return 0;
13380 }
13381 _ACEOF
13382 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13383         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13384 do
13385   CC="$ac_save_CC $ac_arg"
13386   if ac_fn_c_try_compile "$LINENO"; then :
13387   ac_cv_prog_cc_c89=$ac_arg
13388 fi
13389 rm -f core conftest.err conftest.$ac_objext
13390   test "x$ac_cv_prog_cc_c89" != "xno" && break
13391 done
13392 rm -f conftest.$ac_ext
13393 CC=$ac_save_CC
13394
13395 fi
13396 # AC_CACHE_VAL
13397 case "x$ac_cv_prog_cc_c89" in
13398   x)
13399     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13400 $as_echo "none needed" >&6; } ;;
13401   xno)
13402     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13403 $as_echo "unsupported" >&6; } ;;
13404   *)
13405     CC="$CC $ac_cv_prog_cc_c89"
13406     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13407 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13408 esac
13409 if test "x$ac_cv_prog_cc_c89" != xno; then :
13410
13411 fi
13412
13413 ac_ext=c
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13418
13419 depcc="$CC"   am_compiler_list=
13420
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13422 $as_echo_n "checking dependency style of $depcc... " >&6; }
13423 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
13424   $as_echo_n "(cached) " >&6
13425 else
13426   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13427   # We make a subdir and do the tests there.  Otherwise we can end up
13428   # making bogus files that we don't know about and never remove.  For
13429   # instance it was reported that on HP-UX the gcc test will end up
13430   # making a dummy file named `D' -- because `-MD' means `put the output
13431   # in D'.
13432   mkdir conftest.dir
13433   # Copy depcomp to subdir because otherwise we won't find it if we're
13434   # using a relative directory.
13435   cp "$am_depcomp" conftest.dir
13436   cd conftest.dir
13437   # We will build objects and dependencies in a subdirectory because
13438   # it helps to detect inapplicable dependency modes.  For instance
13439   # both Tru64's cc and ICC support -MD to output dependencies as a
13440   # side effect of compilation, but ICC will put the dependencies in
13441   # the current directory while Tru64 will put them in the object
13442   # directory.
13443   mkdir sub
13444
13445   am_cv_CC_dependencies_compiler_type=none
13446   if test "$am_compiler_list" = ""; then
13447      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13448   fi
13449   am__universal=false
13450   case " $depcc " in #(
13451      *\ -arch\ *\ -arch\ *) am__universal=true ;;
13452      esac
13453
13454   for depmode in $am_compiler_list; do
13455     # Setup a source with many dependencies, because some compilers
13456     # like to wrap large dependency lists on column 80 (with \), and
13457     # we should not choose a depcomp mode which is confused by this.
13458     #
13459     # We need to recreate these files for each test, as the compiler may
13460     # overwrite some of them when testing with obscure command lines.
13461     # This happens at least with the AIX C compiler.
13462     : > sub/conftest.c
13463     for i in 1 2 3 4 5 6; do
13464       echo '#include "conftst'$i'.h"' >> sub/conftest.c
13465       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13466       # Solaris 8's {/usr,}/bin/sh.
13467       touch sub/conftst$i.h
13468     done
13469     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13470
13471     # We check with `-c' and `-o' for the sake of the "dashmstdout"
13472     # mode.  It turns out that the SunPro C++ compiler does not properly
13473     # handle `-M -o', and we need to detect this.  Also, some Intel
13474     # versions had trouble with output in subdirs
13475     am__obj=sub/conftest.${OBJEXT-o}
13476     am__minus_obj="-o $am__obj"
13477     case $depmode in
13478     gcc)
13479       # This depmode causes a compiler race in universal mode.
13480       test "$am__universal" = false || continue
13481       ;;
13482     nosideeffect)
13483       # after this tag, mechanisms are not by side-effect, so they'll
13484       # only be used when explicitly requested
13485       if test "x$enable_dependency_tracking" = xyes; then
13486         continue
13487       else
13488         break
13489       fi
13490       ;;
13491     msvisualcpp | msvcmsys)
13492       # This compiler won't grok `-c -o', but also, the minuso test has
13493       # not run yet.  These depmodes are late enough in the game, and
13494       # so weak that their functioning should not be impacted.
13495       am__obj=conftest.${OBJEXT-o}
13496       am__minus_obj=
13497       ;;
13498     none) break ;;
13499     esac
13500     if depmode=$depmode \
13501        source=sub/conftest.c object=$am__obj \
13502        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13503        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13504          >/dev/null 2>conftest.err &&
13505        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13506        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13507        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13508        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13509       # icc doesn't choke on unknown options, it will just issue warnings
13510       # or remarks (even with -Werror).  So we grep stderr for any message
13511       # that says an option was ignored or not supported.
13512       # When given -MP, icc 7.0 and 7.1 complain thusly:
13513       #   icc: Command line warning: ignoring option '-M'; no argument required
13514       # The diagnosis changed in icc 8.0:
13515       #   icc: Command line remark: option '-MP' not supported
13516       if (grep 'ignoring option' conftest.err ||
13517           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13518         am_cv_CC_dependencies_compiler_type=$depmode
13519         break
13520       fi
13521     fi
13522   done
13523
13524   cd ..
13525   rm -rf conftest.dir
13526 else
13527   am_cv_CC_dependencies_compiler_type=none
13528 fi
13529
13530 fi
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13532 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13533 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13534
13535  if
13536   test "x$enable_dependency_tracking" != xno \
13537   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13538   am__fastdepCC_TRUE=
13539   am__fastdepCC_FALSE='#'
13540 else
13541   am__fastdepCC_TRUE='#'
13542   am__fastdepCC_FALSE=
13543 fi
13544
13545
13546
13547 # pkg-config
13548
13549
13550
13551
13552
13553
13554 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13555         if test -n "$ac_tool_prefix"; then
13556   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13557 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13559 $as_echo_n "checking for $ac_word... " >&6; }
13560 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
13561   $as_echo_n "(cached) " >&6
13562 else
13563   case $PKG_CONFIG in
13564   [\\/]* | ?:[\\/]*)
13565   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13566   ;;
13567   *)
13568   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13569 for as_dir in $PATH
13570 do
13571   IFS=$as_save_IFS
13572   test -z "$as_dir" && as_dir=.
13573     for ac_exec_ext in '' $ac_executable_extensions; do
13574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13575     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13577     break 2
13578   fi
13579 done
13580   done
13581 IFS=$as_save_IFS
13582
13583   ;;
13584 esac
13585 fi
13586 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13587 if test -n "$PKG_CONFIG"; then
13588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13589 $as_echo "$PKG_CONFIG" >&6; }
13590 else
13591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13592 $as_echo "no" >&6; }
13593 fi
13594
13595
13596 fi
13597 if test -z "$ac_cv_path_PKG_CONFIG"; then
13598   ac_pt_PKG_CONFIG=$PKG_CONFIG
13599   # Extract the first word of "pkg-config", so it can be a program name with args.
13600 set dummy pkg-config; ac_word=$2
13601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13602 $as_echo_n "checking for $ac_word... " >&6; }
13603 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13604   $as_echo_n "(cached) " >&6
13605 else
13606   case $ac_pt_PKG_CONFIG in
13607   [\\/]* | ?:[\\/]*)
13608   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13609   ;;
13610   *)
13611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13612 for as_dir in $PATH
13613 do
13614   IFS=$as_save_IFS
13615   test -z "$as_dir" && as_dir=.
13616     for ac_exec_ext in '' $ac_executable_extensions; do
13617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13618     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13619     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13620     break 2
13621   fi
13622 done
13623   done
13624 IFS=$as_save_IFS
13625
13626   ;;
13627 esac
13628 fi
13629 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13630 if test -n "$ac_pt_PKG_CONFIG"; then
13631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13632 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13633 else
13634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13635 $as_echo "no" >&6; }
13636 fi
13637
13638   if test "x$ac_pt_PKG_CONFIG" = x; then
13639     PKG_CONFIG=""
13640   else
13641     case $cross_compiling:$ac_tool_warned in
13642 yes:)
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13644 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13645 ac_tool_warned=yes ;;
13646 esac
13647     PKG_CONFIG=$ac_pt_PKG_CONFIG
13648   fi
13649 else
13650   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13651 fi
13652
13653 fi
13654 if test -n "$PKG_CONFIG"; then
13655         _pkg_min_version=0.9.0
13656         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13657 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13658         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13659                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13660 $as_echo "yes" >&6; }
13661         else
13662                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13663 $as_echo "no" >&6; }
13664                 PKG_CONFIG=""
13665         fi
13666 fi
13667
13668 # Check whether pkg-config supports Requires.private
13669 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13670    pkgconfig_requires_private="Requires.private"
13671 else
13672    pkgconfig_requires_private="Requires"
13673 fi
13674
13675
13676 # doxygen program for documentation building
13677
13678
13679 # Check whether --enable-doc was given.
13680 if test "${enable_doc+set}" = set; then :
13681   enableval=$enable_doc;
13682     if test "x${enableval}" = "xyes" ; then
13683        efl_enable_doc="yes"
13684     else
13685        efl_enable_doc="no"
13686     fi
13687
13688 else
13689   efl_enable_doc="yes"
13690 fi
13691
13692
13693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
13694 $as_echo_n "checking whether to build documentation... " >&6; }
13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
13696 $as_echo "${efl_enable_doc}" >&6; }
13697
13698 if test "x${efl_enable_doc}" = "xyes" ; then
13699
13700
13701    efl_doxygen="doxygen"
13702
13703
13704 # Check whether --with-doxygen was given.
13705 if test "${with_doxygen+set}" = set; then :
13706   withval=$with_doxygen;
13707       efl_doxygen=${withval}
13708        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13709 set dummy ${efl_doxygen}; ac_word=$2
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13711 $as_echo_n "checking for $ac_word... " >&6; }
13712 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
13713   $as_echo_n "(cached) " >&6
13714 else
13715   if test -n "$efl_have_doxygen"; then
13716   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13717 else
13718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13719 for as_dir in $PATH
13720 do
13721   IFS=$as_save_IFS
13722   test -z "$as_dir" && as_dir=.
13723     for ac_exec_ext in '' $ac_executable_extensions; do
13724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13725     ac_cv_prog_efl_have_doxygen="yes"
13726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13727     break 2
13728   fi
13729 done
13730   done
13731 IFS=$as_save_IFS
13732
13733   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13734 fi
13735 fi
13736 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13737 if test -n "$efl_have_doxygen"; then
13738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13739 $as_echo "$efl_have_doxygen" >&6; }
13740 else
13741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13742 $as_echo "no" >&6; }
13743 fi
13744
13745
13746        if test "x${efl_have_doxygen}" = "xno" ; then
13747           echo "WARNING:"
13748           echo "The doxygen program you specified:"
13749           echo "${efl_doxygen}"
13750           echo "was not found.  Please check the path and make sure "
13751           echo "the program exists and is executable."
13752           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13753 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13754        fi
13755
13756 else
13757   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
13758 set dummy ${efl_doxygen}; ac_word=$2
13759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13760 $as_echo_n "checking for $ac_word... " >&6; }
13761 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
13762   $as_echo_n "(cached) " >&6
13763 else
13764   if test -n "$efl_have_doxygen"; then
13765   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
13766 else
13767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13768 for as_dir in $PATH
13769 do
13770   IFS=$as_save_IFS
13771   test -z "$as_dir" && as_dir=.
13772     for ac_exec_ext in '' $ac_executable_extensions; do
13773   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13774     ac_cv_prog_efl_have_doxygen="yes"
13775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13776     break 2
13777   fi
13778 done
13779   done
13780 IFS=$as_save_IFS
13781
13782   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
13783 fi
13784 fi
13785 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
13786 if test -n "$efl_have_doxygen"; then
13787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
13788 $as_echo "$efl_have_doxygen" >&6; }
13789 else
13790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13791 $as_echo "no" >&6; }
13792 fi
13793
13794
13795        if test "x${efl_have_doxygen}" = "xno" ; then
13796           echo "WARNING:"
13797           echo "The doxygen program was not found in your execute path."
13798           echo "You may have doxygen installed somewhere not covered by your path."
13799           echo ""
13800           echo "If this is the case make sure you have the packages installed, AND"
13801           echo "that the doxygen program is in your execute path (see your"
13802           echo "shell manual page on setting the \$PATH environment variable), OR"
13803           echo "alternatively, specify the program to use with --with-doxygen."
13804           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
13805 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
13806        fi
13807
13808 fi
13809
13810 fi
13811
13812
13813
13814 if ! test "x${efl_have_doxygen}" = "xyes" ; then
13815    efl_enable_doc="no"
13816 fi
13817
13818  if test "x${efl_enable_doc}" = "xyes"; then
13819   EFL_BUILD_DOC_TRUE=
13820   EFL_BUILD_DOC_FALSE='#'
13821 else
13822   EFL_BUILD_DOC_TRUE='#'
13823   EFL_BUILD_DOC_FALSE=
13824 fi
13825
13826
13827 if test "x${efl_enable_doc}" = "xyes" ; then
13828   build_doc="yes"
13829 else
13830   build_doc="no"
13831 fi
13832
13833
13834
13835
13836 ### Checks for libraries
13837
13838 # Evil library for compilation on Windows CE
13839
13840 EFL_EFREET_BUILD=""
13841 EFL_EFREET_MIME_BUILD=""
13842 EFL_EFREET_TRASH_BUILD=""
13843 case "$host_os" in
13844    mingw*)
13845
13846 pkg_failed=no
13847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13848 $as_echo_n "checking for EVIL... " >&6; }
13849
13850 if test -n "$EVIL_CFLAGS"; then
13851     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13852  elif test -n "$PKG_CONFIG"; then
13853     if test -n "$PKG_CONFIG" && \
13854     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13855   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13856   ac_status=$?
13857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13858   test $ac_status = 0; }; then
13859   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.6.99" 2>/dev/null`
13860 else
13861   pkg_failed=yes
13862 fi
13863  else
13864     pkg_failed=untried
13865 fi
13866 if test -n "$EVIL_LIBS"; then
13867     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13868  elif test -n "$PKG_CONFIG"; then
13869     if test -n "$PKG_CONFIG" && \
13870     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.6.99\""; } >&5
13871   ($PKG_CONFIG --exists --print-errors "evil >= 1.6.99") 2>&5
13872   ac_status=$?
13873   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13874   test $ac_status = 0; }; then
13875   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.6.99" 2>/dev/null`
13876 else
13877   pkg_failed=yes
13878 fi
13879  else
13880     pkg_failed=untried
13881 fi
13882
13883
13884
13885 if test $pkg_failed = yes; then
13886         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13887 $as_echo "no" >&6; }
13888
13889 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13890         _pkg_short_errors_supported=yes
13891 else
13892         _pkg_short_errors_supported=no
13893 fi
13894         if test $_pkg_short_errors_supported = yes; then
13895                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.6.99" 2>&1`
13896         else
13897                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.6.99" 2>&1`
13898         fi
13899         # Put the nasty error message in config.log where it belongs
13900         echo "$EVIL_PKG_ERRORS" >&5
13901
13902         as_fn_error $? "Package requirements (evil >= 1.6.99) were not met:
13903
13904 $EVIL_PKG_ERRORS
13905
13906 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13907 installed software in a non-standard prefix.
13908
13909 Alternatively, you may set the environment variables EVIL_CFLAGS
13910 and EVIL_LIBS to avoid the need to call pkg-config.
13911 See the pkg-config man page for more details." "$LINENO" 5
13912 elif test $pkg_failed = untried; then
13913         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13914 $as_echo "no" >&6; }
13915         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13916 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13917 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13918 is in your PATH or set the PKG_CONFIG environment variable to the full
13919 path to pkg-config.
13920
13921 Alternatively, you may set the environment variables EVIL_CFLAGS
13922 and EVIL_LIBS to avoid the need to call pkg-config.
13923 See the pkg-config man page for more details.
13924
13925 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13926 See \`config.log' for more details" "$LINENO" 5 ; }
13927 else
13928         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13929         EVIL_LIBS=$pkg_cv_EVIL_LIBS
13930         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13931 $as_echo "yes" >&6; }
13932
13933 fi
13934
13935 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13936
13937       requirement_efreet="evil"
13938       EFL_EFREET_BUILD="-DEFL_EFREET_BUILD"
13939       EFL_EFREET_MIME_BUILD="-DEFL_EFREET_MIME_BUILD"
13940       EFL_EFREET_TRASH_BUILD="-DEFL_EFREET_TRASH_BUILD"
13941    ;;
13942 esac
13943
13944
13945
13946
13947 requirement_efreet="ecore-file >= 1.6.99 ecore >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99 ${requirement_efreet}"
13948
13949 pkg_failed=no
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EFREET" >&5
13951 $as_echo_n "checking for EFREET... " >&6; }
13952
13953 if test -n "$EFREET_CFLAGS"; then
13954     pkg_cv_EFREET_CFLAGS="$EFREET_CFLAGS"
13955  elif test -n "$PKG_CONFIG"; then
13956     if test -n "$PKG_CONFIG" && \
13957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
13958   ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
13959   ac_status=$?
13960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13961   test $ac_status = 0; }; then
13962   pkg_cv_EFREET_CFLAGS=`$PKG_CONFIG --cflags "${requirement_efreet}" 2>/dev/null`
13963 else
13964   pkg_failed=yes
13965 fi
13966  else
13967     pkg_failed=untried
13968 fi
13969 if test -n "$EFREET_LIBS"; then
13970     pkg_cv_EFREET_LIBS="$EFREET_LIBS"
13971  elif test -n "$PKG_CONFIG"; then
13972     if test -n "$PKG_CONFIG" && \
13973     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_efreet}\""; } >&5
13974   ($PKG_CONFIG --exists --print-errors "${requirement_efreet}") 2>&5
13975   ac_status=$?
13976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13977   test $ac_status = 0; }; then
13978   pkg_cv_EFREET_LIBS=`$PKG_CONFIG --libs "${requirement_efreet}" 2>/dev/null`
13979 else
13980   pkg_failed=yes
13981 fi
13982  else
13983     pkg_failed=untried
13984 fi
13985
13986
13987
13988 if test $pkg_failed = yes; then
13989         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13990 $as_echo "no" >&6; }
13991
13992 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13993         _pkg_short_errors_supported=yes
13994 else
13995         _pkg_short_errors_supported=no
13996 fi
13997         if test $_pkg_short_errors_supported = yes; then
13998                 EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_efreet}" 2>&1`
13999         else
14000                 EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_efreet}" 2>&1`
14001         fi
14002         # Put the nasty error message in config.log where it belongs
14003         echo "$EFREET_PKG_ERRORS" >&5
14004
14005         as_fn_error $? "Package requirements (${requirement_efreet}) were not met:
14006
14007 $EFREET_PKG_ERRORS
14008
14009 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14010 installed software in a non-standard prefix.
14011
14012 Alternatively, you may set the environment variables EFREET_CFLAGS
14013 and EFREET_LIBS to avoid the need to call pkg-config.
14014 See the pkg-config man page for more details." "$LINENO" 5
14015 elif test $pkg_failed = untried; then
14016         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14017 $as_echo "no" >&6; }
14018         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14020 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14021 is in your PATH or set the PKG_CONFIG environment variable to the full
14022 path to pkg-config.
14023
14024 Alternatively, you may set the environment variables EFREET_CFLAGS
14025 and EFREET_LIBS to avoid the need to call pkg-config.
14026 See the pkg-config man page for more details.
14027
14028 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14029 See \`config.log' for more details" "$LINENO" 5 ; }
14030 else
14031         EFREET_CFLAGS=$pkg_cv_EFREET_CFLAGS
14032         EFREET_LIBS=$pkg_cv_EFREET_LIBS
14033         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14034 $as_echo "yes" >&6; }
14035
14036 fi
14037
14038 pkg_failed=no
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
14040 $as_echo_n "checking for EINA... " >&6; }
14041
14042 if test -n "$EINA_CFLAGS"; then
14043     pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
14044  elif test -n "$PKG_CONFIG"; then
14045     if test -n "$PKG_CONFIG" && \
14046     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14047   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14048   ac_status=$?
14049   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14050   test $ac_status = 0; }; then
14051   pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99" 2>/dev/null`
14052 else
14053   pkg_failed=yes
14054 fi
14055  else
14056     pkg_failed=untried
14057 fi
14058 if test -n "$EINA_LIBS"; then
14059     pkg_cv_EINA_LIBS="$EINA_LIBS"
14060  elif test -n "$PKG_CONFIG"; then
14061     if test -n "$PKG_CONFIG" && \
14062     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99\""; } >&5
14063   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99") 2>&5
14064   ac_status=$?
14065   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066   test $ac_status = 0; }; then
14067   pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99" 2>/dev/null`
14068 else
14069   pkg_failed=yes
14070 fi
14071  else
14072     pkg_failed=untried
14073 fi
14074
14075
14076
14077 if test $pkg_failed = yes; then
14078         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14079 $as_echo "no" >&6; }
14080
14081 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14082         _pkg_short_errors_supported=yes
14083 else
14084         _pkg_short_errors_supported=no
14085 fi
14086         if test $_pkg_short_errors_supported = yes; then
14087                 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.6.99" 2>&1`
14088         else
14089                 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.6.99" 2>&1`
14090         fi
14091         # Put the nasty error message in config.log where it belongs
14092         echo "$EINA_PKG_ERRORS" >&5
14093
14094         as_fn_error $? "Package requirements (eina >= 1.6.99) were not met:
14095
14096 $EINA_PKG_ERRORS
14097
14098 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14099 installed software in a non-standard prefix.
14100
14101 Alternatively, you may set the environment variables EINA_CFLAGS
14102 and EINA_LIBS to avoid the need to call pkg-config.
14103 See the pkg-config man page for more details." "$LINENO" 5
14104 elif test $pkg_failed = untried; then
14105         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14106 $as_echo "no" >&6; }
14107         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14108 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14109 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14110 is in your PATH or set the PKG_CONFIG environment variable to the full
14111 path to pkg-config.
14112
14113 Alternatively, you may set the environment variables EINA_CFLAGS
14114 and EINA_LIBS to avoid the need to call pkg-config.
14115 See the pkg-config man page for more details.
14116
14117 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14118 See \`config.log' for more details" "$LINENO" 5 ; }
14119 else
14120         EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
14121         EINA_LIBS=$pkg_cv_EINA_LIBS
14122         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14123 $as_echo "yes" >&6; }
14124
14125 fi
14126
14127
14128 ### Checks for header files
14129
14130 for ac_header in netinet/in.h arpa/inet.h
14131 do :
14132   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14133 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14135   cat >>confdefs.h <<_ACEOF
14136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14137 _ACEOF
14138
14139 fi
14140
14141 done
14142
14143
14144 ### Checks for types
14145
14146
14147 ### Checks for structures
14148
14149
14150 ### Checks for compiler characteristics
14151
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14153 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14154 if test "${ac_cv_c_const+set}" = set; then :
14155   $as_echo_n "(cached) " >&6
14156 else
14157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h.  */
14159
14160 int
14161 main ()
14162 {
14163 /* FIXME: Include the comments suggested by Paul. */
14164 #ifndef __cplusplus
14165   /* Ultrix mips cc rejects this.  */
14166   typedef int charset[2];
14167   const charset cs;
14168   /* SunOS 4.1.1 cc rejects this.  */
14169   char const *const *pcpcc;
14170   char **ppc;
14171   /* NEC SVR4.0.2 mips cc rejects this.  */
14172   struct point {int x, y;};
14173   static struct point const zero = {0,0};
14174   /* AIX XL C 1.02.0.0 rejects this.
14175      It does not let you subtract one const X* pointer from another in
14176      an arm of an if-expression whose if-part is not a constant
14177      expression */
14178   const char *g = "string";
14179   pcpcc = &g + (g ? g-g : 0);
14180   /* HPUX 7.0 cc rejects these. */
14181   ++pcpcc;
14182   ppc = (char**) pcpcc;
14183   pcpcc = (char const *const *) ppc;
14184   { /* SCO 3.2v4 cc rejects this.  */
14185     char *t;
14186     char const *s = 0 ? (char *) 0 : (char const *) 0;
14187
14188     *t++ = 0;
14189     if (s) return 0;
14190   }
14191   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
14192     int x[] = {25, 17};
14193     const int *foo = &x[0];
14194     ++foo;
14195   }
14196   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14197     typedef const int *iptr;
14198     iptr p = 0;
14199     ++p;
14200   }
14201   { /* AIX XL C 1.02.0.0 rejects this saying
14202        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14203     struct s { int j; const int *ap[3]; };
14204     struct s *b; b->j = 5;
14205   }
14206   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14207     const int foo = 10;
14208     if (!foo) return 0;
14209   }
14210   return !cs[0] && !zero.x;
14211 #endif
14212
14213   ;
14214   return 0;
14215 }
14216 _ACEOF
14217 if ac_fn_c_try_compile "$LINENO"; then :
14218   ac_cv_c_const=yes
14219 else
14220   ac_cv_c_const=no
14221 fi
14222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14223 fi
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14225 $as_echo "$ac_cv_c_const" >&6; }
14226 if test $ac_cv_c_const = no; then
14227
14228 $as_echo "#define const /**/" >>confdefs.h
14229
14230 fi
14231
14232
14233
14234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
14235 $as_echo_n "checking for __attribute__... " >&6; }
14236
14237 if test "${ac_cv___attribute__+set}" = set; then :
14238   $as_echo_n "(cached) " >&6
14239 else
14240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h.  */
14242
14243 #include <stdlib.h>
14244
14245 int func(int x);
14246 int foo(int x __attribute__ ((unused)))
14247 {
14248    exit(1);
14249 }
14250
14251 int
14252 main ()
14253 {
14254
14255   ;
14256   return 0;
14257 }
14258 _ACEOF
14259 if ac_fn_c_try_compile "$LINENO"; then :
14260   ac_cv___attribute__="yes"
14261 else
14262   ac_cv___attribute__="no"
14263
14264 fi
14265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14266 fi
14267
14268
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
14270 $as_echo "$ac_cv___attribute__" >&6; }
14271
14272 if test "x${ac_cv___attribute__}" = "xyes" ; then
14273
14274 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
14275
14276
14277 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
14278
14279   else
14280
14281 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
14282
14283 fi
14284
14285
14286 ac_ext=c
14287 ac_cpp='$CPP $CPPFLAGS'
14288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14291 if test -n "$ac_tool_prefix"; then
14292   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14293 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14295 $as_echo_n "checking for $ac_word... " >&6; }
14296 if test "${ac_cv_prog_CC+set}" = set; then :
14297   $as_echo_n "(cached) " >&6
14298 else
14299   if test -n "$CC"; then
14300   ac_cv_prog_CC="$CC" # Let the user override the test.
14301 else
14302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14303 for as_dir in $PATH
14304 do
14305   IFS=$as_save_IFS
14306   test -z "$as_dir" && as_dir=.
14307     for ac_exec_ext in '' $ac_executable_extensions; do
14308   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14309     ac_cv_prog_CC="${ac_tool_prefix}gcc"
14310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14311     break 2
14312   fi
14313 done
14314   done
14315 IFS=$as_save_IFS
14316
14317 fi
14318 fi
14319 CC=$ac_cv_prog_CC
14320 if test -n "$CC"; then
14321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14322 $as_echo "$CC" >&6; }
14323 else
14324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325 $as_echo "no" >&6; }
14326 fi
14327
14328
14329 fi
14330 if test -z "$ac_cv_prog_CC"; then
14331   ac_ct_CC=$CC
14332   # Extract the first word of "gcc", so it can be a program name with args.
14333 set dummy gcc; ac_word=$2
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14335 $as_echo_n "checking for $ac_word... " >&6; }
14336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
14337   $as_echo_n "(cached) " >&6
14338 else
14339   if test -n "$ac_ct_CC"; then
14340   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14341 else
14342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14343 for as_dir in $PATH
14344 do
14345   IFS=$as_save_IFS
14346   test -z "$as_dir" && as_dir=.
14347     for ac_exec_ext in '' $ac_executable_extensions; do
14348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14349     ac_cv_prog_ac_ct_CC="gcc"
14350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14351     break 2
14352   fi
14353 done
14354   done
14355 IFS=$as_save_IFS
14356
14357 fi
14358 fi
14359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14360 if test -n "$ac_ct_CC"; then
14361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14362 $as_echo "$ac_ct_CC" >&6; }
14363 else
14364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14365 $as_echo "no" >&6; }
14366 fi
14367
14368   if test "x$ac_ct_CC" = x; then
14369     CC=""
14370   else
14371     case $cross_compiling:$ac_tool_warned in
14372 yes:)
14373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14375 ac_tool_warned=yes ;;
14376 esac
14377     CC=$ac_ct_CC
14378   fi
14379 else
14380   CC="$ac_cv_prog_CC"
14381 fi
14382
14383 if test -z "$CC"; then
14384           if test -n "$ac_tool_prefix"; then
14385     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14386 set dummy ${ac_tool_prefix}cc; ac_word=$2
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14388 $as_echo_n "checking for $ac_word... " >&6; }
14389 if test "${ac_cv_prog_CC+set}" = set; then :
14390   $as_echo_n "(cached) " >&6
14391 else
14392   if test -n "$CC"; then
14393   ac_cv_prog_CC="$CC" # Let the user override the test.
14394 else
14395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14396 for as_dir in $PATH
14397 do
14398   IFS=$as_save_IFS
14399   test -z "$as_dir" && as_dir=.
14400     for ac_exec_ext in '' $ac_executable_extensions; do
14401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14402     ac_cv_prog_CC="${ac_tool_prefix}cc"
14403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14404     break 2
14405   fi
14406 done
14407   done
14408 IFS=$as_save_IFS
14409
14410 fi
14411 fi
14412 CC=$ac_cv_prog_CC
14413 if test -n "$CC"; then
14414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14415 $as_echo "$CC" >&6; }
14416 else
14417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14418 $as_echo "no" >&6; }
14419 fi
14420
14421
14422   fi
14423 fi
14424 if test -z "$CC"; then
14425   # Extract the first word of "cc", so it can be a program name with args.
14426 set dummy cc; ac_word=$2
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14428 $as_echo_n "checking for $ac_word... " >&6; }
14429 if test "${ac_cv_prog_CC+set}" = set; then :
14430   $as_echo_n "(cached) " >&6
14431 else
14432   if test -n "$CC"; then
14433   ac_cv_prog_CC="$CC" # Let the user override the test.
14434 else
14435   ac_prog_rejected=no
14436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14437 for as_dir in $PATH
14438 do
14439   IFS=$as_save_IFS
14440   test -z "$as_dir" && as_dir=.
14441     for ac_exec_ext in '' $ac_executable_extensions; do
14442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14443     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14444        ac_prog_rejected=yes
14445        continue
14446      fi
14447     ac_cv_prog_CC="cc"
14448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14449     break 2
14450   fi
14451 done
14452   done
14453 IFS=$as_save_IFS
14454
14455 if test $ac_prog_rejected = yes; then
14456   # We found a bogon in the path, so make sure we never use it.
14457   set dummy $ac_cv_prog_CC
14458   shift
14459   if test $# != 0; then
14460     # We chose a different compiler from the bogus one.
14461     # However, it has the same basename, so the bogon will be chosen
14462     # first if we set CC to just the basename; use the full file name.
14463     shift
14464     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14465   fi
14466 fi
14467 fi
14468 fi
14469 CC=$ac_cv_prog_CC
14470 if test -n "$CC"; then
14471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14472 $as_echo "$CC" >&6; }
14473 else
14474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14475 $as_echo "no" >&6; }
14476 fi
14477
14478
14479 fi
14480 if test -z "$CC"; then
14481   if test -n "$ac_tool_prefix"; then
14482   for ac_prog in cl.exe
14483   do
14484     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14485 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14487 $as_echo_n "checking for $ac_word... " >&6; }
14488 if test "${ac_cv_prog_CC+set}" = set; then :
14489   $as_echo_n "(cached) " >&6
14490 else
14491   if test -n "$CC"; then
14492   ac_cv_prog_CC="$CC" # Let the user override the test.
14493 else
14494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14495 for as_dir in $PATH
14496 do
14497   IFS=$as_save_IFS
14498   test -z "$as_dir" && as_dir=.
14499     for ac_exec_ext in '' $ac_executable_extensions; do
14500   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14501     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14502     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14503     break 2
14504   fi
14505 done
14506   done
14507 IFS=$as_save_IFS
14508
14509 fi
14510 fi
14511 CC=$ac_cv_prog_CC
14512 if test -n "$CC"; then
14513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
14514 $as_echo "$CC" >&6; }
14515 else
14516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14517 $as_echo "no" >&6; }
14518 fi
14519
14520
14521     test -n "$CC" && break
14522   done
14523 fi
14524 if test -z "$CC"; then
14525   ac_ct_CC=$CC
14526   for ac_prog in cl.exe
14527 do
14528   # Extract the first word of "$ac_prog", so it can be a program name with args.
14529 set dummy $ac_prog; ac_word=$2
14530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14531 $as_echo_n "checking for $ac_word... " >&6; }
14532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
14533   $as_echo_n "(cached) " >&6
14534 else
14535   if test -n "$ac_ct_CC"; then
14536   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14537 else
14538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14539 for as_dir in $PATH
14540 do
14541   IFS=$as_save_IFS
14542   test -z "$as_dir" && as_dir=.
14543     for ac_exec_ext in '' $ac_executable_extensions; do
14544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14545     ac_cv_prog_ac_ct_CC="$ac_prog"
14546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14547     break 2
14548   fi
14549 done
14550   done
14551 IFS=$as_save_IFS
14552
14553 fi
14554 fi
14555 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14556 if test -n "$ac_ct_CC"; then
14557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14558 $as_echo "$ac_ct_CC" >&6; }
14559 else
14560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14561 $as_echo "no" >&6; }
14562 fi
14563
14564
14565   test -n "$ac_ct_CC" && break
14566 done
14567
14568   if test "x$ac_ct_CC" = x; then
14569     CC=""
14570   else
14571     case $cross_compiling:$ac_tool_warned in
14572 yes:)
14573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14574 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14575 ac_tool_warned=yes ;;
14576 esac
14577     CC=$ac_ct_CC
14578   fi
14579 fi
14580
14581 fi
14582
14583
14584 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14586 as_fn_error $? "no acceptable C compiler found in \$PATH
14587 See \`config.log' for more details" "$LINENO" 5 ; }
14588
14589 # Provide some information about the compiler.
14590 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
14591 set X $ac_compile
14592 ac_compiler=$2
14593 for ac_option in --version -v -V -qversion; do
14594   { { ac_try="$ac_compiler $ac_option >&5"
14595 case "(($ac_try" in
14596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14597   *) ac_try_echo=$ac_try;;
14598 esac
14599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14600 $as_echo "$ac_try_echo"; } >&5
14601   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14602   ac_status=$?
14603   if test -s conftest.err; then
14604     sed '10a\
14605 ... rest of stderr output deleted ...
14606          10q' conftest.err >conftest.er1
14607     cat conftest.er1 >&5
14608   fi
14609   rm -f conftest.er1 conftest.err
14610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14611   test $ac_status = 0; }
14612 done
14613
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14615 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14616 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
14617   $as_echo_n "(cached) " >&6
14618 else
14619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14620 /* end confdefs.h.  */
14621
14622 int
14623 main ()
14624 {
14625 #ifndef __GNUC__
14626        choke me
14627 #endif
14628
14629   ;
14630   return 0;
14631 }
14632 _ACEOF
14633 if ac_fn_c_try_compile "$LINENO"; then :
14634   ac_compiler_gnu=yes
14635 else
14636   ac_compiler_gnu=no
14637 fi
14638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14639 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14640
14641 fi
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14643 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
14644 if test $ac_compiler_gnu = yes; then
14645   GCC=yes
14646 else
14647   GCC=
14648 fi
14649 ac_test_CFLAGS=${CFLAGS+set}
14650 ac_save_CFLAGS=$CFLAGS
14651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14652 $as_echo_n "checking whether $CC accepts -g... " >&6; }
14653 if test "${ac_cv_prog_cc_g+set}" = set; then :
14654   $as_echo_n "(cached) " >&6
14655 else
14656   ac_save_c_werror_flag=$ac_c_werror_flag
14657    ac_c_werror_flag=yes
14658    ac_cv_prog_cc_g=no
14659    CFLAGS="-g"
14660    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h.  */
14662
14663 int
14664 main ()
14665 {
14666
14667   ;
14668   return 0;
14669 }
14670 _ACEOF
14671 if ac_fn_c_try_compile "$LINENO"; then :
14672   ac_cv_prog_cc_g=yes
14673 else
14674   CFLAGS=""
14675       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14676 /* end confdefs.h.  */
14677
14678 int
14679 main ()
14680 {
14681
14682   ;
14683   return 0;
14684 }
14685 _ACEOF
14686 if ac_fn_c_try_compile "$LINENO"; then :
14687
14688 else
14689   ac_c_werror_flag=$ac_save_c_werror_flag
14690          CFLAGS="-g"
14691          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14692 /* end confdefs.h.  */
14693
14694 int
14695 main ()
14696 {
14697
14698   ;
14699   return 0;
14700 }
14701 _ACEOF
14702 if ac_fn_c_try_compile "$LINENO"; then :
14703   ac_cv_prog_cc_g=yes
14704 fi
14705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14706 fi
14707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 fi
14709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14710    ac_c_werror_flag=$ac_save_c_werror_flag
14711 fi
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14713 $as_echo "$ac_cv_prog_cc_g" >&6; }
14714 if test "$ac_test_CFLAGS" = set; then
14715   CFLAGS=$ac_save_CFLAGS
14716 elif test $ac_cv_prog_cc_g = yes; then
14717   if test "$GCC" = yes; then
14718     CFLAGS="-g -O2"
14719   else
14720     CFLAGS="-g"
14721   fi
14722 else
14723   if test "$GCC" = yes; then
14724     CFLAGS="-O2"
14725   else
14726     CFLAGS=
14727   fi
14728 fi
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14730 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14731 if test "${ac_cv_prog_cc_c89+set}" = set; then :
14732   $as_echo_n "(cached) " >&6
14733 else
14734   ac_cv_prog_cc_c89=no
14735 ac_save_CC=$CC
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h.  */
14738 #include <stdarg.h>
14739 #include <stdio.h>
14740 #include <sys/types.h>
14741 #include <sys/stat.h>
14742 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
14743 struct buf { int x; };
14744 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14745 static char *e (p, i)
14746      char **p;
14747      int i;
14748 {
14749   return p[i];
14750 }
14751 static char *f (char * (*g) (char **, int), char **p, ...)
14752 {
14753   char *s;
14754   va_list v;
14755   va_start (v,p);
14756   s = g (p, va_arg (v,int));
14757   va_end (v);
14758   return s;
14759 }
14760
14761 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
14762    function prototypes and stuff, but not '\xHH' hex character constants.
14763    These don't provoke an error unfortunately, instead are silently treated
14764    as 'x'.  The following induces an error, until -std is added to get
14765    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
14766    array size at least.  It's necessary to write '\x00'==0 to get something
14767    that's true only with -std.  */
14768 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14769
14770 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14771    inside strings and character constants.  */
14772 #define FOO(x) 'x'
14773 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14774
14775 int test (int i, double x);
14776 struct s1 {int (*f) (int a);};
14777 struct s2 {int (*f) (double a);};
14778 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14779 int argc;
14780 char **argv;
14781 int
14782 main ()
14783 {
14784 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
14785   ;
14786   return 0;
14787 }
14788 _ACEOF
14789 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14790         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14791 do
14792   CC="$ac_save_CC $ac_arg"
14793   if ac_fn_c_try_compile "$LINENO"; then :
14794   ac_cv_prog_cc_c89=$ac_arg
14795 fi
14796 rm -f core conftest.err conftest.$ac_objext
14797   test "x$ac_cv_prog_cc_c89" != "xno" && break
14798 done
14799 rm -f conftest.$ac_ext
14800 CC=$ac_save_CC
14801
14802 fi
14803 # AC_CACHE_VAL
14804 case "x$ac_cv_prog_cc_c89" in
14805   x)
14806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14807 $as_echo "none needed" >&6; } ;;
14808   xno)
14809     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14810 $as_echo "unsupported" >&6; } ;;
14811   *)
14812     CC="$CC $ac_cv_prog_cc_c89"
14813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14814 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14815 esac
14816 if test "x$ac_cv_prog_cc_c89" != xno; then :
14817
14818 fi
14819
14820 ac_ext=c
14821 ac_cpp='$CPP $CPPFLAGS'
14822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14825
14826 depcc="$CC"   am_compiler_list=
14827
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14829 $as_echo_n "checking dependency style of $depcc... " >&6; }
14830 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
14831   $as_echo_n "(cached) " >&6
14832 else
14833   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14834   # We make a subdir and do the tests there.  Otherwise we can end up
14835   # making bogus files that we don't know about and never remove.  For
14836   # instance it was reported that on HP-UX the gcc test will end up
14837   # making a dummy file named `D' -- because `-MD' means `put the output
14838   # in D'.
14839   mkdir conftest.dir
14840   # Copy depcomp to subdir because otherwise we won't find it if we're
14841   # using a relative directory.
14842   cp "$am_depcomp" conftest.dir
14843   cd conftest.dir
14844   # We will build objects and dependencies in a subdirectory because
14845   # it helps to detect inapplicable dependency modes.  For instance
14846   # both Tru64's cc and ICC support -MD to output dependencies as a
14847   # side effect of compilation, but ICC will put the dependencies in
14848   # the current directory while Tru64 will put them in the object
14849   # directory.
14850   mkdir sub
14851
14852   am_cv_CC_dependencies_compiler_type=none
14853   if test "$am_compiler_list" = ""; then
14854      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14855   fi
14856   am__universal=false
14857   case " $depcc " in #(
14858      *\ -arch\ *\ -arch\ *) am__universal=true ;;
14859      esac
14860
14861   for depmode in $am_compiler_list; do
14862     # Setup a source with many dependencies, because some compilers
14863     # like to wrap large dependency lists on column 80 (with \), and
14864     # we should not choose a depcomp mode which is confused by this.
14865     #
14866     # We need to recreate these files for each test, as the compiler may
14867     # overwrite some of them when testing with obscure command lines.
14868     # This happens at least with the AIX C compiler.
14869     : > sub/conftest.c
14870     for i in 1 2 3 4 5 6; do
14871       echo '#include "conftst'$i'.h"' >> sub/conftest.c
14872       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14873       # Solaris 8's {/usr,}/bin/sh.
14874       touch sub/conftst$i.h
14875     done
14876     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14877
14878     # We check with `-c' and `-o' for the sake of the "dashmstdout"
14879     # mode.  It turns out that the SunPro C++ compiler does not properly
14880     # handle `-M -o', and we need to detect this.  Also, some Intel
14881     # versions had trouble with output in subdirs
14882     am__obj=sub/conftest.${OBJEXT-o}
14883     am__minus_obj="-o $am__obj"
14884     case $depmode in
14885     gcc)
14886       # This depmode causes a compiler race in universal mode.
14887       test "$am__universal" = false || continue
14888       ;;
14889     nosideeffect)
14890       # after this tag, mechanisms are not by side-effect, so they'll
14891       # only be used when explicitly requested
14892       if test "x$enable_dependency_tracking" = xyes; then
14893         continue
14894       else
14895         break
14896       fi
14897       ;;
14898     msvisualcpp | msvcmsys)
14899       # This compiler won't grok `-c -o', but also, the minuso test has
14900       # not run yet.  These depmodes are late enough in the game, and
14901       # so weak that their functioning should not be impacted.
14902       am__obj=conftest.${OBJEXT-o}
14903       am__minus_obj=
14904       ;;
14905     none) break ;;
14906     esac
14907     if depmode=$depmode \
14908        source=sub/conftest.c object=$am__obj \
14909        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14910        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14911          >/dev/null 2>conftest.err &&
14912        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14913        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14914        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14915        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14916       # icc doesn't choke on unknown options, it will just issue warnings
14917       # or remarks (even with -Werror).  So we grep stderr for any message
14918       # that says an option was ignored or not supported.
14919       # When given -MP, icc 7.0 and 7.1 complain thusly:
14920       #   icc: Command line warning: ignoring option '-M'; no argument required
14921       # The diagnosis changed in icc 8.0:
14922       #   icc: Command line remark: option '-MP' not supported
14923       if (grep 'ignoring option' conftest.err ||
14924           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14925         am_cv_CC_dependencies_compiler_type=$depmode
14926         break
14927       fi
14928     fi
14929   done
14930
14931   cd ..
14932   rm -rf conftest.dir
14933 else
14934   am_cv_CC_dependencies_compiler_type=none
14935 fi
14936
14937 fi
14938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14939 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14940 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14941
14942  if
14943   test "x$enable_dependency_tracking" != xno \
14944   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14945   am__fastdepCC_TRUE=
14946   am__fastdepCC_FALSE='#'
14947 else
14948   am__fastdepCC_TRUE='#'
14949   am__fastdepCC_FALSE=
14950 fi
14951
14952
14953
14954 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
14955
14956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14957 $as_echo_n "checking for ANSI C header files... " >&6; }
14958 if test "${ac_cv_header_stdc+set}" = set; then :
14959   $as_echo_n "(cached) " >&6
14960 else
14961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14962 /* end confdefs.h.  */
14963 #include <stdlib.h>
14964 #include <stdarg.h>
14965 #include <string.h>
14966 #include <float.h>
14967
14968 int
14969 main ()
14970 {
14971
14972   ;
14973   return 0;
14974 }
14975 _ACEOF
14976 if ac_fn_c_try_compile "$LINENO"; then :
14977   ac_cv_header_stdc=yes
14978 else
14979   ac_cv_header_stdc=no
14980 fi
14981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14982
14983 if test $ac_cv_header_stdc = yes; then
14984   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14986 /* end confdefs.h.  */
14987 #include <string.h>
14988
14989 _ACEOF
14990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14991   $EGREP "memchr" >/dev/null 2>&1; then :
14992
14993 else
14994   ac_cv_header_stdc=no
14995 fi
14996 rm -f conftest*
14997
14998 fi
14999
15000 if test $ac_cv_header_stdc = yes; then
15001   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h.  */
15004 #include <stdlib.h>
15005
15006 _ACEOF
15007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15008   $EGREP "free" >/dev/null 2>&1; then :
15009
15010 else
15011   ac_cv_header_stdc=no
15012 fi
15013 rm -f conftest*
15014
15015 fi
15016
15017 if test $ac_cv_header_stdc = yes; then
15018   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15019   if test "$cross_compiling" = yes; then :
15020   :
15021 else
15022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h.  */
15024 #include <ctype.h>
15025 #include <stdlib.h>
15026 #if ((' ' & 0x0FF) == 0x020)
15027 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15028 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15029 #else
15030 # define ISLOWER(c) \
15031                    (('a' <= (c) && (c) <= 'i') \
15032                      || ('j' <= (c) && (c) <= 'r') \
15033                      || ('s' <= (c) && (c) <= 'z'))
15034 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15035 #endif
15036
15037 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15038 int
15039 main ()
15040 {
15041   int i;
15042   for (i = 0; i < 256; i++)
15043     if (XOR (islower (i), ISLOWER (i))
15044         || toupper (i) != TOUPPER (i))
15045       return 2;
15046   return 0;
15047 }
15048 _ACEOF
15049 if ac_fn_c_try_run "$LINENO"; then :
15050
15051 else
15052   ac_cv_header_stdc=no
15053 fi
15054 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15055   conftest.$ac_objext conftest.beam conftest.$ac_ext
15056 fi
15057
15058 fi
15059 fi
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15061 $as_echo "$ac_cv_header_stdc" >&6; }
15062 if test $ac_cv_header_stdc = yes; then
15063
15064 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
15065
15066 fi
15067
15068
15069 case "${host_os}" in
15070    mingw*)
15071       EFREET_CFLAGS="${EFREET_CFLAGS} ${EVIL_CFLAGS}"
15072    ;;
15073 esac
15074
15075 if ! test "x${VMIC}" = "x" ; then
15076
15077
15078 CFLAGS_save="${CFLAGS}"
15079 CFLAGS="${CFLAGS} -Wall"
15080
15081 ac_ext=c
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
15088 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
15089
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h.  */
15092
15093 int
15094 main ()
15095 {
15096
15097   ;
15098   return 0;
15099 }
15100 _ACEOF
15101 if ac_fn_c_try_compile "$LINENO"; then :
15102   have_flag="yes"
15103 else
15104   have_flag="no"
15105 fi
15106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15108 $as_echo "${have_flag}" >&6; }
15109
15110 if test "x${have_flag}" = "xno" ; then
15111    CFLAGS="${CFLAGS_save}"
15112 fi
15113 ac_ext=c
15114 ac_cpp='$CPP $CPPFLAGS'
15115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15118
15119
15120
15121
15122
15123 CFLAGS_save="${CFLAGS}"
15124 CFLAGS="${CFLAGS} -W"
15125
15126 ac_ext=c
15127 ac_cpp='$CPP $CPPFLAGS'
15128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15131
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
15133 $as_echo_n "checking whether the compiler supports -W... " >&6; }
15134
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h.  */
15137
15138 int
15139 main ()
15140 {
15141
15142   ;
15143   return 0;
15144 }
15145 _ACEOF
15146 if ac_fn_c_try_compile "$LINENO"; then :
15147   have_flag="yes"
15148 else
15149   have_flag="no"
15150 fi
15151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15153 $as_echo "${have_flag}" >&6; }
15154
15155 if test "x${have_flag}" = "xno" ; then
15156    CFLAGS="${CFLAGS_save}"
15157 fi
15158 ac_ext=c
15159 ac_cpp='$CPP $CPPFLAGS'
15160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15163
15164
15165
15166 fi
15167
15168
15169
15170 CFLAGS_save="${CFLAGS}"
15171 CFLAGS="${CFLAGS} -Wshadow"
15172
15173 ac_ext=c
15174 ac_cpp='$CPP $CPPFLAGS'
15175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15178
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
15180 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
15181
15182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h.  */
15184
15185 int
15186 main ()
15187 {
15188
15189   ;
15190   return 0;
15191 }
15192 _ACEOF
15193 if ac_fn_c_try_compile "$LINENO"; then :
15194   have_flag="yes"
15195 else
15196   have_flag="no"
15197 fi
15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
15200 $as_echo "${have_flag}" >&6; }
15201
15202 if test "x${have_flag}" = "xno" ; then
15203    CFLAGS="${CFLAGS_save}"
15204 fi
15205 ac_ext=c
15206 ac_cpp='$CPP $CPPFLAGS'
15207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15210
15211
15212
15213
15214
15215
15216 default_max="4096"
15217
15218 ac_ext=c
15219 ac_cpp='$CPP $CPPFLAGS'
15220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15223
15224
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
15226 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h.  */
15229
15230 #include <limits.h>
15231
15232 int
15233 main ()
15234 {
15235
15236 int i = PATH_MAX;
15237
15238   ;
15239   return 0;
15240 }
15241 _ACEOF
15242 if ac_fn_c_try_compile "$LINENO"; then :
15243   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15244 $as_echo "yes" >&6; }
15245 else
15246
15247
15248 cat >>confdefs.h <<_ACEOF
15249 #define PATH_MAX ${default_max}
15250 _ACEOF
15251
15252     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
15253 $as_echo "no: using ${default_max}" >&6; }
15254
15255 fi
15256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15257
15258 ac_ext=c
15259 ac_cpp='$CPP $CPPFLAGS'
15260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15263
15264
15265
15266
15267
15268 ### Checks for linker characteristics
15269 lt_enable_auto_import=""
15270 WIN32_LIBS=""
15271 case "${host_os}" in
15272    mingw*)
15273       WIN32_LIBS="-lws2_32"
15274       lt_enable_auto_import="-Wl,--enable-auto-import"
15275    ;;
15276 esac
15277
15278
15279
15280
15281 ### Checks for library functions
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
15283 $as_echo_n "checking for library containing strerror... " >&6; }
15284 if test "${ac_cv_search_strerror+set}" = set; then :
15285   $as_echo_n "(cached) " >&6
15286 else
15287   ac_func_search_save_LIBS=$LIBS
15288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15289 /* end confdefs.h.  */
15290
15291 /* Override any GCC internal prototype to avoid an error.
15292    Use char because int might match the return type of a GCC
15293    builtin and then its argument prototype would still apply.  */
15294 #ifdef __cplusplus
15295 extern "C"
15296 #endif
15297 char strerror ();
15298 int
15299 main ()
15300 {
15301 return strerror ();
15302   ;
15303   return 0;
15304 }
15305 _ACEOF
15306 for ac_lib in '' cposix; do
15307   if test -z "$ac_lib"; then
15308     ac_res="none required"
15309   else
15310     ac_res=-l$ac_lib
15311     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
15312   fi
15313   if ac_fn_c_try_link "$LINENO"; then :
15314   ac_cv_search_strerror=$ac_res
15315 fi
15316 rm -f core conftest.err conftest.$ac_objext \
15317     conftest$ac_exeext
15318   if test "${ac_cv_search_strerror+set}" = set; then :
15319   break
15320 fi
15321 done
15322 if test "${ac_cv_search_strerror+set}" = set; then :
15323
15324 else
15325   ac_cv_search_strerror=no
15326 fi
15327 rm conftest.$ac_ext
15328 LIBS=$ac_func_search_save_LIBS
15329 fi
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
15331 $as_echo "$ac_cv_search_strerror" >&6; }
15332 ac_res=$ac_cv_search_strerror
15333 if test "$ac_res" != no; then :
15334   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15335
15336 fi
15337
15338 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15339 # for constant arguments.  Useless!
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15341 $as_echo_n "checking for working alloca.h... " >&6; }
15342 if test "${ac_cv_working_alloca_h+set}" = set; then :
15343   $as_echo_n "(cached) " >&6
15344 else
15345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15346 /* end confdefs.h.  */
15347 #include <alloca.h>
15348 int
15349 main ()
15350 {
15351 char *p = (char *) alloca (2 * sizeof (int));
15352                           if (p) return 0;
15353   ;
15354   return 0;
15355 }
15356 _ACEOF
15357 if ac_fn_c_try_link "$LINENO"; then :
15358   ac_cv_working_alloca_h=yes
15359 else
15360   ac_cv_working_alloca_h=no
15361 fi
15362 rm -f core conftest.err conftest.$ac_objext \
15363     conftest$ac_exeext conftest.$ac_ext
15364 fi
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15366 $as_echo "$ac_cv_working_alloca_h" >&6; }
15367 if test $ac_cv_working_alloca_h = yes; then
15368
15369 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15370
15371 fi
15372
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15374 $as_echo_n "checking for alloca... " >&6; }
15375 if test "${ac_cv_func_alloca_works+set}" = set; then :
15376   $as_echo_n "(cached) " >&6
15377 else
15378   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15379 /* end confdefs.h.  */
15380 #ifdef __GNUC__
15381 # define alloca __builtin_alloca
15382 #else
15383 # ifdef _MSC_VER
15384 #  include <malloc.h>
15385 #  define alloca _alloca
15386 # else
15387 #  ifdef HAVE_ALLOCA_H
15388 #   include <alloca.h>
15389 #  else
15390 #   ifdef _AIX
15391  #pragma alloca
15392 #   else
15393 #    ifndef alloca /* predefined by HP cc +Olibcalls */
15394 char *alloca ();
15395 #    endif
15396 #   endif
15397 #  endif
15398 # endif
15399 #endif
15400
15401 int
15402 main ()
15403 {
15404 char *p = (char *) alloca (1);
15405                                     if (p) return 0;
15406   ;
15407   return 0;
15408 }
15409 _ACEOF
15410 if ac_fn_c_try_link "$LINENO"; then :
15411   ac_cv_func_alloca_works=yes
15412 else
15413   ac_cv_func_alloca_works=no
15414 fi
15415 rm -f core conftest.err conftest.$ac_objext \
15416     conftest$ac_exeext conftest.$ac_ext
15417 fi
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15419 $as_echo "$ac_cv_func_alloca_works" >&6; }
15420
15421 if test $ac_cv_func_alloca_works = yes; then
15422
15423 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15424
15425 else
15426   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15427 # that cause trouble.  Some versions do not even contain alloca or
15428 # contain a buggy version.  If you still want to use their alloca,
15429 # use ar to extract alloca.o from them instead of compiling alloca.c.
15430
15431 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15432
15433 $as_echo "#define C_ALLOCA 1" >>confdefs.h
15434
15435
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15437 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15438 if test "${ac_cv_os_cray+set}" = set; then :
15439   $as_echo_n "(cached) " >&6
15440 else
15441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15442 /* end confdefs.h.  */
15443 #if defined CRAY && ! defined CRAY2
15444 webecray
15445 #else
15446 wenotbecray
15447 #endif
15448
15449 _ACEOF
15450 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15451   $EGREP "webecray" >/dev/null 2>&1; then :
15452   ac_cv_os_cray=yes
15453 else
15454   ac_cv_os_cray=no
15455 fi
15456 rm -f conftest*
15457
15458 fi
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15460 $as_echo "$ac_cv_os_cray" >&6; }
15461 if test $ac_cv_os_cray = yes; then
15462   for ac_func in _getb67 GETB67 getb67; do
15463     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15465 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15466
15467 cat >>confdefs.h <<_ACEOF
15468 #define CRAY_STACKSEG_END $ac_func
15469 _ACEOF
15470
15471     break
15472 fi
15473
15474   done
15475 fi
15476
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15478 $as_echo_n "checking stack direction for C alloca... " >&6; }
15479 if test "${ac_cv_c_stack_direction+set}" = set; then :
15480   $as_echo_n "(cached) " >&6
15481 else
15482   if test "$cross_compiling" = yes; then :
15483   ac_cv_c_stack_direction=0
15484 else
15485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15486 /* end confdefs.h.  */
15487 $ac_includes_default
15488 int
15489 find_stack_direction ()
15490 {
15491   static char *addr = 0;
15492   auto char dummy;
15493   if (addr == 0)
15494     {
15495       addr = &dummy;
15496       return find_stack_direction ();
15497     }
15498   else
15499     return (&dummy > addr) ? 1 : -1;
15500 }
15501
15502 int
15503 main ()
15504 {
15505   return find_stack_direction () < 0;
15506 }
15507 _ACEOF
15508 if ac_fn_c_try_run "$LINENO"; then :
15509   ac_cv_c_stack_direction=1
15510 else
15511   ac_cv_c_stack_direction=-1
15512 fi
15513 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15514   conftest.$ac_objext conftest.beam conftest.$ac_ext
15515 fi
15516
15517 fi
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15519 $as_echo "$ac_cv_c_stack_direction" >&6; }
15520 cat >>confdefs.h <<_ACEOF
15521 #define STACK_DIRECTION $ac_cv_c_stack_direction
15522 _ACEOF
15523
15524
15525 fi
15526
15527 for ac_func in strlcpy clearenv
15528 do :
15529   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15532   cat >>confdefs.h <<_ACEOF
15533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15534 _ACEOF
15535
15536 fi
15537 done
15538
15539
15540 ### Unit tests, coverage
15541
15542
15543
15544
15545 # Check whether --enable-tests was given.
15546 if test "${enable_tests+set}" = set; then :
15547   enableval=$enable_tests;
15548     if test "x${enableval}" = "xyes" ; then
15549        _efl_enable_tests="yes"
15550     else
15551        _efl_enable_tests="no"
15552     fi
15553
15554 else
15555   _efl_enable_tests="no"
15556 fi
15557
15558
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
15560 $as_echo_n "checking whether tests are built... " >&6; }
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
15562 $as_echo "${_efl_enable_tests}" >&6; }
15563
15564
15565
15566 if test "x${_efl_enable_tests}" = "xyes" ; then
15567
15568 pkg_failed=no
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
15570 $as_echo_n "checking for CHECK... " >&6; }
15571
15572 if test -n "$CHECK_CFLAGS"; then
15573     pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
15574  elif test -n "$PKG_CONFIG"; then
15575     if test -n "$PKG_CONFIG" && \
15576     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
15577   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
15578   ac_status=$?
15579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15580   test $ac_status = 0; }; then
15581   pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
15582 else
15583   pkg_failed=yes
15584 fi
15585  else
15586     pkg_failed=untried
15587 fi
15588 if test -n "$CHECK_LIBS"; then
15589     pkg_cv_CHECK_LIBS="$CHECK_LIBS"
15590  elif test -n "$PKG_CONFIG"; then
15591     if test -n "$PKG_CONFIG" && \
15592     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
15593   ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
15594   ac_status=$?
15595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15596   test $ac_status = 0; }; then
15597   pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
15598 else
15599   pkg_failed=yes
15600 fi
15601  else
15602     pkg_failed=untried
15603 fi
15604
15605
15606
15607 if test $pkg_failed = yes; then
15608         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609 $as_echo "no" >&6; }
15610
15611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15612         _pkg_short_errors_supported=yes
15613 else
15614         _pkg_short_errors_supported=no
15615 fi
15616         if test $_pkg_short_errors_supported = yes; then
15617                 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
15618         else
15619                 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
15620         fi
15621         # Put the nasty error message in config.log where it belongs
15622         echo "$CHECK_PKG_ERRORS" >&5
15623
15624         _efl_enable_tests="no"
15625 elif test $pkg_failed = untried; then
15626         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627 $as_echo "no" >&6; }
15628         _efl_enable_tests="no"
15629 else
15630         CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
15631         CHECK_LIBS=$pkg_cv_CHECK_LIBS
15632         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15633 $as_echo "yes" >&6; }
15634         dummy="yes"
15635 fi
15636 fi
15637
15638  if test "x${_efl_enable_tests}" = "xyes"; then
15639   EFL_ENABLE_TESTS_TRUE=
15640   EFL_ENABLE_TESTS_FALSE='#'
15641 else
15642   EFL_ENABLE_TESTS_TRUE='#'
15643   EFL_ENABLE_TESTS_FALSE=
15644 fi
15645
15646
15647 if test "x$_efl_enable_tests" = "xyes"; then :
15648   enable_tests="yes"
15649 else
15650   enable_tests="no"
15651 fi
15652
15653
15654
15655
15656
15657 # Check whether --enable-coverage was given.
15658 if test "${enable_coverage+set}" = set; then :
15659   enableval=$enable_coverage;
15660     if test "x${enableval}" = "xyes" ; then
15661        _efl_enable_coverage="yes"
15662     else
15663        _efl_enable_coverage="no"
15664     fi
15665
15666 else
15667   _efl_enable_coverage="no"
15668 fi
15669
15670
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
15672 $as_echo_n "checking whether to use profiling instrumentation... " >&6; }
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
15674 $as_echo "$_efl_enable_coverage" >&6; }
15675
15676
15677 if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
15678    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
15679 $as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
15680    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
15681 $as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
15682    _efl_enable_coverage="no"
15683 fi
15684
15685 if test "x$_efl_enable_coverage" = "xyes" ; then
15686    # Extract the first word of "lcov", so it can be a program name with args.
15687 set dummy lcov; ac_word=$2
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15689 $as_echo_n "checking for $ac_word... " >&6; }
15690 if test "${ac_cv_prog_have_lcov+set}" = set; then :
15691   $as_echo_n "(cached) " >&6
15692 else
15693   if test -n "$have_lcov"; then
15694   ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
15695 else
15696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15697 for as_dir in $PATH
15698 do
15699   IFS=$as_save_IFS
15700   test -z "$as_dir" && as_dir=.
15701     for ac_exec_ext in '' $ac_executable_extensions; do
15702   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15703     ac_cv_prog_have_lcov="yes"
15704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15705     break 2
15706   fi
15707 done
15708   done
15709 IFS=$as_save_IFS
15710
15711   test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
15712 fi
15713 fi
15714 have_lcov=$ac_cv_prog_have_lcov
15715 if test -n "$have_lcov"; then
15716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
15717 $as_echo "$have_lcov" >&6; }
15718 else
15719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15720 $as_echo "no" >&6; }
15721 fi
15722
15723
15724    if test "x$have_lcov" = "xyes" ; then
15725       EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
15726       EFL_COVERAGE_LIBS="-lgcov"
15727 # remove any optimisation flag and force debug symbols
15728       EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
15729    else
15730       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
15731 $as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
15732       _efl_enable_coverage="no"
15733    fi
15734 fi
15735
15736
15737
15738
15739  if test "x${_efl_enable_coverage}" = "xyes"; then
15740   EFL_ENABLE_COVERAGE_TRUE=
15741   EFL_ENABLE_COVERAGE_FALSE='#'
15742 else
15743   EFL_ENABLE_COVERAGE_TRUE='#'
15744   EFL_ENABLE_COVERAGE_FALSE=
15745 fi
15746
15747
15748 if test "x$_efl_enable_coverage" = "xyes"; then :
15749   enable_coverage="yes"
15750 else
15751   enable_coverage="no"
15752 fi
15753
15754 EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_COVERAGE_CFLAGS}"
15755 EFREET_LIBS="${EFREET_LIBS} ${EFL_COVERAGE_LIBS}"
15756 if test "x$enable_coverage" = "xyes" ; then
15757    EFREET_CFLAGS="${EFREET_CFLAGS} ${EFL_DEBUG_CFLAGS}"
15758 fi
15759
15760
15761
15762 ac_config_files="$ac_config_files efreet.spec efreet.pc efreet-mime.pc efreet-trash.pc Makefile doc/Makefile doc/Doxyfile src/Makefile src/lib/Makefile src/bin/Makefile src/tests/Makefile src/tests/data/Makefile src/tests/data/sub/Makefile src/tests/compare/Makefile $po_makefile_in"
15763
15764 cat >confcache <<\_ACEOF
15765 # This file is a shell script that caches the results of configure
15766 # tests run on this system so they can be shared between configure
15767 # scripts and configure runs, see configure's option --config-cache.
15768 # It is not useful on other systems.  If it contains results you don't
15769 # want to keep, you may remove or edit it.
15770 #
15771 # config.status only pays attention to the cache file if you give it
15772 # the --recheck option to rerun configure.
15773 #
15774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15776 # following values.
15777
15778 _ACEOF
15779
15780 # The following way of writing the cache mishandles newlines in values,
15781 # but we know of no workaround that is simple, portable, and efficient.
15782 # So, we kill variables containing newlines.
15783 # Ultrix sh set writes to stderr and can't be redirected directly,
15784 # and sets the high bit in the cache file unless we assign to the vars.
15785 (
15786   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15787     eval ac_val=\$$ac_var
15788     case $ac_val in #(
15789     *${as_nl}*)
15790       case $ac_var in #(
15791       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15792 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15793       esac
15794       case $ac_var in #(
15795       _ | IFS | as_nl) ;; #(
15796       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15797       *) { eval $ac_var=; unset $ac_var;} ;;
15798       esac ;;
15799     esac
15800   done
15801
15802   (set) 2>&1 |
15803     case $as_nl`(ac_space=' '; set) 2>&1` in #(
15804     *${as_nl}ac_space=\ *)
15805       # `set' does not quote correctly, so add quotes: double-quote
15806       # substitution turns \\\\ into \\, and sed turns \\ into \.
15807       sed -n \
15808         "s/'/'\\\\''/g;
15809           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15810       ;; #(
15811     *)
15812       # `set' quotes correctly as required by POSIX, so do not add quotes.
15813       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15814       ;;
15815     esac |
15816     sort
15817 ) |
15818   sed '
15819      /^ac_cv_env_/b end
15820      t clear
15821      :clear
15822      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15823      t end
15824      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15825      :end' >>confcache
15826 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15827   if test -w "$cache_file"; then
15828     test "x$cache_file" != "x/dev/null" &&
15829       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15830 $as_echo "$as_me: updating cache $cache_file" >&6;}
15831     cat confcache >$cache_file
15832   else
15833     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15834 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15835   fi
15836 fi
15837 rm -f confcache
15838
15839 test "x$prefix" = xNONE && prefix=$ac_default_prefix
15840 # Let make expand exec_prefix.
15841 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15842
15843 DEFS=-DHAVE_CONFIG_H
15844
15845 ac_libobjs=
15846 ac_ltlibobjs=
15847 U=
15848 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15849   # 1. Remove the extension, and $U if already installed.
15850   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15851   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15852   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15853   #    will be set to the directory where LIBOBJS objects are built.
15854   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15855   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15856 done
15857 LIBOBJS=$ac_libobjs
15858
15859 LTLIBOBJS=$ac_ltlibobjs
15860
15861
15862  if test -n "$EXEEXT"; then
15863   am__EXEEXT_TRUE=
15864   am__EXEEXT_FALSE='#'
15865 else
15866   am__EXEEXT_TRUE='#'
15867   am__EXEEXT_FALSE=
15868 fi
15869
15870 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15871   as_fn_error $? "conditional \"AMDEP\" was never defined.
15872 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15873 fi
15874 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15875   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15876 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15877 fi
15878 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
15879   as_fn_error $? "conditional \"HAVE_PO\" was never defined.
15880 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15881 fi
15882 if test -z "${DEFAULT_VISIBILITY_TRUE}" && test -z "${DEFAULT_VISIBILITY_FALSE}"; then
15883   as_fn_error $? "conditional \"DEFAULT_VISIBILITY\" was never defined.
15884 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15885 fi
15886 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15887   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15888 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15889 fi
15890 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
15891   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
15892 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15893 fi
15894 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15895   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15896 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15897 fi
15898 if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
15899   as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
15900 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15901 fi
15902 if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
15903   as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
15904 Usually this means the macro was only invoked conditionally." "$LINENO" 5
15905 fi
15906
15907 : ${CONFIG_STATUS=./config.status}
15908 ac_write_fail=0
15909 ac_clean_files_save=$ac_clean_files
15910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15912 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15913 as_write_fail=0
15914 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15915 #! $SHELL
15916 # Generated by $as_me.
15917 # Run this file to recreate the current configuration.
15918 # Compiler output produced by configure, useful for debugging
15919 # configure, is in config.log if it exists.
15920
15921 debug=false
15922 ac_cs_recheck=false
15923 ac_cs_silent=false
15924
15925 SHELL=\${CONFIG_SHELL-$SHELL}
15926 export SHELL
15927 _ASEOF
15928 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15929 ## -------------------- ##
15930 ## M4sh Initialization. ##
15931 ## -------------------- ##
15932
15933 # Be more Bourne compatible
15934 DUALCASE=1; export DUALCASE # for MKS sh
15935 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15936   emulate sh
15937   NULLCMD=:
15938   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15939   # is contrary to our usage.  Disable this feature.
15940   alias -g '${1+"$@"}'='"$@"'
15941   setopt NO_GLOB_SUBST
15942 else
15943   case `(set -o) 2>/dev/null` in #(
15944   *posix*) :
15945     set -o posix ;; #(
15946   *) :
15947      ;;
15948 esac
15949 fi
15950
15951
15952 as_nl='
15953 '
15954 export as_nl
15955 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15956 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15957 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15958 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15959 # Prefer a ksh shell builtin over an external printf program on Solaris,
15960 # but without wasting forks for bash or zsh.
15961 if test -z "$BASH_VERSION$ZSH_VERSION" \
15962     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15963   as_echo='print -r --'
15964   as_echo_n='print -rn --'
15965 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15966   as_echo='printf %s\n'
15967   as_echo_n='printf %s'
15968 else
15969   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15970     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15971     as_echo_n='/usr/ucb/echo -n'
15972   else
15973     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15974     as_echo_n_body='eval
15975       arg=$1;
15976       case $arg in #(
15977       *"$as_nl"*)
15978         expr "X$arg" : "X\\(.*\\)$as_nl";
15979         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15980       esac;
15981       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15982     '
15983     export as_echo_n_body
15984     as_echo_n='sh -c $as_echo_n_body as_echo'
15985   fi
15986   export as_echo_body
15987   as_echo='sh -c $as_echo_body as_echo'
15988 fi
15989
15990 # The user is always right.
15991 if test "${PATH_SEPARATOR+set}" != set; then
15992   PATH_SEPARATOR=:
15993   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15994     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15995       PATH_SEPARATOR=';'
15996   }
15997 fi
15998
15999
16000 # IFS
16001 # We need space, tab and new line, in precisely that order.  Quoting is
16002 # there to prevent editors from complaining about space-tab.
16003 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16004 # splitting by setting IFS to empty value.)
16005 IFS=" ""        $as_nl"
16006
16007 # Find who we are.  Look in the path if we contain no directory separator.
16008 case $0 in #((
16009   *[\\/]* ) as_myself=$0 ;;
16010   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16011 for as_dir in $PATH
16012 do
16013   IFS=$as_save_IFS
16014   test -z "$as_dir" && as_dir=.
16015     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16016   done
16017 IFS=$as_save_IFS
16018
16019      ;;
16020 esac
16021 # We did not find ourselves, most probably we were run as `sh COMMAND'
16022 # in which case we are not to be found in the path.
16023 if test "x$as_myself" = x; then
16024   as_myself=$0
16025 fi
16026 if test ! -f "$as_myself"; then
16027   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16028   exit 1
16029 fi
16030
16031 # Unset variables that we do not need and which cause bugs (e.g. in
16032 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16033 # suppresses any "Segmentation fault" message there.  '((' could
16034 # trigger a bug in pdksh 5.2.14.
16035 for as_var in BASH_ENV ENV MAIL MAILPATH
16036 do eval test x\${$as_var+set} = xset \
16037   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16038 done
16039 PS1='$ '
16040 PS2='> '
16041 PS4='+ '
16042
16043 # NLS nuisances.
16044 LC_ALL=C
16045 export LC_ALL
16046 LANGUAGE=C
16047 export LANGUAGE
16048
16049 # CDPATH.
16050 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16051
16052
16053 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16054 # ----------------------------------------
16055 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16056 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16057 # script with STATUS, using 1 if that was 0.
16058 as_fn_error ()
16059 {
16060   as_status=$1; test $as_status -eq 0 && as_status=1
16061   if test "$4"; then
16062     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16063     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16064   fi
16065   $as_echo "$as_me: error: $2" >&2
16066   as_fn_exit $as_status
16067 } # as_fn_error
16068
16069
16070 # as_fn_set_status STATUS
16071 # -----------------------
16072 # Set $? to STATUS, without forking.
16073 as_fn_set_status ()
16074 {
16075   return $1
16076 } # as_fn_set_status
16077
16078 # as_fn_exit STATUS
16079 # -----------------
16080 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16081 as_fn_exit ()
16082 {
16083   set +e
16084   as_fn_set_status $1
16085   exit $1
16086 } # as_fn_exit
16087
16088 # as_fn_unset VAR
16089 # ---------------
16090 # Portably unset VAR.
16091 as_fn_unset ()
16092 {
16093   { eval $1=; unset $1;}
16094 }
16095 as_unset=as_fn_unset
16096 # as_fn_append VAR VALUE
16097 # ----------------------
16098 # Append the text in VALUE to the end of the definition contained in VAR. Take
16099 # advantage of any shell optimizations that allow amortized linear growth over
16100 # repeated appends, instead of the typical quadratic growth present in naive
16101 # implementations.
16102 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16103   eval 'as_fn_append ()
16104   {
16105     eval $1+=\$2
16106   }'
16107 else
16108   as_fn_append ()
16109   {
16110     eval $1=\$$1\$2
16111   }
16112 fi # as_fn_append
16113
16114 # as_fn_arith ARG...
16115 # ------------------
16116 # Perform arithmetic evaluation on the ARGs, and store the result in the
16117 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16118 # must be portable across $(()) and expr.
16119 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16120   eval 'as_fn_arith ()
16121   {
16122     as_val=$(( $* ))
16123   }'
16124 else
16125   as_fn_arith ()
16126   {
16127     as_val=`expr "$@" || test $? -eq 1`
16128   }
16129 fi # as_fn_arith
16130
16131
16132 if expr a : '\(a\)' >/dev/null 2>&1 &&
16133    test "X`expr 00001 : '.*\(...\)'`" = X001; then
16134   as_expr=expr
16135 else
16136   as_expr=false
16137 fi
16138
16139 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16140   as_basename=basename
16141 else
16142   as_basename=false
16143 fi
16144
16145 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16146   as_dirname=dirname
16147 else
16148   as_dirname=false
16149 fi
16150
16151 as_me=`$as_basename -- "$0" ||
16152 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16153          X"$0" : 'X\(//\)$' \| \
16154          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16155 $as_echo X/"$0" |
16156     sed '/^.*\/\([^/][^/]*\)\/*$/{
16157             s//\1/
16158             q
16159           }
16160           /^X\/\(\/\/\)$/{
16161             s//\1/
16162             q
16163           }
16164           /^X\/\(\/\).*/{
16165             s//\1/
16166             q
16167           }
16168           s/.*/./; q'`
16169
16170 # Avoid depending upon Character Ranges.
16171 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16172 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16173 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16174 as_cr_digits='0123456789'
16175 as_cr_alnum=$as_cr_Letters$as_cr_digits
16176
16177 ECHO_C= ECHO_N= ECHO_T=
16178 case `echo -n x` in #(((((
16179 -n*)
16180   case `echo 'xy\c'` in
16181   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
16182   xy)  ECHO_C='\c';;
16183   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16184        ECHO_T=' ';;
16185   esac;;
16186 *)
16187   ECHO_N='-n';;
16188 esac
16189
16190 rm -f conf$$ conf$$.exe conf$$.file
16191 if test -d conf$$.dir; then
16192   rm -f conf$$.dir/conf$$.file
16193 else
16194   rm -f conf$$.dir
16195   mkdir conf$$.dir 2>/dev/null
16196 fi
16197 if (echo >conf$$.file) 2>/dev/null; then
16198   if ln -s conf$$.file conf$$ 2>/dev/null; then
16199     as_ln_s='ln -s'
16200     # ... but there are two gotchas:
16201     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16202     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16203     # In both cases, we have to default to `cp -p'.
16204     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16205       as_ln_s='cp -p'
16206   elif ln conf$$.file conf$$ 2>/dev/null; then
16207     as_ln_s=ln
16208   else
16209     as_ln_s='cp -p'
16210   fi
16211 else
16212   as_ln_s='cp -p'
16213 fi
16214 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16215 rmdir conf$$.dir 2>/dev/null
16216
16217
16218 # as_fn_mkdir_p
16219 # -------------
16220 # Create "$as_dir" as a directory, including parents if necessary.
16221 as_fn_mkdir_p ()
16222 {
16223
16224   case $as_dir in #(
16225   -*) as_dir=./$as_dir;;
16226   esac
16227   test -d "$as_dir" || eval $as_mkdir_p || {
16228     as_dirs=
16229     while :; do
16230       case $as_dir in #(
16231       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16232       *) as_qdir=$as_dir;;
16233       esac
16234       as_dirs="'$as_qdir' $as_dirs"
16235       as_dir=`$as_dirname -- "$as_dir" ||
16236 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16237          X"$as_dir" : 'X\(//\)[^/]' \| \
16238          X"$as_dir" : 'X\(//\)$' \| \
16239          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16240 $as_echo X"$as_dir" |
16241     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16242             s//\1/
16243             q
16244           }
16245           /^X\(\/\/\)[^/].*/{
16246             s//\1/
16247             q
16248           }
16249           /^X\(\/\/\)$/{
16250             s//\1/
16251             q
16252           }
16253           /^X\(\/\).*/{
16254             s//\1/
16255             q
16256           }
16257           s/.*/./; q'`
16258       test -d "$as_dir" && break
16259     done
16260     test -z "$as_dirs" || eval "mkdir $as_dirs"
16261   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16262
16263
16264 } # as_fn_mkdir_p
16265 if mkdir -p . 2>/dev/null; then
16266   as_mkdir_p='mkdir -p "$as_dir"'
16267 else
16268   test -d ./-p && rmdir ./-p
16269   as_mkdir_p=false
16270 fi
16271
16272 if test -x / >/dev/null 2>&1; then
16273   as_test_x='test -x'
16274 else
16275   if ls -dL / >/dev/null 2>&1; then
16276     as_ls_L_option=L
16277   else
16278     as_ls_L_option=
16279   fi
16280   as_test_x='
16281     eval sh -c '\''
16282       if test -d "$1"; then
16283         test -d "$1/.";
16284       else
16285         case $1 in #(
16286         -*)set "./$1";;
16287         esac;
16288         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16289         ???[sx]*):;;*)false;;esac;fi
16290     '\'' sh
16291   '
16292 fi
16293 as_executable_p=$as_test_x
16294
16295 # Sed expression to map a string onto a valid CPP name.
16296 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16297
16298 # Sed expression to map a string onto a valid variable name.
16299 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16300
16301
16302 exec 6>&1
16303 ## ----------------------------------- ##
16304 ## Main body of $CONFIG_STATUS script. ##
16305 ## ----------------------------------- ##
16306 _ASEOF
16307 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16308
16309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16310 # Save the log message, to keep $0 and so on meaningful, and to
16311 # report actual input values of CONFIG_FILES etc. instead of their
16312 # values after options handling.
16313 ac_log="
16314 This file was extended by efreet $as_me 1.7.1, which was
16315 generated by GNU Autoconf 2.67.  Invocation command line was
16316
16317   CONFIG_FILES    = $CONFIG_FILES
16318   CONFIG_HEADERS  = $CONFIG_HEADERS
16319   CONFIG_LINKS    = $CONFIG_LINKS
16320   CONFIG_COMMANDS = $CONFIG_COMMANDS
16321   $ $0 $@
16322
16323 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16324 "
16325
16326 _ACEOF
16327
16328 case $ac_config_files in *"
16329 "*) set x $ac_config_files; shift; ac_config_files=$*;;
16330 esac
16331
16332 case $ac_config_headers in *"
16333 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16334 esac
16335
16336
16337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16338 # Files that config.status was made for.
16339 config_files="$ac_config_files"
16340 config_headers="$ac_config_headers"
16341 config_commands="$ac_config_commands"
16342
16343 _ACEOF
16344
16345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16346 ac_cs_usage="\
16347 \`$as_me' instantiates files and other configuration actions
16348 from templates according to the current configuration.  Unless the files
16349 and actions are specified as TAGs, all are instantiated by default.
16350
16351 Usage: $0 [OPTION]... [TAG]...
16352
16353   -h, --help       print this help, then exit
16354   -V, --version    print version number and configuration settings, then exit
16355       --config     print configuration, then exit
16356   -q, --quiet, --silent
16357                    do not print progress messages
16358   -d, --debug      don't remove temporary files
16359       --recheck    update $as_me by reconfiguring in the same conditions
16360       --file=FILE[:TEMPLATE]
16361                    instantiate the configuration file FILE
16362       --header=FILE[:TEMPLATE]
16363                    instantiate the configuration header FILE
16364
16365 Configuration files:
16366 $config_files
16367
16368 Configuration headers:
16369 $config_headers
16370
16371 Configuration commands:
16372 $config_commands
16373
16374 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
16375
16376 _ACEOF
16377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16378 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16379 ac_cs_version="\\
16380 efreet config.status 1.7.1
16381 configured by $0, generated by GNU Autoconf 2.67,
16382   with options \\"\$ac_cs_config\\"
16383
16384 Copyright (C) 2010 Free Software Foundation, Inc.
16385 This config.status script is free software; the Free Software Foundation
16386 gives unlimited permission to copy, distribute and modify it."
16387
16388 ac_pwd='$ac_pwd'
16389 srcdir='$srcdir'
16390 INSTALL='$INSTALL'
16391 MKDIR_P='$MKDIR_P'
16392 AWK='$AWK'
16393 test -n "\$AWK" || AWK=awk
16394 _ACEOF
16395
16396 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16397 # The default lists apply if the user does not specify any file.
16398 ac_need_defaults=:
16399 while test $# != 0
16400 do
16401   case $1 in
16402   --*=?*)
16403     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16404     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16405     ac_shift=:
16406     ;;
16407   --*=)
16408     ac_option=`expr "X$1" : 'X\([^=]*\)='`
16409     ac_optarg=
16410     ac_shift=:
16411     ;;
16412   *)
16413     ac_option=$1
16414     ac_optarg=$2
16415     ac_shift=shift
16416     ;;
16417   esac
16418
16419   case $ac_option in
16420   # Handling of the options.
16421   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16422     ac_cs_recheck=: ;;
16423   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16424     $as_echo "$ac_cs_version"; exit ;;
16425   --config | --confi | --conf | --con | --co | --c )
16426     $as_echo "$ac_cs_config"; exit ;;
16427   --debug | --debu | --deb | --de | --d | -d )
16428     debug=: ;;
16429   --file | --fil | --fi | --f )
16430     $ac_shift
16431     case $ac_optarg in
16432     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16433     '') as_fn_error $? "missing file argument" ;;
16434     esac
16435     as_fn_append CONFIG_FILES " '$ac_optarg'"
16436     ac_need_defaults=false;;
16437   --header | --heade | --head | --hea )
16438     $ac_shift
16439     case $ac_optarg in
16440     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16441     esac
16442     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16443     ac_need_defaults=false;;
16444   --he | --h)
16445     # Conflict between --help and --header
16446     as_fn_error $? "ambiguous option: \`$1'
16447 Try \`$0 --help' for more information.";;
16448   --help | --hel | -h )
16449     $as_echo "$ac_cs_usage"; exit ;;
16450   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16451   | -silent | --silent | --silen | --sile | --sil | --si | --s)
16452     ac_cs_silent=: ;;
16453
16454   # This is an error.
16455   -*) as_fn_error $? "unrecognized option: \`$1'
16456 Try \`$0 --help' for more information." ;;
16457
16458   *) as_fn_append ac_config_targets " $1"
16459      ac_need_defaults=false ;;
16460
16461   esac
16462   shift
16463 done
16464
16465 ac_configure_extra_args=
16466
16467 if $ac_cs_silent; then
16468   exec 6>/dev/null
16469   ac_configure_extra_args="$ac_configure_extra_args --silent"
16470 fi
16471
16472 _ACEOF
16473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16474 if \$ac_cs_recheck; then
16475   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16476   shift
16477   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16478   CONFIG_SHELL='$SHELL'
16479   export CONFIG_SHELL
16480   exec "\$@"
16481 fi
16482
16483 _ACEOF
16484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16485 exec 5>>config.log
16486 {
16487   echo
16488   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16489 ## Running $as_me. ##
16490 _ASBOX
16491   $as_echo "$ac_log"
16492 } >&5
16493
16494 _ACEOF
16495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16496 #
16497 # INIT-COMMANDS
16498 #
16499 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16500
16501
16502 # The HP-UX ksh and POSIX shell print the target directory to stdout
16503 # if CDPATH is set.
16504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16505
16506 sed_quote_subst='$sed_quote_subst'
16507 double_quote_subst='$double_quote_subst'
16508 delay_variable_subst='$delay_variable_subst'
16509 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16510 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16511 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16512 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16513 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16514 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16515 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16516 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16517 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16518 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16519 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16520 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16521 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16522 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16523 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16524 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16525 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16526 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16527 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16528 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16529 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16530 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16531 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16532 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16533 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16534 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16535 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16536 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16537 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16538 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16539 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16540 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16541 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16542 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16543 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16544 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16545 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16546 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16547 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16548 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16549 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16550 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16551 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16552 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16553 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16554 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16555 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"`'
16556 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"`'
16557 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16558 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16559 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16560 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16561 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16562 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16563 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16564 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16565 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16566 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16567 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16568 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16569 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16570 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16571 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16572 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16573 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16574 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16575 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16576 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16577 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16578 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16579 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16580 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16581 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16582 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16583 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16584 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16585 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16586 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16587 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16588 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16589 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16590 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16591 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16592 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16593 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16594 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16595 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16596 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16597 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16598 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16599 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16600 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16601 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16602 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16603 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16604 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16605 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16606 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16607 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16608 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16609 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16610 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16611 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16612 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16613 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16614 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16615 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16616 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16617 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16618 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16619 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16620 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16621 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16622 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16623 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16624 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16625 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16626 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16627 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16628 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16629
16630 LTCC='$LTCC'
16631 LTCFLAGS='$LTCFLAGS'
16632 compiler='$compiler_DEFAULT'
16633
16634 # Quote evaled strings.
16635 for var in SED \
16636 GREP \
16637 EGREP \
16638 FGREP \
16639 LD \
16640 NM \
16641 LN_S \
16642 lt_SP2NL \
16643 lt_NL2SP \
16644 reload_flag \
16645 deplibs_check_method \
16646 file_magic_cmd \
16647 AR \
16648 AR_FLAGS \
16649 STRIP \
16650 RANLIB \
16651 CC \
16652 CFLAGS \
16653 compiler \
16654 lt_cv_sys_global_symbol_pipe \
16655 lt_cv_sys_global_symbol_to_cdecl \
16656 lt_cv_sys_global_symbol_to_c_name_address \
16657 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16658 SHELL \
16659 ECHO \
16660 lt_prog_compiler_no_builtin_flag \
16661 lt_prog_compiler_wl \
16662 lt_prog_compiler_pic \
16663 lt_prog_compiler_static \
16664 lt_cv_prog_compiler_c_o \
16665 need_locks \
16666 DSYMUTIL \
16667 NMEDIT \
16668 LIPO \
16669 OTOOL \
16670 OTOOL64 \
16671 shrext_cmds \
16672 export_dynamic_flag_spec \
16673 whole_archive_flag_spec \
16674 compiler_needs_object \
16675 with_gnu_ld \
16676 allow_undefined_flag \
16677 no_undefined_flag \
16678 hardcode_libdir_flag_spec \
16679 hardcode_libdir_flag_spec_ld \
16680 hardcode_libdir_separator \
16681 fix_srcfile_path \
16682 exclude_expsyms \
16683 include_expsyms \
16684 file_list_spec \
16685 variables_saved_for_relink \
16686 libname_spec \
16687 library_names_spec \
16688 soname_spec \
16689 finish_eval \
16690 old_striplib \
16691 striplib; do
16692     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16693     *[\\\\\\\`\\"\\\$]*)
16694       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16695       ;;
16696     *)
16697       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16698       ;;
16699     esac
16700 done
16701
16702 # Double-quote double-evaled strings.
16703 for var in reload_cmds \
16704 old_postinstall_cmds \
16705 old_postuninstall_cmds \
16706 old_archive_cmds \
16707 extract_expsyms_cmds \
16708 old_archive_from_new_cmds \
16709 old_archive_from_expsyms_cmds \
16710 archive_cmds \
16711 archive_expsym_cmds \
16712 module_cmds \
16713 module_expsym_cmds \
16714 export_symbols_cmds \
16715 prelink_cmds \
16716 postinstall_cmds \
16717 postuninstall_cmds \
16718 finish_cmds \
16719 sys_lib_search_path_spec \
16720 sys_lib_dlsearch_path_spec; do
16721     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16722     *[\\\\\\\`\\"\\\$]*)
16723       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16724       ;;
16725     *)
16726       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16727       ;;
16728     esac
16729 done
16730
16731 # Fix-up fallback echo if it was mangled by the above quoting rules.
16732 case \$lt_ECHO in
16733 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16734   ;;
16735 esac
16736
16737 ac_aux_dir='$ac_aux_dir'
16738 xsi_shell='$xsi_shell'
16739 lt_shell_append='$lt_shell_append'
16740
16741 # See if we are running on zsh, and set the options which allow our
16742 # commands through without removal of \ escapes INIT.
16743 if test -n "\${ZSH_VERSION+set}" ; then
16744    setopt NO_GLOB_SUBST
16745 fi
16746
16747
16748     PACKAGE='$PACKAGE'
16749     VERSION='$VERSION'
16750     TIMESTAMP='$TIMESTAMP'
16751     RM='$RM'
16752     ofile='$ofile'
16753
16754
16755
16756 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
16757     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
16758     # from automake < 1.5.
16759     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
16760     # Capture the value of LINGUAS because we need it to compute CATALOGS.
16761     LINGUAS="${LINGUAS-%UNSET%}"
16762
16763
16764 _ACEOF
16765
16766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16767
16768 # Handling of arguments.
16769 for ac_config_target in $ac_config_targets
16770 do
16771   case $ac_config_target in
16772     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16773     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16774     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16775     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
16776     "efreet.spec") CONFIG_FILES="$CONFIG_FILES efreet.spec" ;;
16777     "efreet.pc") CONFIG_FILES="$CONFIG_FILES efreet.pc" ;;
16778     "efreet-mime.pc") CONFIG_FILES="$CONFIG_FILES efreet-mime.pc" ;;
16779     "efreet-trash.pc") CONFIG_FILES="$CONFIG_FILES efreet-trash.pc" ;;
16780     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16781     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16782     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16783     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16784     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
16785     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
16786     "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
16787     "src/tests/data/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/Makefile" ;;
16788     "src/tests/data/sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/data/sub/Makefile" ;;
16789     "src/tests/compare/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/compare/Makefile" ;;
16790     "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
16791
16792   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16793   esac
16794 done
16795
16796
16797 # If the user did not use the arguments to specify the items to instantiate,
16798 # then the envvar interface is used.  Set only those that are not.
16799 # We use the long form for the default assignment because of an extremely
16800 # bizarre bug on SunOS 4.1.3.
16801 if $ac_need_defaults; then
16802   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16803   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16804   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16805 fi
16806
16807 # Have a temporary directory for convenience.  Make it in the build tree
16808 # simply because there is no reason against having it here, and in addition,
16809 # creating and moving files from /tmp can sometimes cause problems.
16810 # Hook for its removal unless debugging.
16811 # Note that there is a small window in which the directory will not be cleaned:
16812 # after its creation but before its name has been assigned to `$tmp'.
16813 $debug ||
16814 {
16815   tmp=
16816   trap 'exit_status=$?
16817   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16818 ' 0
16819   trap 'as_fn_exit 1' 1 2 13 15
16820 }
16821 # Create a (secure) tmp directory for tmp files.
16822
16823 {
16824   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16825   test -n "$tmp" && test -d "$tmp"
16826 }  ||
16827 {
16828   tmp=./conf$$-$RANDOM
16829   (umask 077 && mkdir "$tmp")
16830 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16831
16832 # Set up the scripts for CONFIG_FILES section.
16833 # No need to generate them if there are no CONFIG_FILES.
16834 # This happens for instance with `./config.status config.h'.
16835 if test -n "$CONFIG_FILES"; then
16836
16837
16838 ac_cr=`echo X | tr X '\015'`
16839 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16840 # But we know of no other shell where ac_cr would be empty at this
16841 # point, so we can use a bashism as a fallback.
16842 if test "x$ac_cr" = x; then
16843   eval ac_cr=\$\'\\r\'
16844 fi
16845 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16846 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16847   ac_cs_awk_cr='\\r'
16848 else
16849   ac_cs_awk_cr=$ac_cr
16850 fi
16851
16852 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16853 _ACEOF
16854
16855
16856 {
16857   echo "cat >conf$$subs.awk <<_ACEOF" &&
16858   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16859   echo "_ACEOF"
16860 } >conf$$subs.sh ||
16861   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16862 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16863 ac_delim='%!_!# '
16864 for ac_last_try in false false false false false :; do
16865   . ./conf$$subs.sh ||
16866     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16867
16868   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16869   if test $ac_delim_n = $ac_delim_num; then
16870     break
16871   elif $ac_last_try; then
16872     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16873   else
16874     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16875   fi
16876 done
16877 rm -f conf$$subs.sh
16878
16879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16880 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16881 _ACEOF
16882 sed -n '
16883 h
16884 s/^/S["/; s/!.*/"]=/
16885 p
16886 g
16887 s/^[^!]*!//
16888 :repl
16889 t repl
16890 s/'"$ac_delim"'$//
16891 t delim
16892 :nl
16893 h
16894 s/\(.\{148\}\)..*/\1/
16895 t more1
16896 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16897 p
16898 n
16899 b repl
16900 :more1
16901 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16902 p
16903 g
16904 s/.\{148\}//
16905 t nl
16906 :delim
16907 h
16908 s/\(.\{148\}\)..*/\1/
16909 t more2
16910 s/["\\]/\\&/g; s/^/"/; s/$/"/
16911 p
16912 b
16913 :more2
16914 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16915 p
16916 g
16917 s/.\{148\}//
16918 t delim
16919 ' <conf$$subs.awk | sed '
16920 /^[^""]/{
16921   N
16922   s/\n//
16923 }
16924 ' >>$CONFIG_STATUS || ac_write_fail=1
16925 rm -f conf$$subs.awk
16926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16927 _ACAWK
16928 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16929   for (key in S) S_is_set[key] = 1
16930   FS = "\a"
16931
16932 }
16933 {
16934   line = $ 0
16935   nfields = split(line, field, "@")
16936   substed = 0
16937   len = length(field[1])
16938   for (i = 2; i < nfields; i++) {
16939     key = field[i]
16940     keylen = length(key)
16941     if (S_is_set[key]) {
16942       value = S[key]
16943       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16944       len += length(value) + length(field[++i])
16945       substed = 1
16946     } else
16947       len += 1 + keylen
16948   }
16949
16950   print line
16951 }
16952
16953 _ACAWK
16954 _ACEOF
16955 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16956 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16957   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16958 else
16959   cat
16960 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16961   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16962 _ACEOF
16963
16964 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16965 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16966 # trailing colons and then remove the whole line if VPATH becomes empty
16967 # (actually we leave an empty line to preserve line numbers).
16968 if test "x$srcdir" = x.; then
16969   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
16970 h
16971 s///
16972 s/^/:/
16973 s/[      ]*$/:/
16974 s/:\$(srcdir):/:/g
16975 s/:\${srcdir}:/:/g
16976 s/:@srcdir@:/:/g
16977 s/^:*//
16978 s/:*$//
16979 x
16980 s/\(=[   ]*\).*/\1/
16981 G
16982 s/\n//
16983 s/^[^=]*=[       ]*$//
16984 }'
16985 fi
16986
16987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16988 fi # test -n "$CONFIG_FILES"
16989
16990 # Set up the scripts for CONFIG_HEADERS section.
16991 # No need to generate them if there are no CONFIG_HEADERS.
16992 # This happens for instance with `./config.status Makefile'.
16993 if test -n "$CONFIG_HEADERS"; then
16994 cat >"$tmp/defines.awk" <<\_ACAWK ||
16995 BEGIN {
16996 _ACEOF
16997
16998 # Transform confdefs.h into an awk script `defines.awk', embedded as
16999 # here-document in config.status, that substitutes the proper values into
17000 # config.h.in to produce config.h.
17001
17002 # Create a delimiter string that does not exist in confdefs.h, to ease
17003 # handling of long lines.
17004 ac_delim='%!_!# '
17005 for ac_last_try in false false :; do
17006   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17007   if test -z "$ac_t"; then
17008     break
17009   elif $ac_last_try; then
17010     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17011   else
17012     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17013   fi
17014 done
17015
17016 # For the awk script, D is an array of macro values keyed by name,
17017 # likewise P contains macro parameters if any.  Preserve backslash
17018 # newline sequences.
17019
17020 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17021 sed -n '
17022 s/.\{148\}/&'"$ac_delim"'/g
17023 t rset
17024 :rset
17025 s/^[     ]*#[    ]*define[       ][      ]*/ /
17026 t def
17027 d
17028 :def
17029 s/\\$//
17030 t bsnl
17031 s/["\\]/\\&/g
17032 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17033 D["\1"]=" \3"/p
17034 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
17035 d
17036 :bsnl
17037 s/["\\]/\\&/g
17038 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
17039 D["\1"]=" \3\\\\\\n"\\/p
17040 t cont
17041 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17042 t cont
17043 d
17044 :cont
17045 n
17046 s/.\{148\}/&'"$ac_delim"'/g
17047 t clear
17048 :clear
17049 s/\\$//
17050 t bsnlc
17051 s/["\\]/\\&/g; s/^/"/; s/$/"/p
17052 d
17053 :bsnlc
17054 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17055 b cont
17056 ' <confdefs.h | sed '
17057 s/'"$ac_delim"'/"\\\
17058 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17059
17060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17061   for (key in D) D_is_set[key] = 1
17062   FS = "\a"
17063 }
17064 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17065   line = \$ 0
17066   split(line, arg, " ")
17067   if (arg[1] == "#") {
17068     defundef = arg[2]
17069     mac1 = arg[3]
17070   } else {
17071     defundef = substr(arg[1], 2)
17072     mac1 = arg[2]
17073   }
17074   split(mac1, mac2, "(") #)
17075   macro = mac2[1]
17076   prefix = substr(line, 1, index(line, defundef) - 1)
17077   if (D_is_set[macro]) {
17078     # Preserve the white space surrounding the "#".
17079     print prefix "define", macro P[macro] D[macro]
17080     next
17081   } else {
17082     # Replace #undef with comments.  This is necessary, for example,
17083     # in the case of _POSIX_SOURCE, which is predefined and required
17084     # on some systems where configure will not decide to define it.
17085     if (defundef == "undef") {
17086       print "/*", prefix defundef, macro, "*/"
17087       next
17088     }
17089   }
17090 }
17091 { print }
17092 _ACAWK
17093 _ACEOF
17094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17095   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17096 fi # test -n "$CONFIG_HEADERS"
17097
17098
17099 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17100 shift
17101 for ac_tag
17102 do
17103   case $ac_tag in
17104   :[FHLC]) ac_mode=$ac_tag; continue;;
17105   esac
17106   case $ac_mode$ac_tag in
17107   :[FHL]*:*);;
17108   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17109   :[FH]-) ac_tag=-:-;;
17110   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17111   esac
17112   ac_save_IFS=$IFS
17113   IFS=:
17114   set x $ac_tag
17115   IFS=$ac_save_IFS
17116   shift
17117   ac_file=$1
17118   shift
17119
17120   case $ac_mode in
17121   :L) ac_source=$1;;
17122   :[FH])
17123     ac_file_inputs=
17124     for ac_f
17125     do
17126       case $ac_f in
17127       -) ac_f="$tmp/stdin";;
17128       *) # Look for the file first in the build tree, then in the source tree
17129          # (if the path is not absolute).  The absolute path cannot be DOS-style,
17130          # because $ac_f cannot contain `:'.
17131          test -f "$ac_f" ||
17132            case $ac_f in
17133            [\\/$]*) false;;
17134            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17135            esac ||
17136            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17137       esac
17138       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17139       as_fn_append ac_file_inputs " '$ac_f'"
17140     done
17141
17142     # Let's still pretend it is `configure' which instantiates (i.e., don't
17143     # use $as_me), people would be surprised to read:
17144     #    /* config.h.  Generated by config.status.  */
17145     configure_input='Generated from '`
17146           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17147         `' by configure.'
17148     if test x"$ac_file" != x-; then
17149       configure_input="$ac_file.  $configure_input"
17150       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17151 $as_echo "$as_me: creating $ac_file" >&6;}
17152     fi
17153     # Neutralize special characters interpreted by sed in replacement strings.
17154     case $configure_input in #(
17155     *\&* | *\|* | *\\* )
17156        ac_sed_conf_input=`$as_echo "$configure_input" |
17157        sed 's/[\\\\&|]/\\\\&/g'`;; #(
17158     *) ac_sed_conf_input=$configure_input;;
17159     esac
17160
17161     case $ac_tag in
17162     *:-:* | *:-) cat >"$tmp/stdin" \
17163       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
17164     esac
17165     ;;
17166   esac
17167
17168   ac_dir=`$as_dirname -- "$ac_file" ||
17169 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17170          X"$ac_file" : 'X\(//\)[^/]' \| \
17171          X"$ac_file" : 'X\(//\)$' \| \
17172          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17173 $as_echo X"$ac_file" |
17174     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17175             s//\1/
17176             q
17177           }
17178           /^X\(\/\/\)[^/].*/{
17179             s//\1/
17180             q
17181           }
17182           /^X\(\/\/\)$/{
17183             s//\1/
17184             q
17185           }
17186           /^X\(\/\).*/{
17187             s//\1/
17188             q
17189           }
17190           s/.*/./; q'`
17191   as_dir="$ac_dir"; as_fn_mkdir_p
17192   ac_builddir=.
17193
17194 case "$ac_dir" in
17195 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17196 *)
17197   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17198   # A ".." for each directory in $ac_dir_suffix.
17199   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17200   case $ac_top_builddir_sub in
17201   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17202   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17203   esac ;;
17204 esac
17205 ac_abs_top_builddir=$ac_pwd
17206 ac_abs_builddir=$ac_pwd$ac_dir_suffix
17207 # for backward compatibility:
17208 ac_top_builddir=$ac_top_build_prefix
17209
17210 case $srcdir in
17211   .)  # We are building in place.
17212     ac_srcdir=.
17213     ac_top_srcdir=$ac_top_builddir_sub
17214     ac_abs_top_srcdir=$ac_pwd ;;
17215   [\\/]* | ?:[\\/]* )  # Absolute name.
17216     ac_srcdir=$srcdir$ac_dir_suffix;
17217     ac_top_srcdir=$srcdir
17218     ac_abs_top_srcdir=$srcdir ;;
17219   *) # Relative name.
17220     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17221     ac_top_srcdir=$ac_top_build_prefix$srcdir
17222     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17223 esac
17224 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17225
17226
17227   case $ac_mode in
17228   :F)
17229   #
17230   # CONFIG_FILE
17231   #
17232
17233   case $INSTALL in
17234   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17235   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17236   esac
17237   ac_MKDIR_P=$MKDIR_P
17238   case $MKDIR_P in
17239   [\\/$]* | ?:[\\/]* ) ;;
17240   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17241   esac
17242 _ACEOF
17243
17244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17245 # If the template does not know about datarootdir, expand it.
17246 # FIXME: This hack should be removed a few years after 2.60.
17247 ac_datarootdir_hack=; ac_datarootdir_seen=
17248 ac_sed_dataroot='
17249 /datarootdir/ {
17250   p
17251   q
17252 }
17253 /@datadir@/p
17254 /@docdir@/p
17255 /@infodir@/p
17256 /@localedir@/p
17257 /@mandir@/p'
17258 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17259 *datarootdir*) ac_datarootdir_seen=yes;;
17260 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17261   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17262 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17263 _ACEOF
17264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17265   ac_datarootdir_hack='
17266   s&@datadir@&$datadir&g
17267   s&@docdir@&$docdir&g
17268   s&@infodir@&$infodir&g
17269   s&@localedir@&$localedir&g
17270   s&@mandir@&$mandir&g
17271   s&\\\${datarootdir}&$datarootdir&g' ;;
17272 esac
17273 _ACEOF
17274
17275 # Neutralize VPATH when `$srcdir' = `.'.
17276 # Shell code in configure.ac might set extrasub.
17277 # FIXME: do we really want to maintain this feature?
17278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17279 ac_sed_extra="$ac_vpsub
17280 $extrasub
17281 _ACEOF
17282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17283 :t
17284 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17285 s|@configure_input@|$ac_sed_conf_input|;t t
17286 s&@top_builddir@&$ac_top_builddir_sub&;t t
17287 s&@top_build_prefix@&$ac_top_build_prefix&;t t
17288 s&@srcdir@&$ac_srcdir&;t t
17289 s&@abs_srcdir@&$ac_abs_srcdir&;t t
17290 s&@top_srcdir@&$ac_top_srcdir&;t t
17291 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17292 s&@builddir@&$ac_builddir&;t t
17293 s&@abs_builddir@&$ac_abs_builddir&;t t
17294 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17295 s&@INSTALL@&$ac_INSTALL&;t t
17296 s&@MKDIR_P@&$ac_MKDIR_P&;t t
17297 $ac_datarootdir_hack
17298 "
17299 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17300   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17301
17302 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17303   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17304   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17305   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17306 which seems to be undefined.  Please make sure it is defined" >&5
17307 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17308 which seems to be undefined.  Please make sure it is defined" >&2;}
17309
17310   rm -f "$tmp/stdin"
17311   case $ac_file in
17312   -) cat "$tmp/out" && rm -f "$tmp/out";;
17313   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17314   esac \
17315   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17316  ;;
17317   :H)
17318   #
17319   # CONFIG_HEADER
17320   #
17321   if test x"$ac_file" != x-; then
17322     {
17323       $as_echo "/* $configure_input  */" \
17324       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17325     } >"$tmp/config.h" \
17326       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17327     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17328       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17329 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17330     else
17331       rm -f "$ac_file"
17332       mv "$tmp/config.h" "$ac_file" \
17333         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17334     fi
17335   else
17336     $as_echo "/* $configure_input  */" \
17337       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17338       || as_fn_error $? "could not create -" "$LINENO" 5
17339   fi
17340 # Compute "$ac_file"'s index in $config_headers.
17341 _am_arg="$ac_file"
17342 _am_stamp_count=1
17343 for _am_header in $config_headers :; do
17344   case $_am_header in
17345     $_am_arg | $_am_arg:* )
17346       break ;;
17347     * )
17348       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17349   esac
17350 done
17351 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17352 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17353          X"$_am_arg" : 'X\(//\)[^/]' \| \
17354          X"$_am_arg" : 'X\(//\)$' \| \
17355          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17356 $as_echo X"$_am_arg" |
17357     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17358             s//\1/
17359             q
17360           }
17361           /^X\(\/\/\)[^/].*/{
17362             s//\1/
17363             q
17364           }
17365           /^X\(\/\/\)$/{
17366             s//\1/
17367             q
17368           }
17369           /^X\(\/\).*/{
17370             s//\1/
17371             q
17372           }
17373           s/.*/./; q'`/stamp-h$_am_stamp_count
17374  ;;
17375
17376   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17377 $as_echo "$as_me: executing $ac_file commands" >&6;}
17378  ;;
17379   esac
17380
17381
17382   case $ac_file$ac_mode in
17383     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17384   # Autoconf 2.62 quotes --file arguments for eval, but not when files
17385   # are listed without --file.  Let's play safe and only enable the eval
17386   # if we detect the quoting.
17387   case $CONFIG_FILES in
17388   *\'*) eval set x "$CONFIG_FILES" ;;
17389   *)   set x $CONFIG_FILES ;;
17390   esac
17391   shift
17392   for mf
17393   do
17394     # Strip MF so we end up with the name of the file.
17395     mf=`echo "$mf" | sed -e 's/:.*$//'`
17396     # Check whether this is an Automake generated Makefile or not.
17397     # We used to match only the files named `Makefile.in', but
17398     # some people rename them; so instead we look at the file content.
17399     # Grep'ing the first line is not enough: some people post-process
17400     # each Makefile.in and add a new line on top of each file to say so.
17401     # Grep'ing the whole file is not good either: AIX grep has a line
17402     # limit of 2048, but all sed's we know have understand at least 4000.
17403     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17404       dirpart=`$as_dirname -- "$mf" ||
17405 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17406          X"$mf" : 'X\(//\)[^/]' \| \
17407          X"$mf" : 'X\(//\)$' \| \
17408          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17409 $as_echo X"$mf" |
17410     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17411             s//\1/
17412             q
17413           }
17414           /^X\(\/\/\)[^/].*/{
17415             s//\1/
17416             q
17417           }
17418           /^X\(\/\/\)$/{
17419             s//\1/
17420             q
17421           }
17422           /^X\(\/\).*/{
17423             s//\1/
17424             q
17425           }
17426           s/.*/./; q'`
17427     else
17428       continue
17429     fi
17430     # Extract the definition of DEPDIR, am__include, and am__quote
17431     # from the Makefile without running `make'.
17432     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17433     test -z "$DEPDIR" && continue
17434     am__include=`sed -n 's/^am__include = //p' < "$mf"`
17435     test -z "am__include" && continue
17436     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17437     # When using ansi2knr, U may be empty or an underscore; expand it
17438     U=`sed -n 's/^U = //p' < "$mf"`
17439     # Find all dependency output files, they are included files with
17440     # $(DEPDIR) in their names.  We invoke sed twice because it is the
17441     # simplest approach to changing $(DEPDIR) to its actual value in the
17442     # expansion.
17443     for file in `sed -n "
17444       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17445          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17446       # Make sure the directory exists.
17447       test -f "$dirpart/$file" && continue
17448       fdir=`$as_dirname -- "$file" ||
17449 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17450          X"$file" : 'X\(//\)[^/]' \| \
17451          X"$file" : 'X\(//\)$' \| \
17452          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17453 $as_echo X"$file" |
17454     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17455             s//\1/
17456             q
17457           }
17458           /^X\(\/\/\)[^/].*/{
17459             s//\1/
17460             q
17461           }
17462           /^X\(\/\/\)$/{
17463             s//\1/
17464             q
17465           }
17466           /^X\(\/\).*/{
17467             s//\1/
17468             q
17469           }
17470           s/.*/./; q'`
17471       as_dir=$dirpart/$fdir; as_fn_mkdir_p
17472       # echo "creating $dirpart/$file"
17473       echo '# dummy' > "$dirpart/$file"
17474     done
17475   done
17476 }
17477  ;;
17478     "libtool":C)
17479
17480     # See if we are running on zsh, and set the options which allow our
17481     # commands through without removal of \ escapes.
17482     if test -n "${ZSH_VERSION+set}" ; then
17483       setopt NO_GLOB_SUBST
17484     fi
17485
17486     cfgfile="${ofile}T"
17487     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17488     $RM "$cfgfile"
17489
17490     cat <<_LT_EOF >> "$cfgfile"
17491 #! $SHELL
17492
17493 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17494 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17495 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17496 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
17497 #
17498 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17499 #                 2006, 2007, 2008 Free Software Foundation, Inc.
17500 #   Written by Gordon Matzigkeit, 1996
17501 #
17502 #   This file is part of GNU Libtool.
17503 #
17504 # GNU Libtool is free software; you can redistribute it and/or
17505 # modify it under the terms of the GNU General Public License as
17506 # published by the Free Software Foundation; either version 2 of
17507 # the License, or (at your option) any later version.
17508 #
17509 # As a special exception to the GNU General Public License,
17510 # if you distribute this file as part of a program or library that
17511 # is built using GNU Libtool, you may include this file under the
17512 # same distribution terms that you use for the rest of that program.
17513 #
17514 # GNU Libtool is distributed in the hope that it will be useful,
17515 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17517 # GNU General Public License for more details.
17518 #
17519 # You should have received a copy of the GNU General Public License
17520 # along with GNU Libtool; see the file COPYING.  If not, a copy
17521 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17522 # obtained by writing to the Free Software Foundation, Inc.,
17523 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17524
17525
17526 # The names of the tagged configurations supported by this script.
17527 available_tags=""
17528
17529 # ### BEGIN LIBTOOL CONFIG
17530
17531 # Assembler program.
17532 AS=$AS
17533
17534 # DLL creation program.
17535 DLLTOOL=$DLLTOOL
17536
17537 # Object dumper program.
17538 OBJDUMP=$OBJDUMP
17539
17540 # Which release of libtool.m4 was used?
17541 macro_version=$macro_version
17542 macro_revision=$macro_revision
17543
17544 # Whether or not to build shared libraries.
17545 build_libtool_libs=$enable_shared
17546
17547 # Whether or not to build static libraries.
17548 build_old_libs=$enable_static
17549
17550 # What type of objects to build.
17551 pic_mode=$pic_mode
17552
17553 # Whether or not to optimize for fast installation.
17554 fast_install=$enable_fast_install
17555
17556 # The host system.
17557 host_alias=$host_alias
17558 host=$host
17559 host_os=$host_os
17560
17561 # The build system.
17562 build_alias=$build_alias
17563 build=$build
17564 build_os=$build_os
17565
17566 # A sed program that does not truncate output.
17567 SED=$lt_SED
17568
17569 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
17570 Xsed="\$SED -e 1s/^X//"
17571
17572 # A grep program that handles long lines.
17573 GREP=$lt_GREP
17574
17575 # An ERE matcher.
17576 EGREP=$lt_EGREP
17577
17578 # A literal string matcher.
17579 FGREP=$lt_FGREP
17580
17581 # A BSD- or MS-compatible name lister.
17582 NM=$lt_NM
17583
17584 # Whether we need soft or hard links.
17585 LN_S=$lt_LN_S
17586
17587 # What is the maximum length of a command?
17588 max_cmd_len=$max_cmd_len
17589
17590 # Object file suffix (normally "o").
17591 objext=$ac_objext
17592
17593 # Executable file suffix (normally "").
17594 exeext=$exeext
17595
17596 # whether the shell understands "unset".
17597 lt_unset=$lt_unset
17598
17599 # turn spaces into newlines.
17600 SP2NL=$lt_lt_SP2NL
17601
17602 # turn newlines into spaces.
17603 NL2SP=$lt_lt_NL2SP
17604
17605 # How to create reloadable object files.
17606 reload_flag=$lt_reload_flag
17607 reload_cmds=$lt_reload_cmds
17608
17609 # Method to check whether dependent libraries are shared objects.
17610 deplibs_check_method=$lt_deplibs_check_method
17611
17612 # Command to use when deplibs_check_method == "file_magic".
17613 file_magic_cmd=$lt_file_magic_cmd
17614
17615 # The archiver.
17616 AR=$lt_AR
17617 AR_FLAGS=$lt_AR_FLAGS
17618
17619 # A symbol stripping program.
17620 STRIP=$lt_STRIP
17621
17622 # Commands used to install an old-style archive.
17623 RANLIB=$lt_RANLIB
17624 old_postinstall_cmds=$lt_old_postinstall_cmds
17625 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17626
17627 # A C compiler.
17628 LTCC=$lt_CC
17629
17630 # LTCC compiler flags.
17631 LTCFLAGS=$lt_CFLAGS
17632
17633 # Take the output of nm and produce a listing of raw symbols and C names.
17634 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17635
17636 # Transform the output of nm in a proper C declaration.
17637 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17638
17639 # Transform the output of nm in a C name address pair.
17640 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17641
17642 # Transform the output of nm in a C name address pair when lib prefix is needed.
17643 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17644
17645 # The name of the directory that contains temporary libtool files.
17646 objdir=$objdir
17647
17648 # Shell to use when invoking shell scripts.
17649 SHELL=$lt_SHELL
17650
17651 # An echo program that does not interpret backslashes.
17652 ECHO=$lt_ECHO
17653
17654 # Used to examine libraries when file_magic_cmd begins with "file".
17655 MAGIC_CMD=$MAGIC_CMD
17656
17657 # Must we lock files when doing compilation?
17658 need_locks=$lt_need_locks
17659
17660 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17661 DSYMUTIL=$lt_DSYMUTIL
17662
17663 # Tool to change global to local symbols on Mac OS X.
17664 NMEDIT=$lt_NMEDIT
17665
17666 # Tool to manipulate fat objects and archives on Mac OS X.
17667 LIPO=$lt_LIPO
17668
17669 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
17670 OTOOL=$lt_OTOOL
17671
17672 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17673 OTOOL64=$lt_OTOOL64
17674
17675 # Old archive suffix (normally "a").
17676 libext=$libext
17677
17678 # Shared library suffix (normally ".so").
17679 shrext_cmds=$lt_shrext_cmds
17680
17681 # The commands to extract the exported symbol list from a shared archive.
17682 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17683
17684 # Variables whose values should be saved in libtool wrapper scripts and
17685 # restored at link time.
17686 variables_saved_for_relink=$lt_variables_saved_for_relink
17687
17688 # Do we need the "lib" prefix for modules?
17689 need_lib_prefix=$need_lib_prefix
17690
17691 # Do we need a version for libraries?
17692 need_version=$need_version
17693
17694 # Library versioning type.
17695 version_type=$version_type
17696
17697 # Shared library runtime path variable.
17698 runpath_var=$runpath_var
17699
17700 # Shared library path variable.
17701 shlibpath_var=$shlibpath_var
17702
17703 # Is shlibpath searched before the hard-coded library search path?
17704 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17705
17706 # Format of library name prefix.
17707 libname_spec=$lt_libname_spec
17708
17709 # List of archive names.  First name is the real one, the rest are links.
17710 # The last name is the one that the linker finds with -lNAME
17711 library_names_spec=$lt_library_names_spec
17712
17713 # The coded name of the library, if different from the real name.
17714 soname_spec=$lt_soname_spec
17715
17716 # Command to use after installation of a shared archive.
17717 postinstall_cmds=$lt_postinstall_cmds
17718
17719 # Command to use after uninstallation of a shared archive.
17720 postuninstall_cmds=$lt_postuninstall_cmds
17721
17722 # Commands used to finish a libtool library installation in a directory.
17723 finish_cmds=$lt_finish_cmds
17724
17725 # As "finish_cmds", except a single script fragment to be evaled but
17726 # not shown.
17727 finish_eval=$lt_finish_eval
17728
17729 # Whether we should hardcode library paths into libraries.
17730 hardcode_into_libs=$hardcode_into_libs
17731
17732 # Compile-time system search path for libraries.
17733 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17734
17735 # Run-time system search path for libraries.
17736 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17737
17738 # Whether dlopen is supported.
17739 dlopen_support=$enable_dlopen
17740
17741 # Whether dlopen of programs is supported.
17742 dlopen_self=$enable_dlopen_self
17743
17744 # Whether dlopen of statically linked programs is supported.
17745 dlopen_self_static=$enable_dlopen_self_static
17746
17747 # Commands to strip libraries.
17748 old_striplib=$lt_old_striplib
17749 striplib=$lt_striplib
17750
17751
17752 # The linker used to build libraries.
17753 LD=$lt_LD
17754
17755 # Commands used to build an old-style archive.
17756 old_archive_cmds=$lt_old_archive_cmds
17757
17758 # A language specific compiler.
17759 CC=$lt_compiler
17760
17761 # Is the compiler the GNU compiler?
17762 with_gcc=$GCC
17763
17764 # Compiler flag to turn off builtin functions.
17765 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17766
17767 # How to pass a linker flag through the compiler.
17768 wl=$lt_lt_prog_compiler_wl
17769
17770 # Additional compiler flags for building library objects.
17771 pic_flag=$lt_lt_prog_compiler_pic
17772
17773 # Compiler flag to prevent dynamic linking.
17774 link_static_flag=$lt_lt_prog_compiler_static
17775
17776 # Does compiler simultaneously support -c and -o options?
17777 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17778
17779 # Whether or not to add -lc for building shared libraries.
17780 build_libtool_need_lc=$archive_cmds_need_lc
17781
17782 # Whether or not to disallow shared libs when runtime libs are static.
17783 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17784
17785 # Compiler flag to allow reflexive dlopens.
17786 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17787
17788 # Compiler flag to generate shared objects directly from archives.
17789 whole_archive_flag_spec=$lt_whole_archive_flag_spec
17790
17791 # Whether the compiler copes with passing no objects directly.
17792 compiler_needs_object=$lt_compiler_needs_object
17793
17794 # Create an old-style archive from a shared archive.
17795 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17796
17797 # Create a temporary old-style archive to link instead of a shared archive.
17798 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17799
17800 # Commands used to build a shared archive.
17801 archive_cmds=$lt_archive_cmds
17802 archive_expsym_cmds=$lt_archive_expsym_cmds
17803
17804 # Commands used to build a loadable module if different from building
17805 # a shared archive.
17806 module_cmds=$lt_module_cmds
17807 module_expsym_cmds=$lt_module_expsym_cmds
17808
17809 # Whether we are building with GNU ld or not.
17810 with_gnu_ld=$lt_with_gnu_ld
17811
17812 # Flag that allows shared libraries with undefined symbols to be built.
17813 allow_undefined_flag=$lt_allow_undefined_flag
17814
17815 # Flag that enforces no undefined symbols.
17816 no_undefined_flag=$lt_no_undefined_flag
17817
17818 # Flag to hardcode \$libdir into a binary during linking.
17819 # This must work even if \$libdir does not exist
17820 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17821
17822 # If ld is used when linking, flag to hardcode \$libdir into a binary
17823 # during linking.  This must work even if \$libdir does not exist.
17824 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17825
17826 # Whether we need a single "-rpath" flag with a separated argument.
17827 hardcode_libdir_separator=$lt_hardcode_libdir_separator
17828
17829 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17830 # DIR into the resulting binary.
17831 hardcode_direct=$hardcode_direct
17832
17833 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17834 # DIR into the resulting binary and the resulting library dependency is
17835 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17836 # library is relocated.
17837 hardcode_direct_absolute=$hardcode_direct_absolute
17838
17839 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17840 # into the resulting binary.
17841 hardcode_minus_L=$hardcode_minus_L
17842
17843 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17844 # into the resulting binary.
17845 hardcode_shlibpath_var=$hardcode_shlibpath_var
17846
17847 # Set to "yes" if building a shared library automatically hardcodes DIR
17848 # into the library and all subsequent libraries and executables linked
17849 # against it.
17850 hardcode_automatic=$hardcode_automatic
17851
17852 # Set to yes if linker adds runtime paths of dependent libraries
17853 # to runtime path list.
17854 inherit_rpath=$inherit_rpath
17855
17856 # Whether libtool must link a program against all its dependency libraries.
17857 link_all_deplibs=$link_all_deplibs
17858
17859 # Fix the shell variable \$srcfile for the compiler.
17860 fix_srcfile_path=$lt_fix_srcfile_path
17861
17862 # Set to "yes" if exported symbols are required.
17863 always_export_symbols=$always_export_symbols
17864
17865 # The commands to list exported symbols.
17866 export_symbols_cmds=$lt_export_symbols_cmds
17867
17868 # Symbols that should not be listed in the preloaded symbols.
17869 exclude_expsyms=$lt_exclude_expsyms
17870
17871 # Symbols that must always be exported.
17872 include_expsyms=$lt_include_expsyms
17873
17874 # Commands necessary for linking programs (against libraries) with templates.
17875 prelink_cmds=$lt_prelink_cmds
17876
17877 # Specify filename containing input files.
17878 file_list_spec=$lt_file_list_spec
17879
17880 # How to hardcode a shared library path into an executable.
17881 hardcode_action=$hardcode_action
17882
17883 # ### END LIBTOOL CONFIG
17884
17885 _LT_EOF
17886
17887   case $host_os in
17888   aix3*)
17889     cat <<\_LT_EOF >> "$cfgfile"
17890 # AIX sometimes has problems with the GCC collect2 program.  For some
17891 # reason, if we set the COLLECT_NAMES environment variable, the problems
17892 # vanish in a puff of smoke.
17893 if test "X${COLLECT_NAMES+set}" != Xset; then
17894   COLLECT_NAMES=
17895   export COLLECT_NAMES
17896 fi
17897 _LT_EOF
17898     ;;
17899   esac
17900
17901
17902 ltmain="$ac_aux_dir/ltmain.sh"
17903
17904
17905   # We use sed instead of cat because bash on DJGPP gets confused if
17906   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17907   # text mode, it properly converts lines to CR/LF.  This bash problem
17908   # is reportedly fixed, but why not run on old versions too?
17909   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17910     || (rm -f "$cfgfile"; exit 1)
17911
17912   case $xsi_shell in
17913   yes)
17914     cat << \_LT_EOF >> "$cfgfile"
17915
17916 # func_dirname file append nondir_replacement
17917 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
17918 # otherwise set result to NONDIR_REPLACEMENT.
17919 func_dirname ()
17920 {
17921   case ${1} in
17922     */*) func_dirname_result="${1%/*}${2}" ;;
17923     *  ) func_dirname_result="${3}" ;;
17924   esac
17925 }
17926
17927 # func_basename file
17928 func_basename ()
17929 {
17930   func_basename_result="${1##*/}"
17931 }
17932
17933 # func_dirname_and_basename file append nondir_replacement
17934 # perform func_basename and func_dirname in a single function
17935 # call:
17936 #   dirname:  Compute the dirname of FILE.  If nonempty,
17937 #             add APPEND to the result, otherwise set result
17938 #             to NONDIR_REPLACEMENT.
17939 #             value returned in "$func_dirname_result"
17940 #   basename: Compute filename of FILE.
17941 #             value retuned in "$func_basename_result"
17942 # Implementation must be kept synchronized with func_dirname
17943 # and func_basename. For efficiency, we do not delegate to
17944 # those functions but instead duplicate the functionality here.
17945 func_dirname_and_basename ()
17946 {
17947   case ${1} in
17948     */*) func_dirname_result="${1%/*}${2}" ;;
17949     *  ) func_dirname_result="${3}" ;;
17950   esac
17951   func_basename_result="${1##*/}"
17952 }
17953
17954 # func_stripname prefix suffix name
17955 # strip PREFIX and SUFFIX off of NAME.
17956 # PREFIX and SUFFIX must not contain globbing or regex special
17957 # characters, hashes, percent signs, but SUFFIX may contain a leading
17958 # dot (in which case that matches only a dot).
17959 func_stripname ()
17960 {
17961   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17962   # positional parameters, so assign one to ordinary parameter first.
17963   func_stripname_result=${3}
17964   func_stripname_result=${func_stripname_result#"${1}"}
17965   func_stripname_result=${func_stripname_result%"${2}"}
17966 }
17967
17968 # func_opt_split
17969 func_opt_split ()
17970 {
17971   func_opt_split_opt=${1%%=*}
17972   func_opt_split_arg=${1#*=}
17973 }
17974
17975 # func_lo2o object
17976 func_lo2o ()
17977 {
17978   case ${1} in
17979     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17980     *)    func_lo2o_result=${1} ;;
17981   esac
17982 }
17983
17984 # func_xform libobj-or-source
17985 func_xform ()
17986 {
17987   func_xform_result=${1%.*}.lo
17988 }
17989
17990 # func_arith arithmetic-term...
17991 func_arith ()
17992 {
17993   func_arith_result=$(( $* ))
17994 }
17995
17996 # func_len string
17997 # STRING may not start with a hyphen.
17998 func_len ()
17999 {
18000   func_len_result=${#1}
18001 }
18002
18003 _LT_EOF
18004     ;;
18005   *) # Bourne compatible functions.
18006     cat << \_LT_EOF >> "$cfgfile"
18007
18008 # func_dirname file append nondir_replacement
18009 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
18010 # otherwise set result to NONDIR_REPLACEMENT.
18011 func_dirname ()
18012 {
18013   # Extract subdirectory from the argument.
18014   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18015   if test "X$func_dirname_result" = "X${1}"; then
18016     func_dirname_result="${3}"
18017   else
18018     func_dirname_result="$func_dirname_result${2}"
18019   fi
18020 }
18021
18022 # func_basename file
18023 func_basename ()
18024 {
18025   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18026 }
18027
18028
18029 # func_stripname prefix suffix name
18030 # strip PREFIX and SUFFIX off of NAME.
18031 # PREFIX and SUFFIX must not contain globbing or regex special
18032 # characters, hashes, percent signs, but SUFFIX may contain a leading
18033 # dot (in which case that matches only a dot).
18034 # func_strip_suffix prefix name
18035 func_stripname ()
18036 {
18037   case ${2} in
18038     .*) func_stripname_result=`$ECHO "X${3}" \
18039            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18040     *)  func_stripname_result=`$ECHO "X${3}" \
18041            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18042   esac
18043 }
18044
18045 # sed scripts:
18046 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18047 my_sed_long_arg='1s/^-[^=]*=//'
18048
18049 # func_opt_split
18050 func_opt_split ()
18051 {
18052   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18053   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18054 }
18055
18056 # func_lo2o object
18057 func_lo2o ()
18058 {
18059   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18060 }
18061
18062 # func_xform libobj-or-source
18063 func_xform ()
18064 {
18065   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18066 }
18067
18068 # func_arith arithmetic-term...
18069 func_arith ()
18070 {
18071   func_arith_result=`expr "$@"`
18072 }
18073
18074 # func_len string
18075 # STRING may not start with a hyphen.
18076 func_len ()
18077 {
18078   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18079 }
18080
18081 _LT_EOF
18082 esac
18083
18084 case $lt_shell_append in
18085   yes)
18086     cat << \_LT_EOF >> "$cfgfile"
18087
18088 # func_append var value
18089 # Append VALUE to the end of shell variable VAR.
18090 func_append ()
18091 {
18092   eval "$1+=\$2"
18093 }
18094 _LT_EOF
18095     ;;
18096   *)
18097     cat << \_LT_EOF >> "$cfgfile"
18098
18099 # func_append var value
18100 # Append VALUE to the end of shell variable VAR.
18101 func_append ()
18102 {
18103   eval "$1=\$$1\$2"
18104 }
18105
18106 _LT_EOF
18107     ;;
18108   esac
18109
18110
18111   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18112     || (rm -f "$cfgfile"; exit 1)
18113
18114   mv -f "$cfgfile" "$ofile" ||
18115     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18116   chmod +x "$ofile"
18117
18118  ;;
18119     "po-directories":C)
18120     for ac_file in $CONFIG_FILES; do
18121       # Support "outfile[:infile[:infile...]]"
18122       case "$ac_file" in
18123         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18124       esac
18125       # PO directories have a Makefile.in generated from Makefile.in.in.
18126       case "$ac_file" in */Makefile.in)
18127         # Adjust a relative srcdir.
18128         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18129         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18130         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18131         # In autoconf-2.13 it is called $ac_given_srcdir.
18132         # In autoconf-2.50 it is called $srcdir.
18133         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18134         case "$ac_given_srcdir" in
18135           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18136           /*) top_srcdir="$ac_given_srcdir" ;;
18137           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
18138         esac
18139         # Treat a directory as a PO directory if and only if it has a
18140         # POTFILES.in file. This allows packages to have multiple PO
18141         # directories under different names or in different locations.
18142         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18143           rm -f "$ac_dir/POTFILES"
18144           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18145           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18146           POMAKEFILEDEPS="POTFILES.in"
18147           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18148           # on $ac_dir but don't depend on user-specified configuration
18149           # parameters.
18150           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18151             # The LINGUAS file contains the set of available languages.
18152             if test -n "$OBSOLETE_ALL_LINGUAS"; then
18153               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18154             fi
18155             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18156             # Hide the ALL_LINGUAS assigment from automake < 1.5.
18157             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18158             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18159           else
18160             # The set of available languages was given in configure.in.
18161             # Hide the ALL_LINGUAS assigment from automake < 1.5.
18162             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18163           fi
18164           # Compute POFILES
18165           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18166           # Compute UPDATEPOFILES
18167           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18168           # Compute DUMMYPOFILES
18169           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18170           # Compute GMOFILES
18171           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18172           case "$ac_given_srcdir" in
18173             .) srcdirpre= ;;
18174             *) srcdirpre='$(srcdir)/' ;;
18175           esac
18176           POFILES=
18177           UPDATEPOFILES=
18178           DUMMYPOFILES=
18179           GMOFILES=
18180           for lang in $ALL_LINGUAS; do
18181             POFILES="$POFILES $srcdirpre$lang.po"
18182             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18183             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18184             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18185           done
18186           # CATALOGS depends on both $ac_dir and the user's LINGUAS
18187           # environment variable.
18188           INST_LINGUAS=
18189           if test -n "$ALL_LINGUAS"; then
18190             for presentlang in $ALL_LINGUAS; do
18191               useit=no
18192               if test "%UNSET%" != "$LINGUAS"; then
18193                 desiredlanguages="$LINGUAS"
18194               else
18195                 desiredlanguages="$ALL_LINGUAS"
18196               fi
18197               for desiredlang in $desiredlanguages; do
18198                 # Use the presentlang catalog if desiredlang is
18199                 #   a. equal to presentlang, or
18200                 #   b. a variant of presentlang (because in this case,
18201                 #      presentlang can be used as a fallback for messages
18202                 #      which are not translated in the desiredlang catalog).
18203                 case "$desiredlang" in
18204                   "$presentlang"*) useit=yes;;
18205                 esac
18206               done
18207               if test $useit = yes; then
18208                 INST_LINGUAS="$INST_LINGUAS $presentlang"
18209               fi
18210             done
18211           fi
18212           CATALOGS=
18213           if test -n "$INST_LINGUAS"; then
18214             for lang in $INST_LINGUAS; do
18215               CATALOGS="$CATALOGS $lang.gmo"
18216             done
18217           fi
18218           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18219           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18220           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18221             if test -f "$f"; then
18222               case "$f" in
18223                 *.orig | *.bak | *~) ;;
18224                 *) cat "$f" >> "$ac_dir/Makefile" ;;
18225               esac
18226             fi
18227           done
18228         fi
18229         ;;
18230       esac
18231     done ;;
18232
18233   esac
18234 done # for ac_tag
18235
18236
18237 as_fn_exit 0
18238 _ACEOF
18239 ac_clean_files=$ac_clean_files_save
18240
18241 test $ac_write_fail = 0 ||
18242   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18243
18244
18245 # configure is writing to config.log, and then calls config.status.
18246 # config.status does its own redirection, appending to config.log.
18247 # Unfortunately, on DOS this fails, as config.log is still kept open
18248 # by configure, so config.status won't be able to write to it; its
18249 # output is simply discarded.  So we exec the FD to /dev/null,
18250 # effectively closing config.log, so it can be properly (re)opened and
18251 # appended to by config.status.  When coming back to configure, we
18252 # need to make the FD available again.
18253 if test "$no_create" != yes; then
18254   ac_cs_success=:
18255   ac_config_status_args=
18256   test "$silent" = yes &&
18257     ac_config_status_args="$ac_config_status_args --quiet"
18258   exec 5>/dev/null
18259   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18260   exec 5>>config.log
18261   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18262   # would make configure fail if this is the last instruction.
18263   $ac_cs_success || as_fn_exit 1
18264 fi
18265 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18266   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18267 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18268 fi
18269
18270
18271
18272 #####################################################################
18273 ## Info
18274
18275 echo
18276 echo
18277 echo
18278 echo "------------------------------------------------------------------------"
18279 echo "$PACKAGE $VERSION"
18280 echo "------------------------------------------------------------------------"
18281 echo
18282 echo "Configuration Options Summary:"
18283 echo
18284 echo "  Specification compliance:"
18285 echo "    Strict.............: ${enable_strict_spec}"
18286 echo "    Sloppy.............: ${enable_sloppy_spec}"
18287 echo
18288 echo "  Tests................: ${enable_tests}"
18289 echo "  Coverage.............: ${enable_coverage}"
18290 echo
18291 echo "  Documentation........: ${build_doc}"
18292 echo
18293 echo "Compilation............: make (or gmake)"
18294 echo "  CPPFLAGS.............: $CPPFLAGS"
18295 echo "  CFLAGS...............: $CFLAGS"
18296 echo "  LDFLAGS..............: $LDFLAGS"
18297 echo
18298 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
18299 echo "  prefix...............: $prefix"
18300 echo