Imported Upstream version 1.7.1
[platform/upstream/emotion.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for emotion 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='emotion'
703 PACKAGE_TARNAME='emotion'
704 PACKAGE_VERSION='1.7.1'
705 PACKAGE_STRING='emotion 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 ac_subst_vars='am__EXEEXT_FALSE
747 am__EXEEXT_TRUE
748 LTLIBOBJS
749 LIBOBJS
750 requirement_emotion
751 EFL_INSTALL_EXAMPLES_FALSE
752 EFL_INSTALL_EXAMPLES_TRUE
753 EFL_BUILD_EXAMPLES_FALSE
754 EFL_BUILD_EXAMPLES_TRUE
755 GSTREAMER_INTERFACE_LIBS
756 GSTREAMER_INTERFACE_CFLAGS
757 EMOTION_BUILD_GENERIC_VLC_FALSE
758 EMOTION_BUILD_GENERIC_VLC_TRUE
759 GENERIC_VLC_LIBS
760 GENERIC_VLC_CFLAGS
761 EFL_SHM_OPEN_LIBS
762 EMOTION_STATIC_BUILD_GENERIC_FALSE
763 EMOTION_STATIC_BUILD_GENERIC_TRUE
764 EMOTION_BUILD_GENERIC_FALSE
765 EMOTION_BUILD_GENERIC_TRUE
766 GENERIC_LIBS
767 GENERIC_CFLAGS
768 EMOTION_STATIC_BUILD_GSTREAMER_FALSE
769 EMOTION_STATIC_BUILD_GSTREAMER_TRUE
770 EMOTION_BUILD_GSTREAMER_FALSE
771 EMOTION_BUILD_GSTREAMER_TRUE
772 GSTREAMER_LIBS
773 GSTREAMER_CFLAGS
774 EMOTION_STATIC_BUILD_XINE_FALSE
775 EMOTION_STATIC_BUILD_XINE_TRUE
776 EMOTION_BUILD_XINE_FALSE
777 EMOTION_BUILD_XINE_TRUE
778 XINE_LIBS
779 XINE_CFLAGS
780 ALLOCA
781 lt_enable_auto_import
782 EMOTION_CPPFLAGS
783 EFL_EMOTION_BUILD
784 HAVE_EIO_FALSE
785 HAVE_EIO_TRUE
786 EIO_LIBS
787 EIO_CFLAGS
788 EEZE_LIBS
789 EEZE_CFLAGS
790 ENABLE_EDJE_EXTERNAL_FALSE
791 ENABLE_EDJE_EXTERNAL_TRUE
792 MODULE_EDJE
793 EDJE_EXTERNAL_LIBS
794 EDJE_EXTERNAL_CFLAGS
795 ECORE_FB_LIBS
796 ECORE_FB_CFLAGS
797 ECORE_X_LIBS
798 ECORE_X_CFLAGS
799 EMOTION_BIN_LIBS
800 EMOTION_BIN_CFLAGS
801 EMOTION_LIBS
802 EMOTION_CFLAGS
803 EFL_BUILD_DOC_FALSE
804 EFL_BUILD_DOC_TRUE
805 efl_doxygen
806 efl_have_doxygen
807 pkgconfig_requires_private
808 PKG_CONFIG_LIBDIR
809 PKG_CONFIG_PATH
810 PKG_CONFIG
811 edje_cc
812 BUILD_EMOTION_TEST_FALSE
813 BUILD_EMOTION_TEST_TRUE
814 EMOTION_TEST_PRG
815 VMAJ
816 release_info
817 version_info
818 CPP
819 OTOOL64
820 OTOOL
821 LIPO
822 NMEDIT
823 DSYMUTIL
824 lt_ECHO
825 RANLIB
826 AR
827 LN_S
828 NM
829 ac_ct_DUMPBIN
830 DUMPBIN
831 LD
832 FGREP
833 EGREP
834 GREP
835 SED
836 LIBTOOL
837 OBJDUMP
838 DLLTOOL
839 AS
840 AM_BACKSLASH
841 AM_DEFAULT_VERBOSITY
842 am__fastdepCC_FALSE
843 am__fastdepCC_TRUE
844 CCDEPMODE
845 AMDEPBACKSLASH
846 AMDEP_FALSE
847 AMDEP_TRUE
848 am__quote
849 am__include
850 DEPDIR
851 am__untar
852 am__tar
853 AMTAR
854 am__leading_dot
855 SET_MAKE
856 AWK
857 mkdir_p
858 MKDIR_P
859 INSTALL_STRIP_PROGRAM
860 STRIP
861 install_sh
862 MAKEINFO
863 AUTOHEADER
864 AUTOMAKE
865 AUTOCONF
866 ACLOCAL
867 VERSION
868 PACKAGE
869 CYGPATH_W
870 am__isrc
871 INSTALL_DATA
872 INSTALL_SCRIPT
873 INSTALL_PROGRAM
874 OBJEXT
875 EXEEXT
876 ac_ct_CC
877 CPPFLAGS
878 LDFLAGS
879 CFLAGS
880 CC
881 host_os
882 host_vendor
883 host_cpu
884 host
885 build_os
886 build_vendor
887 build_cpu
888 build
889 target_alias
890 host_alias
891 build_alias
892 LIBS
893 ECHO_T
894 ECHO_N
895 ECHO_C
896 DEFS
897 mandir
898 localedir
899 libdir
900 psdir
901 pdfdir
902 dvidir
903 htmldir
904 infodir
905 docdir
906 oldincludedir
907 includedir
908 localstatedir
909 sharedstatedir
910 sysconfdir
911 datadir
912 datarootdir
913 libexecdir
914 sbindir
915 bindir
916 program_transform_name
917 prefix
918 exec_prefix
919 PACKAGE_URL
920 PACKAGE_BUGREPORT
921 PACKAGE_STRING
922 PACKAGE_VERSION
923 PACKAGE_TARNAME
924 PACKAGE_NAME
925 PATH_SEPARATOR
926 SHELL'
927 ac_subst_files=''
928 ac_user_opts='
929 enable_option_checking
930 enable_dependency_tracking
931 enable_silent_rules
932 enable_shared
933 enable_static
934 with_pic
935 enable_fast_install
936 with_gnu_ld
937 enable_libtool_lock
938 enable_emotion_test
939 with_edje_cc
940 enable_doc
941 with_doxygen
942 enable_edje_external
943 enable_ecore_x
944 enable_xine
945 enable_gstreamer
946 enable_generic
947 enable_generic_vlc
948 enable_build_examples
949 enable_install_examples
950 '
951       ac_precious_vars='build_alias
952 host_alias
953 target_alias
954 CC
955 CFLAGS
956 LDFLAGS
957 LIBS
958 CPPFLAGS
959 CPP
960 PKG_CONFIG
961 PKG_CONFIG_PATH
962 PKG_CONFIG_LIBDIR
963 EMOTION_CFLAGS
964 EMOTION_LIBS
965 EMOTION_BIN_CFLAGS
966 EMOTION_BIN_LIBS
967 ECORE_X_CFLAGS
968 ECORE_X_LIBS
969 ECORE_FB_CFLAGS
970 ECORE_FB_LIBS
971 EDJE_EXTERNAL_CFLAGS
972 EDJE_EXTERNAL_LIBS
973 EEZE_CFLAGS
974 EEZE_LIBS
975 EIO_CFLAGS
976 EIO_LIBS
977 XINE_CFLAGS
978 XINE_LIBS
979 GSTREAMER_CFLAGS
980 GSTREAMER_LIBS
981 GENERIC_CFLAGS
982 GENERIC_LIBS
983 GENERIC_VLC_CFLAGS
984 GENERIC_VLC_LIBS
985 GSTREAMER_INTERFACE_CFLAGS
986 GSTREAMER_INTERFACE_LIBS'
987
988
989 # Initialize some variables set by options.
990 ac_init_help=
991 ac_init_version=false
992 ac_unrecognized_opts=
993 ac_unrecognized_sep=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
996 cache_file=/dev/null
997 exec_prefix=NONE
998 no_create=
999 no_recursion=
1000 prefix=NONE
1001 program_prefix=NONE
1002 program_suffix=NONE
1003 program_transform_name=s,x,x,
1004 silent=
1005 site=
1006 srcdir=
1007 verbose=
1008 x_includes=NONE
1009 x_libraries=NONE
1010
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1029 htmldir='${docdir}'
1030 dvidir='${docdir}'
1031 pdfdir='${docdir}'
1032 psdir='${docdir}'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1036
1037 ac_prev=
1038 ac_dashdash=
1039 for ac_option
1040 do
1041   # If the previous option needs an argument, assign it.
1042   if test -n "$ac_prev"; then
1043     eval $ac_prev=\$ac_option
1044     ac_prev=
1045     continue
1046   fi
1047
1048   case $ac_option in
1049   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1050   *=)   ac_optarg= ;;
1051   *)    ac_optarg=yes ;;
1052   esac
1053
1054   # Accept the important Cygnus configure options, so we can diagnose typos.
1055
1056   case $ac_dashdash$ac_option in
1057   --)
1058     ac_dashdash=yes ;;
1059
1060   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1061     ac_prev=bindir ;;
1062   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1063     bindir=$ac_optarg ;;
1064
1065   -build | --build | --buil | --bui | --bu)
1066     ac_prev=build_alias ;;
1067   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1068     build_alias=$ac_optarg ;;
1069
1070   -cache-file | --cache-file | --cache-fil | --cache-fi \
1071   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1072     ac_prev=cache_file ;;
1073   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1074   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1075     cache_file=$ac_optarg ;;
1076
1077   --config-cache | -C)
1078     cache_file=config.cache ;;
1079
1080   -datadir | --datadir | --datadi | --datad)
1081     ac_prev=datadir ;;
1082   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1083     datadir=$ac_optarg ;;
1084
1085   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1086   | --dataroo | --dataro | --datar)
1087     ac_prev=datarootdir ;;
1088   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1089   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1090     datarootdir=$ac_optarg ;;
1091
1092   -disable-* | --disable-*)
1093     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094     # Reject names that are not valid shell variable names.
1095     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096       as_fn_error $? "invalid feature name: $ac_useropt"
1097     ac_useropt_orig=$ac_useropt
1098     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099     case $ac_user_opts in
1100       *"
1101 "enable_$ac_useropt"
1102 "*) ;;
1103       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104          ac_unrecognized_sep=', ';;
1105     esac
1106     eval enable_$ac_useropt=no ;;
1107
1108   -docdir | --docdir | --docdi | --doc | --do)
1109     ac_prev=docdir ;;
1110   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1111     docdir=$ac_optarg ;;
1112
1113   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1114     ac_prev=dvidir ;;
1115   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1116     dvidir=$ac_optarg ;;
1117
1118   -enable-* | --enable-*)
1119     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120     # Reject names that are not valid shell variable names.
1121     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122       as_fn_error $? "invalid feature name: $ac_useropt"
1123     ac_useropt_orig=$ac_useropt
1124     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125     case $ac_user_opts in
1126       *"
1127 "enable_$ac_useropt"
1128 "*) ;;
1129       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130          ac_unrecognized_sep=', ';;
1131     esac
1132     eval enable_$ac_useropt=\$ac_optarg ;;
1133
1134   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136   | --exec | --exe | --ex)
1137     ac_prev=exec_prefix ;;
1138   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140   | --exec=* | --exe=* | --ex=*)
1141     exec_prefix=$ac_optarg ;;
1142
1143   -gas | --gas | --ga | --g)
1144     # Obsolete; use --with-gas.
1145     with_gas=yes ;;
1146
1147   -help | --help | --hel | --he | -h)
1148     ac_init_help=long ;;
1149   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150     ac_init_help=recursive ;;
1151   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152     ac_init_help=short ;;
1153
1154   -host | --host | --hos | --ho)
1155     ac_prev=host_alias ;;
1156   -host=* | --host=* | --hos=* | --ho=*)
1157     host_alias=$ac_optarg ;;
1158
1159   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1160     ac_prev=htmldir ;;
1161   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1162   | --ht=*)
1163     htmldir=$ac_optarg ;;
1164
1165   -includedir | --includedir | --includedi | --included | --include \
1166   | --includ | --inclu | --incl | --inc)
1167     ac_prev=includedir ;;
1168   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169   | --includ=* | --inclu=* | --incl=* | --inc=*)
1170     includedir=$ac_optarg ;;
1171
1172   -infodir | --infodir | --infodi | --infod | --info | --inf)
1173     ac_prev=infodir ;;
1174   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175     infodir=$ac_optarg ;;
1176
1177   -libdir | --libdir | --libdi | --libd)
1178     ac_prev=libdir ;;
1179   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180     libdir=$ac_optarg ;;
1181
1182   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183   | --libexe | --libex | --libe)
1184     ac_prev=libexecdir ;;
1185   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186   | --libexe=* | --libex=* | --libe=*)
1187     libexecdir=$ac_optarg ;;
1188
1189   -localedir | --localedir | --localedi | --localed | --locale)
1190     ac_prev=localedir ;;
1191   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192     localedir=$ac_optarg ;;
1193
1194   -localstatedir | --localstatedir | --localstatedi | --localstated \
1195   | --localstate | --localstat | --localsta | --localst | --locals)
1196     ac_prev=localstatedir ;;
1197   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199     localstatedir=$ac_optarg ;;
1200
1201   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1202     ac_prev=mandir ;;
1203   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204     mandir=$ac_optarg ;;
1205
1206   -nfp | --nfp | --nf)
1207     # Obsolete; use --without-fp.
1208     with_fp=no ;;
1209
1210   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211   | --no-cr | --no-c | -n)
1212     no_create=yes ;;
1213
1214   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216     no_recursion=yes ;;
1217
1218   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220   | --oldin | --oldi | --old | --ol | --o)
1221     ac_prev=oldincludedir ;;
1222   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225     oldincludedir=$ac_optarg ;;
1226
1227   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1228     ac_prev=prefix ;;
1229   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230     prefix=$ac_optarg ;;
1231
1232   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233   | --program-pre | --program-pr | --program-p)
1234     ac_prev=program_prefix ;;
1235   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237     program_prefix=$ac_optarg ;;
1238
1239   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240   | --program-suf | --program-su | --program-s)
1241     ac_prev=program_suffix ;;
1242   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244     program_suffix=$ac_optarg ;;
1245
1246   -program-transform-name | --program-transform-name \
1247   | --program-transform-nam | --program-transform-na \
1248   | --program-transform-n | --program-transform- \
1249   | --program-transform | --program-transfor \
1250   | --program-transfo | --program-transf \
1251   | --program-trans | --program-tran \
1252   | --progr-tra | --program-tr | --program-t)
1253     ac_prev=program_transform_name ;;
1254   -program-transform-name=* | --program-transform-name=* \
1255   | --program-transform-nam=* | --program-transform-na=* \
1256   | --program-transform-n=* | --program-transform-=* \
1257   | --program-transform=* | --program-transfor=* \
1258   | --program-transfo=* | --program-transf=* \
1259   | --program-trans=* | --program-tran=* \
1260   | --progr-tra=* | --program-tr=* | --program-t=*)
1261     program_transform_name=$ac_optarg ;;
1262
1263   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1264     ac_prev=pdfdir ;;
1265   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266     pdfdir=$ac_optarg ;;
1267
1268   -psdir | --psdir | --psdi | --psd | --ps)
1269     ac_prev=psdir ;;
1270   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271     psdir=$ac_optarg ;;
1272
1273   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274   | -silent | --silent | --silen | --sile | --sil)
1275     silent=yes ;;
1276
1277   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1278     ac_prev=sbindir ;;
1279   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1280   | --sbi=* | --sb=*)
1281     sbindir=$ac_optarg ;;
1282
1283   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285   | --sharedst | --shareds | --shared | --share | --shar \
1286   | --sha | --sh)
1287     ac_prev=sharedstatedir ;;
1288   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1291   | --sha=* | --sh=*)
1292     sharedstatedir=$ac_optarg ;;
1293
1294   -site | --site | --sit)
1295     ac_prev=site ;;
1296   -site=* | --site=* | --sit=*)
1297     site=$ac_optarg ;;
1298
1299   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1300     ac_prev=srcdir ;;
1301   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302     srcdir=$ac_optarg ;;
1303
1304   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305   | --syscon | --sysco | --sysc | --sys | --sy)
1306     ac_prev=sysconfdir ;;
1307   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309     sysconfdir=$ac_optarg ;;
1310
1311   -target | --target | --targe | --targ | --tar | --ta | --t)
1312     ac_prev=target_alias ;;
1313   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314     target_alias=$ac_optarg ;;
1315
1316   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317     verbose=yes ;;
1318
1319   -version | --version | --versio | --versi | --vers | -V)
1320     ac_init_version=: ;;
1321
1322   -with-* | --with-*)
1323     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324     # Reject names that are not valid shell variable names.
1325     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326       as_fn_error $? "invalid package name: $ac_useropt"
1327     ac_useropt_orig=$ac_useropt
1328     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329     case $ac_user_opts in
1330       *"
1331 "with_$ac_useropt"
1332 "*) ;;
1333       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334          ac_unrecognized_sep=', ';;
1335     esac
1336     eval with_$ac_useropt=\$ac_optarg ;;
1337
1338   -without-* | --without-*)
1339     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340     # Reject names that are not valid shell variable names.
1341     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342       as_fn_error $? "invalid package name: $ac_useropt"
1343     ac_useropt_orig=$ac_useropt
1344     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345     case $ac_user_opts in
1346       *"
1347 "with_$ac_useropt"
1348 "*) ;;
1349       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350          ac_unrecognized_sep=', ';;
1351     esac
1352     eval with_$ac_useropt=no ;;
1353
1354   --x)
1355     # Obsolete; use --with-x.
1356     with_x=yes ;;
1357
1358   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1359   | --x-incl | --x-inc | --x-in | --x-i)
1360     ac_prev=x_includes ;;
1361   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1362   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1363     x_includes=$ac_optarg ;;
1364
1365   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1366   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1367     ac_prev=x_libraries ;;
1368   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1369   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1370     x_libraries=$ac_optarg ;;
1371
1372   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
1374     ;;
1375
1376   *=*)
1377     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1378     # Reject names that are not valid shell variable names.
1379     case $ac_envvar in #(
1380       '' | [0-9]* | *[!_$as_cr_alnum]* )
1381       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1382     esac
1383     eval $ac_envvar=\$ac_optarg
1384     export $ac_envvar ;;
1385
1386   *)
1387     # FIXME: should be removed in autoconf 3.0.
1388     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1390       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1392     ;;
1393
1394   esac
1395 done
1396
1397 if test -n "$ac_prev"; then
1398   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1399   as_fn_error $? "missing argument to $ac_option"
1400 fi
1401
1402 if test -n "$ac_unrecognized_opts"; then
1403   case $enable_option_checking in
1404     no) ;;
1405     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407   esac
1408 fi
1409
1410 # Check all directory arguments for consistency.
1411 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412                 datadir sysconfdir sharedstatedir localstatedir includedir \
1413                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414                 libdir localedir mandir
1415 do
1416   eval ac_val=\$$ac_var
1417   # Remove trailing slashes.
1418   case $ac_val in
1419     */ )
1420       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421       eval $ac_var=\$ac_val;;
1422   esac
1423   # Be sure to have absolute directory names.
1424   case $ac_val in
1425     [\\/$]* | ?:[\\/]* )  continue;;
1426     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1427   esac
1428   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1429 done
1430
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1434 build=$build_alias
1435 host=$host_alias
1436 target=$target_alias
1437
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x; then
1440   if test "x$build_alias" = x; then
1441     cross_compiling=maybe
1442     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1443     If a cross compiler is detected then cross compile mode will be used" >&2
1444   elif test "x$build_alias" != "x$host_alias"; then
1445     cross_compiling=yes
1446   fi
1447 fi
1448
1449 ac_tool_prefix=
1450 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1451
1452 test "$silent" = yes && exec 6>/dev/null
1453
1454
1455 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1456 ac_ls_di=`ls -di .` &&
1457 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1458   as_fn_error $? "working directory cannot be determined"
1459 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1460   as_fn_error $? "pwd does not report name of working directory"
1461
1462
1463 # Find the source files, if location was not specified.
1464 if test -z "$srcdir"; then
1465   ac_srcdir_defaulted=yes
1466   # Try the directory containing this script, then the parent directory.
1467   ac_confdir=`$as_dirname -- "$as_myself" ||
1468 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1469          X"$as_myself" : 'X\(//\)[^/]' \| \
1470          X"$as_myself" : 'X\(//\)$' \| \
1471          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1472 $as_echo X"$as_myself" |
1473     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1474             s//\1/
1475             q
1476           }
1477           /^X\(\/\/\)[^/].*/{
1478             s//\1/
1479             q
1480           }
1481           /^X\(\/\/\)$/{
1482             s//\1/
1483             q
1484           }
1485           /^X\(\/\).*/{
1486             s//\1/
1487             q
1488           }
1489           s/.*/./; q'`
1490   srcdir=$ac_confdir
1491   if test ! -r "$srcdir/$ac_unique_file"; then
1492     srcdir=..
1493   fi
1494 else
1495   ac_srcdir_defaulted=no
1496 fi
1497 if test ! -r "$srcdir/$ac_unique_file"; then
1498   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1499   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1500 fi
1501 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1502 ac_abs_confdir=`(
1503         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1504         pwd)`
1505 # When building in place, set srcdir=.
1506 if test "$ac_abs_confdir" = "$ac_pwd"; then
1507   srcdir=.
1508 fi
1509 # Remove unnecessary trailing slashes from srcdir.
1510 # Double slashes in file names in object file debugging info
1511 # mess up M-x gdb in Emacs.
1512 case $srcdir in
1513 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1514 esac
1515 for ac_var in $ac_precious_vars; do
1516   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1517   eval ac_env_${ac_var}_value=\$${ac_var}
1518   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1519   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1520 done
1521
1522 #
1523 # Report the --help message.
1524 #
1525 if test "$ac_init_help" = "long"; then
1526   # Omit some internal or obsolete options to make the list less imposing.
1527   # This message is too long to be a string in the A/UX 3.1 sh.
1528   cat <<_ACEOF
1529 \`configure' configures emotion 1.7.1 to adapt to many kinds of systems.
1530
1531 Usage: $0 [OPTION]... [VAR=VALUE]...
1532
1533 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1534 VAR=VALUE.  See below for descriptions of some of the useful variables.
1535
1536 Defaults for the options are specified in brackets.
1537
1538 Configuration:
1539   -h, --help              display this help and exit
1540       --help=short        display options specific to this package
1541       --help=recursive    display the short help of all the included packages
1542   -V, --version           display version information and exit
1543   -q, --quiet, --silent   do not print \`checking ...' messages
1544       --cache-file=FILE   cache test results in FILE [disabled]
1545   -C, --config-cache      alias for \`--cache-file=config.cache'
1546   -n, --no-create         do not create output files
1547       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1548
1549 Installation directories:
1550   --prefix=PREFIX         install architecture-independent files in PREFIX
1551                           [$ac_default_prefix]
1552   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1553                           [PREFIX]
1554
1555 By default, \`make install' will install all the files in
1556 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1557 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1558 for instance \`--prefix=\$HOME'.
1559
1560 For better control, use the options below.
1561
1562 Fine tuning of the installation directories:
1563   --bindir=DIR            user executables [EPREFIX/bin]
1564   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1565   --libexecdir=DIR        program executables [EPREFIX/libexec]
1566   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1567   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1568   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1569   --libdir=DIR            object code libraries [EPREFIX/lib]
1570   --includedir=DIR        C header files [PREFIX/include]
1571   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1572   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1573   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1574   --infodir=DIR           info documentation [DATAROOTDIR/info]
1575   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1576   --mandir=DIR            man documentation [DATAROOTDIR/man]
1577   --docdir=DIR            documentation root [DATAROOTDIR/doc/emotion]
1578   --htmldir=DIR           html documentation [DOCDIR]
1579   --dvidir=DIR            dvi documentation [DOCDIR]
1580   --pdfdir=DIR            pdf documentation [DOCDIR]
1581   --psdir=DIR             ps documentation [DOCDIR]
1582 _ACEOF
1583
1584   cat <<\_ACEOF
1585
1586 Program names:
1587   --program-prefix=PREFIX            prepend PREFIX to installed program names
1588   --program-suffix=SUFFIX            append SUFFIX to installed program names
1589   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1590
1591 System types:
1592   --build=BUILD     configure for building on BUILD [guessed]
1593   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1594 _ACEOF
1595 fi
1596
1597 if test -n "$ac_init_help"; then
1598   case $ac_init_help in
1599      short | recursive ) echo "Configuration of emotion 1.7.1:";;
1600    esac
1601   cat <<\_ACEOF
1602
1603 Optional Features:
1604   --disable-option-checking  ignore unrecognized --enable/--with options
1605   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1606   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1607   --disable-dependency-tracking  speeds up one-time build
1608   --enable-dependency-tracking   do not reject slow dependency extractors
1609   --enable-silent-rules          less verbose build output (undo: `make V=1')
1610   --disable-silent-rules         verbose build output (undo: `make V=0')
1611   --enable-shared[=PKGS]  build shared libraries [default=yes]
1612   --enable-static[=PKGS]  build static libraries [default=yes]
1613   --enable-fast-install[=PKGS]
1614                           optimize for fast installation [default=yes]
1615   --disable-libtool-lock  avoid locking (might break parallel builds)
1616   --disable-emotion-test  disable building of emotion_test
1617   --disable-doc           Disable documentation build [default=enabled]
1618   --disable-edje-external disable providing Edje EXTERNAL support.
1619                           [default=enabled]
1620   --disable-ecore-x       disable ecore-x support. [default=detect]
1621   --enable-xine           enable build of Xine module [default=yes]
1622   --enable-gstreamer      enable build of Gstreamer module [default=yes]
1623   --enable-generic        enable build of Generic module [default=yes]
1624   --enable-generic-vlc    enable build of Generic Player VLC [default=yes]
1625   --enable-build-examples enable building examples [default=disabled]
1626   --enable-install-examples
1627                           enable installing example source files
1628                           [default=disabled]
1629
1630 Optional Packages:
1631   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1632   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1633   --with-pic              try to use only PIC/non-PIC objects [default=use
1634                           both]
1635   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1636   --with-edje-cc=PATH     specify a specific path to edje_cc
1637   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1638
1639 Some influential environment variables:
1640   CC          C compiler command
1641   CFLAGS      C compiler flags
1642   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1643               nonstandard directory <lib dir>
1644   LIBS        libraries to pass to the linker, e.g. -l<library>
1645   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1646               you have headers in a nonstandard directory <include dir>
1647   CPP         C preprocessor
1648   PKG_CONFIG  path to pkg-config utility
1649   PKG_CONFIG_PATH
1650               directories to add to pkg-config's search path
1651   PKG_CONFIG_LIBDIR
1652               path overriding pkg-config's built-in search path
1653   EMOTION_CFLAGS
1654               C compiler flags for EMOTION, overriding pkg-config
1655   EMOTION_LIBS
1656               linker flags for EMOTION, overriding pkg-config
1657   EMOTION_BIN_CFLAGS
1658               C compiler flags for EMOTION_BIN, overriding pkg-config
1659   EMOTION_BIN_LIBS
1660               linker flags for EMOTION_BIN, overriding pkg-config
1661   ECORE_X_CFLAGS
1662               C compiler flags for ECORE_X, overriding pkg-config
1663   ECORE_X_LIBS
1664               linker flags for ECORE_X, overriding pkg-config
1665   ECORE_FB_CFLAGS
1666               C compiler flags for ECORE_FB, overriding pkg-config
1667   ECORE_FB_LIBS
1668               linker flags for ECORE_FB, overriding pkg-config
1669   EDJE_EXTERNAL_CFLAGS
1670               C compiler flags for EDJE_EXTERNAL, overriding pkg-config
1671   EDJE_EXTERNAL_LIBS
1672               linker flags for EDJE_EXTERNAL, overriding pkg-config
1673   EEZE_CFLAGS C compiler flags for EEZE, overriding pkg-config
1674   EEZE_LIBS   linker flags for EEZE, overriding pkg-config
1675   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1676   EIO_LIBS    linker flags for EIO, overriding pkg-config
1677   XINE_CFLAGS C compiler flags for XINE, overriding pkg-config
1678   XINE_LIBS   linker flags for XINE, overriding pkg-config
1679   GSTREAMER_CFLAGS
1680               C compiler flags for GSTREAMER, overriding pkg-config
1681   GSTREAMER_LIBS
1682               linker flags for GSTREAMER, overriding pkg-config
1683   GENERIC_CFLAGS
1684               C compiler flags for GENERIC, overriding pkg-config
1685   GENERIC_LIBS
1686               linker flags for GENERIC, overriding pkg-config
1687   GENERIC_VLC_CFLAGS
1688               C compiler flags for GENERIC_VLC, overriding pkg-config
1689   GENERIC_VLC_LIBS
1690               linker flags for GENERIC_VLC, overriding pkg-config
1691   GSTREAMER_INTERFACE_CFLAGS
1692               C compiler flags for GSTREAMER_INTERFACE, overriding pkg-config
1693   GSTREAMER_INTERFACE_LIBS
1694               linker flags for GSTREAMER_INTERFACE, overriding pkg-config
1695
1696 Use these variables to override the choices made by `configure' or to help
1697 it to find libraries and programs with nonstandard names/locations.
1698
1699 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1700 _ACEOF
1701 ac_status=$?
1702 fi
1703
1704 if test "$ac_init_help" = "recursive"; then
1705   # If there are subdirs, report their specific --help.
1706   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1707     test -d "$ac_dir" ||
1708       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1709       continue
1710     ac_builddir=.
1711
1712 case "$ac_dir" in
1713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1714 *)
1715   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1716   # A ".." for each directory in $ac_dir_suffix.
1717   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1718   case $ac_top_builddir_sub in
1719   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1720   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1721   esac ;;
1722 esac
1723 ac_abs_top_builddir=$ac_pwd
1724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1725 # for backward compatibility:
1726 ac_top_builddir=$ac_top_build_prefix
1727
1728 case $srcdir in
1729   .)  # We are building in place.
1730     ac_srcdir=.
1731     ac_top_srcdir=$ac_top_builddir_sub
1732     ac_abs_top_srcdir=$ac_pwd ;;
1733   [\\/]* | ?:[\\/]* )  # Absolute name.
1734     ac_srcdir=$srcdir$ac_dir_suffix;
1735     ac_top_srcdir=$srcdir
1736     ac_abs_top_srcdir=$srcdir ;;
1737   *) # Relative name.
1738     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1739     ac_top_srcdir=$ac_top_build_prefix$srcdir
1740     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1741 esac
1742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1743
1744     cd "$ac_dir" || { ac_status=$?; continue; }
1745     # Check for guested configure.
1746     if test -f "$ac_srcdir/configure.gnu"; then
1747       echo &&
1748       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1749     elif test -f "$ac_srcdir/configure"; then
1750       echo &&
1751       $SHELL "$ac_srcdir/configure" --help=recursive
1752     else
1753       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1754     fi || ac_status=$?
1755     cd "$ac_pwd" || { ac_status=$?; break; }
1756   done
1757 fi
1758
1759 test -n "$ac_init_help" && exit $ac_status
1760 if $ac_init_version; then
1761   cat <<\_ACEOF
1762 emotion configure 1.7.1
1763 generated by GNU Autoconf 2.67
1764
1765 Copyright (C) 2010 Free Software Foundation, Inc.
1766 This configure script is free software; the Free Software Foundation
1767 gives unlimited permission to copy, distribute and modify it.
1768 _ACEOF
1769   exit
1770 fi
1771
1772 ## ------------------------ ##
1773 ## Autoconf initialization. ##
1774 ## ------------------------ ##
1775
1776 # ac_fn_c_try_compile LINENO
1777 # --------------------------
1778 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1779 ac_fn_c_try_compile ()
1780 {
1781   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782   rm -f conftest.$ac_objext
1783   if { { ac_try="$ac_compile"
1784 case "(($ac_try" in
1785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786   *) ac_try_echo=$ac_try;;
1787 esac
1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789 $as_echo "$ac_try_echo"; } >&5
1790   (eval "$ac_compile") 2>conftest.err
1791   ac_status=$?
1792   if test -s conftest.err; then
1793     grep -v '^ *+' conftest.err >conftest.er1
1794     cat conftest.er1 >&5
1795     mv -f conftest.er1 conftest.err
1796   fi
1797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798   test $ac_status = 0; } && {
1799          test -z "$ac_c_werror_flag" ||
1800          test ! -s conftest.err
1801        } && test -s conftest.$ac_objext; then :
1802   ac_retval=0
1803 else
1804   $as_echo "$as_me: failed program was:" >&5
1805 sed 's/^/| /' conftest.$ac_ext >&5
1806
1807         ac_retval=1
1808 fi
1809   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1810   as_fn_set_status $ac_retval
1811
1812 } # ac_fn_c_try_compile
1813
1814 # ac_fn_c_try_link LINENO
1815 # -----------------------
1816 # Try to link conftest.$ac_ext, and return whether this succeeded.
1817 ac_fn_c_try_link ()
1818 {
1819   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1820   rm -f conftest.$ac_objext conftest$ac_exeext
1821   if { { ac_try="$ac_link"
1822 case "(($ac_try" in
1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1824   *) ac_try_echo=$ac_try;;
1825 esac
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828   (eval "$ac_link") 2>conftest.err
1829   ac_status=$?
1830   if test -s conftest.err; then
1831     grep -v '^ *+' conftest.err >conftest.er1
1832     cat conftest.er1 >&5
1833     mv -f conftest.er1 conftest.err
1834   fi
1835   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1836   test $ac_status = 0; } && {
1837          test -z "$ac_c_werror_flag" ||
1838          test ! -s conftest.err
1839        } && test -s conftest$ac_exeext && {
1840          test "$cross_compiling" = yes ||
1841          $as_test_x conftest$ac_exeext
1842        }; then :
1843   ac_retval=0
1844 else
1845   $as_echo "$as_me: failed program was:" >&5
1846 sed 's/^/| /' conftest.$ac_ext >&5
1847
1848         ac_retval=1
1849 fi
1850   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1851   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1852   # interfere with the next link command; also delete a directory that is
1853   # left behind by Apple's compiler.  We do this before executing the actions.
1854   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1855   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1856   as_fn_set_status $ac_retval
1857
1858 } # ac_fn_c_try_link
1859
1860 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1861 # -------------------------------------------------------
1862 # Tests whether HEADER exists and can be compiled using the include files in
1863 # INCLUDES, setting the cache variable VAR accordingly.
1864 ac_fn_c_check_header_compile ()
1865 {
1866   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval "test \"\${$3+set}\"" = set; then :
1870   $as_echo_n "(cached) " >&6
1871 else
1872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1873 /* end confdefs.h.  */
1874 $4
1875 #include <$2>
1876 _ACEOF
1877 if ac_fn_c_try_compile "$LINENO"; then :
1878   eval "$3=yes"
1879 else
1880   eval "$3=no"
1881 fi
1882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1883 fi
1884 eval ac_res=\$$3
1885                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886 $as_echo "$ac_res" >&6; }
1887   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1888
1889 } # ac_fn_c_check_header_compile
1890
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 ac_fn_c_try_cpp ()
1895 {
1896   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897   if { { ac_try="$ac_cpp conftest.$ac_ext"
1898 case "(($ac_try" in
1899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900   *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1905   ac_status=$?
1906   if test -s conftest.err; then
1907     grep -v '^ *+' conftest.err >conftest.er1
1908     cat conftest.er1 >&5
1909     mv -f conftest.er1 conftest.err
1910   fi
1911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912   test $ac_status = 0; } > conftest.i && {
1913          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914          test ! -s conftest.err
1915        }; then :
1916   ac_retval=0
1917 else
1918   $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1920
1921     ac_retval=1
1922 fi
1923   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1924   as_fn_set_status $ac_retval
1925
1926 } # ac_fn_c_try_cpp
1927
1928 # ac_fn_c_try_run LINENO
1929 # ----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1931 # that executables *can* be run.
1932 ac_fn_c_try_run ()
1933 {
1934   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935   if { { ac_try="$ac_link"
1936 case "(($ac_try" in
1937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938   *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942   (eval "$ac_link") 2>&5
1943   ac_status=$?
1944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1945   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1946   { { case "(($ac_try" in
1947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1948   *) ac_try_echo=$ac_try;;
1949 esac
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952   (eval "$ac_try") 2>&5
1953   ac_status=$?
1954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1955   test $ac_status = 0; }; }; then :
1956   ac_retval=0
1957 else
1958   $as_echo "$as_me: program exited with status $ac_status" >&5
1959        $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1961
1962        ac_retval=$ac_status
1963 fi
1964   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1965   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1966   as_fn_set_status $ac_retval
1967
1968 } # ac_fn_c_try_run
1969
1970 # ac_fn_c_check_func LINENO FUNC VAR
1971 # ----------------------------------
1972 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1973 ac_fn_c_check_func ()
1974 {
1975   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1977 $as_echo_n "checking for $2... " >&6; }
1978 if eval "test \"\${$3+set}\"" = set; then :
1979   $as_echo_n "(cached) " >&6
1980 else
1981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h.  */
1983 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1984    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1985 #define $2 innocuous_$2
1986
1987 /* System header to define __stub macros and hopefully few prototypes,
1988     which can conflict with char $2 (); below.
1989     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1990     <limits.h> exists even on freestanding compilers.  */
1991
1992 #ifdef __STDC__
1993 # include <limits.h>
1994 #else
1995 # include <assert.h>
1996 #endif
1997
1998 #undef $2
1999
2000 /* Override any GCC internal prototype to avoid an error.
2001    Use char because int might match the return type of a GCC
2002    builtin and then its argument prototype would still apply.  */
2003 #ifdef __cplusplus
2004 extern "C"
2005 #endif
2006 char $2 ();
2007 /* The GNU C library defines this for functions which it implements
2008     to always fail with ENOSYS.  Some functions are actually named
2009     something starting with __ and the normal name is an alias.  */
2010 #if defined __stub_$2 || defined __stub___$2
2011 choke me
2012 #endif
2013
2014 int
2015 main ()
2016 {
2017 return $2 ();
2018   ;
2019   return 0;
2020 }
2021 _ACEOF
2022 if ac_fn_c_try_link "$LINENO"; then :
2023   eval "$3=yes"
2024 else
2025   eval "$3=no"
2026 fi
2027 rm -f core conftest.err conftest.$ac_objext \
2028     conftest$ac_exeext conftest.$ac_ext
2029 fi
2030 eval ac_res=\$$3
2031                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2032 $as_echo "$ac_res" >&6; }
2033   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2034
2035 } # ac_fn_c_check_func
2036
2037 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2038 # -------------------------------------------------------
2039 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2040 # the include files in INCLUDES and setting the cache variable VAR
2041 # accordingly.
2042 ac_fn_c_check_header_mongrel ()
2043 {
2044   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2045   if eval "test \"\${$3+set}\"" = set; then :
2046   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047 $as_echo_n "checking for $2... " >&6; }
2048 if eval "test \"\${$3+set}\"" = set; then :
2049   $as_echo_n "(cached) " >&6
2050 fi
2051 eval ac_res=\$$3
2052                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 else
2055   # Is the header compilable?
2056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2057 $as_echo_n "checking $2 usability... " >&6; }
2058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059 /* end confdefs.h.  */
2060 $4
2061 #include <$2>
2062 _ACEOF
2063 if ac_fn_c_try_compile "$LINENO"; then :
2064   ac_header_compiler=yes
2065 else
2066   ac_header_compiler=no
2067 fi
2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2070 $as_echo "$ac_header_compiler" >&6; }
2071
2072 # Is the header present?
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2074 $as_echo_n "checking $2 presence... " >&6; }
2075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076 /* end confdefs.h.  */
2077 #include <$2>
2078 _ACEOF
2079 if ac_fn_c_try_cpp "$LINENO"; then :
2080   ac_header_preproc=yes
2081 else
2082   ac_header_preproc=no
2083 fi
2084 rm -f conftest.err conftest.i conftest.$ac_ext
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2086 $as_echo "$ac_header_preproc" >&6; }
2087
2088 # So?  What about this header?
2089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2090   yes:no: )
2091     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2092 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2093     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2094 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2095     ;;
2096   no:yes:* )
2097     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2098 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2099     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2100 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2101     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2102 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2103     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2104 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2105     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2106 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107 ( $as_echo "## -------------------------------------------------------- ##
2108 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2109 ## -------------------------------------------------------- ##"
2110      ) | sed "s/^/$as_me: WARNING:     /" >&2
2111     ;;
2112 esac
2113   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval "test \"\${$3+set}\"" = set; then :
2116   $as_echo_n "(cached) " >&6
2117 else
2118   eval "$3=\$ac_header_compiler"
2119 fi
2120 eval ac_res=\$$3
2121                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2122 $as_echo "$ac_res" >&6; }
2123 fi
2124   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2125
2126 } # ac_fn_c_check_header_mongrel
2127 cat >config.log <<_ACEOF
2128 This file contains any messages produced by compilers while
2129 running configure, to aid debugging if configure makes a mistake.
2130
2131 It was created by emotion $as_me 1.7.1, which was
2132 generated by GNU Autoconf 2.67.  Invocation command line was
2133
2134   $ $0 $@
2135
2136 _ACEOF
2137 exec 5>>config.log
2138 {
2139 cat <<_ASUNAME
2140 ## --------- ##
2141 ## Platform. ##
2142 ## --------- ##
2143
2144 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2145 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2146 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2147 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2148 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2149
2150 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2151 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2152
2153 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2154 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2155 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2156 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2157 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2158 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2159 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2160
2161 _ASUNAME
2162
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 for as_dir in $PATH
2165 do
2166   IFS=$as_save_IFS
2167   test -z "$as_dir" && as_dir=.
2168     $as_echo "PATH: $as_dir"
2169   done
2170 IFS=$as_save_IFS
2171
2172 } >&5
2173
2174 cat >&5 <<_ACEOF
2175
2176
2177 ## ----------- ##
2178 ## Core tests. ##
2179 ## ----------- ##
2180
2181 _ACEOF
2182
2183
2184 # Keep a trace of the command line.
2185 # Strip out --no-create and --no-recursion so they do not pile up.
2186 # Strip out --silent because we don't want to record it for future runs.
2187 # Also quote any args containing shell meta-characters.
2188 # Make two passes to allow for proper duplicate-argument suppression.
2189 ac_configure_args=
2190 ac_configure_args0=
2191 ac_configure_args1=
2192 ac_must_keep_next=false
2193 for ac_pass in 1 2
2194 do
2195   for ac_arg
2196   do
2197     case $ac_arg in
2198     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2199     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2200     | -silent | --silent | --silen | --sile | --sil)
2201       continue ;;
2202     *\'*)
2203       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2204     esac
2205     case $ac_pass in
2206     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2207     2)
2208       as_fn_append ac_configure_args1 " '$ac_arg'"
2209       if test $ac_must_keep_next = true; then
2210         ac_must_keep_next=false # Got value, back to normal.
2211       else
2212         case $ac_arg in
2213           *=* | --config-cache | -C | -disable-* | --disable-* \
2214           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2215           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2216           | -with-* | --with-* | -without-* | --without-* | --x)
2217             case "$ac_configure_args0 " in
2218               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2219             esac
2220             ;;
2221           -* ) ac_must_keep_next=true ;;
2222         esac
2223       fi
2224       as_fn_append ac_configure_args " '$ac_arg'"
2225       ;;
2226     esac
2227   done
2228 done
2229 { ac_configure_args0=; unset ac_configure_args0;}
2230 { ac_configure_args1=; unset ac_configure_args1;}
2231
2232 # When interrupted or exit'd, cleanup temporary files, and complete
2233 # config.log.  We remove comments because anyway the quotes in there
2234 # would cause problems or look ugly.
2235 # WARNING: Use '\'' to represent an apostrophe within the trap.
2236 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2237 trap 'exit_status=$?
2238   # Save into config.log some information that might help in debugging.
2239   {
2240     echo
2241
2242     $as_echo "## ---------------- ##
2243 ## Cache variables. ##
2244 ## ---------------- ##"
2245     echo
2246     # The following way of writing the cache mishandles newlines in values,
2247 (
2248   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2249     eval ac_val=\$$ac_var
2250     case $ac_val in #(
2251     *${as_nl}*)
2252       case $ac_var in #(
2253       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2254 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2255       esac
2256       case $ac_var in #(
2257       _ | IFS | as_nl) ;; #(
2258       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2259       *) { eval $ac_var=; unset $ac_var;} ;;
2260       esac ;;
2261     esac
2262   done
2263   (set) 2>&1 |
2264     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2265     *${as_nl}ac_space=\ *)
2266       sed -n \
2267         "s/'\''/'\''\\\\'\'''\''/g;
2268           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2269       ;; #(
2270     *)
2271       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2272       ;;
2273     esac |
2274     sort
2275 )
2276     echo
2277
2278     $as_echo "## ----------------- ##
2279 ## Output variables. ##
2280 ## ----------------- ##"
2281     echo
2282     for ac_var in $ac_subst_vars
2283     do
2284       eval ac_val=\$$ac_var
2285       case $ac_val in
2286       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287       esac
2288       $as_echo "$ac_var='\''$ac_val'\''"
2289     done | sort
2290     echo
2291
2292     if test -n "$ac_subst_files"; then
2293       $as_echo "## ------------------- ##
2294 ## File substitutions. ##
2295 ## ------------------- ##"
2296       echo
2297       for ac_var in $ac_subst_files
2298       do
2299         eval ac_val=\$$ac_var
2300         case $ac_val in
2301         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2302         esac
2303         $as_echo "$ac_var='\''$ac_val'\''"
2304       done | sort
2305       echo
2306     fi
2307
2308     if test -s confdefs.h; then
2309       $as_echo "## ----------- ##
2310 ## confdefs.h. ##
2311 ## ----------- ##"
2312       echo
2313       cat confdefs.h
2314       echo
2315     fi
2316     test "$ac_signal" != 0 &&
2317       $as_echo "$as_me: caught signal $ac_signal"
2318     $as_echo "$as_me: exit $exit_status"
2319   } >&5
2320   rm -f core *.core core.conftest.* &&
2321     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2322     exit $exit_status
2323 ' 0
2324 for ac_signal in 1 2 13 15; do
2325   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2326 done
2327 ac_signal=0
2328
2329 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2330 rm -f -r conftest* confdefs.h
2331
2332 $as_echo "/* confdefs.h */" > confdefs.h
2333
2334 # Predefined preprocessor variables.
2335
2336 cat >>confdefs.h <<_ACEOF
2337 #define PACKAGE_NAME "$PACKAGE_NAME"
2338 _ACEOF
2339
2340 cat >>confdefs.h <<_ACEOF
2341 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2342 _ACEOF
2343
2344 cat >>confdefs.h <<_ACEOF
2345 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2346 _ACEOF
2347
2348 cat >>confdefs.h <<_ACEOF
2349 #define PACKAGE_STRING "$PACKAGE_STRING"
2350 _ACEOF
2351
2352 cat >>confdefs.h <<_ACEOF
2353 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2354 _ACEOF
2355
2356 cat >>confdefs.h <<_ACEOF
2357 #define PACKAGE_URL "$PACKAGE_URL"
2358 _ACEOF
2359
2360
2361 # Let the site file select an alternate cache file if it wants to.
2362 # Prefer an explicitly selected file to automatically selected ones.
2363 ac_site_file1=NONE
2364 ac_site_file2=NONE
2365 if test -n "$CONFIG_SITE"; then
2366   # We do not want a PATH search for config.site.
2367   case $CONFIG_SITE in #((
2368     -*)  ac_site_file1=./$CONFIG_SITE;;
2369     */*) ac_site_file1=$CONFIG_SITE;;
2370     *)   ac_site_file1=./$CONFIG_SITE;;
2371   esac
2372 elif test "x$prefix" != xNONE; then
2373   ac_site_file1=$prefix/share/config.site
2374   ac_site_file2=$prefix/etc/config.site
2375 else
2376   ac_site_file1=$ac_default_prefix/share/config.site
2377   ac_site_file2=$ac_default_prefix/etc/config.site
2378 fi
2379 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2380 do
2381   test "x$ac_site_file" = xNONE && continue
2382   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2383     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2384 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2385     sed 's/^/| /' "$ac_site_file" >&5
2386     . "$ac_site_file" \
2387       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2389 as_fn_error $? "failed to load site script $ac_site_file
2390 See \`config.log' for more details" "$LINENO" 5 ; }
2391   fi
2392 done
2393
2394 if test -r "$cache_file"; then
2395   # Some versions of bash will fail to source /dev/null (special files
2396   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2397   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2398     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2399 $as_echo "$as_me: loading cache $cache_file" >&6;}
2400     case $cache_file in
2401       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2402       *)                      . "./$cache_file";;
2403     esac
2404   fi
2405 else
2406   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2407 $as_echo "$as_me: creating cache $cache_file" >&6;}
2408   >$cache_file
2409 fi
2410
2411 # Check that the precious variables saved in the cache have kept the same
2412 # value.
2413 ac_cache_corrupted=false
2414 for ac_var in $ac_precious_vars; do
2415   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2416   eval ac_new_set=\$ac_env_${ac_var}_set
2417   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2418   eval ac_new_val=\$ac_env_${ac_var}_value
2419   case $ac_old_set,$ac_new_set in
2420     set,)
2421       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2422 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2423       ac_cache_corrupted=: ;;
2424     ,set)
2425       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2426 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2427       ac_cache_corrupted=: ;;
2428     ,);;
2429     *)
2430       if test "x$ac_old_val" != "x$ac_new_val"; then
2431         # differences in whitespace do not lead to failure.
2432         ac_old_val_w=`echo x $ac_old_val`
2433         ac_new_val_w=`echo x $ac_new_val`
2434         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2435           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2436 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2437           ac_cache_corrupted=:
2438         else
2439           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2440 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2441           eval $ac_var=\$ac_old_val
2442         fi
2443         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2444 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2445         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2446 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2447       fi;;
2448   esac
2449   # Pass precious variables to config.status.
2450   if test "$ac_new_set" = set; then
2451     case $ac_new_val in
2452     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2453     *) ac_arg=$ac_var=$ac_new_val ;;
2454     esac
2455     case " $ac_configure_args " in
2456       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2457       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2458     esac
2459   fi
2460 done
2461 if $ac_cache_corrupted; then
2462   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2464   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2465 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2466   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2467 fi
2468 ## -------------------- ##
2469 ## Main body of script. ##
2470 ## -------------------- ##
2471
2472 ac_ext=c
2473 ac_cpp='$CPP $CPPFLAGS'
2474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2477
2478
2479
2480
2481
2482 ac_aux_dir=
2483 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2484   if test -f "$ac_dir/install-sh"; then
2485     ac_aux_dir=$ac_dir
2486     ac_install_sh="$ac_aux_dir/install-sh -c"
2487     break
2488   elif test -f "$ac_dir/install.sh"; then
2489     ac_aux_dir=$ac_dir
2490     ac_install_sh="$ac_aux_dir/install.sh -c"
2491     break
2492   elif test -f "$ac_dir/shtool"; then
2493     ac_aux_dir=$ac_dir
2494     ac_install_sh="$ac_aux_dir/shtool install -c"
2495     break
2496   fi
2497 done
2498 if test -z "$ac_aux_dir"; then
2499   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2500 fi
2501
2502 # These three variables are undocumented and unsupported,
2503 # and are intended to be withdrawn in a future Autoconf release.
2504 # They can cause serious problems if a builder's source tree is in a directory
2505 # whose full name contains unusual characters.
2506 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2507 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2508 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2509
2510
2511 # Make sure we can run config.sub.
2512 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2513   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2514
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2516 $as_echo_n "checking build system type... " >&6; }
2517 if test "${ac_cv_build+set}" = set; then :
2518   $as_echo_n "(cached) " >&6
2519 else
2520   ac_build_alias=$build_alias
2521 test "x$ac_build_alias" = x &&
2522   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2523 test "x$ac_build_alias" = x &&
2524   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2525 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2526   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2527
2528 fi
2529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2530 $as_echo "$ac_cv_build" >&6; }
2531 case $ac_cv_build in
2532 *-*-*) ;;
2533 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2534 esac
2535 build=$ac_cv_build
2536 ac_save_IFS=$IFS; IFS='-'
2537 set x $ac_cv_build
2538 shift
2539 build_cpu=$1
2540 build_vendor=$2
2541 shift; shift
2542 # Remember, the first character of IFS is used to create $*,
2543 # except with old shells:
2544 build_os=$*
2545 IFS=$ac_save_IFS
2546 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2547
2548
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2550 $as_echo_n "checking host system type... " >&6; }
2551 if test "${ac_cv_host+set}" = set; then :
2552   $as_echo_n "(cached) " >&6
2553 else
2554   if test "x$host_alias" = x; then
2555   ac_cv_host=$ac_cv_build
2556 else
2557   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2558     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2559 fi
2560
2561 fi
2562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2563 $as_echo "$ac_cv_host" >&6; }
2564 case $ac_cv_host in
2565 *-*-*) ;;
2566 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2567 esac
2568 host=$ac_cv_host
2569 ac_save_IFS=$IFS; IFS='-'
2570 set x $ac_cv_host
2571 shift
2572 host_cpu=$1
2573 host_vendor=$2
2574 shift; shift
2575 # Remember, the first character of IFS is used to create $*,
2576 # except with old shells:
2577 host_os=$*
2578 IFS=$ac_save_IFS
2579 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2580
2581
2582 ac_ext=c
2583 ac_cpp='$CPP $CPPFLAGS'
2584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2587 if test -n "$ac_tool_prefix"; then
2588   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2589 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if test "${ac_cv_prog_CC+set}" = set; then :
2593   $as_echo_n "(cached) " >&6
2594 else
2595   if test -n "$CC"; then
2596   ac_cv_prog_CC="$CC" # Let the user override the test.
2597 else
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 for as_dir in $PATH
2600 do
2601   IFS=$as_save_IFS
2602   test -z "$as_dir" && as_dir=.
2603     for ac_exec_ext in '' $ac_executable_extensions; do
2604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2605     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2606     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2607     break 2
2608   fi
2609 done
2610   done
2611 IFS=$as_save_IFS
2612
2613 fi
2614 fi
2615 CC=$ac_cv_prog_CC
2616 if test -n "$CC"; then
2617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2618 $as_echo "$CC" >&6; }
2619 else
2620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621 $as_echo "no" >&6; }
2622 fi
2623
2624
2625 fi
2626 if test -z "$ac_cv_prog_CC"; then
2627   ac_ct_CC=$CC
2628   # Extract the first word of "gcc", so it can be a program name with args.
2629 set dummy gcc; ac_word=$2
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2631 $as_echo_n "checking for $ac_word... " >&6; }
2632 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2633   $as_echo_n "(cached) " >&6
2634 else
2635   if test -n "$ac_ct_CC"; then
2636   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2637 else
2638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639 for as_dir in $PATH
2640 do
2641   IFS=$as_save_IFS
2642   test -z "$as_dir" && as_dir=.
2643     for ac_exec_ext in '' $ac_executable_extensions; do
2644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2645     ac_cv_prog_ac_ct_CC="gcc"
2646     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2647     break 2
2648   fi
2649 done
2650   done
2651 IFS=$as_save_IFS
2652
2653 fi
2654 fi
2655 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2656 if test -n "$ac_ct_CC"; then
2657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2658 $as_echo "$ac_ct_CC" >&6; }
2659 else
2660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2661 $as_echo "no" >&6; }
2662 fi
2663
2664   if test "x$ac_ct_CC" = x; then
2665     CC=""
2666   else
2667     case $cross_compiling:$ac_tool_warned in
2668 yes:)
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2671 ac_tool_warned=yes ;;
2672 esac
2673     CC=$ac_ct_CC
2674   fi
2675 else
2676   CC="$ac_cv_prog_CC"
2677 fi
2678
2679 if test -z "$CC"; then
2680           if test -n "$ac_tool_prefix"; then
2681     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2682 set dummy ${ac_tool_prefix}cc; ac_word=$2
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2684 $as_echo_n "checking for $ac_word... " >&6; }
2685 if test "${ac_cv_prog_CC+set}" = set; then :
2686   $as_echo_n "(cached) " >&6
2687 else
2688   if test -n "$CC"; then
2689   ac_cv_prog_CC="$CC" # Let the user override the test.
2690 else
2691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692 for as_dir in $PATH
2693 do
2694   IFS=$as_save_IFS
2695   test -z "$as_dir" && as_dir=.
2696     for ac_exec_ext in '' $ac_executable_extensions; do
2697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2698     ac_cv_prog_CC="${ac_tool_prefix}cc"
2699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700     break 2
2701   fi
2702 done
2703   done
2704 IFS=$as_save_IFS
2705
2706 fi
2707 fi
2708 CC=$ac_cv_prog_CC
2709 if test -n "$CC"; then
2710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2711 $as_echo "$CC" >&6; }
2712 else
2713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2714 $as_echo "no" >&6; }
2715 fi
2716
2717
2718   fi
2719 fi
2720 if test -z "$CC"; then
2721   # Extract the first word of "cc", so it can be a program name with args.
2722 set dummy cc; ac_word=$2
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2724 $as_echo_n "checking for $ac_word... " >&6; }
2725 if test "${ac_cv_prog_CC+set}" = set; then :
2726   $as_echo_n "(cached) " >&6
2727 else
2728   if test -n "$CC"; then
2729   ac_cv_prog_CC="$CC" # Let the user override the test.
2730 else
2731   ac_prog_rejected=no
2732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2733 for as_dir in $PATH
2734 do
2735   IFS=$as_save_IFS
2736   test -z "$as_dir" && as_dir=.
2737     for ac_exec_ext in '' $ac_executable_extensions; do
2738   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2739     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2740        ac_prog_rejected=yes
2741        continue
2742      fi
2743     ac_cv_prog_CC="cc"
2744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745     break 2
2746   fi
2747 done
2748   done
2749 IFS=$as_save_IFS
2750
2751 if test $ac_prog_rejected = yes; then
2752   # We found a bogon in the path, so make sure we never use it.
2753   set dummy $ac_cv_prog_CC
2754   shift
2755   if test $# != 0; then
2756     # We chose a different compiler from the bogus one.
2757     # However, it has the same basename, so the bogon will be chosen
2758     # first if we set CC to just the basename; use the full file name.
2759     shift
2760     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2761   fi
2762 fi
2763 fi
2764 fi
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2768 $as_echo "$CC" >&6; }
2769 else
2770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771 $as_echo "no" >&6; }
2772 fi
2773
2774
2775 fi
2776 if test -z "$CC"; then
2777   if test -n "$ac_tool_prefix"; then
2778   for ac_prog in cl.exe
2779   do
2780     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2781 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2783 $as_echo_n "checking for $ac_word... " >&6; }
2784 if test "${ac_cv_prog_CC+set}" = set; then :
2785   $as_echo_n "(cached) " >&6
2786 else
2787   if test -n "$CC"; then
2788   ac_cv_prog_CC="$CC" # Let the user override the test.
2789 else
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH
2792 do
2793   IFS=$as_save_IFS
2794   test -z "$as_dir" && as_dir=.
2795     for ac_exec_ext in '' $ac_executable_extensions; do
2796   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2798     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2799     break 2
2800   fi
2801 done
2802   done
2803 IFS=$as_save_IFS
2804
2805 fi
2806 fi
2807 CC=$ac_cv_prog_CC
2808 if test -n "$CC"; then
2809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2811 else
2812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2814 fi
2815
2816
2817     test -n "$CC" && break
2818   done
2819 fi
2820 if test -z "$CC"; then
2821   ac_ct_CC=$CC
2822   for ac_prog in cl.exe
2823 do
2824   # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy $ac_prog; ac_word=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2829   $as_echo_n "(cached) " >&6
2830 else
2831   if test -n "$ac_ct_CC"; then
2832   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2833 else
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 for as_dir in $PATH
2836 do
2837   IFS=$as_save_IFS
2838   test -z "$as_dir" && as_dir=.
2839     for ac_exec_ext in '' $ac_executable_extensions; do
2840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2841     ac_cv_prog_ac_ct_CC="$ac_prog"
2842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2843     break 2
2844   fi
2845 done
2846   done
2847 IFS=$as_save_IFS
2848
2849 fi
2850 fi
2851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2852 if test -n "$ac_ct_CC"; then
2853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2854 $as_echo "$ac_ct_CC" >&6; }
2855 else
2856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2858 fi
2859
2860
2861   test -n "$ac_ct_CC" && break
2862 done
2863
2864   if test "x$ac_ct_CC" = x; then
2865     CC=""
2866   else
2867     case $cross_compiling:$ac_tool_warned in
2868 yes:)
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2870 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2871 ac_tool_warned=yes ;;
2872 esac
2873     CC=$ac_ct_CC
2874   fi
2875 fi
2876
2877 fi
2878
2879
2880 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2882 as_fn_error $? "no acceptable C compiler found in \$PATH
2883 See \`config.log' for more details" "$LINENO" 5 ; }
2884
2885 # Provide some information about the compiler.
2886 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2887 set X $ac_compile
2888 ac_compiler=$2
2889 for ac_option in --version -v -V -qversion; do
2890   { { ac_try="$ac_compiler $ac_option >&5"
2891 case "(($ac_try" in
2892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893   *) ac_try_echo=$ac_try;;
2894 esac
2895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2896 $as_echo "$ac_try_echo"; } >&5
2897   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2898   ac_status=$?
2899   if test -s conftest.err; then
2900     sed '10a\
2901 ... rest of stderr output deleted ...
2902          10q' conftest.err >conftest.er1
2903     cat conftest.er1 >&5
2904   fi
2905   rm -f conftest.er1 conftest.err
2906   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2907   test $ac_status = 0; }
2908 done
2909
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h.  */
2912
2913 int
2914 main ()
2915 {
2916
2917   ;
2918   return 0;
2919 }
2920 _ACEOF
2921 ac_clean_files_save=$ac_clean_files
2922 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2923 # Try to create an executable without -o first, disregard a.out.
2924 # It will help us diagnose broken compilers, and finding out an intuition
2925 # of exeext.
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2927 $as_echo_n "checking whether the C compiler works... " >&6; }
2928 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2929
2930 # The possible output files:
2931 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2932
2933 ac_rmfiles=
2934 for ac_file in $ac_files
2935 do
2936   case $ac_file in
2937     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2938     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2939   esac
2940 done
2941 rm -f $ac_rmfiles
2942
2943 if { { ac_try="$ac_link_default"
2944 case "(($ac_try" in
2945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2946   *) ac_try_echo=$ac_try;;
2947 esac
2948 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2949 $as_echo "$ac_try_echo"; } >&5
2950   (eval "$ac_link_default") 2>&5
2951   ac_status=$?
2952   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2953   test $ac_status = 0; }; then :
2954   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2955 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2956 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2957 # so that the user can short-circuit this test for compilers unknown to
2958 # Autoconf.
2959 for ac_file in $ac_files ''
2960 do
2961   test -f "$ac_file" || continue
2962   case $ac_file in
2963     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2964         ;;
2965     [ab].out )
2966         # We found the default executable, but exeext='' is most
2967         # certainly right.
2968         break;;
2969     *.* )
2970         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2971         then :; else
2972            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2973         fi
2974         # We set ac_cv_exeext here because the later test for it is not
2975         # safe: cross compilers may not add the suffix if given an `-o'
2976         # argument, so we may need to know it at that point already.
2977         # Even if this section looks crufty: it has the advantage of
2978         # actually working.
2979         break;;
2980     * )
2981         break;;
2982   esac
2983 done
2984 test "$ac_cv_exeext" = no && ac_cv_exeext=
2985
2986 else
2987   ac_file=''
2988 fi
2989 if test -z "$ac_file"; then :
2990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2992 $as_echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2994
2995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2997 as_fn_error 77 "C compiler cannot create executables
2998 See \`config.log' for more details" "$LINENO" 5 ; }
2999 else
3000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3001 $as_echo "yes" >&6; }
3002 fi
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3004 $as_echo_n "checking for C compiler default output file name... " >&6; }
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3006 $as_echo "$ac_file" >&6; }
3007 ac_exeext=$ac_cv_exeext
3008
3009 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3010 ac_clean_files=$ac_clean_files_save
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3012 $as_echo_n "checking for suffix of executables... " >&6; }
3013 if { { ac_try="$ac_link"
3014 case "(($ac_try" in
3015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016   *) ac_try_echo=$ac_try;;
3017 esac
3018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3019 $as_echo "$ac_try_echo"; } >&5
3020   (eval "$ac_link") 2>&5
3021   ac_status=$?
3022   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3023   test $ac_status = 0; }; then :
3024   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3025 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3026 # work properly (i.e., refer to `conftest.exe'), while it won't with
3027 # `rm'.
3028 for ac_file in conftest.exe conftest conftest.*; do
3029   test -f "$ac_file" || continue
3030   case $ac_file in
3031     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3032     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3033           break;;
3034     * ) break;;
3035   esac
3036 done
3037 else
3038   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3039 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3040 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3041 See \`config.log' for more details" "$LINENO" 5 ; }
3042 fi
3043 rm -f conftest conftest$ac_cv_exeext
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3045 $as_echo "$ac_cv_exeext" >&6; }
3046
3047 rm -f conftest.$ac_ext
3048 EXEEXT=$ac_cv_exeext
3049 ac_exeext=$EXEEXT
3050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3051 /* end confdefs.h.  */
3052 #include <stdio.h>
3053 int
3054 main ()
3055 {
3056 FILE *f = fopen ("conftest.out", "w");
3057  return ferror (f) || fclose (f) != 0;
3058
3059   ;
3060   return 0;
3061 }
3062 _ACEOF
3063 ac_clean_files="$ac_clean_files conftest.out"
3064 # Check that the compiler produces executables we can run.  If not, either
3065 # the compiler is broken, or we cross compile.
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3067 $as_echo_n "checking whether we are cross compiling... " >&6; }
3068 if test "$cross_compiling" != yes; then
3069   { { ac_try="$ac_link"
3070 case "(($ac_try" in
3071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072   *) ac_try_echo=$ac_try;;
3073 esac
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076   (eval "$ac_link") 2>&5
3077   ac_status=$?
3078   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079   test $ac_status = 0; }
3080   if { ac_try='./conftest$ac_cv_exeext'
3081   { { case "(($ac_try" in
3082   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3083   *) ac_try_echo=$ac_try;;
3084 esac
3085 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3086 $as_echo "$ac_try_echo"; } >&5
3087   (eval "$ac_try") 2>&5
3088   ac_status=$?
3089   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3090   test $ac_status = 0; }; }; then
3091     cross_compiling=no
3092   else
3093     if test "$cross_compiling" = maybe; then
3094         cross_compiling=yes
3095     else
3096         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3097 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3098 as_fn_error $? "cannot run C compiled programs.
3099 If you meant to cross compile, use \`--host'.
3100 See \`config.log' for more details" "$LINENO" 5 ; }
3101     fi
3102   fi
3103 fi
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3105 $as_echo "$cross_compiling" >&6; }
3106
3107 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3108 ac_clean_files=$ac_clean_files_save
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3110 $as_echo_n "checking for suffix of object files... " >&6; }
3111 if test "${ac_cv_objext+set}" = set; then :
3112   $as_echo_n "(cached) " >&6
3113 else
3114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3115 /* end confdefs.h.  */
3116
3117 int
3118 main ()
3119 {
3120
3121   ;
3122   return 0;
3123 }
3124 _ACEOF
3125 rm -f conftest.o conftest.obj
3126 if { { ac_try="$ac_compile"
3127 case "(($ac_try" in
3128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3129   *) ac_try_echo=$ac_try;;
3130 esac
3131 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3132 $as_echo "$ac_try_echo"; } >&5
3133   (eval "$ac_compile") 2>&5
3134   ac_status=$?
3135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3136   test $ac_status = 0; }; then :
3137   for ac_file in conftest.o conftest.obj conftest.*; do
3138   test -f "$ac_file" || continue;
3139   case $ac_file in
3140     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3141     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3142        break;;
3143   esac
3144 done
3145 else
3146   $as_echo "$as_me: failed program was:" >&5
3147 sed 's/^/| /' conftest.$ac_ext >&5
3148
3149 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3150 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3151 as_fn_error $? "cannot compute suffix of object files: cannot compile
3152 See \`config.log' for more details" "$LINENO" 5 ; }
3153 fi
3154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3155 fi
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3157 $as_echo "$ac_cv_objext" >&6; }
3158 OBJEXT=$ac_cv_objext
3159 ac_objext=$OBJEXT
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3161 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3162 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3163   $as_echo_n "(cached) " >&6
3164 else
3165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3166 /* end confdefs.h.  */
3167
3168 int
3169 main ()
3170 {
3171 #ifndef __GNUC__
3172        choke me
3173 #endif
3174
3175   ;
3176   return 0;
3177 }
3178 _ACEOF
3179 if ac_fn_c_try_compile "$LINENO"; then :
3180   ac_compiler_gnu=yes
3181 else
3182   ac_compiler_gnu=no
3183 fi
3184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3186
3187 fi
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3189 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3190 if test $ac_compiler_gnu = yes; then
3191   GCC=yes
3192 else
3193   GCC=
3194 fi
3195 ac_test_CFLAGS=${CFLAGS+set}
3196 ac_save_CFLAGS=$CFLAGS
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3198 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3199 if test "${ac_cv_prog_cc_g+set}" = set; then :
3200   $as_echo_n "(cached) " >&6
3201 else
3202   ac_save_c_werror_flag=$ac_c_werror_flag
3203    ac_c_werror_flag=yes
3204    ac_cv_prog_cc_g=no
3205    CFLAGS="-g"
3206    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3207 /* end confdefs.h.  */
3208
3209 int
3210 main ()
3211 {
3212
3213   ;
3214   return 0;
3215 }
3216 _ACEOF
3217 if ac_fn_c_try_compile "$LINENO"; then :
3218   ac_cv_prog_cc_g=yes
3219 else
3220   CFLAGS=""
3221       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h.  */
3223
3224 int
3225 main ()
3226 {
3227
3228   ;
3229   return 0;
3230 }
3231 _ACEOF
3232 if ac_fn_c_try_compile "$LINENO"; then :
3233
3234 else
3235   ac_c_werror_flag=$ac_save_c_werror_flag
3236          CFLAGS="-g"
3237          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3238 /* end confdefs.h.  */
3239
3240 int
3241 main ()
3242 {
3243
3244   ;
3245   return 0;
3246 }
3247 _ACEOF
3248 if ac_fn_c_try_compile "$LINENO"; then :
3249   ac_cv_prog_cc_g=yes
3250 fi
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3252 fi
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3254 fi
3255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3256    ac_c_werror_flag=$ac_save_c_werror_flag
3257 fi
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3259 $as_echo "$ac_cv_prog_cc_g" >&6; }
3260 if test "$ac_test_CFLAGS" = set; then
3261   CFLAGS=$ac_save_CFLAGS
3262 elif test $ac_cv_prog_cc_g = yes; then
3263   if test "$GCC" = yes; then
3264     CFLAGS="-g -O2"
3265   else
3266     CFLAGS="-g"
3267   fi
3268 else
3269   if test "$GCC" = yes; then
3270     CFLAGS="-O2"
3271   else
3272     CFLAGS=
3273   fi
3274 fi
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3276 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3277 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3278   $as_echo_n "(cached) " >&6
3279 else
3280   ac_cv_prog_cc_c89=no
3281 ac_save_CC=$CC
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h.  */
3284 #include <stdarg.h>
3285 #include <stdio.h>
3286 #include <sys/types.h>
3287 #include <sys/stat.h>
3288 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3289 struct buf { int x; };
3290 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3291 static char *e (p, i)
3292      char **p;
3293      int i;
3294 {
3295   return p[i];
3296 }
3297 static char *f (char * (*g) (char **, int), char **p, ...)
3298 {
3299   char *s;
3300   va_list v;
3301   va_start (v,p);
3302   s = g (p, va_arg (v,int));
3303   va_end (v);
3304   return s;
3305 }
3306
3307 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3308    function prototypes and stuff, but not '\xHH' hex character constants.
3309    These don't provoke an error unfortunately, instead are silently treated
3310    as 'x'.  The following induces an error, until -std is added to get
3311    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3312    array size at least.  It's necessary to write '\x00'==0 to get something
3313    that's true only with -std.  */
3314 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3315
3316 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3317    inside strings and character constants.  */
3318 #define FOO(x) 'x'
3319 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3320
3321 int test (int i, double x);
3322 struct s1 {int (*f) (int a);};
3323 struct s2 {int (*f) (double a);};
3324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3325 int argc;
3326 char **argv;
3327 int
3328 main ()
3329 {
3330 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3331   ;
3332   return 0;
3333 }
3334 _ACEOF
3335 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3336         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3337 do
3338   CC="$ac_save_CC $ac_arg"
3339   if ac_fn_c_try_compile "$LINENO"; then :
3340   ac_cv_prog_cc_c89=$ac_arg
3341 fi
3342 rm -f core conftest.err conftest.$ac_objext
3343   test "x$ac_cv_prog_cc_c89" != "xno" && break
3344 done
3345 rm -f conftest.$ac_ext
3346 CC=$ac_save_CC
3347
3348 fi
3349 # AC_CACHE_VAL
3350 case "x$ac_cv_prog_cc_c89" in
3351   x)
3352     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3353 $as_echo "none needed" >&6; } ;;
3354   xno)
3355     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3356 $as_echo "unsupported" >&6; } ;;
3357   *)
3358     CC="$CC $ac_cv_prog_cc_c89"
3359     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3360 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3361 esac
3362 if test "x$ac_cv_prog_cc_c89" != xno; then :
3363
3364 fi
3365
3366 ac_ext=c
3367 ac_cpp='$CPP $CPPFLAGS'
3368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3371
3372
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3374 $as_echo_n "checking for library containing strerror... " >&6; }
3375 if test "${ac_cv_search_strerror+set}" = set; then :
3376   $as_echo_n "(cached) " >&6
3377 else
3378   ac_func_search_save_LIBS=$LIBS
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h.  */
3381
3382 /* Override any GCC internal prototype to avoid an error.
3383    Use char because int might match the return type of a GCC
3384    builtin and then its argument prototype would still apply.  */
3385 #ifdef __cplusplus
3386 extern "C"
3387 #endif
3388 char strerror ();
3389 int
3390 main ()
3391 {
3392 return strerror ();
3393   ;
3394   return 0;
3395 }
3396 _ACEOF
3397 for ac_lib in '' cposix; do
3398   if test -z "$ac_lib"; then
3399     ac_res="none required"
3400   else
3401     ac_res=-l$ac_lib
3402     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3403   fi
3404   if ac_fn_c_try_link "$LINENO"; then :
3405   ac_cv_search_strerror=$ac_res
3406 fi
3407 rm -f core conftest.err conftest.$ac_objext \
3408     conftest$ac_exeext
3409   if test "${ac_cv_search_strerror+set}" = set; then :
3410   break
3411 fi
3412 done
3413 if test "${ac_cv_search_strerror+set}" = set; then :
3414
3415 else
3416   ac_cv_search_strerror=no
3417 fi
3418 rm conftest.$ac_ext
3419 LIBS=$ac_func_search_save_LIBS
3420 fi
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3422 $as_echo "$ac_cv_search_strerror" >&6; }
3423 ac_res=$ac_cv_search_strerror
3424 if test "$ac_res" != no; then :
3425   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3426
3427 fi
3428
3429
3430 am__api_version='1.11'
3431
3432 # Find a good install program.  We prefer a C program (faster),
3433 # so one script is as good as another.  But avoid the broken or
3434 # incompatible versions:
3435 # SysV /etc/install, /usr/sbin/install
3436 # SunOS /usr/etc/install
3437 # IRIX /sbin/install
3438 # AIX /bin/install
3439 # AmigaOS /C/install, which installs bootblocks on floppy discs
3440 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3441 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3442 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3443 # OS/2's system install, which has a completely different semantic
3444 # ./install, which can be erroneously created by make from ./install.sh.
3445 # Reject install programs that cannot install multiple files.
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3447 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3448 if test -z "$INSTALL"; then
3449 if test "${ac_cv_path_install+set}" = set; then :
3450   $as_echo_n "(cached) " >&6
3451 else
3452   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3454 do
3455   IFS=$as_save_IFS
3456   test -z "$as_dir" && as_dir=.
3457     # Account for people who put trailing slashes in PATH elements.
3458 case $as_dir/ in #((
3459   ./ | .// | /[cC]/* | \
3460   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3461   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3462   /usr/ucb/* ) ;;
3463   *)
3464     # OSF1 and SCO ODT 3.0 have their own names for install.
3465     # Don't use installbsd from OSF since it installs stuff as root
3466     # by default.
3467     for ac_prog in ginstall scoinst install; do
3468       for ac_exec_ext in '' $ac_executable_extensions; do
3469         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3470           if test $ac_prog = install &&
3471             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3472             # AIX install.  It has an incompatible calling convention.
3473             :
3474           elif test $ac_prog = install &&
3475             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3476             # program-specific install script used by HP pwplus--don't use.
3477             :
3478           else
3479             rm -rf conftest.one conftest.two conftest.dir
3480             echo one > conftest.one
3481             echo two > conftest.two
3482             mkdir conftest.dir
3483             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3484               test -s conftest.one && test -s conftest.two &&
3485               test -s conftest.dir/conftest.one &&
3486               test -s conftest.dir/conftest.two
3487             then
3488               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3489               break 3
3490             fi
3491           fi
3492         fi
3493       done
3494     done
3495     ;;
3496 esac
3497
3498   done
3499 IFS=$as_save_IFS
3500
3501 rm -rf conftest.one conftest.two conftest.dir
3502
3503 fi
3504   if test "${ac_cv_path_install+set}" = set; then
3505     INSTALL=$ac_cv_path_install
3506   else
3507     # As a last resort, use the slow shell script.  Don't cache a
3508     # value for INSTALL within a source directory, because that will
3509     # break other packages using the cache if that directory is
3510     # removed, or if the value is a relative name.
3511     INSTALL=$ac_install_sh
3512   fi
3513 fi
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3515 $as_echo "$INSTALL" >&6; }
3516
3517 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3518 # It thinks the first close brace ends the variable substitution.
3519 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3520
3521 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3522
3523 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3524
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3526 $as_echo_n "checking whether build environment is sane... " >&6; }
3527 # Just in case
3528 sleep 1
3529 echo timestamp > conftest.file
3530 # Reject unsafe characters in $srcdir or the absolute working directory
3531 # name.  Accept space and tab only in the latter.
3532 am_lf='
3533 '
3534 case `pwd` in
3535   *[\\\"\#\$\&\'\`$am_lf]*)
3536     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3537 esac
3538 case $srcdir in
3539   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3540     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3541 esac
3542
3543 # Do `set' in a subshell so we don't clobber the current shell's
3544 # arguments.  Must try -L first in case configure is actually a
3545 # symlink; some systems play weird games with the mod time of symlinks
3546 # (eg FreeBSD returns the mod time of the symlink's containing
3547 # directory).
3548 if (
3549    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3550    if test "$*" = "X"; then
3551       # -L didn't work.
3552       set X `ls -t "$srcdir/configure" conftest.file`
3553    fi
3554    rm -f conftest.file
3555    if test "$*" != "X $srcdir/configure conftest.file" \
3556       && test "$*" != "X conftest.file $srcdir/configure"; then
3557
3558       # If neither matched, then we have a broken ls.  This can happen
3559       # if, for instance, CONFIG_SHELL is bash and it inherits a
3560       # broken ls alias from the environment.  This has actually
3561       # happened.  Such a system could not be considered "sane".
3562       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
3563 alias in your environment" "$LINENO" 5
3564    fi
3565
3566    test "$2" = conftest.file
3567    )
3568 then
3569    # Ok.
3570    :
3571 else
3572    as_fn_error $? "newly created file is older than distributed files!
3573 Check your system clock" "$LINENO" 5
3574 fi
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3576 $as_echo "yes" >&6; }
3577 test "$program_prefix" != NONE &&
3578   program_transform_name="s&^&$program_prefix&;$program_transform_name"
3579 # Use a double $ so make ignores it.
3580 test "$program_suffix" != NONE &&
3581   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3582 # Double any \ or $.
3583 # By default was `s,x,x', remove it if useless.
3584 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3585 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3586
3587 # expand $ac_aux_dir to an absolute path
3588 am_aux_dir=`cd $ac_aux_dir && pwd`
3589
3590 if test x"${MISSING+set}" != xset; then
3591   case $am_aux_dir in
3592   *\ * | *\     *)
3593     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3594   *)
3595     MISSING="\${SHELL} $am_aux_dir/missing" ;;
3596   esac
3597 fi
3598 # Use eval to expand $SHELL
3599 if eval "$MISSING --run true"; then
3600   am_missing_run="$MISSING --run "
3601 else
3602   am_missing_run=
3603   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3604 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3605 fi
3606
3607 if test x"${install_sh}" != xset; then
3608   case $am_aux_dir in
3609   *\ * | *\     *)
3610     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3611   *)
3612     install_sh="\${SHELL} $am_aux_dir/install-sh"
3613   esac
3614 fi
3615
3616 # Installed binaries are usually stripped using `strip' when the user
3617 # run `make install-strip'.  However `strip' might not be the right
3618 # tool to use in cross-compilation environments, therefore Automake
3619 # will honor the `STRIP' environment variable to overrule this program.
3620 if test "$cross_compiling" != no; then
3621   if test -n "$ac_tool_prefix"; then
3622   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3623 set dummy ${ac_tool_prefix}strip; ac_word=$2
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625 $as_echo_n "checking for $ac_word... " >&6; }
3626 if test "${ac_cv_prog_STRIP+set}" = set; then :
3627   $as_echo_n "(cached) " >&6
3628 else
3629   if test -n "$STRIP"; then
3630   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3631 else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 for as_dir in $PATH
3634 do
3635   IFS=$as_save_IFS
3636   test -z "$as_dir" && as_dir=.
3637     for ac_exec_ext in '' $ac_executable_extensions; do
3638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3641     break 2
3642   fi
3643 done
3644   done
3645 IFS=$as_save_IFS
3646
3647 fi
3648 fi
3649 STRIP=$ac_cv_prog_STRIP
3650 if test -n "$STRIP"; then
3651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3652 $as_echo "$STRIP" >&6; }
3653 else
3654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3655 $as_echo "no" >&6; }
3656 fi
3657
3658
3659 fi
3660 if test -z "$ac_cv_prog_STRIP"; then
3661   ac_ct_STRIP=$STRIP
3662   # Extract the first word of "strip", so it can be a program name with args.
3663 set dummy strip; ac_word=$2
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665 $as_echo_n "checking for $ac_word... " >&6; }
3666 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3667   $as_echo_n "(cached) " >&6
3668 else
3669   if test -n "$ac_ct_STRIP"; then
3670   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3671 else
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH
3674 do
3675   IFS=$as_save_IFS
3676   test -z "$as_dir" && as_dir=.
3677     for ac_exec_ext in '' $ac_executable_extensions; do
3678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679     ac_cv_prog_ac_ct_STRIP="strip"
3680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681     break 2
3682   fi
3683 done
3684   done
3685 IFS=$as_save_IFS
3686
3687 fi
3688 fi
3689 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3690 if test -n "$ac_ct_STRIP"; then
3691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3692 $as_echo "$ac_ct_STRIP" >&6; }
3693 else
3694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3696 fi
3697
3698   if test "x$ac_ct_STRIP" = x; then
3699     STRIP=":"
3700   else
3701     case $cross_compiling:$ac_tool_warned in
3702 yes:)
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3705 ac_tool_warned=yes ;;
3706 esac
3707     STRIP=$ac_ct_STRIP
3708   fi
3709 else
3710   STRIP="$ac_cv_prog_STRIP"
3711 fi
3712
3713 fi
3714 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3715
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3717 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3718 if test -z "$MKDIR_P"; then
3719   if test "${ac_cv_path_mkdir+set}" = set; then :
3720   $as_echo_n "(cached) " >&6
3721 else
3722   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3723 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3724 do
3725   IFS=$as_save_IFS
3726   test -z "$as_dir" && as_dir=.
3727     for ac_prog in mkdir gmkdir; do
3728          for ac_exec_ext in '' $ac_executable_extensions; do
3729            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3730            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3731              'mkdir (GNU coreutils) '* | \
3732              'mkdir (coreutils) '* | \
3733              'mkdir (fileutils) '4.1*)
3734                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3735                break 3;;
3736            esac
3737          done
3738        done
3739   done
3740 IFS=$as_save_IFS
3741
3742 fi
3743
3744   test -d ./--version && rmdir ./--version
3745   if test "${ac_cv_path_mkdir+set}" = set; then
3746     MKDIR_P="$ac_cv_path_mkdir -p"
3747   else
3748     # As a last resort, use the slow shell script.  Don't cache a
3749     # value for MKDIR_P within a source directory, because that will
3750     # break other packages using the cache if that directory is
3751     # removed, or if the value is a relative name.
3752     MKDIR_P="$ac_install_sh -d"
3753   fi
3754 fi
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3756 $as_echo "$MKDIR_P" >&6; }
3757
3758 mkdir_p="$MKDIR_P"
3759 case $mkdir_p in
3760   [\\/$]* | ?:[\\/]*) ;;
3761   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3762 esac
3763
3764 for ac_prog in gawk mawk nawk awk
3765 do
3766   # Extract the first word of "$ac_prog", so it can be a program name with args.
3767 set dummy $ac_prog; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if test "${ac_cv_prog_AWK+set}" = set; then :
3771   $as_echo_n "(cached) " >&6
3772 else
3773   if test -n "$AWK"; then
3774   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3775 else
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779   IFS=$as_save_IFS
3780   test -z "$as_dir" && as_dir=.
3781     for ac_exec_ext in '' $ac_executable_extensions; do
3782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783     ac_cv_prog_AWK="$ac_prog"
3784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3785     break 2
3786   fi
3787 done
3788   done
3789 IFS=$as_save_IFS
3790
3791 fi
3792 fi
3793 AWK=$ac_cv_prog_AWK
3794 if test -n "$AWK"; then
3795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3796 $as_echo "$AWK" >&6; }
3797 else
3798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3800 fi
3801
3802
3803   test -n "$AWK" && break
3804 done
3805
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3807 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3808 set x ${MAKE-make}
3809 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3810 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3811   $as_echo_n "(cached) " >&6
3812 else
3813   cat >conftest.make <<\_ACEOF
3814 SHELL = /bin/sh
3815 all:
3816         @echo '@@@%%%=$(MAKE)=@@@%%%'
3817 _ACEOF
3818 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3819 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3820   *@@@%%%=?*=@@@%%%*)
3821     eval ac_cv_prog_make_${ac_make}_set=yes;;
3822   *)
3823     eval ac_cv_prog_make_${ac_make}_set=no;;
3824 esac
3825 rm -f conftest.make
3826 fi
3827 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3829 $as_echo "yes" >&6; }
3830   SET_MAKE=
3831 else
3832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3834   SET_MAKE="MAKE=${MAKE-make}"
3835 fi
3836
3837 rm -rf .tst 2>/dev/null
3838 mkdir .tst 2>/dev/null
3839 if test -d .tst; then
3840   am__leading_dot=.
3841 else
3842   am__leading_dot=_
3843 fi
3844 rmdir .tst 2>/dev/null
3845
3846 DEPDIR="${am__leading_dot}deps"
3847
3848 ac_config_commands="$ac_config_commands depfiles"
3849
3850
3851 am_make=${MAKE-make}
3852 cat > confinc << 'END'
3853 am__doit:
3854         @echo this is the am__doit target
3855 .PHONY: am__doit
3856 END
3857 # If we don't find an include directive, just comment out the code.
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3859 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3860 am__include="#"
3861 am__quote=
3862 _am_result=none
3863 # First try GNU make style include.
3864 echo "include confinc" > confmf
3865 # Ignore all kinds of additional output from `make'.
3866 case `$am_make -s -f confmf 2> /dev/null` in #(
3867 *the\ am__doit\ target*)
3868   am__include=include
3869   am__quote=
3870   _am_result=GNU
3871   ;;
3872 esac
3873 # Now try BSD make style include.
3874 if test "$am__include" = "#"; then
3875    echo '.include "confinc"' > confmf
3876    case `$am_make -s -f confmf 2> /dev/null` in #(
3877    *the\ am__doit\ target*)
3878      am__include=.include
3879      am__quote="\""
3880      _am_result=BSD
3881      ;;
3882    esac
3883 fi
3884
3885
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3887 $as_echo "$_am_result" >&6; }
3888 rm -f confinc confmf
3889
3890 # Check whether --enable-dependency-tracking was given.
3891 if test "${enable_dependency_tracking+set}" = set; then :
3892   enableval=$enable_dependency_tracking;
3893 fi
3894
3895 if test "x$enable_dependency_tracking" != xno; then
3896   am_depcomp="$ac_aux_dir/depcomp"
3897   AMDEPBACKSLASH='\'
3898 fi
3899  if test "x$enable_dependency_tracking" != xno; then
3900   AMDEP_TRUE=
3901   AMDEP_FALSE='#'
3902 else
3903   AMDEP_TRUE='#'
3904   AMDEP_FALSE=
3905 fi
3906
3907
3908 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3909   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3910   # is not polluted with repeated "-I."
3911   am__isrc=' -I$(srcdir)'
3912   # test to see if srcdir already configured
3913   if test -f $srcdir/config.status; then
3914     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3915   fi
3916 fi
3917
3918 # test whether we have cygpath
3919 if test -z "$CYGPATH_W"; then
3920   if (cygpath --version) >/dev/null 2>/dev/null; then
3921     CYGPATH_W='cygpath -w'
3922   else
3923     CYGPATH_W=echo
3924   fi
3925 fi
3926
3927
3928 # Define the identity of the package.
3929  PACKAGE='emotion'
3930  VERSION='1.7.1'
3931
3932
3933 cat >>confdefs.h <<_ACEOF
3934 #define PACKAGE "$PACKAGE"
3935 _ACEOF
3936
3937
3938 cat >>confdefs.h <<_ACEOF
3939 #define VERSION "$VERSION"
3940 _ACEOF
3941
3942 # Some tools Automake needs.
3943
3944 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3945
3946
3947 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3948
3949
3950 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3951
3952
3953 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3954
3955
3956 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3957
3958 # We need awk for the "check" target.  The system "awk" is bad on
3959 # some platforms.
3960 # Always define AMTAR for backward compatibility.
3961
3962 AMTAR=${AMTAR-"${am_missing_run}tar"}
3963
3964 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3965
3966
3967
3968
3969 depcc="$CC"   am_compiler_list=
3970
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3972 $as_echo_n "checking dependency style of $depcc... " >&6; }
3973 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3974   $as_echo_n "(cached) " >&6
3975 else
3976   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3977   # We make a subdir and do the tests there.  Otherwise we can end up
3978   # making bogus files that we don't know about and never remove.  For
3979   # instance it was reported that on HP-UX the gcc test will end up
3980   # making a dummy file named `D' -- because `-MD' means `put the output
3981   # in D'.
3982   mkdir conftest.dir
3983   # Copy depcomp to subdir because otherwise we won't find it if we're
3984   # using a relative directory.
3985   cp "$am_depcomp" conftest.dir
3986   cd conftest.dir
3987   # We will build objects and dependencies in a subdirectory because
3988   # it helps to detect inapplicable dependency modes.  For instance
3989   # both Tru64's cc and ICC support -MD to output dependencies as a
3990   # side effect of compilation, but ICC will put the dependencies in
3991   # the current directory while Tru64 will put them in the object
3992   # directory.
3993   mkdir sub
3994
3995   am_cv_CC_dependencies_compiler_type=none
3996   if test "$am_compiler_list" = ""; then
3997      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3998   fi
3999   am__universal=false
4000   case " $depcc " in #(
4001      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4002      esac
4003
4004   for depmode in $am_compiler_list; do
4005     # Setup a source with many dependencies, because some compilers
4006     # like to wrap large dependency lists on column 80 (with \), and
4007     # we should not choose a depcomp mode which is confused by this.
4008     #
4009     # We need to recreate these files for each test, as the compiler may
4010     # overwrite some of them when testing with obscure command lines.
4011     # This happens at least with the AIX C compiler.
4012     : > sub/conftest.c
4013     for i in 1 2 3 4 5 6; do
4014       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4015       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4016       # Solaris 8's {/usr,}/bin/sh.
4017       touch sub/conftst$i.h
4018     done
4019     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4020
4021     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4022     # mode.  It turns out that the SunPro C++ compiler does not properly
4023     # handle `-M -o', and we need to detect this.  Also, some Intel
4024     # versions had trouble with output in subdirs
4025     am__obj=sub/conftest.${OBJEXT-o}
4026     am__minus_obj="-o $am__obj"
4027     case $depmode in
4028     gcc)
4029       # This depmode causes a compiler race in universal mode.
4030       test "$am__universal" = false || continue
4031       ;;
4032     nosideeffect)
4033       # after this tag, mechanisms are not by side-effect, so they'll
4034       # only be used when explicitly requested
4035       if test "x$enable_dependency_tracking" = xyes; then
4036         continue
4037       else
4038         break
4039       fi
4040       ;;
4041     msvisualcpp | msvcmsys)
4042       # This compiler won't grok `-c -o', but also, the minuso test has
4043       # not run yet.  These depmodes are late enough in the game, and
4044       # so weak that their functioning should not be impacted.
4045       am__obj=conftest.${OBJEXT-o}
4046       am__minus_obj=
4047       ;;
4048     none) break ;;
4049     esac
4050     if depmode=$depmode \
4051        source=sub/conftest.c object=$am__obj \
4052        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4053        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4054          >/dev/null 2>conftest.err &&
4055        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4056        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4057        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4058        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4059       # icc doesn't choke on unknown options, it will just issue warnings
4060       # or remarks (even with -Werror).  So we grep stderr for any message
4061       # that says an option was ignored or not supported.
4062       # When given -MP, icc 7.0 and 7.1 complain thusly:
4063       #   icc: Command line warning: ignoring option '-M'; no argument required
4064       # The diagnosis changed in icc 8.0:
4065       #   icc: Command line remark: option '-MP' not supported
4066       if (grep 'ignoring option' conftest.err ||
4067           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4068         am_cv_CC_dependencies_compiler_type=$depmode
4069         break
4070       fi
4071     fi
4072   done
4073
4074   cd ..
4075   rm -rf conftest.dir
4076 else
4077   am_cv_CC_dependencies_compiler_type=none
4078 fi
4079
4080 fi
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4082 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4083 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4084
4085  if
4086   test "x$enable_dependency_tracking" != xno \
4087   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4088   am__fastdepCC_TRUE=
4089   am__fastdepCC_FALSE='#'
4090 else
4091   am__fastdepCC_TRUE='#'
4092   am__fastdepCC_FALSE=
4093 fi
4094
4095
4096
4097 ac_config_headers="$ac_config_headers config.h"
4098
4099 # Check whether --enable-silent-rules was given.
4100 if test "${enable_silent_rules+set}" = set; then :
4101   enableval=$enable_silent_rules;
4102 fi
4103
4104 case $enable_silent_rules in
4105 yes) AM_DEFAULT_VERBOSITY=0;;
4106 no)  AM_DEFAULT_VERBOSITY=1;;
4107 *)   AM_DEFAULT_VERBOSITY=0;;
4108 esac
4109 AM_BACKSLASH='\'
4110
4111
4112 enable_win32_dll=yes
4113
4114 case $host in
4115 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4116   if test -n "$ac_tool_prefix"; then
4117   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4118 set dummy ${ac_tool_prefix}as; ac_word=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if test "${ac_cv_prog_AS+set}" = set; then :
4122   $as_echo_n "(cached) " >&6
4123 else
4124   if test -n "$AS"; then
4125   ac_cv_prog_AS="$AS" # Let the user override the test.
4126 else
4127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4128 for as_dir in $PATH
4129 do
4130   IFS=$as_save_IFS
4131   test -z "$as_dir" && as_dir=.
4132     for ac_exec_ext in '' $ac_executable_extensions; do
4133   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4134     ac_cv_prog_AS="${ac_tool_prefix}as"
4135     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4136     break 2
4137   fi
4138 done
4139   done
4140 IFS=$as_save_IFS
4141
4142 fi
4143 fi
4144 AS=$ac_cv_prog_AS
4145 if test -n "$AS"; then
4146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4147 $as_echo "$AS" >&6; }
4148 else
4149   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4151 fi
4152
4153
4154 fi
4155 if test -z "$ac_cv_prog_AS"; then
4156   ac_ct_AS=$AS
4157   # Extract the first word of "as", so it can be a program name with args.
4158 set dummy as; ac_word=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4162   $as_echo_n "(cached) " >&6
4163 else
4164   if test -n "$ac_ct_AS"; then
4165   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4166 else
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4169 do
4170   IFS=$as_save_IFS
4171   test -z "$as_dir" && as_dir=.
4172     for ac_exec_ext in '' $ac_executable_extensions; do
4173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174     ac_cv_prog_ac_ct_AS="as"
4175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4176     break 2
4177   fi
4178 done
4179   done
4180 IFS=$as_save_IFS
4181
4182 fi
4183 fi
4184 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4185 if test -n "$ac_ct_AS"; then
4186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4187 $as_echo "$ac_ct_AS" >&6; }
4188 else
4189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4191 fi
4192
4193   if test "x$ac_ct_AS" = x; then
4194     AS="false"
4195   else
4196     case $cross_compiling:$ac_tool_warned in
4197 yes:)
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4200 ac_tool_warned=yes ;;
4201 esac
4202     AS=$ac_ct_AS
4203   fi
4204 else
4205   AS="$ac_cv_prog_AS"
4206 fi
4207
4208   if test -n "$ac_tool_prefix"; then
4209   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4210 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4214   $as_echo_n "(cached) " >&6
4215 else
4216   if test -n "$DLLTOOL"; then
4217   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4218 else
4219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220 for as_dir in $PATH
4221 do
4222   IFS=$as_save_IFS
4223   test -z "$as_dir" && as_dir=.
4224     for ac_exec_ext in '' $ac_executable_extensions; do
4225   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4226     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228     break 2
4229   fi
4230 done
4231   done
4232 IFS=$as_save_IFS
4233
4234 fi
4235 fi
4236 DLLTOOL=$ac_cv_prog_DLLTOOL
4237 if test -n "$DLLTOOL"; then
4238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4239 $as_echo "$DLLTOOL" >&6; }
4240 else
4241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4243 fi
4244
4245
4246 fi
4247 if test -z "$ac_cv_prog_DLLTOOL"; then
4248   ac_ct_DLLTOOL=$DLLTOOL
4249   # Extract the first word of "dlltool", so it can be a program name with args.
4250 set dummy dlltool; ac_word=$2
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4252 $as_echo_n "checking for $ac_word... " >&6; }
4253 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4254   $as_echo_n "(cached) " >&6
4255 else
4256   if test -n "$ac_ct_DLLTOOL"; then
4257   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4258 else
4259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4260 for as_dir in $PATH
4261 do
4262   IFS=$as_save_IFS
4263   test -z "$as_dir" && as_dir=.
4264     for ac_exec_ext in '' $ac_executable_extensions; do
4265   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4266     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4268     break 2
4269   fi
4270 done
4271   done
4272 IFS=$as_save_IFS
4273
4274 fi
4275 fi
4276 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4277 if test -n "$ac_ct_DLLTOOL"; then
4278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4279 $as_echo "$ac_ct_DLLTOOL" >&6; }
4280 else
4281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4282 $as_echo "no" >&6; }
4283 fi
4284
4285   if test "x$ac_ct_DLLTOOL" = x; then
4286     DLLTOOL="false"
4287   else
4288     case $cross_compiling:$ac_tool_warned in
4289 yes:)
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4291 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4292 ac_tool_warned=yes ;;
4293 esac
4294     DLLTOOL=$ac_ct_DLLTOOL
4295   fi
4296 else
4297   DLLTOOL="$ac_cv_prog_DLLTOOL"
4298 fi
4299
4300   if test -n "$ac_tool_prefix"; then
4301   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4302 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4306   $as_echo_n "(cached) " >&6
4307 else
4308   if test -n "$OBJDUMP"; then
4309   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4310 else
4311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312 for as_dir in $PATH
4313 do
4314   IFS=$as_save_IFS
4315   test -z "$as_dir" && as_dir=.
4316     for ac_exec_ext in '' $ac_executable_extensions; do
4317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4320     break 2
4321   fi
4322 done
4323   done
4324 IFS=$as_save_IFS
4325
4326 fi
4327 fi
4328 OBJDUMP=$ac_cv_prog_OBJDUMP
4329 if test -n "$OBJDUMP"; then
4330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4331 $as_echo "$OBJDUMP" >&6; }
4332 else
4333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4335 fi
4336
4337
4338 fi
4339 if test -z "$ac_cv_prog_OBJDUMP"; then
4340   ac_ct_OBJDUMP=$OBJDUMP
4341   # Extract the first word of "objdump", so it can be a program name with args.
4342 set dummy objdump; ac_word=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4346   $as_echo_n "(cached) " >&6
4347 else
4348   if test -n "$ac_ct_OBJDUMP"; then
4349   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4350 else
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 for as_dir in $PATH
4353 do
4354   IFS=$as_save_IFS
4355   test -z "$as_dir" && as_dir=.
4356     for ac_exec_ext in '' $ac_executable_extensions; do
4357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358     ac_cv_prog_ac_ct_OBJDUMP="objdump"
4359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360     break 2
4361   fi
4362 done
4363   done
4364 IFS=$as_save_IFS
4365
4366 fi
4367 fi
4368 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4369 if test -n "$ac_ct_OBJDUMP"; then
4370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4371 $as_echo "$ac_ct_OBJDUMP" >&6; }
4372 else
4373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4375 fi
4376
4377   if test "x$ac_ct_OBJDUMP" = x; then
4378     OBJDUMP="false"
4379   else
4380     case $cross_compiling:$ac_tool_warned in
4381 yes:)
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384 ac_tool_warned=yes ;;
4385 esac
4386     OBJDUMP=$ac_ct_OBJDUMP
4387   fi
4388 else
4389   OBJDUMP="$ac_cv_prog_OBJDUMP"
4390 fi
4391
4392   ;;
4393 esac
4394
4395 test -z "$AS" && AS=as
4396
4397
4398
4399
4400
4401 test -z "$DLLTOOL" && DLLTOOL=dlltool
4402
4403
4404
4405
4406
4407 test -z "$OBJDUMP" && OBJDUMP=objdump
4408
4409
4410
4411
4412
4413
4414
4415 case `pwd` in
4416   *\ * | *\     *)
4417     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4418 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4419 esac
4420
4421
4422
4423 macro_version='2.2.6b'
4424 macro_revision='1.3017'
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438 ltmain="$ac_aux_dir/ltmain.sh"
4439
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4441 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4442 if test "${ac_cv_path_SED+set}" = set; then :
4443   $as_echo_n "(cached) " >&6
4444 else
4445             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4446      for ac_i in 1 2 3 4 5 6 7; do
4447        ac_script="$ac_script$as_nl$ac_script"
4448      done
4449      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4450      { ac_script=; unset ac_script;}
4451      if test -z "$SED"; then
4452   ac_path_SED_found=false
4453   # Loop through the user's path and test for each of PROGNAME-LIST
4454   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4455 for as_dir in $PATH
4456 do
4457   IFS=$as_save_IFS
4458   test -z "$as_dir" && as_dir=.
4459     for ac_prog in sed gsed; do
4460     for ac_exec_ext in '' $ac_executable_extensions; do
4461       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4462       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4463 # Check for GNU ac_path_SED and select it if it is found.
4464   # Check for GNU $ac_path_SED
4465 case `"$ac_path_SED" --version 2>&1` in
4466 *GNU*)
4467   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4468 *)
4469   ac_count=0
4470   $as_echo_n 0123456789 >"conftest.in"
4471   while :
4472   do
4473     cat "conftest.in" "conftest.in" >"conftest.tmp"
4474     mv "conftest.tmp" "conftest.in"
4475     cp "conftest.in" "conftest.nl"
4476     $as_echo '' >> "conftest.nl"
4477     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4478     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4479     as_fn_arith $ac_count + 1 && ac_count=$as_val
4480     if test $ac_count -gt ${ac_path_SED_max-0}; then
4481       # Best one so far, save it but keep looking for a better one
4482       ac_cv_path_SED="$ac_path_SED"
4483       ac_path_SED_max=$ac_count
4484     fi
4485     # 10*(2^10) chars as input seems more than enough
4486     test $ac_count -gt 10 && break
4487   done
4488   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4489 esac
4490
4491       $ac_path_SED_found && break 3
4492     done
4493   done
4494   done
4495 IFS=$as_save_IFS
4496   if test -z "$ac_cv_path_SED"; then
4497     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4498   fi
4499 else
4500   ac_cv_path_SED=$SED
4501 fi
4502
4503 fi
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4505 $as_echo "$ac_cv_path_SED" >&6; }
4506  SED="$ac_cv_path_SED"
4507   rm -f conftest.sed
4508
4509 test -z "$SED" && SED=sed
4510 Xsed="$SED -e 1s/^X//"
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4523 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4524 if test "${ac_cv_path_GREP+set}" = set; then :
4525   $as_echo_n "(cached) " >&6
4526 else
4527   if test -z "$GREP"; then
4528   ac_path_GREP_found=false
4529   # Loop through the user's path and test for each of PROGNAME-LIST
4530   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4532 do
4533   IFS=$as_save_IFS
4534   test -z "$as_dir" && as_dir=.
4535     for ac_prog in grep ggrep; do
4536     for ac_exec_ext in '' $ac_executable_extensions; do
4537       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4538       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4539 # Check for GNU ac_path_GREP and select it if it is found.
4540   # Check for GNU $ac_path_GREP
4541 case `"$ac_path_GREP" --version 2>&1` in
4542 *GNU*)
4543   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4544 *)
4545   ac_count=0
4546   $as_echo_n 0123456789 >"conftest.in"
4547   while :
4548   do
4549     cat "conftest.in" "conftest.in" >"conftest.tmp"
4550     mv "conftest.tmp" "conftest.in"
4551     cp "conftest.in" "conftest.nl"
4552     $as_echo 'GREP' >> "conftest.nl"
4553     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555     as_fn_arith $ac_count + 1 && ac_count=$as_val
4556     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4557       # Best one so far, save it but keep looking for a better one
4558       ac_cv_path_GREP="$ac_path_GREP"
4559       ac_path_GREP_max=$ac_count
4560     fi
4561     # 10*(2^10) chars as input seems more than enough
4562     test $ac_count -gt 10 && break
4563   done
4564   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4565 esac
4566
4567       $ac_path_GREP_found && break 3
4568     done
4569   done
4570   done
4571 IFS=$as_save_IFS
4572   if test -z "$ac_cv_path_GREP"; then
4573     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4574   fi
4575 else
4576   ac_cv_path_GREP=$GREP
4577 fi
4578
4579 fi
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4581 $as_echo "$ac_cv_path_GREP" >&6; }
4582  GREP="$ac_cv_path_GREP"
4583
4584
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4586 $as_echo_n "checking for egrep... " >&6; }
4587 if test "${ac_cv_path_EGREP+set}" = set; then :
4588   $as_echo_n "(cached) " >&6
4589 else
4590   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4591    then ac_cv_path_EGREP="$GREP -E"
4592    else
4593      if test -z "$EGREP"; then
4594   ac_path_EGREP_found=false
4595   # Loop through the user's path and test for each of PROGNAME-LIST
4596   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4598 do
4599   IFS=$as_save_IFS
4600   test -z "$as_dir" && as_dir=.
4601     for ac_prog in egrep; do
4602     for ac_exec_ext in '' $ac_executable_extensions; do
4603       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4604       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4605 # Check for GNU ac_path_EGREP and select it if it is found.
4606   # Check for GNU $ac_path_EGREP
4607 case `"$ac_path_EGREP" --version 2>&1` in
4608 *GNU*)
4609   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4610 *)
4611   ac_count=0
4612   $as_echo_n 0123456789 >"conftest.in"
4613   while :
4614   do
4615     cat "conftest.in" "conftest.in" >"conftest.tmp"
4616     mv "conftest.tmp" "conftest.in"
4617     cp "conftest.in" "conftest.nl"
4618     $as_echo 'EGREP' >> "conftest.nl"
4619     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4620     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4621     as_fn_arith $ac_count + 1 && ac_count=$as_val
4622     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4623       # Best one so far, save it but keep looking for a better one
4624       ac_cv_path_EGREP="$ac_path_EGREP"
4625       ac_path_EGREP_max=$ac_count
4626     fi
4627     # 10*(2^10) chars as input seems more than enough
4628     test $ac_count -gt 10 && break
4629   done
4630   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4631 esac
4632
4633       $ac_path_EGREP_found && break 3
4634     done
4635   done
4636   done
4637 IFS=$as_save_IFS
4638   if test -z "$ac_cv_path_EGREP"; then
4639     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4640   fi
4641 else
4642   ac_cv_path_EGREP=$EGREP
4643 fi
4644
4645    fi
4646 fi
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4648 $as_echo "$ac_cv_path_EGREP" >&6; }
4649  EGREP="$ac_cv_path_EGREP"
4650
4651
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4653 $as_echo_n "checking for fgrep... " >&6; }
4654 if test "${ac_cv_path_FGREP+set}" = set; then :
4655   $as_echo_n "(cached) " >&6
4656 else
4657   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4658    then ac_cv_path_FGREP="$GREP -F"
4659    else
4660      if test -z "$FGREP"; then
4661   ac_path_FGREP_found=false
4662   # Loop through the user's path and test for each of PROGNAME-LIST
4663   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4664 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4665 do
4666   IFS=$as_save_IFS
4667   test -z "$as_dir" && as_dir=.
4668     for ac_prog in fgrep; do
4669     for ac_exec_ext in '' $ac_executable_extensions; do
4670       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4671       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4672 # Check for GNU ac_path_FGREP and select it if it is found.
4673   # Check for GNU $ac_path_FGREP
4674 case `"$ac_path_FGREP" --version 2>&1` in
4675 *GNU*)
4676   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4677 *)
4678   ac_count=0
4679   $as_echo_n 0123456789 >"conftest.in"
4680   while :
4681   do
4682     cat "conftest.in" "conftest.in" >"conftest.tmp"
4683     mv "conftest.tmp" "conftest.in"
4684     cp "conftest.in" "conftest.nl"
4685     $as_echo 'FGREP' >> "conftest.nl"
4686     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4687     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4688     as_fn_arith $ac_count + 1 && ac_count=$as_val
4689     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4690       # Best one so far, save it but keep looking for a better one
4691       ac_cv_path_FGREP="$ac_path_FGREP"
4692       ac_path_FGREP_max=$ac_count
4693     fi
4694     # 10*(2^10) chars as input seems more than enough
4695     test $ac_count -gt 10 && break
4696   done
4697   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4698 esac
4699
4700       $ac_path_FGREP_found && break 3
4701     done
4702   done
4703   done
4704 IFS=$as_save_IFS
4705   if test -z "$ac_cv_path_FGREP"; then
4706     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4707   fi
4708 else
4709   ac_cv_path_FGREP=$FGREP
4710 fi
4711
4712    fi
4713 fi
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4715 $as_echo "$ac_cv_path_FGREP" >&6; }
4716  FGREP="$ac_cv_path_FGREP"
4717
4718
4719 test -z "$GREP" && GREP=grep
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739 # Check whether --with-gnu-ld was given.
4740 if test "${with_gnu_ld+set}" = set; then :
4741   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4742 else
4743   with_gnu_ld=no
4744 fi
4745
4746 ac_prog=ld
4747 if test "$GCC" = yes; then
4748   # Check if gcc -print-prog-name=ld gives a path.
4749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4750 $as_echo_n "checking for ld used by $CC... " >&6; }
4751   case $host in
4752   *-*-mingw*)
4753     # gcc leaves a trailing carriage return which upsets mingw
4754     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4755   *)
4756     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4757   esac
4758   case $ac_prog in
4759     # Accept absolute paths.
4760     [\\/]* | ?:[\\/]*)
4761       re_direlt='/[^/][^/]*/\.\./'
4762       # Canonicalize the pathname of ld
4763       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4764       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4765         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4766       done
4767       test -z "$LD" && LD="$ac_prog"
4768       ;;
4769   "")
4770     # If it fails, then pretend we aren't using GCC.
4771     ac_prog=ld
4772     ;;
4773   *)
4774     # If it is relative, then search for the first ld in PATH.
4775     with_gnu_ld=unknown
4776     ;;
4777   esac
4778 elif test "$with_gnu_ld" = yes; then
4779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4780 $as_echo_n "checking for GNU ld... " >&6; }
4781 else
4782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4783 $as_echo_n "checking for non-GNU ld... " >&6; }
4784 fi
4785 if test "${lt_cv_path_LD+set}" = set; then :
4786   $as_echo_n "(cached) " >&6
4787 else
4788   if test -z "$LD"; then
4789   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4790   for ac_dir in $PATH; do
4791     IFS="$lt_save_ifs"
4792     test -z "$ac_dir" && ac_dir=.
4793     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4794       lt_cv_path_LD="$ac_dir/$ac_prog"
4795       # Check to see if the program is GNU ld.  I'd rather use --version,
4796       # but apparently some variants of GNU ld only accept -v.
4797       # Break only if it was the GNU/non-GNU ld that we prefer.
4798       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4799       *GNU* | *'with BFD'*)
4800         test "$with_gnu_ld" != no && break
4801         ;;
4802       *)
4803         test "$with_gnu_ld" != yes && break
4804         ;;
4805       esac
4806     fi
4807   done
4808   IFS="$lt_save_ifs"
4809 else
4810   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4811 fi
4812 fi
4813
4814 LD="$lt_cv_path_LD"
4815 if test -n "$LD"; then
4816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4817 $as_echo "$LD" >&6; }
4818 else
4819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 $as_echo "no" >&6; }
4821 fi
4822 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4824 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4825 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
4826   $as_echo_n "(cached) " >&6
4827 else
4828   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4829 case `$LD -v 2>&1 </dev/null` in
4830 *GNU* | *'with BFD'*)
4831   lt_cv_prog_gnu_ld=yes
4832   ;;
4833 *)
4834   lt_cv_prog_gnu_ld=no
4835   ;;
4836 esac
4837 fi
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4839 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
4840 with_gnu_ld=$lt_cv_prog_gnu_ld
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4851 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4852 if test "${lt_cv_path_NM+set}" = set; then :
4853   $as_echo_n "(cached) " >&6
4854 else
4855   if test -n "$NM"; then
4856   # Let the user override the test.
4857   lt_cv_path_NM="$NM"
4858 else
4859   lt_nm_to_check="${ac_tool_prefix}nm"
4860   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4861     lt_nm_to_check="$lt_nm_to_check nm"
4862   fi
4863   for lt_tmp_nm in $lt_nm_to_check; do
4864     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4865     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4866       IFS="$lt_save_ifs"
4867       test -z "$ac_dir" && ac_dir=.
4868       tmp_nm="$ac_dir/$lt_tmp_nm"
4869       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4870         # Check to see if the nm accepts a BSD-compat flag.
4871         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4872         #   nm: unknown option "B" ignored
4873         # Tru64's nm complains that /dev/null is an invalid object file
4874         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4875         */dev/null* | *'Invalid file or object type'*)
4876           lt_cv_path_NM="$tmp_nm -B"
4877           break
4878           ;;
4879         *)
4880           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4881           */dev/null*)
4882             lt_cv_path_NM="$tmp_nm -p"
4883             break
4884             ;;
4885           *)
4886             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4887             continue # so that we can try to find one that supports BSD flags
4888             ;;
4889           esac
4890           ;;
4891         esac
4892       fi
4893     done
4894     IFS="$lt_save_ifs"
4895   done
4896   : ${lt_cv_path_NM=no}
4897 fi
4898 fi
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4900 $as_echo "$lt_cv_path_NM" >&6; }
4901 if test "$lt_cv_path_NM" != "no"; then
4902   NM="$lt_cv_path_NM"
4903 else
4904   # Didn't find any BSD compatible name lister, look for dumpbin.
4905   if test -n "$ac_tool_prefix"; then
4906   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4907   do
4908     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4909 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4911 $as_echo_n "checking for $ac_word... " >&6; }
4912 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
4913   $as_echo_n "(cached) " >&6
4914 else
4915   if test -n "$DUMPBIN"; then
4916   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4917 else
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919 for as_dir in $PATH
4920 do
4921   IFS=$as_save_IFS
4922   test -z "$as_dir" && as_dir=.
4923     for ac_exec_ext in '' $ac_executable_extensions; do
4924   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4925     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4926     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4927     break 2
4928   fi
4929 done
4930   done
4931 IFS=$as_save_IFS
4932
4933 fi
4934 fi
4935 DUMPBIN=$ac_cv_prog_DUMPBIN
4936 if test -n "$DUMPBIN"; then
4937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4938 $as_echo "$DUMPBIN" >&6; }
4939 else
4940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4941 $as_echo "no" >&6; }
4942 fi
4943
4944
4945     test -n "$DUMPBIN" && break
4946   done
4947 fi
4948 if test -z "$DUMPBIN"; then
4949   ac_ct_DUMPBIN=$DUMPBIN
4950   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4951 do
4952   # Extract the first word of "$ac_prog", so it can be a program name with args.
4953 set dummy $ac_prog; ac_word=$2
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4955 $as_echo_n "checking for $ac_word... " >&6; }
4956 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
4957   $as_echo_n "(cached) " >&6
4958 else
4959   if test -n "$ac_ct_DUMPBIN"; then
4960   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4964 do
4965   IFS=$as_save_IFS
4966   test -z "$as_dir" && as_dir=.
4967     for ac_exec_ext in '' $ac_executable_extensions; do
4968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4969     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971     break 2
4972   fi
4973 done
4974   done
4975 IFS=$as_save_IFS
4976
4977 fi
4978 fi
4979 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4980 if test -n "$ac_ct_DUMPBIN"; then
4981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4982 $as_echo "$ac_ct_DUMPBIN" >&6; }
4983 else
4984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4985 $as_echo "no" >&6; }
4986 fi
4987
4988
4989   test -n "$ac_ct_DUMPBIN" && break
4990 done
4991
4992   if test "x$ac_ct_DUMPBIN" = x; then
4993     DUMPBIN=":"
4994   else
4995     case $cross_compiling:$ac_tool_warned in
4996 yes:)
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4998 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4999 ac_tool_warned=yes ;;
5000 esac
5001     DUMPBIN=$ac_ct_DUMPBIN
5002   fi
5003 fi
5004
5005
5006   if test "$DUMPBIN" != ":"; then
5007     NM="$DUMPBIN"
5008   fi
5009 fi
5010 test -z "$NM" && NM=nm
5011
5012
5013
5014
5015
5016
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5018 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5019 if test "${lt_cv_nm_interface+set}" = set; then :
5020   $as_echo_n "(cached) " >&6
5021 else
5022   lt_cv_nm_interface="BSD nm"
5023   echo "int some_variable = 0;" > conftest.$ac_ext
5024   (eval echo "\"\$as_me:5024: $ac_compile\"" >&5)
5025   (eval "$ac_compile" 2>conftest.err)
5026   cat conftest.err >&5
5027   (eval echo "\"\$as_me:5027: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5028   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5029   cat conftest.err >&5
5030   (eval echo "\"\$as_me:5030: output\"" >&5)
5031   cat conftest.out >&5
5032   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5033     lt_cv_nm_interface="MS dumpbin"
5034   fi
5035   rm -f conftest*
5036 fi
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5038 $as_echo "$lt_cv_nm_interface" >&6; }
5039
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5041 $as_echo_n "checking whether ln -s works... " >&6; }
5042 LN_S=$as_ln_s
5043 if test "$LN_S" = "ln -s"; then
5044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5045 $as_echo "yes" >&6; }
5046 else
5047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5048 $as_echo "no, using $LN_S" >&6; }
5049 fi
5050
5051 # find the maximum length of command line arguments
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5053 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5054 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5055   $as_echo_n "(cached) " >&6
5056 else
5057     i=0
5058   teststring="ABCD"
5059
5060   case $build_os in
5061   msdosdjgpp*)
5062     # On DJGPP, this test can blow up pretty badly due to problems in libc
5063     # (any single argument exceeding 2000 bytes causes a buffer overrun
5064     # during glob expansion).  Even if it were fixed, the result of this
5065     # check would be larger than it should be.
5066     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5067     ;;
5068
5069   gnu*)
5070     # Under GNU Hurd, this test is not required because there is
5071     # no limit to the length of command line arguments.
5072     # Libtool will interpret -1 as no limit whatsoever
5073     lt_cv_sys_max_cmd_len=-1;
5074     ;;
5075
5076   cygwin* | mingw* | cegcc*)
5077     # On Win9x/ME, this test blows up -- it succeeds, but takes
5078     # about 5 minutes as the teststring grows exponentially.
5079     # Worse, since 9x/ME are not pre-emptively multitasking,
5080     # you end up with a "frozen" computer, even though with patience
5081     # the test eventually succeeds (with a max line length of 256k).
5082     # Instead, let's just punt: use the minimum linelength reported by
5083     # all of the supported platforms: 8192 (on NT/2K/XP).
5084     lt_cv_sys_max_cmd_len=8192;
5085     ;;
5086
5087   amigaos*)
5088     # On AmigaOS with pdksh, this test takes hours, literally.
5089     # So we just punt and use a minimum line length of 8192.
5090     lt_cv_sys_max_cmd_len=8192;
5091     ;;
5092
5093   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5094     # This has been around since 386BSD, at least.  Likely further.
5095     if test -x /sbin/sysctl; then
5096       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5097     elif test -x /usr/sbin/sysctl; then
5098       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5099     else
5100       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5101     fi
5102     # And add a safety zone
5103     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5104     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5105     ;;
5106
5107   interix*)
5108     # We know the value 262144 and hardcode it with a safety zone (like BSD)
5109     lt_cv_sys_max_cmd_len=196608
5110     ;;
5111
5112   osf*)
5113     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5114     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5115     # nice to cause kernel panics so lets avoid the loop below.
5116     # First set a reasonable default.
5117     lt_cv_sys_max_cmd_len=16384
5118     #
5119     if test -x /sbin/sysconfig; then
5120       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5121         *1*) lt_cv_sys_max_cmd_len=-1 ;;
5122       esac
5123     fi
5124     ;;
5125   sco3.2v5*)
5126     lt_cv_sys_max_cmd_len=102400
5127     ;;
5128   sysv5* | sco5v6* | sysv4.2uw2*)
5129     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5130     if test -n "$kargmax"; then
5131       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5132     else
5133       lt_cv_sys_max_cmd_len=32768
5134     fi
5135     ;;
5136   *)
5137     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5138     if test -n "$lt_cv_sys_max_cmd_len"; then
5139       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5140       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5141     else
5142       # Make teststring a little bigger before we do anything with it.
5143       # a 1K string should be a reasonable start.
5144       for i in 1 2 3 4 5 6 7 8 ; do
5145         teststring=$teststring$teststring
5146       done
5147       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5148       # If test is not a shell built-in, we'll probably end up computing a
5149       # maximum length that is only half of the actual maximum length, but
5150       # we can't tell.
5151       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5152                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5153               test $i != 17 # 1/2 MB should be enough
5154       do
5155         i=`expr $i + 1`
5156         teststring=$teststring$teststring
5157       done
5158       # Only check the string length outside the loop.
5159       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5160       teststring=
5161       # Add a significant safety factor because C++ compilers can tack on
5162       # massive amounts of additional arguments before passing them to the
5163       # linker.  It appears as though 1/2 is a usable value.
5164       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5165     fi
5166     ;;
5167   esac
5168
5169 fi
5170
5171 if test -n $lt_cv_sys_max_cmd_len ; then
5172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5173 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5174 else
5175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5176 $as_echo "none" >&6; }
5177 fi
5178 max_cmd_len=$lt_cv_sys_max_cmd_len
5179
5180
5181
5182
5183
5184
5185 : ${CP="cp -f"}
5186 : ${MV="mv -f"}
5187 : ${RM="rm -f"}
5188
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5190 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5191 # Try some XSI features
5192 xsi_shell=no
5193 ( _lt_dummy="a/b/c"
5194   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5195       = c,a/b,, \
5196     && eval 'test $(( 1 + 1 )) -eq 2 \
5197     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5198   && xsi_shell=yes
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5200 $as_echo "$xsi_shell" >&6; }
5201
5202
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5204 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5205 lt_shell_append=no
5206 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5207     >/dev/null 2>&1 \
5208   && lt_shell_append=yes
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5210 $as_echo "$lt_shell_append" >&6; }
5211
5212
5213 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5214   lt_unset=unset
5215 else
5216   lt_unset=false
5217 fi
5218
5219
5220
5221
5222
5223 # test EBCDIC or ASCII
5224 case `echo X|tr X '\101'` in
5225  A) # ASCII based system
5226     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5227   lt_SP2NL='tr \040 \012'
5228   lt_NL2SP='tr \015\012 \040\040'
5229   ;;
5230  *) # EBCDIC based system
5231   lt_SP2NL='tr \100 \n'
5232   lt_NL2SP='tr \r\n \100\100'
5233   ;;
5234 esac
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5245 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5246 if test "${lt_cv_ld_reload_flag+set}" = set; then :
5247   $as_echo_n "(cached) " >&6
5248 else
5249   lt_cv_ld_reload_flag='-r'
5250 fi
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5252 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5253 reload_flag=$lt_cv_ld_reload_flag
5254 case $reload_flag in
5255 "" | " "*) ;;
5256 *) reload_flag=" $reload_flag" ;;
5257 esac
5258 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5259 case $host_os in
5260   darwin*)
5261     if test "$GCC" = yes; then
5262       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5263     else
5264       reload_cmds='$LD$reload_flag -o $output$reload_objs'
5265     fi
5266     ;;
5267 esac
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277 if test -n "$ac_tool_prefix"; then
5278   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5279 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5283   $as_echo_n "(cached) " >&6
5284 else
5285   if test -n "$OBJDUMP"; then
5286   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5287 else
5288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5289 for as_dir in $PATH
5290 do
5291   IFS=$as_save_IFS
5292   test -z "$as_dir" && as_dir=.
5293     for ac_exec_ext in '' $ac_executable_extensions; do
5294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5297     break 2
5298   fi
5299 done
5300   done
5301 IFS=$as_save_IFS
5302
5303 fi
5304 fi
5305 OBJDUMP=$ac_cv_prog_OBJDUMP
5306 if test -n "$OBJDUMP"; then
5307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5308 $as_echo "$OBJDUMP" >&6; }
5309 else
5310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5312 fi
5313
5314
5315 fi
5316 if test -z "$ac_cv_prog_OBJDUMP"; then
5317   ac_ct_OBJDUMP=$OBJDUMP
5318   # Extract the first word of "objdump", so it can be a program name with args.
5319 set dummy objdump; ac_word=$2
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5321 $as_echo_n "checking for $ac_word... " >&6; }
5322 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5323   $as_echo_n "(cached) " >&6
5324 else
5325   if test -n "$ac_ct_OBJDUMP"; then
5326   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5327 else
5328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5329 for as_dir in $PATH
5330 do
5331   IFS=$as_save_IFS
5332   test -z "$as_dir" && as_dir=.
5333     for ac_exec_ext in '' $ac_executable_extensions; do
5334   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5335     ac_cv_prog_ac_ct_OBJDUMP="objdump"
5336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337     break 2
5338   fi
5339 done
5340   done
5341 IFS=$as_save_IFS
5342
5343 fi
5344 fi
5345 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5346 if test -n "$ac_ct_OBJDUMP"; then
5347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5348 $as_echo "$ac_ct_OBJDUMP" >&6; }
5349 else
5350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5351 $as_echo "no" >&6; }
5352 fi
5353
5354   if test "x$ac_ct_OBJDUMP" = x; then
5355     OBJDUMP="false"
5356   else
5357     case $cross_compiling:$ac_tool_warned in
5358 yes:)
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5361 ac_tool_warned=yes ;;
5362 esac
5363     OBJDUMP=$ac_ct_OBJDUMP
5364   fi
5365 else
5366   OBJDUMP="$ac_cv_prog_OBJDUMP"
5367 fi
5368
5369 test -z "$OBJDUMP" && OBJDUMP=objdump
5370
5371
5372
5373
5374
5375
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5377 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5378 if test "${lt_cv_deplibs_check_method+set}" = set; then :
5379   $as_echo_n "(cached) " >&6
5380 else
5381   lt_cv_file_magic_cmd='$MAGIC_CMD'
5382 lt_cv_file_magic_test_file=
5383 lt_cv_deplibs_check_method='unknown'
5384 # Need to set the preceding variable on all platforms that support
5385 # interlibrary dependencies.
5386 # 'none' -- dependencies not supported.
5387 # `unknown' -- same as none, but documents that we really don't know.
5388 # 'pass_all' -- all dependencies passed with no checks.
5389 # 'test_compile' -- check by making test program.
5390 # 'file_magic [[regex]]' -- check by looking for files in library path
5391 # which responds to the $file_magic_cmd with a given extended regex.
5392 # If you have `file' or equivalent on your system and you're not sure
5393 # whether `pass_all' will *always* work, you probably want this one.
5394
5395 case $host_os in
5396 aix[4-9]*)
5397   lt_cv_deplibs_check_method=pass_all
5398   ;;
5399
5400 beos*)
5401   lt_cv_deplibs_check_method=pass_all
5402   ;;
5403
5404 bsdi[45]*)
5405   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5406   lt_cv_file_magic_cmd='/usr/bin/file -L'
5407   lt_cv_file_magic_test_file=/shlib/libc.so
5408   ;;
5409
5410 cygwin*)
5411   # func_win32_libid is a shell function defined in ltmain.sh
5412   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5413   lt_cv_file_magic_cmd='func_win32_libid'
5414   ;;
5415
5416 mingw* | pw32*)
5417   # Base MSYS/MinGW do not provide the 'file' command needed by
5418   # func_win32_libid shell function, so use a weaker test based on 'objdump',
5419   # unless we find 'file', for example because we are cross-compiling.
5420   if ( file / ) >/dev/null 2>&1; then
5421     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5422     lt_cv_file_magic_cmd='func_win32_libid'
5423   else
5424     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5425     lt_cv_file_magic_cmd='$OBJDUMP -f'
5426   fi
5427   ;;
5428
5429 cegcc)
5430   # use the weaker test based on 'objdump'. See mingw*.
5431   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5432   lt_cv_file_magic_cmd='$OBJDUMP -f'
5433   ;;
5434
5435 darwin* | rhapsody*)
5436   lt_cv_deplibs_check_method=pass_all
5437   ;;
5438
5439 freebsd* | dragonfly*)
5440   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5441     case $host_cpu in
5442     i*86 )
5443       # Not sure whether the presence of OpenBSD here was a mistake.
5444       # Let's accept both of them until this is cleared up.
5445       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5446       lt_cv_file_magic_cmd=/usr/bin/file
5447       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5448       ;;
5449     esac
5450   else
5451     lt_cv_deplibs_check_method=pass_all
5452   fi
5453   ;;
5454
5455 gnu*)
5456   lt_cv_deplibs_check_method=pass_all
5457   ;;
5458
5459 hpux10.20* | hpux11*)
5460   lt_cv_file_magic_cmd=/usr/bin/file
5461   case $host_cpu in
5462   ia64*)
5463     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5464     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5465     ;;
5466   hppa*64*)
5467     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]'
5468     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5469     ;;
5470   *)
5471     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5472     lt_cv_file_magic_test_file=/usr/lib/libc.sl
5473     ;;
5474   esac
5475   ;;
5476
5477 interix[3-9]*)
5478   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5479   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5480   ;;
5481
5482 irix5* | irix6* | nonstopux*)
5483   case $LD in
5484   *-32|*"-32 ") libmagic=32-bit;;
5485   *-n32|*"-n32 ") libmagic=N32;;
5486   *-64|*"-64 ") libmagic=64-bit;;
5487   *) libmagic=never-match;;
5488   esac
5489   lt_cv_deplibs_check_method=pass_all
5490   ;;
5491
5492 # This must be Linux ELF.
5493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5494   lt_cv_deplibs_check_method=pass_all
5495   ;;
5496
5497 netbsd* | netbsdelf*-gnu)
5498   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5499     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5500   else
5501     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5502   fi
5503   ;;
5504
5505 newos6*)
5506   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5507   lt_cv_file_magic_cmd=/usr/bin/file
5508   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5509   ;;
5510
5511 *nto* | *qnx*)
5512   lt_cv_deplibs_check_method=pass_all
5513   ;;
5514
5515 openbsd*)
5516   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5517     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5518   else
5519     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5520   fi
5521   ;;
5522
5523 osf3* | osf4* | osf5*)
5524   lt_cv_deplibs_check_method=pass_all
5525   ;;
5526
5527 rdos*)
5528   lt_cv_deplibs_check_method=pass_all
5529   ;;
5530
5531 solaris*)
5532   lt_cv_deplibs_check_method=pass_all
5533   ;;
5534
5535 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5536   lt_cv_deplibs_check_method=pass_all
5537   ;;
5538
5539 sysv4 | sysv4.3*)
5540   case $host_vendor in
5541   motorola)
5542     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]'
5543     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5544     ;;
5545   ncr)
5546     lt_cv_deplibs_check_method=pass_all
5547     ;;
5548   sequent)
5549     lt_cv_file_magic_cmd='/bin/file'
5550     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5551     ;;
5552   sni)
5553     lt_cv_file_magic_cmd='/bin/file'
5554     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5555     lt_cv_file_magic_test_file=/lib/libc.so
5556     ;;
5557   siemens)
5558     lt_cv_deplibs_check_method=pass_all
5559     ;;
5560   pc)
5561     lt_cv_deplibs_check_method=pass_all
5562     ;;
5563   esac
5564   ;;
5565
5566 tpf*)
5567   lt_cv_deplibs_check_method=pass_all
5568   ;;
5569 esac
5570
5571 fi
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5573 $as_echo "$lt_cv_deplibs_check_method" >&6; }
5574 file_magic_cmd=$lt_cv_file_magic_cmd
5575 deplibs_check_method=$lt_cv_deplibs_check_method
5576 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589 if test -n "$ac_tool_prefix"; then
5590   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5591 set dummy ${ac_tool_prefix}ar; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if test "${ac_cv_prog_AR+set}" = set; then :
5595   $as_echo_n "(cached) " >&6
5596 else
5597   if test -n "$AR"; then
5598   ac_cv_prog_AR="$AR" # Let the user override the test.
5599 else
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in $PATH
5602 do
5603   IFS=$as_save_IFS
5604   test -z "$as_dir" && as_dir=.
5605     for ac_exec_ext in '' $ac_executable_extensions; do
5606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5607     ac_cv_prog_AR="${ac_tool_prefix}ar"
5608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609     break 2
5610   fi
5611 done
5612   done
5613 IFS=$as_save_IFS
5614
5615 fi
5616 fi
5617 AR=$ac_cv_prog_AR
5618 if test -n "$AR"; then
5619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5620 $as_echo "$AR" >&6; }
5621 else
5622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5624 fi
5625
5626
5627 fi
5628 if test -z "$ac_cv_prog_AR"; then
5629   ac_ct_AR=$AR
5630   # Extract the first word of "ar", so it can be a program name with args.
5631 set dummy ar; ac_word=$2
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5633 $as_echo_n "checking for $ac_word... " >&6; }
5634 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5635   $as_echo_n "(cached) " >&6
5636 else
5637   if test -n "$ac_ct_AR"; then
5638   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5639 else
5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5641 for as_dir in $PATH
5642 do
5643   IFS=$as_save_IFS
5644   test -z "$as_dir" && as_dir=.
5645     for ac_exec_ext in '' $ac_executable_extensions; do
5646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5647     ac_cv_prog_ac_ct_AR="ar"
5648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5649     break 2
5650   fi
5651 done
5652   done
5653 IFS=$as_save_IFS
5654
5655 fi
5656 fi
5657 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5658 if test -n "$ac_ct_AR"; then
5659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5660 $as_echo "$ac_ct_AR" >&6; }
5661 else
5662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5663 $as_echo "no" >&6; }
5664 fi
5665
5666   if test "x$ac_ct_AR" = x; then
5667     AR="false"
5668   else
5669     case $cross_compiling:$ac_tool_warned in
5670 yes:)
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5673 ac_tool_warned=yes ;;
5674 esac
5675     AR=$ac_ct_AR
5676   fi
5677 else
5678   AR="$ac_cv_prog_AR"
5679 fi
5680
5681 test -z "$AR" && AR=ar
5682 test -z "$AR_FLAGS" && AR_FLAGS=cru
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694 if test -n "$ac_tool_prefix"; then
5695   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5696 set dummy ${ac_tool_prefix}strip; ac_word=$2
5697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5698 $as_echo_n "checking for $ac_word... " >&6; }
5699 if test "${ac_cv_prog_STRIP+set}" = set; then :
5700   $as_echo_n "(cached) " >&6
5701 else
5702   if test -n "$STRIP"; then
5703   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5704 else
5705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 for as_dir in $PATH
5707 do
5708   IFS=$as_save_IFS
5709   test -z "$as_dir" && as_dir=.
5710     for ac_exec_ext in '' $ac_executable_extensions; do
5711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5712     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5714     break 2
5715   fi
5716 done
5717   done
5718 IFS=$as_save_IFS
5719
5720 fi
5721 fi
5722 STRIP=$ac_cv_prog_STRIP
5723 if test -n "$STRIP"; then
5724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5725 $as_echo "$STRIP" >&6; }
5726 else
5727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5728 $as_echo "no" >&6; }
5729 fi
5730
5731
5732 fi
5733 if test -z "$ac_cv_prog_STRIP"; then
5734   ac_ct_STRIP=$STRIP
5735   # Extract the first word of "strip", so it can be a program name with args.
5736 set dummy strip; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5740   $as_echo_n "(cached) " >&6
5741 else
5742   if test -n "$ac_ct_STRIP"; then
5743   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5747 do
5748   IFS=$as_save_IFS
5749   test -z "$as_dir" && as_dir=.
5750     for ac_exec_ext in '' $ac_executable_extensions; do
5751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5752     ac_cv_prog_ac_ct_STRIP="strip"
5753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754     break 2
5755   fi
5756 done
5757   done
5758 IFS=$as_save_IFS
5759
5760 fi
5761 fi
5762 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5763 if test -n "$ac_ct_STRIP"; then
5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5765 $as_echo "$ac_ct_STRIP" >&6; }
5766 else
5767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5769 fi
5770
5771   if test "x$ac_ct_STRIP" = x; then
5772     STRIP=":"
5773   else
5774     case $cross_compiling:$ac_tool_warned in
5775 yes:)
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5778 ac_tool_warned=yes ;;
5779 esac
5780     STRIP=$ac_ct_STRIP
5781   fi
5782 else
5783   STRIP="$ac_cv_prog_STRIP"
5784 fi
5785
5786 test -z "$STRIP" && STRIP=:
5787
5788
5789
5790
5791
5792
5793 if test -n "$ac_tool_prefix"; then
5794   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5799   $as_echo_n "(cached) " >&6
5800 else
5801   if test -n "$RANLIB"; then
5802   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5806 do
5807   IFS=$as_save_IFS
5808   test -z "$as_dir" && as_dir=.
5809     for ac_exec_ext in '' $ac_executable_extensions; do
5810   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813     break 2
5814   fi
5815 done
5816   done
5817 IFS=$as_save_IFS
5818
5819 fi
5820 fi
5821 RANLIB=$ac_cv_prog_RANLIB
5822 if test -n "$RANLIB"; then
5823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5824 $as_echo "$RANLIB" >&6; }
5825 else
5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5828 fi
5829
5830
5831 fi
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833   ac_ct_RANLIB=$RANLIB
5834   # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5837 $as_echo_n "checking for $ac_word... " >&6; }
5838 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5839   $as_echo_n "(cached) " >&6
5840 else
5841   if test -n "$ac_ct_RANLIB"; then
5842   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5846 do
5847   IFS=$as_save_IFS
5848   test -z "$as_dir" && as_dir=.
5849     for ac_exec_ext in '' $ac_executable_extensions; do
5850   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851     ac_cv_prog_ac_ct_RANLIB="ranlib"
5852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5853     break 2
5854   fi
5855 done
5856   done
5857 IFS=$as_save_IFS
5858
5859 fi
5860 fi
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5864 $as_echo "$ac_ct_RANLIB" >&6; }
5865 else
5866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5867 $as_echo "no" >&6; }
5868 fi
5869
5870   if test "x$ac_ct_RANLIB" = x; then
5871     RANLIB=":"
5872   else
5873     case $cross_compiling:$ac_tool_warned in
5874 yes:)
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5877 ac_tool_warned=yes ;;
5878 esac
5879     RANLIB=$ac_ct_RANLIB
5880   fi
5881 else
5882   RANLIB="$ac_cv_prog_RANLIB"
5883 fi
5884
5885 test -z "$RANLIB" && RANLIB=:
5886
5887
5888
5889
5890
5891
5892 # Determine commands to create old-style static archives.
5893 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5894 old_postinstall_cmds='chmod 644 $oldlib'
5895 old_postuninstall_cmds=
5896
5897 if test -n "$RANLIB"; then
5898   case $host_os in
5899   openbsd*)
5900     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5901     ;;
5902   *)
5903     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5904     ;;
5905   esac
5906   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5907 fi
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942 # If no C compiler was specified, use CC.
5943 LTCC=${LTCC-"$CC"}
5944
5945 # If no C compiler flags were specified, use CFLAGS.
5946 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5947
5948 # Allow CC to be a program name with arguments.
5949 compiler=$CC
5950
5951
5952 # Check for command to grab the raw symbol name followed by C symbol from nm.
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5954 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5955 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
5956   $as_echo_n "(cached) " >&6
5957 else
5958
5959 # These are sane defaults that work on at least a few old systems.
5960 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5961
5962 # Character class describing NM global symbol codes.
5963 symcode='[BCDEGRST]'
5964
5965 # Regexp to match symbols that can be accessed directly from C.
5966 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5967
5968 # Define system-specific variables.
5969 case $host_os in
5970 aix*)
5971   symcode='[BCDT]'
5972   ;;
5973 cygwin* | mingw* | pw32* | cegcc*)
5974   symcode='[ABCDGISTW]'
5975   ;;
5976 hpux*)
5977   if test "$host_cpu" = ia64; then
5978     symcode='[ABCDEGRST]'
5979   fi
5980   ;;
5981 irix* | nonstopux*)
5982   symcode='[BCDEGRST]'
5983   ;;
5984 osf*)
5985   symcode='[BCDEGQRST]'
5986   ;;
5987 solaris*)
5988   symcode='[BDRT]'
5989   ;;
5990 sco3.2v5*)
5991   symcode='[DT]'
5992   ;;
5993 sysv4.2uw2*)
5994   symcode='[DT]'
5995   ;;
5996 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5997   symcode='[ABDT]'
5998   ;;
5999 sysv4)
6000   symcode='[DFNSTU]'
6001   ;;
6002 esac
6003
6004 # If we're using GNU nm, then use its standard symbol codes.
6005 case `$NM -V 2>&1` in
6006 *GNU* | *'with BFD'*)
6007   symcode='[ABCDGIRSTW]' ;;
6008 esac
6009
6010 # Transform an extracted symbol line into a proper C declaration.
6011 # Some systems (esp. on ia64) link data and code symbols differently,
6012 # so use this general approach.
6013 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6014
6015 # Transform an extracted symbol line into symbol name and symbol address
6016 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6017 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'"
6018
6019 # Handle CRLF in mingw tool chain
6020 opt_cr=
6021 case $build_os in
6022 mingw*)
6023   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6024   ;;
6025 esac
6026
6027 # Try without a prefix underscore, then with it.
6028 for ac_symprfx in "" "_"; do
6029
6030   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6031   symxfrm="\\1 $ac_symprfx\\2 \\2"
6032
6033   # Write the raw and C identifiers.
6034   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6035     # Fake it for dumpbin and say T for any non-static function
6036     # and D for any global variable.
6037     # Also find C++ and __fastcall symbols from MSVC++,
6038     # which start with @ or ?.
6039     lt_cv_sys_global_symbol_pipe="$AWK '"\
6040 "     {last_section=section; section=\$ 3};"\
6041 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6042 "     \$ 0!~/External *\|/{next};"\
6043 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6044 "     {if(hide[section]) next};"\
6045 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6046 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6047 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6048 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6049 "     ' prfx=^$ac_symprfx"
6050   else
6051     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6052   fi
6053
6054   # Check to see that the pipe works correctly.
6055   pipe_works=no
6056
6057   rm -f conftest*
6058   cat > conftest.$ac_ext <<_LT_EOF
6059 #ifdef __cplusplus
6060 extern "C" {
6061 #endif
6062 char nm_test_var;
6063 void nm_test_func(void);
6064 void nm_test_func(void){}
6065 #ifdef __cplusplus
6066 }
6067 #endif
6068 int main(){nm_test_var='a';nm_test_func();return(0);}
6069 _LT_EOF
6070
6071   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6072   (eval $ac_compile) 2>&5
6073   ac_status=$?
6074   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6075   test $ac_status = 0; }; then
6076     # Now try to grab the symbols.
6077     nlist=conftest.nm
6078     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6079   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6080   ac_status=$?
6081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6082   test $ac_status = 0; } && test -s "$nlist"; then
6083       # Try sorting and uniquifying the output.
6084       if sort "$nlist" | uniq > "$nlist"T; then
6085         mv -f "$nlist"T "$nlist"
6086       else
6087         rm -f "$nlist"T
6088       fi
6089
6090       # Make sure that we snagged all the symbols we need.
6091       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6092         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6093           cat <<_LT_EOF > conftest.$ac_ext
6094 #ifdef __cplusplus
6095 extern "C" {
6096 #endif
6097
6098 _LT_EOF
6099           # Now generate the symbol file.
6100           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6101
6102           cat <<_LT_EOF >> conftest.$ac_ext
6103
6104 /* The mapping between symbol names and symbols.  */
6105 const struct {
6106   const char *name;
6107   void       *address;
6108 }
6109 lt__PROGRAM__LTX_preloaded_symbols[] =
6110 {
6111   { "@PROGRAM@", (void *) 0 },
6112 _LT_EOF
6113           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6114           cat <<\_LT_EOF >> conftest.$ac_ext
6115   {0, (void *) 0}
6116 };
6117
6118 /* This works around a problem in FreeBSD linker */
6119 #ifdef FREEBSD_WORKAROUND
6120 static const void *lt_preloaded_setup() {
6121   return lt__PROGRAM__LTX_preloaded_symbols;
6122 }
6123 #endif
6124
6125 #ifdef __cplusplus
6126 }
6127 #endif
6128 _LT_EOF
6129           # Now try linking the two files.
6130           mv conftest.$ac_objext conftstm.$ac_objext
6131           lt_save_LIBS="$LIBS"
6132           lt_save_CFLAGS="$CFLAGS"
6133           LIBS="conftstm.$ac_objext"
6134           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6135           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6136   (eval $ac_link) 2>&5
6137   ac_status=$?
6138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6139   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6140             pipe_works=yes
6141           fi
6142           LIBS="$lt_save_LIBS"
6143           CFLAGS="$lt_save_CFLAGS"
6144         else
6145           echo "cannot find nm_test_func in $nlist" >&5
6146         fi
6147       else
6148         echo "cannot find nm_test_var in $nlist" >&5
6149       fi
6150     else
6151       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6152     fi
6153   else
6154     echo "$progname: failed program was:" >&5
6155     cat conftest.$ac_ext >&5
6156   fi
6157   rm -rf conftest* conftst*
6158
6159   # Do not use the global_symbol_pipe unless it works.
6160   if test "$pipe_works" = yes; then
6161     break
6162   else
6163     lt_cv_sys_global_symbol_pipe=
6164   fi
6165 done
6166
6167 fi
6168
6169 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6170   lt_cv_sys_global_symbol_to_cdecl=
6171 fi
6172 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6174 $as_echo "failed" >&6; }
6175 else
6176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6177 $as_echo "ok" >&6; }
6178 fi
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201 # Check whether --enable-libtool-lock was given.
6202 if test "${enable_libtool_lock+set}" = set; then :
6203   enableval=$enable_libtool_lock;
6204 fi
6205
6206 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6207
6208 # Some flags need to be propagated to the compiler or linker for good
6209 # libtool support.
6210 case $host in
6211 ia64-*-hpux*)
6212   # Find out which ABI we are using.
6213   echo 'int i;' > conftest.$ac_ext
6214   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6215   (eval $ac_compile) 2>&5
6216   ac_status=$?
6217   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6218   test $ac_status = 0; }; then
6219     case `/usr/bin/file conftest.$ac_objext` in
6220       *ELF-32*)
6221         HPUX_IA64_MODE="32"
6222         ;;
6223       *ELF-64*)
6224         HPUX_IA64_MODE="64"
6225         ;;
6226     esac
6227   fi
6228   rm -rf conftest*
6229   ;;
6230 *-*-irix6*)
6231   # Find out which ABI we are using.
6232   echo '#line 6232 "configure"' > conftest.$ac_ext
6233   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6234   (eval $ac_compile) 2>&5
6235   ac_status=$?
6236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6237   test $ac_status = 0; }; then
6238     if test "$lt_cv_prog_gnu_ld" = yes; then
6239       case `/usr/bin/file conftest.$ac_objext` in
6240         *32-bit*)
6241           LD="${LD-ld} -melf32bsmip"
6242           ;;
6243         *N32*)
6244           LD="${LD-ld} -melf32bmipn32"
6245           ;;
6246         *64-bit*)
6247           LD="${LD-ld} -melf64bmip"
6248         ;;
6249       esac
6250     else
6251       case `/usr/bin/file conftest.$ac_objext` in
6252         *32-bit*)
6253           LD="${LD-ld} -32"
6254           ;;
6255         *N32*)
6256           LD="${LD-ld} -n32"
6257           ;;
6258         *64-bit*)
6259           LD="${LD-ld} -64"
6260           ;;
6261       esac
6262     fi
6263   fi
6264   rm -rf conftest*
6265   ;;
6266
6267 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6268 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6269   # Find out which ABI we are using.
6270   echo 'int i;' > conftest.$ac_ext
6271   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6272   (eval $ac_compile) 2>&5
6273   ac_status=$?
6274   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6275   test $ac_status = 0; }; then
6276     case `/usr/bin/file conftest.o` in
6277       *32-bit*)
6278         case $host in
6279           x86_64-*kfreebsd*-gnu)
6280             LD="${LD-ld} -m elf_i386_fbsd"
6281             ;;
6282           x86_64-*linux*)
6283             LD="${LD-ld} -m elf_i386"
6284             ;;
6285           ppc64-*linux*|powerpc64-*linux*)
6286             LD="${LD-ld} -m elf32ppclinux"
6287             ;;
6288           s390x-*linux*)
6289             LD="${LD-ld} -m elf_s390"
6290             ;;
6291           sparc64-*linux*)
6292             LD="${LD-ld} -m elf32_sparc"
6293             ;;
6294         esac
6295         ;;
6296       *64-bit*)
6297         case $host in
6298           x86_64-*kfreebsd*-gnu)
6299             LD="${LD-ld} -m elf_x86_64_fbsd"
6300             ;;
6301           x86_64-*linux*)
6302             LD="${LD-ld} -m elf_x86_64"
6303             ;;
6304           ppc*-*linux*|powerpc*-*linux*)
6305             LD="${LD-ld} -m elf64ppc"
6306             ;;
6307           s390*-*linux*|s390*-*tpf*)
6308             LD="${LD-ld} -m elf64_s390"
6309             ;;
6310           sparc*-*linux*)
6311             LD="${LD-ld} -m elf64_sparc"
6312             ;;
6313         esac
6314         ;;
6315     esac
6316   fi
6317   rm -rf conftest*
6318   ;;
6319
6320 *-*-sco3.2v5*)
6321   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6322   SAVE_CFLAGS="$CFLAGS"
6323   CFLAGS="$CFLAGS -belf"
6324   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6325 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6326 if test "${lt_cv_cc_needs_belf+set}" = set; then :
6327   $as_echo_n "(cached) " >&6
6328 else
6329   ac_ext=c
6330 ac_cpp='$CPP $CPPFLAGS'
6331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6334
6335      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6336 /* end confdefs.h.  */
6337
6338 int
6339 main ()
6340 {
6341
6342   ;
6343   return 0;
6344 }
6345 _ACEOF
6346 if ac_fn_c_try_link "$LINENO"; then :
6347   lt_cv_cc_needs_belf=yes
6348 else
6349   lt_cv_cc_needs_belf=no
6350 fi
6351 rm -f core conftest.err conftest.$ac_objext \
6352     conftest$ac_exeext conftest.$ac_ext
6353      ac_ext=c
6354 ac_cpp='$CPP $CPPFLAGS'
6355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6358
6359 fi
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6361 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6362   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6363     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6364     CFLAGS="$SAVE_CFLAGS"
6365   fi
6366   ;;
6367 sparc*-*solaris*)
6368   # Find out which ABI we are using.
6369   echo 'int i;' > conftest.$ac_ext
6370   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6371   (eval $ac_compile) 2>&5
6372   ac_status=$?
6373   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6374   test $ac_status = 0; }; then
6375     case `/usr/bin/file conftest.o` in
6376     *64-bit*)
6377       case $lt_cv_prog_gnu_ld in
6378       yes*) LD="${LD-ld} -m elf64_sparc" ;;
6379       *)
6380         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6381           LD="${LD-ld} -64"
6382         fi
6383         ;;
6384       esac
6385       ;;
6386     esac
6387   fi
6388   rm -rf conftest*
6389   ;;
6390 esac
6391
6392 need_locks="$enable_libtool_lock"
6393
6394
6395   case $host_os in
6396     rhapsody* | darwin*)
6397     if test -n "$ac_tool_prefix"; then
6398   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6399 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6401 $as_echo_n "checking for $ac_word... " >&6; }
6402 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6403   $as_echo_n "(cached) " >&6
6404 else
6405   if test -n "$DSYMUTIL"; then
6406   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6407 else
6408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6409 for as_dir in $PATH
6410 do
6411   IFS=$as_save_IFS
6412   test -z "$as_dir" && as_dir=.
6413     for ac_exec_ext in '' $ac_executable_extensions; do
6414   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6415     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6417     break 2
6418   fi
6419 done
6420   done
6421 IFS=$as_save_IFS
6422
6423 fi
6424 fi
6425 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6426 if test -n "$DSYMUTIL"; then
6427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6428 $as_echo "$DSYMUTIL" >&6; }
6429 else
6430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6431 $as_echo "no" >&6; }
6432 fi
6433
6434
6435 fi
6436 if test -z "$ac_cv_prog_DSYMUTIL"; then
6437   ac_ct_DSYMUTIL=$DSYMUTIL
6438   # Extract the first word of "dsymutil", so it can be a program name with args.
6439 set dummy dsymutil; ac_word=$2
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6441 $as_echo_n "checking for $ac_word... " >&6; }
6442 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6443   $as_echo_n "(cached) " >&6
6444 else
6445   if test -n "$ac_ct_DSYMUTIL"; then
6446   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6447 else
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 for as_dir in $PATH
6450 do
6451   IFS=$as_save_IFS
6452   test -z "$as_dir" && as_dir=.
6453     for ac_exec_ext in '' $ac_executable_extensions; do
6454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6457     break 2
6458   fi
6459 done
6460   done
6461 IFS=$as_save_IFS
6462
6463 fi
6464 fi
6465 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6466 if test -n "$ac_ct_DSYMUTIL"; then
6467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6468 $as_echo "$ac_ct_DSYMUTIL" >&6; }
6469 else
6470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6471 $as_echo "no" >&6; }
6472 fi
6473
6474   if test "x$ac_ct_DSYMUTIL" = x; then
6475     DSYMUTIL=":"
6476   else
6477     case $cross_compiling:$ac_tool_warned in
6478 yes:)
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6480 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6481 ac_tool_warned=yes ;;
6482 esac
6483     DSYMUTIL=$ac_ct_DSYMUTIL
6484   fi
6485 else
6486   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6487 fi
6488
6489     if test -n "$ac_tool_prefix"; then
6490   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6491 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6493 $as_echo_n "checking for $ac_word... " >&6; }
6494 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6495   $as_echo_n "(cached) " >&6
6496 else
6497   if test -n "$NMEDIT"; then
6498   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6499 else
6500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6501 for as_dir in $PATH
6502 do
6503   IFS=$as_save_IFS
6504   test -z "$as_dir" && as_dir=.
6505     for ac_exec_ext in '' $ac_executable_extensions; do
6506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6507     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6509     break 2
6510   fi
6511 done
6512   done
6513 IFS=$as_save_IFS
6514
6515 fi
6516 fi
6517 NMEDIT=$ac_cv_prog_NMEDIT
6518 if test -n "$NMEDIT"; then
6519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6520 $as_echo "$NMEDIT" >&6; }
6521 else
6522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6523 $as_echo "no" >&6; }
6524 fi
6525
6526
6527 fi
6528 if test -z "$ac_cv_prog_NMEDIT"; then
6529   ac_ct_NMEDIT=$NMEDIT
6530   # Extract the first word of "nmedit", so it can be a program name with args.
6531 set dummy nmedit; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6535   $as_echo_n "(cached) " >&6
6536 else
6537   if test -n "$ac_ct_NMEDIT"; then
6538   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6542 do
6543   IFS=$as_save_IFS
6544   test -z "$as_dir" && as_dir=.
6545     for ac_exec_ext in '' $ac_executable_extensions; do
6546   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547     ac_cv_prog_ac_ct_NMEDIT="nmedit"
6548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549     break 2
6550   fi
6551 done
6552   done
6553 IFS=$as_save_IFS
6554
6555 fi
6556 fi
6557 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6558 if test -n "$ac_ct_NMEDIT"; then
6559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6560 $as_echo "$ac_ct_NMEDIT" >&6; }
6561 else
6562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6564 fi
6565
6566   if test "x$ac_ct_NMEDIT" = x; then
6567     NMEDIT=":"
6568   else
6569     case $cross_compiling:$ac_tool_warned in
6570 yes:)
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6572 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6573 ac_tool_warned=yes ;;
6574 esac
6575     NMEDIT=$ac_ct_NMEDIT
6576   fi
6577 else
6578   NMEDIT="$ac_cv_prog_NMEDIT"
6579 fi
6580
6581     if test -n "$ac_tool_prefix"; then
6582   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6583 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if test "${ac_cv_prog_LIPO+set}" = set; then :
6587   $as_echo_n "(cached) " >&6
6588 else
6589   if test -n "$LIPO"; then
6590   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6591 else
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 for as_dir in $PATH
6594 do
6595   IFS=$as_save_IFS
6596   test -z "$as_dir" && as_dir=.
6597     for ac_exec_ext in '' $ac_executable_extensions; do
6598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601     break 2
6602   fi
6603 done
6604   done
6605 IFS=$as_save_IFS
6606
6607 fi
6608 fi
6609 LIPO=$ac_cv_prog_LIPO
6610 if test -n "$LIPO"; then
6611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6612 $as_echo "$LIPO" >&6; }
6613 else
6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6616 fi
6617
6618
6619 fi
6620 if test -z "$ac_cv_prog_LIPO"; then
6621   ac_ct_LIPO=$LIPO
6622   # Extract the first word of "lipo", so it can be a program name with args.
6623 set dummy lipo; ac_word=$2
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6625 $as_echo_n "checking for $ac_word... " >&6; }
6626 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6627   $as_echo_n "(cached) " >&6
6628 else
6629   if test -n "$ac_ct_LIPO"; then
6630   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6631 else
6632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6633 for as_dir in $PATH
6634 do
6635   IFS=$as_save_IFS
6636   test -z "$as_dir" && as_dir=.
6637     for ac_exec_ext in '' $ac_executable_extensions; do
6638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6639     ac_cv_prog_ac_ct_LIPO="lipo"
6640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6641     break 2
6642   fi
6643 done
6644   done
6645 IFS=$as_save_IFS
6646
6647 fi
6648 fi
6649 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6650 if test -n "$ac_ct_LIPO"; then
6651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6652 $as_echo "$ac_ct_LIPO" >&6; }
6653 else
6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6655 $as_echo "no" >&6; }
6656 fi
6657
6658   if test "x$ac_ct_LIPO" = x; then
6659     LIPO=":"
6660   else
6661     case $cross_compiling:$ac_tool_warned in
6662 yes:)
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6665 ac_tool_warned=yes ;;
6666 esac
6667     LIPO=$ac_ct_LIPO
6668   fi
6669 else
6670   LIPO="$ac_cv_prog_LIPO"
6671 fi
6672
6673     if test -n "$ac_tool_prefix"; then
6674   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6675 set dummy ${ac_tool_prefix}otool; ac_word=$2
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6677 $as_echo_n "checking for $ac_word... " >&6; }
6678 if test "${ac_cv_prog_OTOOL+set}" = set; then :
6679   $as_echo_n "(cached) " >&6
6680 else
6681   if test -n "$OTOOL"; then
6682   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6683 else
6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6685 for as_dir in $PATH
6686 do
6687   IFS=$as_save_IFS
6688   test -z "$as_dir" && as_dir=.
6689     for ac_exec_ext in '' $ac_executable_extensions; do
6690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6691     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6693     break 2
6694   fi
6695 done
6696   done
6697 IFS=$as_save_IFS
6698
6699 fi
6700 fi
6701 OTOOL=$ac_cv_prog_OTOOL
6702 if test -n "$OTOOL"; then
6703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6704 $as_echo "$OTOOL" >&6; }
6705 else
6706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6707 $as_echo "no" >&6; }
6708 fi
6709
6710
6711 fi
6712 if test -z "$ac_cv_prog_OTOOL"; then
6713   ac_ct_OTOOL=$OTOOL
6714   # Extract the first word of "otool", so it can be a program name with args.
6715 set dummy otool; ac_word=$2
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6717 $as_echo_n "checking for $ac_word... " >&6; }
6718 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6719   $as_echo_n "(cached) " >&6
6720 else
6721   if test -n "$ac_ct_OTOOL"; then
6722   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6723 else
6724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6725 for as_dir in $PATH
6726 do
6727   IFS=$as_save_IFS
6728   test -z "$as_dir" && as_dir=.
6729     for ac_exec_ext in '' $ac_executable_extensions; do
6730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6731     ac_cv_prog_ac_ct_OTOOL="otool"
6732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6733     break 2
6734   fi
6735 done
6736   done
6737 IFS=$as_save_IFS
6738
6739 fi
6740 fi
6741 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6742 if test -n "$ac_ct_OTOOL"; then
6743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6744 $as_echo "$ac_ct_OTOOL" >&6; }
6745 else
6746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6747 $as_echo "no" >&6; }
6748 fi
6749
6750   if test "x$ac_ct_OTOOL" = x; then
6751     OTOOL=":"
6752   else
6753     case $cross_compiling:$ac_tool_warned in
6754 yes:)
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6757 ac_tool_warned=yes ;;
6758 esac
6759     OTOOL=$ac_ct_OTOOL
6760   fi
6761 else
6762   OTOOL="$ac_cv_prog_OTOOL"
6763 fi
6764
6765     if test -n "$ac_tool_prefix"; then
6766   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6769 $as_echo_n "checking for $ac_word... " >&6; }
6770 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6771   $as_echo_n "(cached) " >&6
6772 else
6773   if test -n "$OTOOL64"; then
6774   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6775 else
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777 for as_dir in $PATH
6778 do
6779   IFS=$as_save_IFS
6780   test -z "$as_dir" && as_dir=.
6781     for ac_exec_ext in '' $ac_executable_extensions; do
6782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6785     break 2
6786   fi
6787 done
6788   done
6789 IFS=$as_save_IFS
6790
6791 fi
6792 fi
6793 OTOOL64=$ac_cv_prog_OTOOL64
6794 if test -n "$OTOOL64"; then
6795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6796 $as_echo "$OTOOL64" >&6; }
6797 else
6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6800 fi
6801
6802
6803 fi
6804 if test -z "$ac_cv_prog_OTOOL64"; then
6805   ac_ct_OTOOL64=$OTOOL64
6806   # Extract the first word of "otool64", so it can be a program name with args.
6807 set dummy otool64; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6809 $as_echo_n "checking for $ac_word... " >&6; }
6810 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
6811   $as_echo_n "(cached) " >&6
6812 else
6813   if test -n "$ac_ct_OTOOL64"; then
6814   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6815 else
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6817 for as_dir in $PATH
6818 do
6819   IFS=$as_save_IFS
6820   test -z "$as_dir" && as_dir=.
6821     for ac_exec_ext in '' $ac_executable_extensions; do
6822   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6823     ac_cv_prog_ac_ct_OTOOL64="otool64"
6824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6825     break 2
6826   fi
6827 done
6828   done
6829 IFS=$as_save_IFS
6830
6831 fi
6832 fi
6833 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6834 if test -n "$ac_ct_OTOOL64"; then
6835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6836 $as_echo "$ac_ct_OTOOL64" >&6; }
6837 else
6838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6839 $as_echo "no" >&6; }
6840 fi
6841
6842   if test "x$ac_ct_OTOOL64" = x; then
6843     OTOOL64=":"
6844   else
6845     case $cross_compiling:$ac_tool_warned in
6846 yes:)
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6849 ac_tool_warned=yes ;;
6850 esac
6851     OTOOL64=$ac_ct_OTOOL64
6852   fi
6853 else
6854   OTOOL64="$ac_cv_prog_OTOOL64"
6855 fi
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6884 $as_echo_n "checking for -single_module linker flag... " >&6; }
6885 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
6886   $as_echo_n "(cached) " >&6
6887 else
6888   lt_cv_apple_cc_single_mod=no
6889       if test -z "${LT_MULTI_MODULE}"; then
6890         # By default we will add the -single_module flag. You can override
6891         # by either setting the environment variable LT_MULTI_MODULE
6892         # non-empty at configure time, or by adding -multi_module to the
6893         # link flags.
6894         rm -rf libconftest.dylib*
6895         echo "int foo(void){return 1;}" > conftest.c
6896         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6897 -dynamiclib -Wl,-single_module conftest.c" >&5
6898         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6899           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6900         _lt_result=$?
6901         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6902           lt_cv_apple_cc_single_mod=yes
6903         else
6904           cat conftest.err >&5
6905         fi
6906         rm -rf libconftest.dylib*
6907         rm -f conftest.*
6908       fi
6909 fi
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
6911 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6912     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
6913 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6914 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
6915   $as_echo_n "(cached) " >&6
6916 else
6917   lt_cv_ld_exported_symbols_list=no
6918       save_LDFLAGS=$LDFLAGS
6919       echo "_main" > conftest.sym
6920       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6921       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922 /* end confdefs.h.  */
6923
6924 int
6925 main ()
6926 {
6927
6928   ;
6929   return 0;
6930 }
6931 _ACEOF
6932 if ac_fn_c_try_link "$LINENO"; then :
6933   lt_cv_ld_exported_symbols_list=yes
6934 else
6935   lt_cv_ld_exported_symbols_list=no
6936 fi
6937 rm -f core conftest.err conftest.$ac_objext \
6938     conftest$ac_exeext conftest.$ac_ext
6939         LDFLAGS="$save_LDFLAGS"
6940
6941 fi
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
6943 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6944     case $host_os in
6945     rhapsody* | darwin1.[012])
6946       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6947     darwin1.*)
6948       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6949     darwin*) # darwin 5.x on
6950       # if running on 10.5 or later, the deployment target defaults
6951       # to the OS version, if on x86, and 10.4, the deployment
6952       # target defaults to 10.4. Don't you love it?
6953       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6954         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6955           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6956         10.[012]*)
6957           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6958         10.*)
6959           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6960       esac
6961     ;;
6962   esac
6963     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6964       _lt_dar_single_mod='$single_module'
6965     fi
6966     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6967       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6968     else
6969       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6970     fi
6971     if test "$DSYMUTIL" != ":"; then
6972       _lt_dsymutil='~$DSYMUTIL $lib || :'
6973     else
6974       _lt_dsymutil=
6975     fi
6976     ;;
6977   esac
6978
6979 ac_ext=c
6980 ac_cpp='$CPP $CPPFLAGS'
6981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6985 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6986 # On Suns, sometimes $CPP names a directory.
6987 if test -n "$CPP" && test -d "$CPP"; then
6988   CPP=
6989 fi
6990 if test -z "$CPP"; then
6991   if test "${ac_cv_prog_CPP+set}" = set; then :
6992   $as_echo_n "(cached) " >&6
6993 else
6994       # Double quotes because CPP needs to be expanded
6995     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6996     do
6997       ac_preproc_ok=false
6998 for ac_c_preproc_warn_flag in '' yes
6999 do
7000   # Use a header file that comes with gcc, so configuring glibc
7001   # with a fresh cross-compiler works.
7002   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7003   # <limits.h> exists even on freestanding compilers.
7004   # On the NeXT, cc -E runs the code through the compiler's parser,
7005   # not just through cpp. "Syntax error" is here to catch this case.
7006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h.  */
7008 #ifdef __STDC__
7009 # include <limits.h>
7010 #else
7011 # include <assert.h>
7012 #endif
7013                      Syntax error
7014 _ACEOF
7015 if ac_fn_c_try_cpp "$LINENO"; then :
7016
7017 else
7018   # Broken: fails on valid input.
7019 continue
7020 fi
7021 rm -f conftest.err conftest.i conftest.$ac_ext
7022
7023   # OK, works on sane cases.  Now check whether nonexistent headers
7024   # can be detected and how.
7025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7026 /* end confdefs.h.  */
7027 #include <ac_nonexistent.h>
7028 _ACEOF
7029 if ac_fn_c_try_cpp "$LINENO"; then :
7030   # Broken: success on invalid input.
7031 continue
7032 else
7033   # Passes both tests.
7034 ac_preproc_ok=:
7035 break
7036 fi
7037 rm -f conftest.err conftest.i conftest.$ac_ext
7038
7039 done
7040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7041 rm -f conftest.i conftest.err conftest.$ac_ext
7042 if $ac_preproc_ok; then :
7043   break
7044 fi
7045
7046     done
7047     ac_cv_prog_CPP=$CPP
7048
7049 fi
7050   CPP=$ac_cv_prog_CPP
7051 else
7052   ac_cv_prog_CPP=$CPP
7053 fi
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7055 $as_echo "$CPP" >&6; }
7056 ac_preproc_ok=false
7057 for ac_c_preproc_warn_flag in '' yes
7058 do
7059   # Use a header file that comes with gcc, so configuring glibc
7060   # with a fresh cross-compiler works.
7061   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7062   # <limits.h> exists even on freestanding compilers.
7063   # On the NeXT, cc -E runs the code through the compiler's parser,
7064   # not just through cpp. "Syntax error" is here to catch this case.
7065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7066 /* end confdefs.h.  */
7067 #ifdef __STDC__
7068 # include <limits.h>
7069 #else
7070 # include <assert.h>
7071 #endif
7072                      Syntax error
7073 _ACEOF
7074 if ac_fn_c_try_cpp "$LINENO"; then :
7075
7076 else
7077   # Broken: fails on valid input.
7078 continue
7079 fi
7080 rm -f conftest.err conftest.i conftest.$ac_ext
7081
7082   # OK, works on sane cases.  Now check whether nonexistent headers
7083   # can be detected and how.
7084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7085 /* end confdefs.h.  */
7086 #include <ac_nonexistent.h>
7087 _ACEOF
7088 if ac_fn_c_try_cpp "$LINENO"; then :
7089   # Broken: success on invalid input.
7090 continue
7091 else
7092   # Passes both tests.
7093 ac_preproc_ok=:
7094 break
7095 fi
7096 rm -f conftest.err conftest.i conftest.$ac_ext
7097
7098 done
7099 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7100 rm -f conftest.i conftest.err conftest.$ac_ext
7101 if $ac_preproc_ok; then :
7102
7103 else
7104   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7106 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7107 See \`config.log' for more details" "$LINENO" 5 ; }
7108 fi
7109
7110 ac_ext=c
7111 ac_cpp='$CPP $CPPFLAGS'
7112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7115
7116
7117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7118 $as_echo_n "checking for ANSI C header files... " >&6; }
7119 if test "${ac_cv_header_stdc+set}" = set; then :
7120   $as_echo_n "(cached) " >&6
7121 else
7122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h.  */
7124 #include <stdlib.h>
7125 #include <stdarg.h>
7126 #include <string.h>
7127 #include <float.h>
7128
7129 int
7130 main ()
7131 {
7132
7133   ;
7134   return 0;
7135 }
7136 _ACEOF
7137 if ac_fn_c_try_compile "$LINENO"; then :
7138   ac_cv_header_stdc=yes
7139 else
7140   ac_cv_header_stdc=no
7141 fi
7142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7143
7144 if test $ac_cv_header_stdc = yes; then
7145   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7146   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7147 /* end confdefs.h.  */
7148 #include <string.h>
7149
7150 _ACEOF
7151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7152   $EGREP "memchr" >/dev/null 2>&1; then :
7153
7154 else
7155   ac_cv_header_stdc=no
7156 fi
7157 rm -f conftest*
7158
7159 fi
7160
7161 if test $ac_cv_header_stdc = yes; then
7162   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h.  */
7165 #include <stdlib.h>
7166
7167 _ACEOF
7168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7169   $EGREP "free" >/dev/null 2>&1; then :
7170
7171 else
7172   ac_cv_header_stdc=no
7173 fi
7174 rm -f conftest*
7175
7176 fi
7177
7178 if test $ac_cv_header_stdc = yes; then
7179   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7180   if test "$cross_compiling" = yes; then :
7181   :
7182 else
7183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7184 /* end confdefs.h.  */
7185 #include <ctype.h>
7186 #include <stdlib.h>
7187 #if ((' ' & 0x0FF) == 0x020)
7188 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7189 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7190 #else
7191 # define ISLOWER(c) \
7192                    (('a' <= (c) && (c) <= 'i') \
7193                      || ('j' <= (c) && (c) <= 'r') \
7194                      || ('s' <= (c) && (c) <= 'z'))
7195 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7196 #endif
7197
7198 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7199 int
7200 main ()
7201 {
7202   int i;
7203   for (i = 0; i < 256; i++)
7204     if (XOR (islower (i), ISLOWER (i))
7205         || toupper (i) != TOUPPER (i))
7206       return 2;
7207   return 0;
7208 }
7209 _ACEOF
7210 if ac_fn_c_try_run "$LINENO"; then :
7211
7212 else
7213   ac_cv_header_stdc=no
7214 fi
7215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7216   conftest.$ac_objext conftest.beam conftest.$ac_ext
7217 fi
7218
7219 fi
7220 fi
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7222 $as_echo "$ac_cv_header_stdc" >&6; }
7223 if test $ac_cv_header_stdc = yes; then
7224
7225 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7226
7227 fi
7228
7229 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7230 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7231                   inttypes.h stdint.h unistd.h
7232 do :
7233   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7235 "
7236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7237   cat >>confdefs.h <<_ACEOF
7238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7239 _ACEOF
7240
7241 fi
7242
7243 done
7244
7245
7246 for ac_header in dlfcn.h
7247 do :
7248   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7249 "
7250 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7251   cat >>confdefs.h <<_ACEOF
7252 #define HAVE_DLFCN_H 1
7253 _ACEOF
7254
7255 fi
7256
7257 done
7258
7259
7260
7261 # Set options
7262
7263
7264
7265         enable_dlopen=no
7266
7267
7268
7269             # Check whether --enable-shared was given.
7270 if test "${enable_shared+set}" = set; then :
7271   enableval=$enable_shared; p=${PACKAGE-default}
7272     case $enableval in
7273     yes) enable_shared=yes ;;
7274     no) enable_shared=no ;;
7275     *)
7276       enable_shared=no
7277       # Look at the argument we got.  We use all the common list separators.
7278       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7279       for pkg in $enableval; do
7280         IFS="$lt_save_ifs"
7281         if test "X$pkg" = "X$p"; then
7282           enable_shared=yes
7283         fi
7284       done
7285       IFS="$lt_save_ifs"
7286       ;;
7287     esac
7288 else
7289   enable_shared=yes
7290 fi
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300   # Check whether --enable-static was given.
7301 if test "${enable_static+set}" = set; then :
7302   enableval=$enable_static; p=${PACKAGE-default}
7303     case $enableval in
7304     yes) enable_static=yes ;;
7305     no) enable_static=no ;;
7306     *)
7307      enable_static=no
7308       # Look at the argument we got.  We use all the common list separators.
7309       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7310       for pkg in $enableval; do
7311         IFS="$lt_save_ifs"
7312         if test "X$pkg" = "X$p"; then
7313           enable_static=yes
7314         fi
7315       done
7316       IFS="$lt_save_ifs"
7317       ;;
7318     esac
7319 else
7320   enable_static=yes
7321 fi
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332 # Check whether --with-pic was given.
7333 if test "${with_pic+set}" = set; then :
7334   withval=$with_pic; pic_mode="$withval"
7335 else
7336   pic_mode=default
7337 fi
7338
7339
7340 test -z "$pic_mode" && pic_mode=default
7341
7342
7343
7344
7345
7346
7347
7348   # Check whether --enable-fast-install was given.
7349 if test "${enable_fast_install+set}" = set; then :
7350   enableval=$enable_fast_install; p=${PACKAGE-default}
7351     case $enableval in
7352     yes) enable_fast_install=yes ;;
7353     no) enable_fast_install=no ;;
7354     *)
7355       enable_fast_install=no
7356       # Look at the argument we got.  We use all the common list separators.
7357       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7358       for pkg in $enableval; do
7359         IFS="$lt_save_ifs"
7360         if test "X$pkg" = "X$p"; then
7361           enable_fast_install=yes
7362         fi
7363       done
7364       IFS="$lt_save_ifs"
7365       ;;
7366     esac
7367 else
7368   enable_fast_install=yes
7369 fi
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381 # This can be used to rebuild libtool when needed
7382 LIBTOOL_DEPS="$ltmain"
7383
7384 # Always use our own libtool.
7385 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411 test -z "$LN_S" && LN_S="ln -s"
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426 if test -n "${ZSH_VERSION+set}" ; then
7427    setopt NO_GLOB_SUBST
7428 fi
7429
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7431 $as_echo_n "checking for objdir... " >&6; }
7432 if test "${lt_cv_objdir+set}" = set; then :
7433   $as_echo_n "(cached) " >&6
7434 else
7435   rm -f .libs 2>/dev/null
7436 mkdir .libs 2>/dev/null
7437 if test -d .libs; then
7438   lt_cv_objdir=.libs
7439 else
7440   # MS-DOS does not allow filenames that begin with a dot.
7441   lt_cv_objdir=_libs
7442 fi
7443 rmdir .libs 2>/dev/null
7444 fi
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7446 $as_echo "$lt_cv_objdir" >&6; }
7447 objdir=$lt_cv_objdir
7448
7449
7450
7451
7452
7453 cat >>confdefs.h <<_ACEOF
7454 #define LT_OBJDIR "$lt_cv_objdir/"
7455 _ACEOF
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473 case $host_os in
7474 aix3*)
7475   # AIX sometimes has problems with the GCC collect2 program.  For some
7476   # reason, if we set the COLLECT_NAMES environment variable, the problems
7477   # vanish in a puff of smoke.
7478   if test "X${COLLECT_NAMES+set}" != Xset; then
7479     COLLECT_NAMES=
7480     export COLLECT_NAMES
7481   fi
7482   ;;
7483 esac
7484
7485 # Sed substitution that helps us do robust quoting.  It backslashifies
7486 # metacharacters that are still active within double-quoted strings.
7487 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7488
7489 # Same as above, but do not quote variable references.
7490 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7491
7492 # Sed substitution to delay expansion of an escaped shell variable in a
7493 # double_quote_subst'ed string.
7494 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7495
7496 # Sed substitution to delay expansion of an escaped single quote.
7497 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7498
7499 # Sed substitution to avoid accidental globbing in evaled expressions
7500 no_glob_subst='s/\*/\\\*/g'
7501
7502 # Global variables:
7503 ofile=libtool
7504 can_build_shared=yes
7505
7506 # All known linkers require a `.a' archive for static linking (except MSVC,
7507 # which needs '.lib').
7508 libext=a
7509
7510 with_gnu_ld="$lt_cv_prog_gnu_ld"
7511
7512 old_CC="$CC"
7513 old_CFLAGS="$CFLAGS"
7514
7515 # Set sane defaults for various variables
7516 test -z "$CC" && CC=cc
7517 test -z "$LTCC" && LTCC=$CC
7518 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7519 test -z "$LD" && LD=ld
7520 test -z "$ac_objext" && ac_objext=o
7521
7522 for cc_temp in $compiler""; do
7523   case $cc_temp in
7524     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7525     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7526     \-*) ;;
7527     *) break;;
7528   esac
7529 done
7530 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7531
7532
7533 # Only perform the check for file, if the check method requires it
7534 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7535 case $deplibs_check_method in
7536 file_magic*)
7537   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7538     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7539 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7540 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7541   $as_echo_n "(cached) " >&6
7542 else
7543   case $MAGIC_CMD in
7544 [\\/*] |  ?:[\\/]*)
7545   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7546   ;;
7547 *)
7548   lt_save_MAGIC_CMD="$MAGIC_CMD"
7549   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7550   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7551   for ac_dir in $ac_dummy; do
7552     IFS="$lt_save_ifs"
7553     test -z "$ac_dir" && ac_dir=.
7554     if test -f $ac_dir/${ac_tool_prefix}file; then
7555       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7556       if test -n "$file_magic_test_file"; then
7557         case $deplibs_check_method in
7558         "file_magic "*)
7559           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7560           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7561           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7562             $EGREP "$file_magic_regex" > /dev/null; then
7563             :
7564           else
7565             cat <<_LT_EOF 1>&2
7566
7567 *** Warning: the command libtool uses to detect shared libraries,
7568 *** $file_magic_cmd, produces output that libtool cannot recognize.
7569 *** The result is that libtool may fail to recognize shared libraries
7570 *** as such.  This will affect the creation of libtool libraries that
7571 *** depend on shared libraries, but programs linked with such libtool
7572 *** libraries will work regardless of this problem.  Nevertheless, you
7573 *** may want to report the problem to your system manager and/or to
7574 *** bug-libtool@gnu.org
7575
7576 _LT_EOF
7577           fi ;;
7578         esac
7579       fi
7580       break
7581     fi
7582   done
7583   IFS="$lt_save_ifs"
7584   MAGIC_CMD="$lt_save_MAGIC_CMD"
7585   ;;
7586 esac
7587 fi
7588
7589 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7590 if test -n "$MAGIC_CMD"; then
7591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7592 $as_echo "$MAGIC_CMD" >&6; }
7593 else
7594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7596 fi
7597
7598
7599
7600
7601
7602 if test -z "$lt_cv_path_MAGIC_CMD"; then
7603   if test -n "$ac_tool_prefix"; then
7604     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7605 $as_echo_n "checking for file... " >&6; }
7606 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7607   $as_echo_n "(cached) " >&6
7608 else
7609   case $MAGIC_CMD in
7610 [\\/*] |  ?:[\\/]*)
7611   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7612   ;;
7613 *)
7614   lt_save_MAGIC_CMD="$MAGIC_CMD"
7615   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7616   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7617   for ac_dir in $ac_dummy; do
7618     IFS="$lt_save_ifs"
7619     test -z "$ac_dir" && ac_dir=.
7620     if test -f $ac_dir/file; then
7621       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7622       if test -n "$file_magic_test_file"; then
7623         case $deplibs_check_method in
7624         "file_magic "*)
7625           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7626           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7627           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7628             $EGREP "$file_magic_regex" > /dev/null; then
7629             :
7630           else
7631             cat <<_LT_EOF 1>&2
7632
7633 *** Warning: the command libtool uses to detect shared libraries,
7634 *** $file_magic_cmd, produces output that libtool cannot recognize.
7635 *** The result is that libtool may fail to recognize shared libraries
7636 *** as such.  This will affect the creation of libtool libraries that
7637 *** depend on shared libraries, but programs linked with such libtool
7638 *** libraries will work regardless of this problem.  Nevertheless, you
7639 *** may want to report the problem to your system manager and/or to
7640 *** bug-libtool@gnu.org
7641
7642 _LT_EOF
7643           fi ;;
7644         esac
7645       fi
7646       break
7647     fi
7648   done
7649   IFS="$lt_save_ifs"
7650   MAGIC_CMD="$lt_save_MAGIC_CMD"
7651   ;;
7652 esac
7653 fi
7654
7655 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7656 if test -n "$MAGIC_CMD"; then
7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7658 $as_echo "$MAGIC_CMD" >&6; }
7659 else
7660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7662 fi
7663
7664
7665   else
7666     MAGIC_CMD=:
7667   fi
7668 fi
7669
7670   fi
7671   ;;
7672 esac
7673
7674 # Use C for the default configuration in the libtool script
7675
7676 lt_save_CC="$CC"
7677 ac_ext=c
7678 ac_cpp='$CPP $CPPFLAGS'
7679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7682
7683
7684 # Source file extension for C test sources.
7685 ac_ext=c
7686
7687 # Object file extension for compiled C test sources.
7688 objext=o
7689 objext=$objext
7690
7691 # Code to be used in simple compile tests
7692 lt_simple_compile_test_code="int some_variable = 0;"
7693
7694 # Code to be used in simple link tests
7695 lt_simple_link_test_code='int main(){return(0);}'
7696
7697
7698
7699
7700
7701
7702
7703 # If no C compiler was specified, use CC.
7704 LTCC=${LTCC-"$CC"}
7705
7706 # If no C compiler flags were specified, use CFLAGS.
7707 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7708
7709 # Allow CC to be a program name with arguments.
7710 compiler=$CC
7711
7712 # Save the default compiler, since it gets overwritten when the other
7713 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7714 compiler_DEFAULT=$CC
7715
7716 # save warnings/boilerplate of simple test code
7717 ac_outfile=conftest.$ac_objext
7718 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7719 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7720 _lt_compiler_boilerplate=`cat conftest.err`
7721 $RM conftest*
7722
7723 ac_outfile=conftest.$ac_objext
7724 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7725 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7726 _lt_linker_boilerplate=`cat conftest.err`
7727 $RM -r conftest*
7728
7729
7730 ## CAVEAT EMPTOR:
7731 ## There is no encapsulation within the following macros, do not change
7732 ## the running order or otherwise move them around unless you know exactly
7733 ## what you are doing...
7734 if test -n "$compiler"; then
7735
7736 lt_prog_compiler_no_builtin_flag=
7737
7738 if test "$GCC" = yes; then
7739   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7740
7741   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7742 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7743 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
7744   $as_echo_n "(cached) " >&6
7745 else
7746   lt_cv_prog_compiler_rtti_exceptions=no
7747    ac_outfile=conftest.$ac_objext
7748    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7749    lt_compiler_flag="-fno-rtti -fno-exceptions"
7750    # Insert the option either (1) after the last *FLAGS variable, or
7751    # (2) before a word containing "conftest.", or (3) at the end.
7752    # Note that $ac_compile itself does not contain backslashes and begins
7753    # with a dollar sign (not a hyphen), so the echo should work correctly.
7754    # The option is referenced via a variable to avoid confusing sed.
7755    lt_compile=`echo "$ac_compile" | $SED \
7756    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7757    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7758    -e 's:$: $lt_compiler_flag:'`
7759    (eval echo "\"\$as_me:7759: $lt_compile\"" >&5)
7760    (eval "$lt_compile" 2>conftest.err)
7761    ac_status=$?
7762    cat conftest.err >&5
7763    echo "$as_me:7763: \$? = $ac_status" >&5
7764    if (exit $ac_status) && test -s "$ac_outfile"; then
7765      # The compiler can only warn and ignore the option if not recognized
7766      # So say no if there are warnings other than the usual output.
7767      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7768      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7769      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7770        lt_cv_prog_compiler_rtti_exceptions=yes
7771      fi
7772    fi
7773    $RM conftest*
7774
7775 fi
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7777 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7778
7779 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7780     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7781 else
7782     :
7783 fi
7784
7785 fi
7786
7787
7788
7789
7790
7791
7792   lt_prog_compiler_wl=
7793 lt_prog_compiler_pic=
7794 lt_prog_compiler_static=
7795
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
7797 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7798
7799   if test "$GCC" = yes; then
7800     lt_prog_compiler_wl='-Wl,'
7801     lt_prog_compiler_static='-static'
7802
7803     case $host_os in
7804       aix*)
7805       # All AIX code is PIC.
7806       if test "$host_cpu" = ia64; then
7807         # AIX 5 now supports IA64 processor
7808         lt_prog_compiler_static='-Bstatic'
7809       fi
7810       ;;
7811
7812     amigaos*)
7813       case $host_cpu in
7814       powerpc)
7815             # see comment about AmigaOS4 .so support
7816             lt_prog_compiler_pic='-fPIC'
7817         ;;
7818       m68k)
7819             # FIXME: we need at least 68020 code to build shared libraries, but
7820             # adding the `-m68020' flag to GCC prevents building anything better,
7821             # like `-m68040'.
7822             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7823         ;;
7824       esac
7825       ;;
7826
7827     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7828       # PIC is the default for these OSes.
7829       ;;
7830
7831     mingw* | cygwin* | pw32* | os2* | cegcc*)
7832       # This hack is so that the source file can tell whether it is being
7833       # built for inclusion in a dll (and should export symbols for example).
7834       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7835       # (--disable-auto-import) libraries
7836       lt_prog_compiler_pic='-DDLL_EXPORT'
7837       ;;
7838
7839     darwin* | rhapsody*)
7840       # PIC is the default on this platform
7841       # Common symbols not allowed in MH_DYLIB files
7842       lt_prog_compiler_pic='-fno-common'
7843       ;;
7844
7845     hpux*)
7846       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7847       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7848       # sets the default TLS model and affects inlining.
7849       case $host_cpu in
7850       hppa*64*)
7851         # +Z the default
7852         ;;
7853       *)
7854         lt_prog_compiler_pic='-fPIC'
7855         ;;
7856       esac
7857       ;;
7858
7859     interix[3-9]*)
7860       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7861       # Instead, we relocate shared libraries at runtime.
7862       ;;
7863
7864     msdosdjgpp*)
7865       # Just because we use GCC doesn't mean we suddenly get shared libraries
7866       # on systems that don't support them.
7867       lt_prog_compiler_can_build_shared=no
7868       enable_shared=no
7869       ;;
7870
7871     *nto* | *qnx*)
7872       # QNX uses GNU C++, but need to define -shared option too, otherwise
7873       # it will coredump.
7874       lt_prog_compiler_pic='-fPIC -shared'
7875       ;;
7876
7877     sysv4*MP*)
7878       if test -d /usr/nec; then
7879         lt_prog_compiler_pic=-Kconform_pic
7880       fi
7881       ;;
7882
7883     *)
7884       lt_prog_compiler_pic='-fPIC'
7885       ;;
7886     esac
7887   else
7888     # PORTME Check for flag to pass linker flags through the system compiler.
7889     case $host_os in
7890     aix*)
7891       lt_prog_compiler_wl='-Wl,'
7892       if test "$host_cpu" = ia64; then
7893         # AIX 5 now supports IA64 processor
7894         lt_prog_compiler_static='-Bstatic'
7895       else
7896         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7897       fi
7898       ;;
7899
7900     mingw* | cygwin* | pw32* | os2* | cegcc*)
7901       # This hack is so that the source file can tell whether it is being
7902       # built for inclusion in a dll (and should export symbols for example).
7903       lt_prog_compiler_pic='-DDLL_EXPORT'
7904       ;;
7905
7906     hpux9* | hpux10* | hpux11*)
7907       lt_prog_compiler_wl='-Wl,'
7908       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7909       # not for PA HP-UX.
7910       case $host_cpu in
7911       hppa*64*|ia64*)
7912         # +Z the default
7913         ;;
7914       *)
7915         lt_prog_compiler_pic='+Z'
7916         ;;
7917       esac
7918       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7919       lt_prog_compiler_static='${wl}-a ${wl}archive'
7920       ;;
7921
7922     irix5* | irix6* | nonstopux*)
7923       lt_prog_compiler_wl='-Wl,'
7924       # PIC (with -KPIC) is the default.
7925       lt_prog_compiler_static='-non_shared'
7926       ;;
7927
7928     linux* | k*bsd*-gnu | kopensolaris*-gnu)
7929       case $cc_basename in
7930       # old Intel for x86_64 which still supported -KPIC.
7931       ecc*)
7932         lt_prog_compiler_wl='-Wl,'
7933         lt_prog_compiler_pic='-KPIC'
7934         lt_prog_compiler_static='-static'
7935         ;;
7936       # icc used to be incompatible with GCC.
7937       # ICC 10 doesn't accept -KPIC any more.
7938       icc* | ifort*)
7939         lt_prog_compiler_wl='-Wl,'
7940         lt_prog_compiler_pic='-fPIC'
7941         lt_prog_compiler_static='-static'
7942         ;;
7943       # Lahey Fortran 8.1.
7944       lf95*)
7945         lt_prog_compiler_wl='-Wl,'
7946         lt_prog_compiler_pic='--shared'
7947         lt_prog_compiler_static='--static'
7948         ;;
7949       pgcc* | pgf77* | pgf90* | pgf95*)
7950         # Portland Group compilers (*not* the Pentium gcc compiler,
7951         # which looks to be a dead project)
7952         lt_prog_compiler_wl='-Wl,'
7953         lt_prog_compiler_pic='-fpic'
7954         lt_prog_compiler_static='-Bstatic'
7955         ;;
7956       ccc*)
7957         lt_prog_compiler_wl='-Wl,'
7958         # All Alpha code is PIC.
7959         lt_prog_compiler_static='-non_shared'
7960         ;;
7961       xl*)
7962         # IBM XL C 8.0/Fortran 10.1 on PPC
7963         lt_prog_compiler_wl='-Wl,'
7964         lt_prog_compiler_pic='-qpic'
7965         lt_prog_compiler_static='-qstaticlink'
7966         ;;
7967       *)
7968         case `$CC -V 2>&1 | sed 5q` in
7969         *Sun\ C*)
7970           # Sun C 5.9
7971           lt_prog_compiler_pic='-KPIC'
7972           lt_prog_compiler_static='-Bstatic'
7973           lt_prog_compiler_wl='-Wl,'
7974           ;;
7975         *Sun\ F*)
7976           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7977           lt_prog_compiler_pic='-KPIC'
7978           lt_prog_compiler_static='-Bstatic'
7979           lt_prog_compiler_wl=''
7980           ;;
7981         esac
7982         ;;
7983       esac
7984       ;;
7985
7986     newsos6)
7987       lt_prog_compiler_pic='-KPIC'
7988       lt_prog_compiler_static='-Bstatic'
7989       ;;
7990
7991     *nto* | *qnx*)
7992       # QNX uses GNU C++, but need to define -shared option too, otherwise
7993       # it will coredump.
7994       lt_prog_compiler_pic='-fPIC -shared'
7995       ;;
7996
7997     osf3* | osf4* | osf5*)
7998       lt_prog_compiler_wl='-Wl,'
7999       # All OSF/1 code is PIC.
8000       lt_prog_compiler_static='-non_shared'
8001       ;;
8002
8003     rdos*)
8004       lt_prog_compiler_static='-non_shared'
8005       ;;
8006
8007     solaris*)
8008       lt_prog_compiler_pic='-KPIC'
8009       lt_prog_compiler_static='-Bstatic'
8010       case $cc_basename in
8011       f77* | f90* | f95*)
8012         lt_prog_compiler_wl='-Qoption ld ';;
8013       *)
8014         lt_prog_compiler_wl='-Wl,';;
8015       esac
8016       ;;
8017
8018     sunos4*)
8019       lt_prog_compiler_wl='-Qoption ld '
8020       lt_prog_compiler_pic='-PIC'
8021       lt_prog_compiler_static='-Bstatic'
8022       ;;
8023
8024     sysv4 | sysv4.2uw2* | sysv4.3*)
8025       lt_prog_compiler_wl='-Wl,'
8026       lt_prog_compiler_pic='-KPIC'
8027       lt_prog_compiler_static='-Bstatic'
8028       ;;
8029
8030     sysv4*MP*)
8031       if test -d /usr/nec ;then
8032         lt_prog_compiler_pic='-Kconform_pic'
8033         lt_prog_compiler_static='-Bstatic'
8034       fi
8035       ;;
8036
8037     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8038       lt_prog_compiler_wl='-Wl,'
8039       lt_prog_compiler_pic='-KPIC'
8040       lt_prog_compiler_static='-Bstatic'
8041       ;;
8042
8043     unicos*)
8044       lt_prog_compiler_wl='-Wl,'
8045       lt_prog_compiler_can_build_shared=no
8046       ;;
8047
8048     uts4*)
8049       lt_prog_compiler_pic='-pic'
8050       lt_prog_compiler_static='-Bstatic'
8051       ;;
8052
8053     *)
8054       lt_prog_compiler_can_build_shared=no
8055       ;;
8056     esac
8057   fi
8058
8059 case $host_os in
8060   # For platforms which do not support PIC, -DPIC is meaningless:
8061   *djgpp*)
8062     lt_prog_compiler_pic=
8063     ;;
8064   *)
8065     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8066     ;;
8067 esac
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8069 $as_echo "$lt_prog_compiler_pic" >&6; }
8070
8071
8072
8073
8074
8075
8076 #
8077 # Check to make sure the PIC flag actually works.
8078 #
8079 if test -n "$lt_prog_compiler_pic"; then
8080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8081 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8082 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8083   $as_echo_n "(cached) " >&6
8084 else
8085   lt_cv_prog_compiler_pic_works=no
8086    ac_outfile=conftest.$ac_objext
8087    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8088    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8089    # Insert the option either (1) after the last *FLAGS variable, or
8090    # (2) before a word containing "conftest.", or (3) at the end.
8091    # Note that $ac_compile itself does not contain backslashes and begins
8092    # with a dollar sign (not a hyphen), so the echo should work correctly.
8093    # The option is referenced via a variable to avoid confusing sed.
8094    lt_compile=`echo "$ac_compile" | $SED \
8095    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8096    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8097    -e 's:$: $lt_compiler_flag:'`
8098    (eval echo "\"\$as_me:8098: $lt_compile\"" >&5)
8099    (eval "$lt_compile" 2>conftest.err)
8100    ac_status=$?
8101    cat conftest.err >&5
8102    echo "$as_me:8102: \$? = $ac_status" >&5
8103    if (exit $ac_status) && test -s "$ac_outfile"; then
8104      # The compiler can only warn and ignore the option if not recognized
8105      # So say no if there are warnings other than the usual output.
8106      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8107      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8108      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8109        lt_cv_prog_compiler_pic_works=yes
8110      fi
8111    fi
8112    $RM conftest*
8113
8114 fi
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8116 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8117
8118 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8119     case $lt_prog_compiler_pic in
8120      "" | " "*) ;;
8121      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8122      esac
8123 else
8124     lt_prog_compiler_pic=
8125      lt_prog_compiler_can_build_shared=no
8126 fi
8127
8128 fi
8129
8130
8131
8132
8133
8134
8135 #
8136 # Check to make sure the static flag actually works.
8137 #
8138 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8140 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8141 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8142   $as_echo_n "(cached) " >&6
8143 else
8144   lt_cv_prog_compiler_static_works=no
8145    save_LDFLAGS="$LDFLAGS"
8146    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8147    echo "$lt_simple_link_test_code" > conftest.$ac_ext
8148    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8149      # The linker can only warn and ignore the option if not recognized
8150      # So say no if there are warnings
8151      if test -s conftest.err; then
8152        # Append any errors to the config.log.
8153        cat conftest.err 1>&5
8154        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8155        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8156        if diff conftest.exp conftest.er2 >/dev/null; then
8157          lt_cv_prog_compiler_static_works=yes
8158        fi
8159      else
8160        lt_cv_prog_compiler_static_works=yes
8161      fi
8162    fi
8163    $RM -r conftest*
8164    LDFLAGS="$save_LDFLAGS"
8165
8166 fi
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8168 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8169
8170 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8171     :
8172 else
8173     lt_prog_compiler_static=
8174 fi
8175
8176
8177
8178
8179
8180
8181
8182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8183 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8184 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8185   $as_echo_n "(cached) " >&6
8186 else
8187   lt_cv_prog_compiler_c_o=no
8188    $RM -r conftest 2>/dev/null
8189    mkdir conftest
8190    cd conftest
8191    mkdir out
8192    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8193
8194    lt_compiler_flag="-o out/conftest2.$ac_objext"
8195    # Insert the option either (1) after the last *FLAGS variable, or
8196    # (2) before a word containing "conftest.", or (3) at the end.
8197    # Note that $ac_compile itself does not contain backslashes and begins
8198    # with a dollar sign (not a hyphen), so the echo should work correctly.
8199    lt_compile=`echo "$ac_compile" | $SED \
8200    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8201    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8202    -e 's:$: $lt_compiler_flag:'`
8203    (eval echo "\"\$as_me:8203: $lt_compile\"" >&5)
8204    (eval "$lt_compile" 2>out/conftest.err)
8205    ac_status=$?
8206    cat out/conftest.err >&5
8207    echo "$as_me:8207: \$? = $ac_status" >&5
8208    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8209    then
8210      # The compiler can only warn and ignore the option if not recognized
8211      # So say no if there are warnings
8212      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8213      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8214      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8215        lt_cv_prog_compiler_c_o=yes
8216      fi
8217    fi
8218    chmod u+w . 2>&5
8219    $RM conftest*
8220    # SGI C++ compiler will create directory out/ii_files/ for
8221    # template instantiation
8222    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8223    $RM out/* && rmdir out
8224    cd ..
8225    $RM -r conftest
8226    $RM conftest*
8227
8228 fi
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8230 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8231
8232
8233
8234
8235
8236
8237   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8238 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8239 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8240   $as_echo_n "(cached) " >&6
8241 else
8242   lt_cv_prog_compiler_c_o=no
8243    $RM -r conftest 2>/dev/null
8244    mkdir conftest
8245    cd conftest
8246    mkdir out
8247    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8248
8249    lt_compiler_flag="-o out/conftest2.$ac_objext"
8250    # Insert the option either (1) after the last *FLAGS variable, or
8251    # (2) before a word containing "conftest.", or (3) at the end.
8252    # Note that $ac_compile itself does not contain backslashes and begins
8253    # with a dollar sign (not a hyphen), so the echo should work correctly.
8254    lt_compile=`echo "$ac_compile" | $SED \
8255    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8256    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8257    -e 's:$: $lt_compiler_flag:'`
8258    (eval echo "\"\$as_me:8258: $lt_compile\"" >&5)
8259    (eval "$lt_compile" 2>out/conftest.err)
8260    ac_status=$?
8261    cat out/conftest.err >&5
8262    echo "$as_me:8262: \$? = $ac_status" >&5
8263    if (exit $ac_status) && test -s out/conftest2.$ac_objext
8264    then
8265      # The compiler can only warn and ignore the option if not recognized
8266      # So say no if there are warnings
8267      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8268      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8269      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8270        lt_cv_prog_compiler_c_o=yes
8271      fi
8272    fi
8273    chmod u+w . 2>&5
8274    $RM conftest*
8275    # SGI C++ compiler will create directory out/ii_files/ for
8276    # template instantiation
8277    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8278    $RM out/* && rmdir out
8279    cd ..
8280    $RM -r conftest
8281    $RM conftest*
8282
8283 fi
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8285 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8286
8287
8288
8289
8290 hard_links="nottested"
8291 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8292   # do not overwrite the value of need_locks provided by the user
8293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8294 $as_echo_n "checking if we can lock with hard links... " >&6; }
8295   hard_links=yes
8296   $RM conftest*
8297   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8298   touch conftest.a
8299   ln conftest.a conftest.b 2>&5 || hard_links=no
8300   ln conftest.a conftest.b 2>/dev/null && hard_links=no
8301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8302 $as_echo "$hard_links" >&6; }
8303   if test "$hard_links" = no; then
8304     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8305 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8306     need_locks=warn
8307   fi
8308 else
8309   need_locks=no
8310 fi
8311
8312
8313
8314
8315
8316
8317   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8318 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8319
8320   runpath_var=
8321   allow_undefined_flag=
8322   always_export_symbols=no
8323   archive_cmds=
8324   archive_expsym_cmds=
8325   compiler_needs_object=no
8326   enable_shared_with_static_runtimes=no
8327   export_dynamic_flag_spec=
8328   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8329   hardcode_automatic=no
8330   hardcode_direct=no
8331   hardcode_direct_absolute=no
8332   hardcode_libdir_flag_spec=
8333   hardcode_libdir_flag_spec_ld=
8334   hardcode_libdir_separator=
8335   hardcode_minus_L=no
8336   hardcode_shlibpath_var=unsupported
8337   inherit_rpath=no
8338   link_all_deplibs=unknown
8339   module_cmds=
8340   module_expsym_cmds=
8341   old_archive_from_new_cmds=
8342   old_archive_from_expsyms_cmds=
8343   thread_safe_flag_spec=
8344   whole_archive_flag_spec=
8345   # include_expsyms should be a list of space-separated symbols to be *always*
8346   # included in the symbol list
8347   include_expsyms=
8348   # exclude_expsyms can be an extended regexp of symbols to exclude
8349   # it will be wrapped by ` (' and `)$', so one must not match beginning or
8350   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8351   # as well as any symbol that contains `d'.
8352   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8353   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8354   # platforms (ab)use it in PIC code, but their linkers get confused if
8355   # the symbol is explicitly referenced.  Since portable code cannot
8356   # rely on this symbol name, it's probably fine to never include it in
8357   # preloaded symbol tables.
8358   # Exclude shared library initialization/finalization symbols.
8359   extract_expsyms_cmds=
8360
8361   case $host_os in
8362   cygwin* | mingw* | pw32* | cegcc*)
8363     # FIXME: the MSVC++ port hasn't been tested in a loooong time
8364     # When not using gcc, we currently assume that we are using
8365     # Microsoft Visual C++.
8366     if test "$GCC" != yes; then
8367       with_gnu_ld=no
8368     fi
8369     ;;
8370   interix*)
8371     # we just hope/assume this is gcc and not c89 (= MSVC++)
8372     with_gnu_ld=yes
8373     ;;
8374   openbsd*)
8375     with_gnu_ld=no
8376     ;;
8377   linux* | k*bsd*-gnu)
8378     link_all_deplibs=no
8379     ;;
8380   esac
8381
8382   ld_shlibs=yes
8383   if test "$with_gnu_ld" = yes; then
8384     # If archive_cmds runs LD, not CC, wlarc should be empty
8385     wlarc='${wl}'
8386
8387     # Set some defaults for GNU ld with shared library support. These
8388     # are reset later if shared libraries are not supported. Putting them
8389     # here allows them to be overridden if necessary.
8390     runpath_var=LD_RUN_PATH
8391     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8392     export_dynamic_flag_spec='${wl}--export-dynamic'
8393     # ancient GNU ld didn't support --whole-archive et. al.
8394     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8395       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8396     else
8397       whole_archive_flag_spec=
8398     fi
8399     supports_anon_versioning=no
8400     case `$LD -v 2>&1` in
8401       *GNU\ gold*) supports_anon_versioning=yes ;;
8402       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8403       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8404       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8405       *\ 2.11.*) ;; # other 2.11 versions
8406       *) supports_anon_versioning=yes ;;
8407     esac
8408
8409     # See if GNU ld supports shared libraries.
8410     case $host_os in
8411     aix[3-9]*)
8412       # On AIX/PPC, the GNU linker is very broken
8413       if test "$host_cpu" != ia64; then
8414         ld_shlibs=no
8415         cat <<_LT_EOF 1>&2
8416
8417 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8418 *** to be unable to reliably create shared libraries on AIX.
8419 *** Therefore, libtool is disabling shared libraries support.  If you
8420 *** really care for shared libraries, you may want to modify your PATH
8421 *** so that a non-GNU linker is found, and then restart.
8422
8423 _LT_EOF
8424       fi
8425       ;;
8426
8427     amigaos*)
8428       case $host_cpu in
8429       powerpc)
8430             # see comment about AmigaOS4 .so support
8431             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8432             archive_expsym_cmds=''
8433         ;;
8434       m68k)
8435             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)'
8436             hardcode_libdir_flag_spec='-L$libdir'
8437             hardcode_minus_L=yes
8438         ;;
8439       esac
8440       ;;
8441
8442     beos*)
8443       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8444         allow_undefined_flag=unsupported
8445         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8446         # support --undefined.  This deserves some investigation.  FIXME
8447         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8448       else
8449         ld_shlibs=no
8450       fi
8451       ;;
8452
8453     cygwin* | mingw* | pw32* | cegcc*)
8454       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8455       # as there is no search path for DLLs.
8456       hardcode_libdir_flag_spec='-L$libdir'
8457       allow_undefined_flag=unsupported
8458       always_export_symbols=no
8459       enable_shared_with_static_runtimes=yes
8460       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8461
8462       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8463         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8464         # If the export-symbols file already is a .def file (1st line
8465         # is EXPORTS), use it as is; otherwise, prepend...
8466         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8467           cp $export_symbols $output_objdir/$soname.def;
8468         else
8469           echo EXPORTS > $output_objdir/$soname.def;
8470           cat $export_symbols >> $output_objdir/$soname.def;
8471         fi~
8472         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8473       else
8474         ld_shlibs=no
8475       fi
8476       ;;
8477
8478     interix[3-9]*)
8479       hardcode_direct=no
8480       hardcode_shlibpath_var=no
8481       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8482       export_dynamic_flag_spec='${wl}-E'
8483       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8484       # Instead, shared libraries are loaded at an image base (0x10000000 by
8485       # default) and relocated if they conflict, which is a slow very memory
8486       # consuming and fragmenting process.  To avoid this, we pick a random,
8487       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8488       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8489       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8490       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'
8491       ;;
8492
8493     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8494       tmp_diet=no
8495       if test "$host_os" = linux-dietlibc; then
8496         case $cc_basename in
8497           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8498         esac
8499       fi
8500       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8501          && test "$tmp_diet" = no
8502       then
8503         tmp_addflag=
8504         tmp_sharedflag='-shared'
8505         case $cc_basename,$host_cpu in
8506         pgcc*)                          # Portland Group C compiler
8507           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'
8508           tmp_addflag=' $pic_flag'
8509           ;;
8510         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
8511           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'
8512           tmp_addflag=' $pic_flag -Mnomain' ;;
8513         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8514           tmp_addflag=' -i_dynamic' ;;
8515         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8516           tmp_addflag=' -i_dynamic -nofor_main' ;;
8517         ifc* | ifort*)                  # Intel Fortran compiler
8518           tmp_addflag=' -nofor_main' ;;
8519         lf95*)                          # Lahey Fortran 8.1
8520           whole_archive_flag_spec=
8521           tmp_sharedflag='--shared' ;;
8522         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
8523           tmp_sharedflag='-qmkshrobj'
8524           tmp_addflag= ;;
8525         esac
8526         case `$CC -V 2>&1 | sed 5q` in
8527         *Sun\ C*)                       # Sun C 5.9
8528           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'
8529           compiler_needs_object=yes
8530           tmp_sharedflag='-G' ;;
8531         *Sun\ F*)                       # Sun Fortran 8.3
8532           tmp_sharedflag='-G' ;;
8533         esac
8534         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8535
8536         if test "x$supports_anon_versioning" = xyes; then
8537           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8538             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8539             echo "local: *; };" >> $output_objdir/$libname.ver~
8540             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8541         fi
8542
8543         case $cc_basename in
8544         xlf*)
8545           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8546           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8547           hardcode_libdir_flag_spec=
8548           hardcode_libdir_flag_spec_ld='-rpath $libdir'
8549           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8550           if test "x$supports_anon_versioning" = xyes; then
8551             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8552               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8553               echo "local: *; };" >> $output_objdir/$libname.ver~
8554               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8555           fi
8556           ;;
8557         esac
8558       else
8559         ld_shlibs=no
8560       fi
8561       ;;
8562
8563     netbsd* | netbsdelf*-gnu)
8564       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8565         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8566         wlarc=
8567       else
8568         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8569         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8570       fi
8571       ;;
8572
8573     solaris*)
8574       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8575         ld_shlibs=no
8576         cat <<_LT_EOF 1>&2
8577
8578 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8579 *** create shared libraries on Solaris systems.  Therefore, libtool
8580 *** is disabling shared libraries support.  We urge you to upgrade GNU
8581 *** binutils to release 2.9.1 or newer.  Another option is to modify
8582 *** your PATH or compiler configuration so that the native linker is
8583 *** used, and then restart.
8584
8585 _LT_EOF
8586       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8587         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8588         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8589       else
8590         ld_shlibs=no
8591       fi
8592       ;;
8593
8594     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8595       case `$LD -v 2>&1` in
8596         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8597         ld_shlibs=no
8598         cat <<_LT_EOF 1>&2
8599
8600 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8601 *** reliably create shared libraries on SCO systems.  Therefore, libtool
8602 *** is disabling shared libraries support.  We urge you to upgrade GNU
8603 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8604 *** your PATH or compiler configuration so that the native linker is
8605 *** used, and then restart.
8606
8607 _LT_EOF
8608         ;;
8609         *)
8610           # For security reasons, it is highly recommended that you always
8611           # use absolute paths for naming shared libraries, and exclude the
8612           # DT_RUNPATH tag from executables and libraries.  But doing so
8613           # requires that you compile everything twice, which is a pain.
8614           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8615             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8616             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8617             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8618           else
8619             ld_shlibs=no
8620           fi
8621         ;;
8622       esac
8623       ;;
8624
8625     sunos4*)
8626       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8627       wlarc=
8628       hardcode_direct=yes
8629       hardcode_shlibpath_var=no
8630       ;;
8631
8632     *)
8633       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8634         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8635         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8636       else
8637         ld_shlibs=no
8638       fi
8639       ;;
8640     esac
8641
8642     if test "$ld_shlibs" = no; then
8643       runpath_var=
8644       hardcode_libdir_flag_spec=
8645       export_dynamic_flag_spec=
8646       whole_archive_flag_spec=
8647     fi
8648   else
8649     # PORTME fill in a description of your system's linker (not GNU ld)
8650     case $host_os in
8651     aix3*)
8652       allow_undefined_flag=unsupported
8653       always_export_symbols=yes
8654       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'
8655       # Note: this linker hardcodes the directories in LIBPATH if there
8656       # are no directories specified by -L.
8657       hardcode_minus_L=yes
8658       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8659         # Neither direct hardcoding nor static linking is supported with a
8660         # broken collect2.
8661         hardcode_direct=unsupported
8662       fi
8663       ;;
8664
8665     aix[4-9]*)
8666       if test "$host_cpu" = ia64; then
8667         # On IA64, the linker does run time linking by default, so we don't
8668         # have to do anything special.
8669         aix_use_runtimelinking=no
8670         exp_sym_flag='-Bexport'
8671         no_entry_flag=""
8672       else
8673         # If we're using GNU nm, then we don't want the "-C" option.
8674         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8675         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8676           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'
8677         else
8678           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'
8679         fi
8680         aix_use_runtimelinking=no
8681
8682         # Test if we are trying to use run time linking or normal
8683         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8684         # need to do runtime linking.
8685         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8686           for ld_flag in $LDFLAGS; do
8687           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8688             aix_use_runtimelinking=yes
8689             break
8690           fi
8691           done
8692           ;;
8693         esac
8694
8695         exp_sym_flag='-bexport'
8696         no_entry_flag='-bnoentry'
8697       fi
8698
8699       # When large executables or shared objects are built, AIX ld can
8700       # have problems creating the table of contents.  If linking a library
8701       # or program results in "error TOC overflow" add -mminimal-toc to
8702       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8703       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8704
8705       archive_cmds=''
8706       hardcode_direct=yes
8707       hardcode_direct_absolute=yes
8708       hardcode_libdir_separator=':'
8709       link_all_deplibs=yes
8710       file_list_spec='${wl}-f,'
8711
8712       if test "$GCC" = yes; then
8713         case $host_os in aix4.[012]|aix4.[012].*)
8714         # We only want to do this on AIX 4.2 and lower, the check
8715         # below for broken collect2 doesn't work under 4.3+
8716           collect2name=`${CC} -print-prog-name=collect2`
8717           if test -f "$collect2name" &&
8718            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8719           then
8720           # We have reworked collect2
8721           :
8722           else
8723           # We have old collect2
8724           hardcode_direct=unsupported
8725           # It fails to find uninstalled libraries when the uninstalled
8726           # path is not listed in the libpath.  Setting hardcode_minus_L
8727           # to unsupported forces relinking
8728           hardcode_minus_L=yes
8729           hardcode_libdir_flag_spec='-L$libdir'
8730           hardcode_libdir_separator=
8731           fi
8732           ;;
8733         esac
8734         shared_flag='-shared'
8735         if test "$aix_use_runtimelinking" = yes; then
8736           shared_flag="$shared_flag "'${wl}-G'
8737         fi
8738         link_all_deplibs=no
8739       else
8740         # not using gcc
8741         if test "$host_cpu" = ia64; then
8742         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8743         # chokes on -Wl,-G. The following line is correct:
8744           shared_flag='-G'
8745         else
8746           if test "$aix_use_runtimelinking" = yes; then
8747             shared_flag='${wl}-G'
8748           else
8749             shared_flag='${wl}-bM:SRE'
8750           fi
8751         fi
8752       fi
8753
8754       export_dynamic_flag_spec='${wl}-bexpall'
8755       # It seems that -bexpall does not export symbols beginning with
8756       # underscore (_), so it is better to generate a list of symbols to export.
8757       always_export_symbols=yes
8758       if test "$aix_use_runtimelinking" = yes; then
8759         # Warning - without using the other runtime loading flags (-brtl),
8760         # -berok will link without error, but may produce a broken library.
8761         allow_undefined_flag='-berok'
8762         # Determine the default libpath from the value encoded in an
8763         # empty executable.
8764         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8765 /* end confdefs.h.  */
8766
8767 int
8768 main ()
8769 {
8770
8771   ;
8772   return 0;
8773 }
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776
8777 lt_aix_libpath_sed='
8778     /Import File Strings/,/^$/ {
8779         /^0/ {
8780             s/^0  *\(.*\)$/\1/
8781             p
8782         }
8783     }'
8784 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8785 # Check for a 64-bit object if we didn't find anything.
8786 if test -z "$aix_libpath"; then
8787   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8788 fi
8789 fi
8790 rm -f core conftest.err conftest.$ac_objext \
8791     conftest$ac_exeext conftest.$ac_ext
8792 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8793
8794         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8795         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"
8796       else
8797         if test "$host_cpu" = ia64; then
8798           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8799           allow_undefined_flag="-z nodefs"
8800           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"
8801         else
8802          # Determine the default libpath from the value encoded in an
8803          # empty executable.
8804          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h.  */
8806
8807 int
8808 main ()
8809 {
8810
8811   ;
8812   return 0;
8813 }
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816
8817 lt_aix_libpath_sed='
8818     /Import File Strings/,/^$/ {
8819         /^0/ {
8820             s/^0  *\(.*\)$/\1/
8821             p
8822         }
8823     }'
8824 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8825 # Check for a 64-bit object if we didn't find anything.
8826 if test -z "$aix_libpath"; then
8827   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8828 fi
8829 fi
8830 rm -f core conftest.err conftest.$ac_objext \
8831     conftest$ac_exeext conftest.$ac_ext
8832 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8833
8834          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8835           # Warning - without using the other run time loading flags,
8836           # -berok will link without error, but may produce a broken library.
8837           no_undefined_flag=' ${wl}-bernotok'
8838           allow_undefined_flag=' ${wl}-berok'
8839           # Exported symbols can be pulled into shared objects from archives
8840           whole_archive_flag_spec='$convenience'
8841           archive_cmds_need_lc=yes
8842           # This is similar to how AIX traditionally builds its shared libraries.
8843           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'
8844         fi
8845       fi
8846       ;;
8847
8848     amigaos*)
8849       case $host_cpu in
8850       powerpc)
8851             # see comment about AmigaOS4 .so support
8852             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8853             archive_expsym_cmds=''
8854         ;;
8855       m68k)
8856             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)'
8857             hardcode_libdir_flag_spec='-L$libdir'
8858             hardcode_minus_L=yes
8859         ;;
8860       esac
8861       ;;
8862
8863     bsdi[45]*)
8864       export_dynamic_flag_spec=-rdynamic
8865       ;;
8866
8867     cygwin* | mingw* | pw32* | cegcc*)
8868       # When not using gcc, we currently assume that we are using
8869       # Microsoft Visual C++.
8870       # hardcode_libdir_flag_spec is actually meaningless, as there is
8871       # no search path for DLLs.
8872       hardcode_libdir_flag_spec=' '
8873       allow_undefined_flag=unsupported
8874       # Tell ltmain to make .lib files, not .a files.
8875       libext=lib
8876       # Tell ltmain to make .dll files, not .so files.
8877       shrext_cmds=".dll"
8878       # FIXME: Setting linknames here is a bad hack.
8879       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8880       # The linker will automatically build a .lib file if we build a DLL.
8881       old_archive_from_new_cmds='true'
8882       # FIXME: Should let the user specify the lib program.
8883       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8884       fix_srcfile_path='`cygpath -w "$srcfile"`'
8885       enable_shared_with_static_runtimes=yes
8886       ;;
8887
8888     darwin* | rhapsody*)
8889
8890
8891   archive_cmds_need_lc=no
8892   hardcode_direct=no
8893   hardcode_automatic=yes
8894   hardcode_shlibpath_var=unsupported
8895   whole_archive_flag_spec=''
8896   link_all_deplibs=yes
8897   allow_undefined_flag="$_lt_dar_allow_undefined"
8898   case $cc_basename in
8899      ifort*) _lt_dar_can_shared=yes ;;
8900      *) _lt_dar_can_shared=$GCC ;;
8901   esac
8902   if test "$_lt_dar_can_shared" = "yes"; then
8903     output_verbose_link_cmd=echo
8904     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8905     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8906     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}"
8907     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}"
8908
8909   else
8910   ld_shlibs=no
8911   fi
8912
8913       ;;
8914
8915     dgux*)
8916       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8917       hardcode_libdir_flag_spec='-L$libdir'
8918       hardcode_shlibpath_var=no
8919       ;;
8920
8921     freebsd1*)
8922       ld_shlibs=no
8923       ;;
8924
8925     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8926     # support.  Future versions do this automatically, but an explicit c++rt0.o
8927     # does not break anything, and helps significantly (at the cost of a little
8928     # extra space).
8929     freebsd2.2*)
8930       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8931       hardcode_libdir_flag_spec='-R$libdir'
8932       hardcode_direct=yes
8933       hardcode_shlibpath_var=no
8934       ;;
8935
8936     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8937     freebsd2*)
8938       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8939       hardcode_direct=yes
8940       hardcode_minus_L=yes
8941       hardcode_shlibpath_var=no
8942       ;;
8943
8944     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8945     freebsd* | dragonfly*)
8946       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8947       hardcode_libdir_flag_spec='-R$libdir'
8948       hardcode_direct=yes
8949       hardcode_shlibpath_var=no
8950       ;;
8951
8952     hpux9*)
8953       if test "$GCC" = yes; then
8954         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'
8955       else
8956         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'
8957       fi
8958       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8959       hardcode_libdir_separator=:
8960       hardcode_direct=yes
8961
8962       # hardcode_minus_L: Not really in the search PATH,
8963       # but as the default location of the library.
8964       hardcode_minus_L=yes
8965       export_dynamic_flag_spec='${wl}-E'
8966       ;;
8967
8968     hpux10*)
8969       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8970         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8971       else
8972         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8973       fi
8974       if test "$with_gnu_ld" = no; then
8975         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8976         hardcode_libdir_flag_spec_ld='+b $libdir'
8977         hardcode_libdir_separator=:
8978         hardcode_direct=yes
8979         hardcode_direct_absolute=yes
8980         export_dynamic_flag_spec='${wl}-E'
8981         # hardcode_minus_L: Not really in the search PATH,
8982         # but as the default location of the library.
8983         hardcode_minus_L=yes
8984       fi
8985       ;;
8986
8987     hpux11*)
8988       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8989         case $host_cpu in
8990         hppa*64*)
8991           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8992           ;;
8993         ia64*)
8994           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8995           ;;
8996         *)
8997           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8998           ;;
8999         esac
9000       else
9001         case $host_cpu in
9002         hppa*64*)
9003           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9004           ;;
9005         ia64*)
9006           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9007           ;;
9008         *)
9009           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9010           ;;
9011         esac
9012       fi
9013       if test "$with_gnu_ld" = no; then
9014         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9015         hardcode_libdir_separator=:
9016
9017         case $host_cpu in
9018         hppa*64*|ia64*)
9019           hardcode_direct=no
9020           hardcode_shlibpath_var=no
9021           ;;
9022         *)
9023           hardcode_direct=yes
9024           hardcode_direct_absolute=yes
9025           export_dynamic_flag_spec='${wl}-E'
9026
9027           # hardcode_minus_L: Not really in the search PATH,
9028           # but as the default location of the library.
9029           hardcode_minus_L=yes
9030           ;;
9031         esac
9032       fi
9033       ;;
9034
9035     irix5* | irix6* | nonstopux*)
9036       if test "$GCC" = yes; then
9037         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'
9038         # Try to use the -exported_symbol ld option, if it does not
9039         # work, assume that -exports_file does not work either and
9040         # implicitly export all symbols.
9041         save_LDFLAGS="$LDFLAGS"
9042         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9043         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9044 /* end confdefs.h.  */
9045 int foo(void) {}
9046 _ACEOF
9047 if ac_fn_c_try_link "$LINENO"; then :
9048   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'
9049
9050 fi
9051 rm -f core conftest.err conftest.$ac_objext \
9052     conftest$ac_exeext conftest.$ac_ext
9053         LDFLAGS="$save_LDFLAGS"
9054       else
9055         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'
9056         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'
9057       fi
9058       archive_cmds_need_lc='no'
9059       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9060       hardcode_libdir_separator=:
9061       inherit_rpath=yes
9062       link_all_deplibs=yes
9063       ;;
9064
9065     netbsd* | netbsdelf*-gnu)
9066       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9067         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9068       else
9069         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9070       fi
9071       hardcode_libdir_flag_spec='-R$libdir'
9072       hardcode_direct=yes
9073       hardcode_shlibpath_var=no
9074       ;;
9075
9076     newsos6)
9077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9078       hardcode_direct=yes
9079       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9080       hardcode_libdir_separator=:
9081       hardcode_shlibpath_var=no
9082       ;;
9083
9084     *nto* | *qnx*)
9085       ;;
9086
9087     openbsd*)
9088       if test -f /usr/libexec/ld.so; then
9089         hardcode_direct=yes
9090         hardcode_shlibpath_var=no
9091         hardcode_direct_absolute=yes
9092         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9093           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9094           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9095           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9096           export_dynamic_flag_spec='${wl}-E'
9097         else
9098           case $host_os in
9099            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9100              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9101              hardcode_libdir_flag_spec='-R$libdir'
9102              ;;
9103            *)
9104              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9105              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9106              ;;
9107           esac
9108         fi
9109       else
9110         ld_shlibs=no
9111       fi
9112       ;;
9113
9114     os2*)
9115       hardcode_libdir_flag_spec='-L$libdir'
9116       hardcode_minus_L=yes
9117       allow_undefined_flag=unsupported
9118       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'
9119       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9120       ;;
9121
9122     osf3*)
9123       if test "$GCC" = yes; then
9124         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9125         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'
9126       else
9127         allow_undefined_flag=' -expect_unresolved \*'
9128         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'
9129       fi
9130       archive_cmds_need_lc='no'
9131       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9132       hardcode_libdir_separator=:
9133       ;;
9134
9135     osf4* | osf5*)      # as osf3* with the addition of -msym flag
9136       if test "$GCC" = yes; then
9137         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9138         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'
9139         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9140       else
9141         allow_undefined_flag=' -expect_unresolved \*'
9142         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'
9143         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~
9144         $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'
9145
9146         # Both c and cxx compiler support -rpath directly
9147         hardcode_libdir_flag_spec='-rpath $libdir'
9148       fi
9149       archive_cmds_need_lc='no'
9150       hardcode_libdir_separator=:
9151       ;;
9152
9153     solaris*)
9154       no_undefined_flag=' -z defs'
9155       if test "$GCC" = yes; then
9156         wlarc='${wl}'
9157         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9158         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9159           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9160       else
9161         case `$CC -V 2>&1` in
9162         *"Compilers 5.0"*)
9163           wlarc=''
9164           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9165           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9166           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9167           ;;
9168         *)
9169           wlarc='${wl}'
9170           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9171           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9172           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9173           ;;
9174         esac
9175       fi
9176       hardcode_libdir_flag_spec='-R$libdir'
9177       hardcode_shlibpath_var=no
9178       case $host_os in
9179       solaris2.[0-5] | solaris2.[0-5].*) ;;
9180       *)
9181         # The compiler driver will combine and reorder linker options,
9182         # but understands `-z linker_flag'.  GCC discards it without `$wl',
9183         # but is careful enough not to reorder.
9184         # Supported since Solaris 2.6 (maybe 2.5.1?)
9185         if test "$GCC" = yes; then
9186           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9187         else
9188           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9189         fi
9190         ;;
9191       esac
9192       link_all_deplibs=yes
9193       ;;
9194
9195     sunos4*)
9196       if test "x$host_vendor" = xsequent; then
9197         # Use $CC to link under sequent, because it throws in some extra .o
9198         # files that make .init and .fini sections work.
9199         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9200       else
9201         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9202       fi
9203       hardcode_libdir_flag_spec='-L$libdir'
9204       hardcode_direct=yes
9205       hardcode_minus_L=yes
9206       hardcode_shlibpath_var=no
9207       ;;
9208
9209     sysv4)
9210       case $host_vendor in
9211         sni)
9212           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9213           hardcode_direct=yes # is this really true???
9214         ;;
9215         siemens)
9216           ## LD is ld it makes a PLAMLIB
9217           ## CC just makes a GrossModule.
9218           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9219           reload_cmds='$CC -r -o $output$reload_objs'
9220           hardcode_direct=no
9221         ;;
9222         motorola)
9223           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9224           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9225         ;;
9226       esac
9227       runpath_var='LD_RUN_PATH'
9228       hardcode_shlibpath_var=no
9229       ;;
9230
9231     sysv4.3*)
9232       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9233       hardcode_shlibpath_var=no
9234       export_dynamic_flag_spec='-Bexport'
9235       ;;
9236
9237     sysv4*MP*)
9238       if test -d /usr/nec; then
9239         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9240         hardcode_shlibpath_var=no
9241         runpath_var=LD_RUN_PATH
9242         hardcode_runpath_var=yes
9243         ld_shlibs=yes
9244       fi
9245       ;;
9246
9247     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9248       no_undefined_flag='${wl}-z,text'
9249       archive_cmds_need_lc=no
9250       hardcode_shlibpath_var=no
9251       runpath_var='LD_RUN_PATH'
9252
9253       if test "$GCC" = yes; then
9254         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9255         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9256       else
9257         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9258         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9259       fi
9260       ;;
9261
9262     sysv5* | sco3.2v5* | sco5v6*)
9263       # Note: We can NOT use -z defs as we might desire, because we do not
9264       # link with -lc, and that would cause any symbols used from libc to
9265       # always be unresolved, which means just about no library would
9266       # ever link correctly.  If we're not using GNU ld we use -z text
9267       # though, which does catch some bad symbols but isn't as heavy-handed
9268       # as -z defs.
9269       no_undefined_flag='${wl}-z,text'
9270       allow_undefined_flag='${wl}-z,nodefs'
9271       archive_cmds_need_lc=no
9272       hardcode_shlibpath_var=no
9273       hardcode_libdir_flag_spec='${wl}-R,$libdir'
9274       hardcode_libdir_separator=':'
9275       link_all_deplibs=yes
9276       export_dynamic_flag_spec='${wl}-Bexport'
9277       runpath_var='LD_RUN_PATH'
9278
9279       if test "$GCC" = yes; then
9280         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9281         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9282       else
9283         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9284         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9285       fi
9286       ;;
9287
9288     uts4*)
9289       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9290       hardcode_libdir_flag_spec='-L$libdir'
9291       hardcode_shlibpath_var=no
9292       ;;
9293
9294     *)
9295       ld_shlibs=no
9296       ;;
9297     esac
9298
9299     if test x$host_vendor = xsni; then
9300       case $host in
9301       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9302         export_dynamic_flag_spec='${wl}-Blargedynsym'
9303         ;;
9304       esac
9305     fi
9306   fi
9307
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9309 $as_echo "$ld_shlibs" >&6; }
9310 test "$ld_shlibs" = no && can_build_shared=no
9311
9312 with_gnu_ld=$with_gnu_ld
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328 #
9329 # Do we need to explicitly link libc?
9330 #
9331 case "x$archive_cmds_need_lc" in
9332 x|xyes)
9333   # Assume -lc should be added
9334   archive_cmds_need_lc=yes
9335
9336   if test "$enable_shared" = yes && test "$GCC" = yes; then
9337     case $archive_cmds in
9338     *'~'*)
9339       # FIXME: we may have to deal with multi-command sequences.
9340       ;;
9341     '$CC '*)
9342       # Test whether the compiler implicitly links with -lc since on some
9343       # systems, -lgcc has to come before -lc. If gcc already passes -lc
9344       # to ld, don't add -lc before -lgcc.
9345       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9346 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9347       $RM conftest*
9348       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9349
9350       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9351   (eval $ac_compile) 2>&5
9352   ac_status=$?
9353   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9354   test $ac_status = 0; } 2>conftest.err; then
9355         soname=conftest
9356         lib=conftest
9357         libobjs=conftest.$ac_objext
9358         deplibs=
9359         wl=$lt_prog_compiler_wl
9360         pic_flag=$lt_prog_compiler_pic
9361         compiler_flags=-v
9362         linker_flags=-v
9363         verstring=
9364         output_objdir=.
9365         libname=conftest
9366         lt_save_allow_undefined_flag=$allow_undefined_flag
9367         allow_undefined_flag=
9368         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9369   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9370   ac_status=$?
9371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9372   test $ac_status = 0; }
9373         then
9374           archive_cmds_need_lc=no
9375         else
9376           archive_cmds_need_lc=yes
9377         fi
9378         allow_undefined_flag=$lt_save_allow_undefined_flag
9379       else
9380         cat conftest.err 1>&5
9381       fi
9382       $RM conftest*
9383       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9384 $as_echo "$archive_cmds_need_lc" >&6; }
9385       ;;
9386     esac
9387   fi
9388   ;;
9389 esac
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
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9548 $as_echo_n "checking dynamic linker characteristics... " >&6; }
9549
9550 if test "$GCC" = yes; then
9551   case $host_os in
9552     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9553     *) lt_awk_arg="/^libraries:/" ;;
9554   esac
9555   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9556   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9557     # if the path contains ";" then we assume it to be the separator
9558     # otherwise default to the standard path separator (i.e. ":") - it is
9559     # assumed that no part of a normal pathname contains ";" but that should
9560     # okay in the real world where ";" in dirpaths is itself problematic.
9561     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9562   else
9563     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9564   fi
9565   # Ok, now we have the path, separated by spaces, we can step through it
9566   # and add multilib dir if necessary.
9567   lt_tmp_lt_search_path_spec=
9568   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9569   for lt_sys_path in $lt_search_path_spec; do
9570     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9571       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9572     else
9573       test -d "$lt_sys_path" && \
9574         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9575     fi
9576   done
9577   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9578 BEGIN {RS=" "; FS="/|\n";} {
9579   lt_foo="";
9580   lt_count=0;
9581   for (lt_i = NF; lt_i > 0; lt_i--) {
9582     if ($lt_i != "" && $lt_i != ".") {
9583       if ($lt_i == "..") {
9584         lt_count++;
9585       } else {
9586         if (lt_count == 0) {
9587           lt_foo="/" $lt_i lt_foo;
9588         } else {
9589           lt_count--;
9590         }
9591       }
9592     }
9593   }
9594   if (lt_foo != "") { lt_freq[lt_foo]++; }
9595   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9596 }'`
9597   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9598 else
9599   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9600 fi
9601 library_names_spec=
9602 libname_spec='lib$name'
9603 soname_spec=
9604 shrext_cmds=".so"
9605 postinstall_cmds=
9606 postuninstall_cmds=
9607 finish_cmds=
9608 finish_eval=
9609 shlibpath_var=
9610 shlibpath_overrides_runpath=unknown
9611 version_type=none
9612 dynamic_linker="$host_os ld.so"
9613 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9614 need_lib_prefix=unknown
9615 hardcode_into_libs=no
9616
9617 # when you set need_version to no, make sure it does not cause -set_version
9618 # flags to be left without arguments
9619 need_version=unknown
9620
9621 case $host_os in
9622 aix3*)
9623   version_type=linux
9624   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9625   shlibpath_var=LIBPATH
9626
9627   # AIX 3 has no versioning support, so we append a major version to the name.
9628   soname_spec='${libname}${release}${shared_ext}$major'
9629   ;;
9630
9631 aix[4-9]*)
9632   version_type=linux
9633   need_lib_prefix=no
9634   need_version=no
9635   hardcode_into_libs=yes
9636   if test "$host_cpu" = ia64; then
9637     # AIX 5 supports IA64
9638     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9639     shlibpath_var=LD_LIBRARY_PATH
9640   else
9641     # With GCC up to 2.95.x, collect2 would create an import file
9642     # for dependence libraries.  The import file would start with
9643     # the line `#! .'.  This would cause the generated library to
9644     # depend on `.', always an invalid library.  This was fixed in
9645     # development snapshots of GCC prior to 3.0.
9646     case $host_os in
9647       aix4 | aix4.[01] | aix4.[01].*)
9648       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9649            echo ' yes '
9650            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9651         :
9652       else
9653         can_build_shared=no
9654       fi
9655       ;;
9656     esac
9657     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9658     # soname into executable. Probably we can add versioning support to
9659     # collect2, so additional links can be useful in future.
9660     if test "$aix_use_runtimelinking" = yes; then
9661       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9662       # instead of lib<name>.a to let people know that these are not
9663       # typical AIX shared libraries.
9664       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9665     else
9666       # We preserve .a as extension for shared libraries through AIX4.2
9667       # and later when we are not doing run time linking.
9668       library_names_spec='${libname}${release}.a $libname.a'
9669       soname_spec='${libname}${release}${shared_ext}$major'
9670     fi
9671     shlibpath_var=LIBPATH
9672   fi
9673   ;;
9674
9675 amigaos*)
9676   case $host_cpu in
9677   powerpc)
9678     # Since July 2007 AmigaOS4 officially supports .so libraries.
9679     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9680     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9681     ;;
9682   m68k)
9683     library_names_spec='$libname.ixlibrary $libname.a'
9684     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9685     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'
9686     ;;
9687   esac
9688   ;;
9689
9690 beos*)
9691   library_names_spec='${libname}${shared_ext}'
9692   dynamic_linker="$host_os ld.so"
9693   shlibpath_var=LIBRARY_PATH
9694   ;;
9695
9696 bsdi[45]*)
9697   version_type=linux
9698   need_version=no
9699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9700   soname_spec='${libname}${release}${shared_ext}$major'
9701   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9702   shlibpath_var=LD_LIBRARY_PATH
9703   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9704   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9705   # the default ld.so.conf also contains /usr/contrib/lib and
9706   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9707   # libtool to hard-code these into programs
9708   ;;
9709
9710 cygwin* | mingw* | pw32* | cegcc*)
9711   version_type=windows
9712   shrext_cmds=".dll"
9713   need_version=no
9714   need_lib_prefix=no
9715
9716   case $GCC,$host_os in
9717   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9718     library_names_spec='$libname.dll.a'
9719     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9720     postinstall_cmds='base_file=`basename \${file}`~
9721       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9722       dldir=$destdir/`dirname \$dlpath`~
9723       test -d \$dldir || mkdir -p \$dldir~
9724       $install_prog $dir/$dlname \$dldir/$dlname~
9725       chmod a+x \$dldir/$dlname~
9726       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9727         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9728       fi'
9729     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9730       dlpath=$dir/\$dldll~
9731        $RM \$dlpath'
9732     shlibpath_overrides_runpath=yes
9733
9734     case $host_os in
9735     cygwin*)
9736       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9737       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9738       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9739       ;;
9740     mingw* | cegcc*)
9741       # MinGW DLLs use traditional 'lib' prefix
9742       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9743       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9744       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9745         # It is most probably a Windows format PATH printed by
9746         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9747         # path with ; separators, and with drive letters. We can handle the
9748         # drive letters (cygwin fileutils understands them), so leave them,
9749         # especially as we might pass files found there to a mingw objdump,
9750         # which wouldn't understand a cygwinified path. Ahh.
9751         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9752       else
9753         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9754       fi
9755       ;;
9756     pw32*)
9757       # pw32 DLLs use 'pw' prefix rather than 'lib'
9758       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9759       ;;
9760     esac
9761     ;;
9762
9763   *)
9764     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9765     ;;
9766   esac
9767   dynamic_linker='Win32 ld.exe'
9768   # FIXME: first we should search . and the directory the executable is in
9769   shlibpath_var=PATH
9770   ;;
9771
9772 darwin* | rhapsody*)
9773   dynamic_linker="$host_os dyld"
9774   version_type=darwin
9775   need_lib_prefix=no
9776   need_version=no
9777   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9778   soname_spec='${libname}${release}${major}$shared_ext'
9779   shlibpath_overrides_runpath=yes
9780   shlibpath_var=DYLD_LIBRARY_PATH
9781   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9782
9783   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9784   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9785   ;;
9786
9787 dgux*)
9788   version_type=linux
9789   need_lib_prefix=no
9790   need_version=no
9791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9792   soname_spec='${libname}${release}${shared_ext}$major'
9793   shlibpath_var=LD_LIBRARY_PATH
9794   ;;
9795
9796 freebsd1*)
9797   dynamic_linker=no
9798   ;;
9799
9800 freebsd* | dragonfly*)
9801   # DragonFly does not have aout.  When/if they implement a new
9802   # versioning mechanism, adjust this.
9803   if test -x /usr/bin/objformat; then
9804     objformat=`/usr/bin/objformat`
9805   else
9806     case $host_os in
9807     freebsd[123]*) objformat=aout ;;
9808     *) objformat=elf ;;
9809     esac
9810   fi
9811   version_type=freebsd-$objformat
9812   case $version_type in
9813     freebsd-elf*)
9814       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9815       need_version=no
9816       need_lib_prefix=no
9817       ;;
9818     freebsd-*)
9819       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9820       need_version=yes
9821       ;;
9822   esac
9823   shlibpath_var=LD_LIBRARY_PATH
9824   case $host_os in
9825   freebsd2*)
9826     shlibpath_overrides_runpath=yes
9827     ;;
9828   freebsd3.[01]* | freebsdelf3.[01]*)
9829     shlibpath_overrides_runpath=yes
9830     hardcode_into_libs=yes
9831     ;;
9832   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9833   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9834     shlibpath_overrides_runpath=no
9835     hardcode_into_libs=yes
9836     ;;
9837   *) # from 4.6 on, and DragonFly
9838     shlibpath_overrides_runpath=yes
9839     hardcode_into_libs=yes
9840     ;;
9841   esac
9842   ;;
9843
9844 gnu*)
9845   version_type=linux
9846   need_lib_prefix=no
9847   need_version=no
9848   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9849   soname_spec='${libname}${release}${shared_ext}$major'
9850   shlibpath_var=LD_LIBRARY_PATH
9851   hardcode_into_libs=yes
9852   ;;
9853
9854 hpux9* | hpux10* | hpux11*)
9855   # Give a soname corresponding to the major version so that dld.sl refuses to
9856   # link against other versions.
9857   version_type=sunos
9858   need_lib_prefix=no
9859   need_version=no
9860   case $host_cpu in
9861   ia64*)
9862     shrext_cmds='.so'
9863     hardcode_into_libs=yes
9864     dynamic_linker="$host_os dld.so"
9865     shlibpath_var=LD_LIBRARY_PATH
9866     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9867     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9868     soname_spec='${libname}${release}${shared_ext}$major'
9869     if test "X$HPUX_IA64_MODE" = X32; then
9870       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9871     else
9872       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9873     fi
9874     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9875     ;;
9876   hppa*64*)
9877     shrext_cmds='.sl'
9878     hardcode_into_libs=yes
9879     dynamic_linker="$host_os dld.sl"
9880     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9881     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9882     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9883     soname_spec='${libname}${release}${shared_ext}$major'
9884     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9885     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9886     ;;
9887   *)
9888     shrext_cmds='.sl'
9889     dynamic_linker="$host_os dld.sl"
9890     shlibpath_var=SHLIB_PATH
9891     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9892     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9893     soname_spec='${libname}${release}${shared_ext}$major'
9894     ;;
9895   esac
9896   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9897   postinstall_cmds='chmod 555 $lib'
9898   ;;
9899
9900 interix[3-9]*)
9901   version_type=linux
9902   need_lib_prefix=no
9903   need_version=no
9904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9905   soname_spec='${libname}${release}${shared_ext}$major'
9906   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9907   shlibpath_var=LD_LIBRARY_PATH
9908   shlibpath_overrides_runpath=no
9909   hardcode_into_libs=yes
9910   ;;
9911
9912 irix5* | irix6* | nonstopux*)
9913   case $host_os in
9914     nonstopux*) version_type=nonstopux ;;
9915     *)
9916         if test "$lt_cv_prog_gnu_ld" = yes; then
9917                 version_type=linux
9918         else
9919                 version_type=irix
9920         fi ;;
9921   esac
9922   need_lib_prefix=no
9923   need_version=no
9924   soname_spec='${libname}${release}${shared_ext}$major'
9925   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9926   case $host_os in
9927   irix5* | nonstopux*)
9928     libsuff= shlibsuff=
9929     ;;
9930   *)
9931     case $LD in # libtool.m4 will add one of these switches to LD
9932     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9933       libsuff= shlibsuff= libmagic=32-bit;;
9934     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9935       libsuff=32 shlibsuff=N32 libmagic=N32;;
9936     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9937       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9938     *) libsuff= shlibsuff= libmagic=never-match;;
9939     esac
9940     ;;
9941   esac
9942   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9943   shlibpath_overrides_runpath=no
9944   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9945   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9946   hardcode_into_libs=yes
9947   ;;
9948
9949 # No shared lib support for Linux oldld, aout, or coff.
9950 linux*oldld* | linux*aout* | linux*coff*)
9951   dynamic_linker=no
9952   ;;
9953
9954 # This must be Linux ELF.
9955 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9956   version_type=linux
9957   need_lib_prefix=no
9958   need_version=no
9959   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9960   soname_spec='${libname}${release}${shared_ext}$major'
9961   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9962   shlibpath_var=LD_LIBRARY_PATH
9963   shlibpath_overrides_runpath=no
9964   # Some binutils ld are patched to set DT_RUNPATH
9965   save_LDFLAGS=$LDFLAGS
9966   save_libdir=$libdir
9967   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9968        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h.  */
9971
9972 int
9973 main ()
9974 {
9975
9976   ;
9977   return 0;
9978 }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
9982   shlibpath_overrides_runpath=yes
9983 fi
9984 fi
9985 rm -f core conftest.err conftest.$ac_objext \
9986     conftest$ac_exeext conftest.$ac_ext
9987   LDFLAGS=$save_LDFLAGS
9988   libdir=$save_libdir
9989
9990   # This implies no fast_install, which is unacceptable.
9991   # Some rework will be needed to allow for fast_install
9992   # before this can be enabled.
9993   hardcode_into_libs=yes
9994
9995   # Append ld.so.conf contents to the search path
9996   if test -f /etc/ld.so.conf; then
9997     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' ' '`
9998     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9999   fi
10000
10001   # We used to test for /lib/ld.so.1 and disable shared libraries on
10002   # powerpc, because MkLinux only supported shared libraries with the
10003   # GNU dynamic linker.  Since this was broken with cross compilers,
10004   # most powerpc-linux boxes support dynamic linking these days and
10005   # people can always --disable-shared, the test was removed, and we
10006   # assume the GNU/Linux dynamic linker is in use.
10007   dynamic_linker='GNU/Linux ld.so'
10008   ;;
10009
10010 netbsdelf*-gnu)
10011   version_type=linux
10012   need_lib_prefix=no
10013   need_version=no
10014   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10015   soname_spec='${libname}${release}${shared_ext}$major'
10016   shlibpath_var=LD_LIBRARY_PATH
10017   shlibpath_overrides_runpath=no
10018   hardcode_into_libs=yes
10019   dynamic_linker='NetBSD ld.elf_so'
10020   ;;
10021
10022 netbsd*)
10023   version_type=sunos
10024   need_lib_prefix=no
10025   need_version=no
10026   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10027     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10028     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10029     dynamic_linker='NetBSD (a.out) ld.so'
10030   else
10031     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10032     soname_spec='${libname}${release}${shared_ext}$major'
10033     dynamic_linker='NetBSD ld.elf_so'
10034   fi
10035   shlibpath_var=LD_LIBRARY_PATH
10036   shlibpath_overrides_runpath=yes
10037   hardcode_into_libs=yes
10038   ;;
10039
10040 newsos6)
10041   version_type=linux
10042   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10043   shlibpath_var=LD_LIBRARY_PATH
10044   shlibpath_overrides_runpath=yes
10045   ;;
10046
10047 *nto* | *qnx*)
10048   version_type=qnx
10049   need_lib_prefix=no
10050   need_version=no
10051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10052   soname_spec='${libname}${release}${shared_ext}$major'
10053   shlibpath_var=LD_LIBRARY_PATH
10054   shlibpath_overrides_runpath=no
10055   hardcode_into_libs=yes
10056   dynamic_linker='ldqnx.so'
10057   ;;
10058
10059 openbsd*)
10060   version_type=sunos
10061   sys_lib_dlsearch_path_spec="/usr/lib"
10062   need_lib_prefix=no
10063   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10064   case $host_os in
10065     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10066     *)                          need_version=no  ;;
10067   esac
10068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10069   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10070   shlibpath_var=LD_LIBRARY_PATH
10071   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10072     case $host_os in
10073       openbsd2.[89] | openbsd2.[89].*)
10074         shlibpath_overrides_runpath=no
10075         ;;
10076       *)
10077         shlibpath_overrides_runpath=yes
10078         ;;
10079       esac
10080   else
10081     shlibpath_overrides_runpath=yes
10082   fi
10083   ;;
10084
10085 os2*)
10086   libname_spec='$name'
10087   shrext_cmds=".dll"
10088   need_lib_prefix=no
10089   library_names_spec='$libname${shared_ext} $libname.a'
10090   dynamic_linker='OS/2 ld.exe'
10091   shlibpath_var=LIBPATH
10092   ;;
10093
10094 osf3* | osf4* | osf5*)
10095   version_type=osf
10096   need_lib_prefix=no
10097   need_version=no
10098   soname_spec='${libname}${release}${shared_ext}$major'
10099   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10100   shlibpath_var=LD_LIBRARY_PATH
10101   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10102   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10103   ;;
10104
10105 rdos*)
10106   dynamic_linker=no
10107   ;;
10108
10109 solaris*)
10110   version_type=linux
10111   need_lib_prefix=no
10112   need_version=no
10113   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10114   soname_spec='${libname}${release}${shared_ext}$major'
10115   shlibpath_var=LD_LIBRARY_PATH
10116   shlibpath_overrides_runpath=yes
10117   hardcode_into_libs=yes
10118   # ldd complains unless libraries are executable
10119   postinstall_cmds='chmod +x $lib'
10120   ;;
10121
10122 sunos4*)
10123   version_type=sunos
10124   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10125   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10126   shlibpath_var=LD_LIBRARY_PATH
10127   shlibpath_overrides_runpath=yes
10128   if test "$with_gnu_ld" = yes; then
10129     need_lib_prefix=no
10130   fi
10131   need_version=yes
10132   ;;
10133
10134 sysv4 | sysv4.3*)
10135   version_type=linux
10136   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10137   soname_spec='${libname}${release}${shared_ext}$major'
10138   shlibpath_var=LD_LIBRARY_PATH
10139   case $host_vendor in
10140     sni)
10141       shlibpath_overrides_runpath=no
10142       need_lib_prefix=no
10143       runpath_var=LD_RUN_PATH
10144       ;;
10145     siemens)
10146       need_lib_prefix=no
10147       ;;
10148     motorola)
10149       need_lib_prefix=no
10150       need_version=no
10151       shlibpath_overrides_runpath=no
10152       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10153       ;;
10154   esac
10155   ;;
10156
10157 sysv4*MP*)
10158   if test -d /usr/nec ;then
10159     version_type=linux
10160     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10161     soname_spec='$libname${shared_ext}.$major'
10162     shlibpath_var=LD_LIBRARY_PATH
10163   fi
10164   ;;
10165
10166 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10167   version_type=freebsd-elf
10168   need_lib_prefix=no
10169   need_version=no
10170   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10171   soname_spec='${libname}${release}${shared_ext}$major'
10172   shlibpath_var=LD_LIBRARY_PATH
10173   shlibpath_overrides_runpath=yes
10174   hardcode_into_libs=yes
10175   if test "$with_gnu_ld" = yes; then
10176     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10177   else
10178     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10179     case $host_os in
10180       sco3.2v5*)
10181         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10182         ;;
10183     esac
10184   fi
10185   sys_lib_dlsearch_path_spec='/usr/lib'
10186   ;;
10187
10188 tpf*)
10189   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10190   version_type=linux
10191   need_lib_prefix=no
10192   need_version=no
10193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10194   shlibpath_var=LD_LIBRARY_PATH
10195   shlibpath_overrides_runpath=no
10196   hardcode_into_libs=yes
10197   ;;
10198
10199 uts4*)
10200   version_type=linux
10201   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10202   soname_spec='${libname}${release}${shared_ext}$major'
10203   shlibpath_var=LD_LIBRARY_PATH
10204   ;;
10205
10206 *)
10207   dynamic_linker=no
10208   ;;
10209 esac
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10211 $as_echo "$dynamic_linker" >&6; }
10212 test "$dynamic_linker" = no && can_build_shared=no
10213
10214 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10215 if test "$GCC" = yes; then
10216   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10217 fi
10218
10219 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10220   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10221 fi
10222 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10223   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10224 fi
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10313 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10314 hardcode_action=
10315 if test -n "$hardcode_libdir_flag_spec" ||
10316    test -n "$runpath_var" ||
10317    test "X$hardcode_automatic" = "Xyes" ; then
10318
10319   # We can hardcode non-existent directories.
10320   if test "$hardcode_direct" != no &&
10321      # If the only mechanism to avoid hardcoding is shlibpath_var, we
10322      # have to relink, otherwise we might link with an installed library
10323      # when we should be linking with a yet-to-be-installed one
10324      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10325      test "$hardcode_minus_L" != no; then
10326     # Linking always hardcodes the temporary library directory.
10327     hardcode_action=relink
10328   else
10329     # We can link without hardcoding, and we can hardcode nonexisting dirs.
10330     hardcode_action=immediate
10331   fi
10332 else
10333   # We cannot hardcode anything, or else we can only hardcode existing
10334   # directories.
10335   hardcode_action=unsupported
10336 fi
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10338 $as_echo "$hardcode_action" >&6; }
10339
10340 if test "$hardcode_action" = relink ||
10341    test "$inherit_rpath" = yes; then
10342   # Fast installation is not supported
10343   enable_fast_install=no
10344 elif test "$shlibpath_overrides_runpath" = yes ||
10345      test "$enable_shared" = no; then
10346   # Fast installation is not necessary
10347   enable_fast_install=needless
10348 fi
10349
10350
10351
10352
10353
10354
10355   if test "x$enable_dlopen" != xyes; then
10356   enable_dlopen=unknown
10357   enable_dlopen_self=unknown
10358   enable_dlopen_self_static=unknown
10359 else
10360   lt_cv_dlopen=no
10361   lt_cv_dlopen_libs=
10362
10363   case $host_os in
10364   beos*)
10365     lt_cv_dlopen="load_add_on"
10366     lt_cv_dlopen_libs=
10367     lt_cv_dlopen_self=yes
10368     ;;
10369
10370   mingw* | pw32* | cegcc*)
10371     lt_cv_dlopen="LoadLibrary"
10372     lt_cv_dlopen_libs=
10373     ;;
10374
10375   cygwin*)
10376     lt_cv_dlopen="dlopen"
10377     lt_cv_dlopen_libs=
10378     ;;
10379
10380   darwin*)
10381   # if libdl is installed we need to link against it
10382     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10383 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10384 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10385   $as_echo_n "(cached) " >&6
10386 else
10387   ac_check_lib_save_LIBS=$LIBS
10388 LIBS="-ldl  $LIBS"
10389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h.  */
10391
10392 /* Override any GCC internal prototype to avoid an error.
10393    Use char because int might match the return type of a GCC
10394    builtin and then its argument prototype would still apply.  */
10395 #ifdef __cplusplus
10396 extern "C"
10397 #endif
10398 char dlopen ();
10399 int
10400 main ()
10401 {
10402 return dlopen ();
10403   ;
10404   return 0;
10405 }
10406 _ACEOF
10407 if ac_fn_c_try_link "$LINENO"; then :
10408   ac_cv_lib_dl_dlopen=yes
10409 else
10410   ac_cv_lib_dl_dlopen=no
10411 fi
10412 rm -f core conftest.err conftest.$ac_objext \
10413     conftest$ac_exeext conftest.$ac_ext
10414 LIBS=$ac_check_lib_save_LIBS
10415 fi
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10417 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10418 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10419   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10420 else
10421
10422     lt_cv_dlopen="dyld"
10423     lt_cv_dlopen_libs=
10424     lt_cv_dlopen_self=yes
10425
10426 fi
10427
10428     ;;
10429
10430   *)
10431     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10432 if test "x$ac_cv_func_shl_load" = x""yes; then :
10433   lt_cv_dlopen="shl_load"
10434 else
10435   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10436 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10437 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10438   $as_echo_n "(cached) " >&6
10439 else
10440   ac_check_lib_save_LIBS=$LIBS
10441 LIBS="-ldld  $LIBS"
10442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10443 /* end confdefs.h.  */
10444
10445 /* Override any GCC internal prototype to avoid an error.
10446    Use char because int might match the return type of a GCC
10447    builtin and then its argument prototype would still apply.  */
10448 #ifdef __cplusplus
10449 extern "C"
10450 #endif
10451 char shl_load ();
10452 int
10453 main ()
10454 {
10455 return shl_load ();
10456   ;
10457   return 0;
10458 }
10459 _ACEOF
10460 if ac_fn_c_try_link "$LINENO"; then :
10461   ac_cv_lib_dld_shl_load=yes
10462 else
10463   ac_cv_lib_dld_shl_load=no
10464 fi
10465 rm -f core conftest.err conftest.$ac_objext \
10466     conftest$ac_exeext conftest.$ac_ext
10467 LIBS=$ac_check_lib_save_LIBS
10468 fi
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10470 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10471 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10472   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10473 else
10474   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10475 if test "x$ac_cv_func_dlopen" = x""yes; then :
10476   lt_cv_dlopen="dlopen"
10477 else
10478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10479 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10480 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10481   $as_echo_n "(cached) " >&6
10482 else
10483   ac_check_lib_save_LIBS=$LIBS
10484 LIBS="-ldl  $LIBS"
10485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10486 /* end confdefs.h.  */
10487
10488 /* Override any GCC internal prototype to avoid an error.
10489    Use char because int might match the return type of a GCC
10490    builtin and then its argument prototype would still apply.  */
10491 #ifdef __cplusplus
10492 extern "C"
10493 #endif
10494 char dlopen ();
10495 int
10496 main ()
10497 {
10498 return dlopen ();
10499   ;
10500   return 0;
10501 }
10502 _ACEOF
10503 if ac_fn_c_try_link "$LINENO"; then :
10504   ac_cv_lib_dl_dlopen=yes
10505 else
10506   ac_cv_lib_dl_dlopen=no
10507 fi
10508 rm -f core conftest.err conftest.$ac_objext \
10509     conftest$ac_exeext conftest.$ac_ext
10510 LIBS=$ac_check_lib_save_LIBS
10511 fi
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10513 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10514 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10515   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10516 else
10517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10518 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
10519 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10520   $as_echo_n "(cached) " >&6
10521 else
10522   ac_check_lib_save_LIBS=$LIBS
10523 LIBS="-lsvld  $LIBS"
10524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h.  */
10526
10527 /* Override any GCC internal prototype to avoid an error.
10528    Use char because int might match the return type of a GCC
10529    builtin and then its argument prototype would still apply.  */
10530 #ifdef __cplusplus
10531 extern "C"
10532 #endif
10533 char dlopen ();
10534 int
10535 main ()
10536 {
10537 return dlopen ();
10538   ;
10539   return 0;
10540 }
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543   ac_cv_lib_svld_dlopen=yes
10544 else
10545   ac_cv_lib_svld_dlopen=no
10546 fi
10547 rm -f core conftest.err conftest.$ac_objext \
10548     conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_lib_save_LIBS
10550 fi
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10552 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10553 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10554   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10555 else
10556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10557 $as_echo_n "checking for dld_link in -ldld... " >&6; }
10558 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10559   $as_echo_n "(cached) " >&6
10560 else
10561   ac_check_lib_save_LIBS=$LIBS
10562 LIBS="-ldld  $LIBS"
10563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10564 /* end confdefs.h.  */
10565
10566 /* Override any GCC internal prototype to avoid an error.
10567    Use char because int might match the return type of a GCC
10568    builtin and then its argument prototype would still apply.  */
10569 #ifdef __cplusplus
10570 extern "C"
10571 #endif
10572 char dld_link ();
10573 int
10574 main ()
10575 {
10576 return dld_link ();
10577   ;
10578   return 0;
10579 }
10580 _ACEOF
10581 if ac_fn_c_try_link "$LINENO"; then :
10582   ac_cv_lib_dld_dld_link=yes
10583 else
10584   ac_cv_lib_dld_dld_link=no
10585 fi
10586 rm -f core conftest.err conftest.$ac_objext \
10587     conftest$ac_exeext conftest.$ac_ext
10588 LIBS=$ac_check_lib_save_LIBS
10589 fi
10590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10591 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10592 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10593   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10594 fi
10595
10596
10597 fi
10598
10599
10600 fi
10601
10602
10603 fi
10604
10605
10606 fi
10607
10608
10609 fi
10610
10611     ;;
10612   esac
10613
10614   if test "x$lt_cv_dlopen" != xno; then
10615     enable_dlopen=yes
10616   else
10617     enable_dlopen=no
10618   fi
10619
10620   case $lt_cv_dlopen in
10621   dlopen)
10622     save_CPPFLAGS="$CPPFLAGS"
10623     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10624
10625     save_LDFLAGS="$LDFLAGS"
10626     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10627
10628     save_LIBS="$LIBS"
10629     LIBS="$lt_cv_dlopen_libs $LIBS"
10630
10631     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10632 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
10633 if test "${lt_cv_dlopen_self+set}" = set; then :
10634   $as_echo_n "(cached) " >&6
10635 else
10636           if test "$cross_compiling" = yes; then :
10637   lt_cv_dlopen_self=cross
10638 else
10639   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10640   lt_status=$lt_dlunknown
10641   cat > conftest.$ac_ext <<_LT_EOF
10642 #line 10642 "configure"
10643 #include "confdefs.h"
10644
10645 #if HAVE_DLFCN_H
10646 #include <dlfcn.h>
10647 #endif
10648
10649 #include <stdio.h>
10650
10651 #ifdef RTLD_GLOBAL
10652 #  define LT_DLGLOBAL           RTLD_GLOBAL
10653 #else
10654 #  ifdef DL_GLOBAL
10655 #    define LT_DLGLOBAL         DL_GLOBAL
10656 #  else
10657 #    define LT_DLGLOBAL         0
10658 #  endif
10659 #endif
10660
10661 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10662    find out it does not work in some platform. */
10663 #ifndef LT_DLLAZY_OR_NOW
10664 #  ifdef RTLD_LAZY
10665 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10666 #  else
10667 #    ifdef DL_LAZY
10668 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10669 #    else
10670 #      ifdef RTLD_NOW
10671 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10672 #      else
10673 #        ifdef DL_NOW
10674 #          define LT_DLLAZY_OR_NOW      DL_NOW
10675 #        else
10676 #          define LT_DLLAZY_OR_NOW      0
10677 #        endif
10678 #      endif
10679 #    endif
10680 #  endif
10681 #endif
10682
10683 void fnord() { int i=42;}
10684 int main ()
10685 {
10686   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10687   int status = $lt_dlunknown;
10688
10689   if (self)
10690     {
10691       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10692       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10693       /* dlclose (self); */
10694     }
10695   else
10696     puts (dlerror ());
10697
10698   return status;
10699 }
10700 _LT_EOF
10701   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10702   (eval $ac_link) 2>&5
10703   ac_status=$?
10704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10705   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10706     (./conftest; exit; ) >&5 2>/dev/null
10707     lt_status=$?
10708     case x$lt_status in
10709       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10710       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10711       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10712     esac
10713   else :
10714     # compilation failed
10715     lt_cv_dlopen_self=no
10716   fi
10717 fi
10718 rm -fr conftest*
10719
10720
10721 fi
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10723 $as_echo "$lt_cv_dlopen_self" >&6; }
10724
10725     if test "x$lt_cv_dlopen_self" = xyes; then
10726       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10727       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10728 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10729 if test "${lt_cv_dlopen_self_static+set}" = set; then :
10730   $as_echo_n "(cached) " >&6
10731 else
10732           if test "$cross_compiling" = yes; then :
10733   lt_cv_dlopen_self_static=cross
10734 else
10735   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10736   lt_status=$lt_dlunknown
10737   cat > conftest.$ac_ext <<_LT_EOF
10738 #line 10738 "configure"
10739 #include "confdefs.h"
10740
10741 #if HAVE_DLFCN_H
10742 #include <dlfcn.h>
10743 #endif
10744
10745 #include <stdio.h>
10746
10747 #ifdef RTLD_GLOBAL
10748 #  define LT_DLGLOBAL           RTLD_GLOBAL
10749 #else
10750 #  ifdef DL_GLOBAL
10751 #    define LT_DLGLOBAL         DL_GLOBAL
10752 #  else
10753 #    define LT_DLGLOBAL         0
10754 #  endif
10755 #endif
10756
10757 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10758    find out it does not work in some platform. */
10759 #ifndef LT_DLLAZY_OR_NOW
10760 #  ifdef RTLD_LAZY
10761 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10762 #  else
10763 #    ifdef DL_LAZY
10764 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10765 #    else
10766 #      ifdef RTLD_NOW
10767 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10768 #      else
10769 #        ifdef DL_NOW
10770 #          define LT_DLLAZY_OR_NOW      DL_NOW
10771 #        else
10772 #          define LT_DLLAZY_OR_NOW      0
10773 #        endif
10774 #      endif
10775 #    endif
10776 #  endif
10777 #endif
10778
10779 void fnord() { int i=42;}
10780 int main ()
10781 {
10782   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10783   int status = $lt_dlunknown;
10784
10785   if (self)
10786     {
10787       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10788       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10789       /* dlclose (self); */
10790     }
10791   else
10792     puts (dlerror ());
10793
10794   return status;
10795 }
10796 _LT_EOF
10797   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10798   (eval $ac_link) 2>&5
10799   ac_status=$?
10800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10801   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10802     (./conftest; exit; ) >&5 2>/dev/null
10803     lt_status=$?
10804     case x$lt_status in
10805       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10806       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10807       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10808     esac
10809   else :
10810     # compilation failed
10811     lt_cv_dlopen_self_static=no
10812   fi
10813 fi
10814 rm -fr conftest*
10815
10816
10817 fi
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
10819 $as_echo "$lt_cv_dlopen_self_static" >&6; }
10820     fi
10821
10822     CPPFLAGS="$save_CPPFLAGS"
10823     LDFLAGS="$save_LDFLAGS"
10824     LIBS="$save_LIBS"
10825     ;;
10826   esac
10827
10828   case $lt_cv_dlopen_self in
10829   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10830   *) enable_dlopen_self=unknown ;;
10831   esac
10832
10833   case $lt_cv_dlopen_self_static in
10834   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10835   *) enable_dlopen_self_static=unknown ;;
10836   esac
10837 fi
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855 striplib=
10856 old_striplib=
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
10858 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
10859 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10860   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10861   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10863 $as_echo "yes" >&6; }
10864 else
10865 # FIXME - insert some real tests, host_os isn't really good enough
10866   case $host_os in
10867   darwin*)
10868     if test -n "$STRIP" ; then
10869       striplib="$STRIP -x"
10870       old_striplib="$STRIP -S"
10871       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10872 $as_echo "yes" >&6; }
10873     else
10874       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10875 $as_echo "no" >&6; }
10876     fi
10877     ;;
10878   *)
10879     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10880 $as_echo "no" >&6; }
10881     ;;
10882   esac
10883 fi
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896   # Report which library types will actually be built
10897   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
10898 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
10899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
10900 $as_echo "$can_build_shared" >&6; }
10901
10902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
10903 $as_echo_n "checking whether to build shared libraries... " >&6; }
10904   test "$can_build_shared" = "no" && enable_shared=no
10905
10906   # On AIX, shared libraries and static libraries use the same namespace, and
10907   # are all built from PIC.
10908   case $host_os in
10909   aix3*)
10910     test "$enable_shared" = yes && enable_static=no
10911     if test -n "$RANLIB"; then
10912       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10913       postinstall_cmds='$RANLIB $lib'
10914     fi
10915     ;;
10916
10917   aix[4-9]*)
10918     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10919       test "$enable_shared" = yes && enable_static=no
10920     fi
10921     ;;
10922   esac
10923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
10924 $as_echo "$enable_shared" >&6; }
10925
10926   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
10927 $as_echo_n "checking whether to build static libraries... " >&6; }
10928   # Make sure either enable_shared or enable_static is yes.
10929   test "$enable_shared" = yes || enable_static=yes
10930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
10931 $as_echo "$enable_static" >&6; }
10932
10933
10934
10935
10936 fi
10937 ac_ext=c
10938 ac_cpp='$CPP $CPPFLAGS'
10939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10942
10943 CC="$lt_save_CC"
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957         ac_config_commands="$ac_config_commands libtool"
10958
10959
10960
10961
10962 # Only expand once:
10963
10964
10965
10966 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10967 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10968
10969
10970
10971 cat >>confdefs.h <<_ACEOF
10972 #define VMAJ 1
10973 _ACEOF
10974
10975
10976 cat >>confdefs.h <<_ACEOF
10977 #define VMIN 7
10978 _ACEOF
10979
10980
10981 cat >>confdefs.h <<_ACEOF
10982 #define VMIC 1
10983 _ACEOF
10984
10985
10986 cat >>confdefs.h <<_ACEOF
10987 #define VREV 0
10988 _ACEOF
10989
10990 version_info="8:1:7"
10991 release_info="-release ver-pre-svn-07"
10992
10993
10994 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10995 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
10996 VMAJ=1
10997
10998
10999 want_generic="yes"
11000 case "$host_os" in
11001    mingw*)
11002       want_xine="no"
11003       want_gstreamer="yes"
11004       want_generic="no"
11005       want_generic_vlc="no"
11006       ;;
11007    *)
11008       want_xine="yes"
11009       want_gstreamer="yes"
11010       want_generic_vlc="yes"
11011       ;;
11012 esac
11013
11014 requirement_emotion=""
11015
11016 ### Additional options to configure
11017
11018
11019
11020
11021 have_emotion_test="yes"
11022
11023
11024 # Check whether --enable-emotion-test was given.
11025 if test "${enable_emotion_test+set}" = set; then :
11026   enableval=$enable_emotion_test;
11027     if test "x${enableval}" = "xyes" ; then
11028        have_emotion_test="yes"
11029     else
11030        have_emotion_test="no"
11031     fi
11032
11033 fi
11034
11035
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build emotion_test binary" >&5
11037 $as_echo_n "checking whether to build emotion_test binary... " >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_emotion_test" >&5
11039 $as_echo "$have_emotion_test" >&6; }
11040
11041 if test "x$have_emotion_test" = "xyes"; then
11042    EMOTION_TEST_PRG=emotion_test${EXEEXT}
11043 fi
11044
11045
11046
11047  if test "x$have_emotion_test" = "xyes"; then
11048   BUILD_EMOTION_TEST_TRUE=
11049   BUILD_EMOTION_TEST_FALSE='#'
11050 else
11051   BUILD_EMOTION_TEST_TRUE='#'
11052   BUILD_EMOTION_TEST_FALSE=
11053 fi
11054
11055
11056 if test "x$have_emotion_test" = "xyes"; then :
11057
11058 fi
11059
11060
11061
11062 # edje_cc
11063
11064
11065 # Check whether --with-edje-cc was given.
11066 if test "${with_edje_cc+set}" = set; then :
11067   withval=$with_edje_cc;
11068     v=$withval;
11069     edje_cc=$v
11070     echo "  Enlightenment edje_cc explicitly set to "$edje_cc;
11071
11072 else
11073   edje_cc=$(pkg-config --variable=prefix edje)/bin/edje_cc
11074 fi
11075
11076
11077
11078
11079 ### Checks for programs
11080 ac_ext=c
11081 ac_cpp='$CPP $CPPFLAGS'
11082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11085 if test -n "$ac_tool_prefix"; then
11086   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11087 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11089 $as_echo_n "checking for $ac_word... " >&6; }
11090 if test "${ac_cv_prog_CC+set}" = set; then :
11091   $as_echo_n "(cached) " >&6
11092 else
11093   if test -n "$CC"; then
11094   ac_cv_prog_CC="$CC" # Let the user override the test.
11095 else
11096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11097 for as_dir in $PATH
11098 do
11099   IFS=$as_save_IFS
11100   test -z "$as_dir" && as_dir=.
11101     for ac_exec_ext in '' $ac_executable_extensions; do
11102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11103     ac_cv_prog_CC="${ac_tool_prefix}gcc"
11104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11105     break 2
11106   fi
11107 done
11108   done
11109 IFS=$as_save_IFS
11110
11111 fi
11112 fi
11113 CC=$ac_cv_prog_CC
11114 if test -n "$CC"; then
11115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11116 $as_echo "$CC" >&6; }
11117 else
11118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11119 $as_echo "no" >&6; }
11120 fi
11121
11122
11123 fi
11124 if test -z "$ac_cv_prog_CC"; then
11125   ac_ct_CC=$CC
11126   # Extract the first word of "gcc", so it can be a program name with args.
11127 set dummy gcc; ac_word=$2
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11129 $as_echo_n "checking for $ac_word... " >&6; }
11130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11131   $as_echo_n "(cached) " >&6
11132 else
11133   if test -n "$ac_ct_CC"; then
11134   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11135 else
11136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11137 for as_dir in $PATH
11138 do
11139   IFS=$as_save_IFS
11140   test -z "$as_dir" && as_dir=.
11141     for ac_exec_ext in '' $ac_executable_extensions; do
11142   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11143     ac_cv_prog_ac_ct_CC="gcc"
11144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11145     break 2
11146   fi
11147 done
11148   done
11149 IFS=$as_save_IFS
11150
11151 fi
11152 fi
11153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11154 if test -n "$ac_ct_CC"; then
11155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11156 $as_echo "$ac_ct_CC" >&6; }
11157 else
11158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11159 $as_echo "no" >&6; }
11160 fi
11161
11162   if test "x$ac_ct_CC" = x; then
11163     CC=""
11164   else
11165     case $cross_compiling:$ac_tool_warned in
11166 yes:)
11167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11168 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11169 ac_tool_warned=yes ;;
11170 esac
11171     CC=$ac_ct_CC
11172   fi
11173 else
11174   CC="$ac_cv_prog_CC"
11175 fi
11176
11177 if test -z "$CC"; then
11178           if test -n "$ac_tool_prefix"; then
11179     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11180 set dummy ${ac_tool_prefix}cc; ac_word=$2
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11182 $as_echo_n "checking for $ac_word... " >&6; }
11183 if test "${ac_cv_prog_CC+set}" = set; then :
11184   $as_echo_n "(cached) " >&6
11185 else
11186   if test -n "$CC"; then
11187   ac_cv_prog_CC="$CC" # Let the user override the test.
11188 else
11189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11190 for as_dir in $PATH
11191 do
11192   IFS=$as_save_IFS
11193   test -z "$as_dir" && as_dir=.
11194     for ac_exec_ext in '' $ac_executable_extensions; do
11195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11196     ac_cv_prog_CC="${ac_tool_prefix}cc"
11197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11198     break 2
11199   fi
11200 done
11201   done
11202 IFS=$as_save_IFS
11203
11204 fi
11205 fi
11206 CC=$ac_cv_prog_CC
11207 if test -n "$CC"; then
11208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11209 $as_echo "$CC" >&6; }
11210 else
11211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11212 $as_echo "no" >&6; }
11213 fi
11214
11215
11216   fi
11217 fi
11218 if test -z "$CC"; then
11219   # Extract the first word of "cc", so it can be a program name with args.
11220 set dummy cc; ac_word=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11222 $as_echo_n "checking for $ac_word... " >&6; }
11223 if test "${ac_cv_prog_CC+set}" = set; then :
11224   $as_echo_n "(cached) " >&6
11225 else
11226   if test -n "$CC"; then
11227   ac_cv_prog_CC="$CC" # Let the user override the test.
11228 else
11229   ac_prog_rejected=no
11230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11231 for as_dir in $PATH
11232 do
11233   IFS=$as_save_IFS
11234   test -z "$as_dir" && as_dir=.
11235     for ac_exec_ext in '' $ac_executable_extensions; do
11236   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11237     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11238        ac_prog_rejected=yes
11239        continue
11240      fi
11241     ac_cv_prog_CC="cc"
11242     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11243     break 2
11244   fi
11245 done
11246   done
11247 IFS=$as_save_IFS
11248
11249 if test $ac_prog_rejected = yes; then
11250   # We found a bogon in the path, so make sure we never use it.
11251   set dummy $ac_cv_prog_CC
11252   shift
11253   if test $# != 0; then
11254     # We chose a different compiler from the bogus one.
11255     # However, it has the same basename, so the bogon will be chosen
11256     # first if we set CC to just the basename; use the full file name.
11257     shift
11258     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11259   fi
11260 fi
11261 fi
11262 fi
11263 CC=$ac_cv_prog_CC
11264 if test -n "$CC"; then
11265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11266 $as_echo "$CC" >&6; }
11267 else
11268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11269 $as_echo "no" >&6; }
11270 fi
11271
11272
11273 fi
11274 if test -z "$CC"; then
11275   if test -n "$ac_tool_prefix"; then
11276   for ac_prog in cl.exe
11277   do
11278     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11279 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11281 $as_echo_n "checking for $ac_word... " >&6; }
11282 if test "${ac_cv_prog_CC+set}" = set; then :
11283   $as_echo_n "(cached) " >&6
11284 else
11285   if test -n "$CC"; then
11286   ac_cv_prog_CC="$CC" # Let the user override the test.
11287 else
11288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11289 for as_dir in $PATH
11290 do
11291   IFS=$as_save_IFS
11292   test -z "$as_dir" && as_dir=.
11293     for ac_exec_ext in '' $ac_executable_extensions; do
11294   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11295     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11297     break 2
11298   fi
11299 done
11300   done
11301 IFS=$as_save_IFS
11302
11303 fi
11304 fi
11305 CC=$ac_cv_prog_CC
11306 if test -n "$CC"; then
11307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11308 $as_echo "$CC" >&6; }
11309 else
11310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11311 $as_echo "no" >&6; }
11312 fi
11313
11314
11315     test -n "$CC" && break
11316   done
11317 fi
11318 if test -z "$CC"; then
11319   ac_ct_CC=$CC
11320   for ac_prog in cl.exe
11321 do
11322   # Extract the first word of "$ac_prog", so it can be a program name with args.
11323 set dummy $ac_prog; ac_word=$2
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11325 $as_echo_n "checking for $ac_word... " >&6; }
11326 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
11327   $as_echo_n "(cached) " >&6
11328 else
11329   if test -n "$ac_ct_CC"; then
11330   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11331 else
11332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11333 for as_dir in $PATH
11334 do
11335   IFS=$as_save_IFS
11336   test -z "$as_dir" && as_dir=.
11337     for ac_exec_ext in '' $ac_executable_extensions; do
11338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11339     ac_cv_prog_ac_ct_CC="$ac_prog"
11340     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11341     break 2
11342   fi
11343 done
11344   done
11345 IFS=$as_save_IFS
11346
11347 fi
11348 fi
11349 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11350 if test -n "$ac_ct_CC"; then
11351   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11352 $as_echo "$ac_ct_CC" >&6; }
11353 else
11354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11355 $as_echo "no" >&6; }
11356 fi
11357
11358
11359   test -n "$ac_ct_CC" && break
11360 done
11361
11362   if test "x$ac_ct_CC" = x; then
11363     CC=""
11364   else
11365     case $cross_compiling:$ac_tool_warned in
11366 yes:)
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11368 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11369 ac_tool_warned=yes ;;
11370 esac
11371     CC=$ac_ct_CC
11372   fi
11373 fi
11374
11375 fi
11376
11377
11378 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11380 as_fn_error $? "no acceptable C compiler found in \$PATH
11381 See \`config.log' for more details" "$LINENO" 5 ; }
11382
11383 # Provide some information about the compiler.
11384 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11385 set X $ac_compile
11386 ac_compiler=$2
11387 for ac_option in --version -v -V -qversion; do
11388   { { ac_try="$ac_compiler $ac_option >&5"
11389 case "(($ac_try" in
11390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11391   *) ac_try_echo=$ac_try;;
11392 esac
11393 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11394 $as_echo "$ac_try_echo"; } >&5
11395   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
11396   ac_status=$?
11397   if test -s conftest.err; then
11398     sed '10a\
11399 ... rest of stderr output deleted ...
11400          10q' conftest.err >conftest.er1
11401     cat conftest.er1 >&5
11402   fi
11403   rm -f conftest.er1 conftest.err
11404   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11405   test $ac_status = 0; }
11406 done
11407
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11409 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11410 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
11411   $as_echo_n "(cached) " >&6
11412 else
11413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h.  */
11415
11416 int
11417 main ()
11418 {
11419 #ifndef __GNUC__
11420        choke me
11421 #endif
11422
11423   ;
11424   return 0;
11425 }
11426 _ACEOF
11427 if ac_fn_c_try_compile "$LINENO"; then :
11428   ac_compiler_gnu=yes
11429 else
11430   ac_compiler_gnu=no
11431 fi
11432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11433 ac_cv_c_compiler_gnu=$ac_compiler_gnu
11434
11435 fi
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11437 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
11438 if test $ac_compiler_gnu = yes; then
11439   GCC=yes
11440 else
11441   GCC=
11442 fi
11443 ac_test_CFLAGS=${CFLAGS+set}
11444 ac_save_CFLAGS=$CFLAGS
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11446 $as_echo_n "checking whether $CC accepts -g... " >&6; }
11447 if test "${ac_cv_prog_cc_g+set}" = set; then :
11448   $as_echo_n "(cached) " >&6
11449 else
11450   ac_save_c_werror_flag=$ac_c_werror_flag
11451    ac_c_werror_flag=yes
11452    ac_cv_prog_cc_g=no
11453    CFLAGS="-g"
11454    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11455 /* end confdefs.h.  */
11456
11457 int
11458 main ()
11459 {
11460
11461   ;
11462   return 0;
11463 }
11464 _ACEOF
11465 if ac_fn_c_try_compile "$LINENO"; then :
11466   ac_cv_prog_cc_g=yes
11467 else
11468   CFLAGS=""
11469       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h.  */
11471
11472 int
11473 main ()
11474 {
11475
11476   ;
11477   return 0;
11478 }
11479 _ACEOF
11480 if ac_fn_c_try_compile "$LINENO"; then :
11481
11482 else
11483   ac_c_werror_flag=$ac_save_c_werror_flag
11484          CFLAGS="-g"
11485          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h.  */
11487
11488 int
11489 main ()
11490 {
11491
11492   ;
11493   return 0;
11494 }
11495 _ACEOF
11496 if ac_fn_c_try_compile "$LINENO"; then :
11497   ac_cv_prog_cc_g=yes
11498 fi
11499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11500 fi
11501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11502 fi
11503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11504    ac_c_werror_flag=$ac_save_c_werror_flag
11505 fi
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11507 $as_echo "$ac_cv_prog_cc_g" >&6; }
11508 if test "$ac_test_CFLAGS" = set; then
11509   CFLAGS=$ac_save_CFLAGS
11510 elif test $ac_cv_prog_cc_g = yes; then
11511   if test "$GCC" = yes; then
11512     CFLAGS="-g -O2"
11513   else
11514     CFLAGS="-g"
11515   fi
11516 else
11517   if test "$GCC" = yes; then
11518     CFLAGS="-O2"
11519   else
11520     CFLAGS=
11521   fi
11522 fi
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11524 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11525 if test "${ac_cv_prog_cc_c89+set}" = set; then :
11526   $as_echo_n "(cached) " >&6
11527 else
11528   ac_cv_prog_cc_c89=no
11529 ac_save_CC=$CC
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h.  */
11532 #include <stdarg.h>
11533 #include <stdio.h>
11534 #include <sys/types.h>
11535 #include <sys/stat.h>
11536 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
11537 struct buf { int x; };
11538 FILE * (*rcsopen) (struct buf *, struct stat *, int);
11539 static char *e (p, i)
11540      char **p;
11541      int i;
11542 {
11543   return p[i];
11544 }
11545 static char *f (char * (*g) (char **, int), char **p, ...)
11546 {
11547   char *s;
11548   va_list v;
11549   va_start (v,p);
11550   s = g (p, va_arg (v,int));
11551   va_end (v);
11552   return s;
11553 }
11554
11555 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
11556    function prototypes and stuff, but not '\xHH' hex character constants.
11557    These don't provoke an error unfortunately, instead are silently treated
11558    as 'x'.  The following induces an error, until -std is added to get
11559    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
11560    array size at least.  It's necessary to write '\x00'==0 to get something
11561    that's true only with -std.  */
11562 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11563
11564 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11565    inside strings and character constants.  */
11566 #define FOO(x) 'x'
11567 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11568
11569 int test (int i, double x);
11570 struct s1 {int (*f) (int a);};
11571 struct s2 {int (*f) (double a);};
11572 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11573 int argc;
11574 char **argv;
11575 int
11576 main ()
11577 {
11578 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
11579   ;
11580   return 0;
11581 }
11582 _ACEOF
11583 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11584         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11585 do
11586   CC="$ac_save_CC $ac_arg"
11587   if ac_fn_c_try_compile "$LINENO"; then :
11588   ac_cv_prog_cc_c89=$ac_arg
11589 fi
11590 rm -f core conftest.err conftest.$ac_objext
11591   test "x$ac_cv_prog_cc_c89" != "xno" && break
11592 done
11593 rm -f conftest.$ac_ext
11594 CC=$ac_save_CC
11595
11596 fi
11597 # AC_CACHE_VAL
11598 case "x$ac_cv_prog_cc_c89" in
11599   x)
11600     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11601 $as_echo "none needed" >&6; } ;;
11602   xno)
11603     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11604 $as_echo "unsupported" >&6; } ;;
11605   *)
11606     CC="$CC $ac_cv_prog_cc_c89"
11607     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11608 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11609 esac
11610 if test "x$ac_cv_prog_cc_c89" != xno; then :
11611
11612 fi
11613
11614 ac_ext=c
11615 ac_cpp='$CPP $CPPFLAGS'
11616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11619
11620
11621 # pkg-config
11622
11623
11624
11625
11626
11627
11628 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11629         if test -n "$ac_tool_prefix"; then
11630   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11631 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11633 $as_echo_n "checking for $ac_word... " >&6; }
11634 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
11635   $as_echo_n "(cached) " >&6
11636 else
11637   case $PKG_CONFIG in
11638   [\\/]* | ?:[\\/]*)
11639   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11640   ;;
11641   *)
11642   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11643 for as_dir in $PATH
11644 do
11645   IFS=$as_save_IFS
11646   test -z "$as_dir" && as_dir=.
11647     for ac_exec_ext in '' $ac_executable_extensions; do
11648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11649     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11651     break 2
11652   fi
11653 done
11654   done
11655 IFS=$as_save_IFS
11656
11657   ;;
11658 esac
11659 fi
11660 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11661 if test -n "$PKG_CONFIG"; then
11662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11663 $as_echo "$PKG_CONFIG" >&6; }
11664 else
11665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11666 $as_echo "no" >&6; }
11667 fi
11668
11669
11670 fi
11671 if test -z "$ac_cv_path_PKG_CONFIG"; then
11672   ac_pt_PKG_CONFIG=$PKG_CONFIG
11673   # Extract the first word of "pkg-config", so it can be a program name with args.
11674 set dummy pkg-config; ac_word=$2
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11676 $as_echo_n "checking for $ac_word... " >&6; }
11677 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
11678   $as_echo_n "(cached) " >&6
11679 else
11680   case $ac_pt_PKG_CONFIG in
11681   [\\/]* | ?:[\\/]*)
11682   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11683   ;;
11684   *)
11685   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11686 for as_dir in $PATH
11687 do
11688   IFS=$as_save_IFS
11689   test -z "$as_dir" && as_dir=.
11690     for ac_exec_ext in '' $ac_executable_extensions; do
11691   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11692     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11694     break 2
11695   fi
11696 done
11697   done
11698 IFS=$as_save_IFS
11699
11700   ;;
11701 esac
11702 fi
11703 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11704 if test -n "$ac_pt_PKG_CONFIG"; then
11705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11706 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
11707 else
11708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11709 $as_echo "no" >&6; }
11710 fi
11711
11712   if test "x$ac_pt_PKG_CONFIG" = x; then
11713     PKG_CONFIG=""
11714   else
11715     case $cross_compiling:$ac_tool_warned in
11716 yes:)
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11719 ac_tool_warned=yes ;;
11720 esac
11721     PKG_CONFIG=$ac_pt_PKG_CONFIG
11722   fi
11723 else
11724   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11725 fi
11726
11727 fi
11728 if test -n "$PKG_CONFIG"; then
11729         _pkg_min_version=0.9.0
11730         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11731 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11732         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11733                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11734 $as_echo "yes" >&6; }
11735         else
11736                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11737 $as_echo "no" >&6; }
11738                 PKG_CONFIG=""
11739         fi
11740 fi
11741
11742 # Check whether pkg-config supports Requires.private
11743 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
11744    pkgconfig_requires_private="Requires.private"
11745 else
11746    pkgconfig_requires_private="Requires"
11747 fi
11748
11749
11750 # doxygen program for documentation building
11751
11752
11753
11754 # Check whether --enable-doc was given.
11755 if test "${enable_doc+set}" = set; then :
11756   enableval=$enable_doc;
11757     if test "x${enableval}" = "xyes" ; then
11758        efl_enable_doc="yes"
11759     else
11760        efl_enable_doc="no"
11761     fi
11762
11763 else
11764   efl_enable_doc="yes"
11765 fi
11766
11767
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
11769 $as_echo_n "checking whether to build documentation... " >&6; }
11770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
11771 $as_echo "${efl_enable_doc}" >&6; }
11772
11773 if test "x${efl_enable_doc}" = "xyes" ; then
11774
11775
11776    efl_doxygen="doxygen"
11777
11778
11779 # Check whether --with-doxygen was given.
11780 if test "${with_doxygen+set}" = set; then :
11781   withval=$with_doxygen;
11782       efl_doxygen=${withval}
11783        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11784 set dummy ${efl_doxygen}; ac_word=$2
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11786 $as_echo_n "checking for $ac_word... " >&6; }
11787 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11788   $as_echo_n "(cached) " >&6
11789 else
11790   if test -n "$efl_have_doxygen"; then
11791   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11792 else
11793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11794 for as_dir in $PATH
11795 do
11796   IFS=$as_save_IFS
11797   test -z "$as_dir" && as_dir=.
11798     for ac_exec_ext in '' $ac_executable_extensions; do
11799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11800     ac_cv_prog_efl_have_doxygen="yes"
11801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11802     break 2
11803   fi
11804 done
11805   done
11806 IFS=$as_save_IFS
11807
11808   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11809 fi
11810 fi
11811 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11812 if test -n "$efl_have_doxygen"; then
11813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11814 $as_echo "$efl_have_doxygen" >&6; }
11815 else
11816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11817 $as_echo "no" >&6; }
11818 fi
11819
11820
11821        if test "x${efl_have_doxygen}" = "xno" ; then
11822           echo "WARNING:"
11823           echo "The doxygen program you specified:"
11824           echo "${efl_doxygen}"
11825           echo "was not found.  Please check the path and make sure "
11826           echo "the program exists and is executable."
11827           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11828 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11829        fi
11830
11831 else
11832   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
11833 set dummy ${efl_doxygen}; ac_word=$2
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11835 $as_echo_n "checking for $ac_word... " >&6; }
11836 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
11837   $as_echo_n "(cached) " >&6
11838 else
11839   if test -n "$efl_have_doxygen"; then
11840   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
11841 else
11842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11843 for as_dir in $PATH
11844 do
11845   IFS=$as_save_IFS
11846   test -z "$as_dir" && as_dir=.
11847     for ac_exec_ext in '' $ac_executable_extensions; do
11848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11849     ac_cv_prog_efl_have_doxygen="yes"
11850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11851     break 2
11852   fi
11853 done
11854   done
11855 IFS=$as_save_IFS
11856
11857   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
11858 fi
11859 fi
11860 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
11861 if test -n "$efl_have_doxygen"; then
11862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
11863 $as_echo "$efl_have_doxygen" >&6; }
11864 else
11865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866 $as_echo "no" >&6; }
11867 fi
11868
11869
11870        if test "x${efl_have_doxygen}" = "xno" ; then
11871           echo "WARNING:"
11872           echo "The doxygen program was not found in your execute path."
11873           echo "You may have doxygen installed somewhere not covered by your path."
11874           echo ""
11875           echo "If this is the case make sure you have the packages installed, AND"
11876           echo "that the doxygen program is in your execute path (see your"
11877           echo "shell manual page on setting the \$PATH environment variable), OR"
11878           echo "alternatively, specify the program to use with --with-doxygen."
11879           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
11880 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
11881        fi
11882
11883 fi
11884
11885 else
11886    efl_have_doxygen="no"
11887 fi
11888
11889
11890
11891 if ! test "x${efl_have_doxygen}" = "xyes" ; then
11892    efl_enable_doc="no"
11893 fi
11894
11895  if test "x${efl_have_doxygen}" = "xyes"; then
11896   EFL_BUILD_DOC_TRUE=
11897   EFL_BUILD_DOC_FALSE='#'
11898 else
11899   EFL_BUILD_DOC_TRUE='#'
11900   EFL_BUILD_DOC_FALSE=
11901 fi
11902
11903
11904 if test "x$efl_have_doxygen" = "xyes"; then :
11905   build_doc="yes"
11906 else
11907   build_doc="no"
11908 fi
11909
11910
11911
11912 ### Checks for libraries
11913
11914 requirement_emotion="ecore >= 1.6.99 evas >= 1.6.99 eet >= 1.6.99 eina >= 1.6.99"
11915
11916 pkg_failed=no
11917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
11918 $as_echo_n "checking for EMOTION... " >&6; }
11919
11920 if test -n "$EMOTION_CFLAGS"; then
11921     pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
11922  elif test -n "$PKG_CONFIG"; then
11923     if test -n "$PKG_CONFIG" && \
11924     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
11925   ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
11926   ac_status=$?
11927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11928   test $ac_status = 0; }; then
11929   pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "${requirement_emotion}" 2>/dev/null`
11930 else
11931   pkg_failed=yes
11932 fi
11933  else
11934     pkg_failed=untried
11935 fi
11936 if test -n "$EMOTION_LIBS"; then
11937     pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
11938  elif test -n "$PKG_CONFIG"; then
11939     if test -n "$PKG_CONFIG" && \
11940     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\${requirement_emotion}\""; } >&5
11941   ($PKG_CONFIG --exists --print-errors "${requirement_emotion}") 2>&5
11942   ac_status=$?
11943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11944   test $ac_status = 0; }; then
11945   pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "${requirement_emotion}" 2>/dev/null`
11946 else
11947   pkg_failed=yes
11948 fi
11949  else
11950     pkg_failed=untried
11951 fi
11952
11953
11954
11955 if test $pkg_failed = yes; then
11956         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11957 $as_echo "no" >&6; }
11958
11959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11960         _pkg_short_errors_supported=yes
11961 else
11962         _pkg_short_errors_supported=no
11963 fi
11964         if test $_pkg_short_errors_supported = yes; then
11965                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "${requirement_emotion}" 2>&1`
11966         else
11967                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "${requirement_emotion}" 2>&1`
11968         fi
11969         # Put the nasty error message in config.log where it belongs
11970         echo "$EMOTION_PKG_ERRORS" >&5
11971
11972         as_fn_error $? "Package requirements (${requirement_emotion}) were not met:
11973
11974 $EMOTION_PKG_ERRORS
11975
11976 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11977 installed software in a non-standard prefix.
11978
11979 Alternatively, you may set the environment variables EMOTION_CFLAGS
11980 and EMOTION_LIBS to avoid the need to call pkg-config.
11981 See the pkg-config man page for more details." "$LINENO" 5
11982 elif test $pkg_failed = untried; then
11983         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11984 $as_echo "no" >&6; }
11985         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11987 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11988 is in your PATH or set the PKG_CONFIG environment variable to the full
11989 path to pkg-config.
11990
11991 Alternatively, you may set the environment variables EMOTION_CFLAGS
11992 and EMOTION_LIBS to avoid the need to call pkg-config.
11993 See the pkg-config man page for more details.
11994
11995 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11996 See \`config.log' for more details" "$LINENO" 5 ; }
11997 else
11998         EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
11999         EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
12000         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12001 $as_echo "yes" >&6; }
12002
12003 fi
12004
12005
12006 if test "x${have_emotion_test}" = "xyes" ; then
12007
12008 pkg_failed=no
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION_BIN" >&5
12010 $as_echo_n "checking for EMOTION_BIN... " >&6; }
12011
12012 if test -n "$EMOTION_BIN_CFLAGS"; then
12013     pkg_cv_EMOTION_BIN_CFLAGS="$EMOTION_BIN_CFLAGS"
12014  elif test -n "$PKG_CONFIG"; then
12015     if test -n "$PKG_CONFIG" && \
12016     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99\""; } >&5
12017   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99") 2>&5
12018   ac_status=$?
12019   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12020   test $ac_status = 0; }; then
12021   pkg_cv_EMOTION_BIN_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>/dev/null`
12022 else
12023   pkg_failed=yes
12024 fi
12025  else
12026     pkg_failed=untried
12027 fi
12028 if test -n "$EMOTION_BIN_LIBS"; then
12029     pkg_cv_EMOTION_BIN_LIBS="$EMOTION_BIN_LIBS"
12030  elif test -n "$PKG_CONFIG"; then
12031     if test -n "$PKG_CONFIG" && \
12032     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99\""; } >&5
12033   ($PKG_CONFIG --exists --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99") 2>&5
12034   ac_status=$?
12035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12036   test $ac_status = 0; }; then
12037   pkg_cv_EMOTION_BIN_LIBS=`$PKG_CONFIG --libs "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>/dev/null`
12038 else
12039   pkg_failed=yes
12040 fi
12041  else
12042     pkg_failed=untried
12043 fi
12044
12045
12046
12047 if test $pkg_failed = yes; then
12048         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049 $as_echo "no" >&6; }
12050
12051 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12052         _pkg_short_errors_supported=yes
12053 else
12054         _pkg_short_errors_supported=no
12055 fi
12056         if test $_pkg_short_errors_supported = yes; then
12057                 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12058         else
12059                 EMOTION_BIN_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99" 2>&1`
12060         fi
12061         # Put the nasty error message in config.log where it belongs
12062         echo "$EMOTION_BIN_PKG_ERRORS" >&5
12063
12064         as_fn_error $? "Package requirements (eina >= 1.6.99 evas >= 1.6.99 ecore >= 1.6.99 ecore-evas >= 1.6.99 edje >= 1.6.99) were not met:
12065
12066 $EMOTION_BIN_PKG_ERRORS
12067
12068 Consider adjusting the PKG_CONFIG_PATH environment variable if you
12069 installed software in a non-standard prefix.
12070
12071 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
12072 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
12073 See the pkg-config man page for more details." "$LINENO" 5
12074 elif test $pkg_failed = untried; then
12075         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12076 $as_echo "no" >&6; }
12077         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12079 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12080 is in your PATH or set the PKG_CONFIG environment variable to the full
12081 path to pkg-config.
12082
12083 Alternatively, you may set the environment variables EMOTION_BIN_CFLAGS
12084 and EMOTION_BIN_LIBS to avoid the need to call pkg-config.
12085 See the pkg-config man page for more details.
12086
12087 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12088 See \`config.log' for more details" "$LINENO" 5 ; }
12089 else
12090         EMOTION_BIN_CFLAGS=$pkg_cv_EMOTION_BIN_CFLAGS
12091         EMOTION_BIN_LIBS=$pkg_cv_EMOTION_BIN_LIBS
12092         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12093 $as_echo "yes" >&6; }
12094
12095 fi
12096 fi
12097
12098
12099 pkg_failed=no
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
12101 $as_echo_n "checking for ECORE_X... " >&6; }
12102
12103 if test -n "$ECORE_X_CFLAGS"; then
12104     pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
12105  elif test -n "$PKG_CONFIG"; then
12106     if test -n "$PKG_CONFIG" && \
12107     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
12108   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
12109   ac_status=$?
12110   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12111   test $ac_status = 0; }; then
12112   pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
12113 else
12114   pkg_failed=yes
12115 fi
12116  else
12117     pkg_failed=untried
12118 fi
12119 if test -n "$ECORE_X_LIBS"; then
12120     pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
12121  elif test -n "$PKG_CONFIG"; then
12122     if test -n "$PKG_CONFIG" && \
12123     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99 ecore-evas >= 1.6.99\""; } >&5
12124   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99") 2>&5
12125   ac_status=$?
12126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12127   test $ac_status = 0; }; then
12128   pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>/dev/null`
12129 else
12130   pkg_failed=yes
12131 fi
12132  else
12133     pkg_failed=untried
12134 fi
12135
12136
12137
12138 if test $pkg_failed = yes; then
12139         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12140 $as_echo "no" >&6; }
12141
12142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12143         _pkg_short_errors_supported=yes
12144 else
12145         _pkg_short_errors_supported=no
12146 fi
12147         if test $_pkg_short_errors_supported = yes; then
12148                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
12149         else
12150                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.6.99 ecore-evas >= 1.6.99" 2>&1`
12151         fi
12152         # Put the nasty error message in config.log where it belongs
12153         echo "$ECORE_X_PKG_ERRORS" >&5
12154
12155         have_ecore_x="no"
12156 elif test $pkg_failed = untried; then
12157         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12159         have_ecore_x="no"
12160 else
12161         ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
12162         ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
12163         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12164 $as_echo "yes" >&6; }
12165         have_ecore_x="yes"
12166 fi
12167
12168
12169 pkg_failed=no
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_FB" >&5
12171 $as_echo_n "checking for ECORE_FB... " >&6; }
12172
12173 if test -n "$ECORE_FB_CFLAGS"; then
12174     pkg_cv_ECORE_FB_CFLAGS="$ECORE_FB_CFLAGS"
12175  elif test -n "$PKG_CONFIG"; then
12176     if test -n "$PKG_CONFIG" && \
12177     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
12178   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
12179   ac_status=$?
12180   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12181   test $ac_status = 0; }; then
12182   pkg_cv_ECORE_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.6.99" 2>/dev/null`
12183 else
12184   pkg_failed=yes
12185 fi
12186  else
12187     pkg_failed=untried
12188 fi
12189 if test -n "$ECORE_FB_LIBS"; then
12190     pkg_cv_ECORE_FB_LIBS="$ECORE_FB_LIBS"
12191  elif test -n "$PKG_CONFIG"; then
12192     if test -n "$PKG_CONFIG" && \
12193     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.6.99\""; } >&5
12194   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.6.99") 2>&5
12195   ac_status=$?
12196   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197   test $ac_status = 0; }; then
12198   pkg_cv_ECORE_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.6.99" 2>/dev/null`
12199 else
12200   pkg_failed=yes
12201 fi
12202  else
12203     pkg_failed=untried
12204 fi
12205
12206
12207
12208 if test $pkg_failed = yes; then
12209         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12211
12212 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12213         _pkg_short_errors_supported=yes
12214 else
12215         _pkg_short_errors_supported=no
12216 fi
12217         if test $_pkg_short_errors_supported = yes; then
12218                 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-fb >= 1.6.99" 2>&1`
12219         else
12220                 ECORE_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-fb >= 1.6.99" 2>&1`
12221         fi
12222         # Put the nasty error message in config.log where it belongs
12223         echo "$ECORE_FB_PKG_ERRORS" >&5
12224
12225         have_ecore_fb="no"
12226 elif test $pkg_failed = untried; then
12227         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12228 $as_echo "no" >&6; }
12229         have_ecore_fb="no"
12230 else
12231         ECORE_FB_CFLAGS=$pkg_cv_ECORE_FB_CFLAGS
12232         ECORE_FB_LIBS=$pkg_cv_ECORE_FB_LIBS
12233         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12234 $as_echo "yes" >&6; }
12235         have_ecore_fb="yes"
12236 fi
12237
12238 if test "x${have_ecore_x}" = "xyes" ; then
12239
12240 $as_echo "#define EMOTION_HAVE_ECORE_X 1" >>confdefs.h
12241
12242 fi
12243
12244 if test "x${have_ecore_fb}" = "xyes" ; then
12245
12246 $as_echo "#define EMOTION_HAVE_ECORE_FB 1" >>confdefs.h
12247
12248 fi
12249
12250 if test -n "$PKG_CONFIG" && \
12251     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11 >= 1.6.99\""; } >&5
12252   ($PKG_CONFIG --exists --print-errors "evas-software-x11 >= 1.6.99") 2>&5
12253   ac_status=$?
12254   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12255   test $ac_status = 0; }; then
12256
12257 $as_echo "#define HAVE_EVAS_SOFWARE_X11 1" >>confdefs.h
12258
12259 fi
12260
12261 if test -n "$PKG_CONFIG" && \
12262     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-xrender-x11 >= 1.6.99\""; } >&5
12263   ($PKG_CONFIG --exists --print-errors "evas-xrender-x11 >= 1.6.99") 2>&5
12264   ac_status=$?
12265   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12266   test $ac_status = 0; }; then
12267
12268 $as_echo "#define HAVE_EVAS_XRENDER_X11 1" >>confdefs.h
12269
12270 fi
12271
12272 if test -n "$PKG_CONFIG" && \
12273     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11 >= 1.6.99\""; } >&5
12274   ($PKG_CONFIG --exists --print-errors "evas-opengl-x11 >= 1.6.99") 2>&5
12275   ac_status=$?
12276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12277   test $ac_status = 0; }; then
12278
12279 $as_echo "#define HAVE_EVAS_OPENGL_X11 1" >>confdefs.h
12280
12281 fi
12282
12283 if test -n "$PKG_CONFIG" && \
12284     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb >= 1.6.99\""; } >&5
12285   ($PKG_CONFIG --exists --print-errors "evas-fb >= 1.6.99") 2>&5
12286   ac_status=$?
12287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12288   test $ac_status = 0; }; then
12289
12290 $as_echo "#define HAVE_EVAS_FB 1" >>confdefs.h
12291
12292 fi
12293
12294
12295
12296 # Check whether --enable-edje-external was given.
12297 if test "${enable_edje_external+set}" = set; then :
12298   enableval=$enable_edje_external;
12299     if test "x${enableval}" = "xyes" ; then
12300        _efl_want_edje_external="yes"
12301     else
12302        _efl_want_edje_external="no"
12303     fi
12304
12305 else
12306   _efl_want_edje_external="auto"
12307 fi
12308
12309
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if should provide Edje EXTERNAL support..." >&5
12311 $as_echo_n "checking if should provide Edje EXTERNAL support...... " >&6; }
12312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_want_edje_external}" >&5
12313 $as_echo "${_efl_want_edje_external}" >&6; }
12314
12315 _efl_enable_edje_external="no"
12316 if ! test "x${_efl_want_edje_external}" = "xno" ; then
12317
12318 pkg_failed=no
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE_EXTERNAL" >&5
12320 $as_echo_n "checking for EDJE_EXTERNAL... " >&6; }
12321
12322 if test -n "$EDJE_EXTERNAL_CFLAGS"; then
12323     pkg_cv_EDJE_EXTERNAL_CFLAGS="$EDJE_EXTERNAL_CFLAGS"
12324  elif test -n "$PKG_CONFIG"; then
12325     if test -n "$PKG_CONFIG" && \
12326     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
12327   ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
12328   ac_status=$?
12329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12330   test $ac_status = 0; }; then
12331   pkg_cv_EDJE_EXTERNAL_CFLAGS=`$PKG_CONFIG --cflags "edje >= 1.0.0" 2>/dev/null`
12332 else
12333   pkg_failed=yes
12334 fi
12335  else
12336     pkg_failed=untried
12337 fi
12338 if test -n "$EDJE_EXTERNAL_LIBS"; then
12339     pkg_cv_EDJE_EXTERNAL_LIBS="$EDJE_EXTERNAL_LIBS"
12340  elif test -n "$PKG_CONFIG"; then
12341     if test -n "$PKG_CONFIG" && \
12342     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje >= 1.0.0\""; } >&5
12343   ($PKG_CONFIG --exists --print-errors "edje >= 1.0.0") 2>&5
12344   ac_status=$?
12345   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12346   test $ac_status = 0; }; then
12347   pkg_cv_EDJE_EXTERNAL_LIBS=`$PKG_CONFIG --libs "edje >= 1.0.0" 2>/dev/null`
12348 else
12349   pkg_failed=yes
12350 fi
12351  else
12352     pkg_failed=untried
12353 fi
12354
12355
12356
12357 if test $pkg_failed = yes; then
12358         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12359 $as_echo "no" >&6; }
12360
12361 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12362         _pkg_short_errors_supported=yes
12363 else
12364         _pkg_short_errors_supported=no
12365 fi
12366         if test $_pkg_short_errors_supported = yes; then
12367                 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje >= 1.0.0" 2>&1`
12368         else
12369                 EDJE_EXTERNAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje >= 1.0.0" 2>&1`
12370         fi
12371         # Put the nasty error message in config.log where it belongs
12372         echo "$EDJE_EXTERNAL_PKG_ERRORS" >&5
12373
12374         _efl_enable_edje_external="no"
12375 elif test $pkg_failed = untried; then
12376         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12377 $as_echo "no" >&6; }
12378         _efl_enable_edje_external="no"
12379 else
12380         EDJE_EXTERNAL_CFLAGS=$pkg_cv_EDJE_EXTERNAL_CFLAGS
12381         EDJE_EXTERNAL_LIBS=$pkg_cv_EDJE_EXTERNAL_LIBS
12382         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12383 $as_echo "yes" >&6; }
12384         _efl_enable_edje_external="yes"
12385 fi
12386 fi
12387
12388
12389
12390
12391 if test "x${_efl_want_edje_external}" = "xyes" && test "x${_efl_enable_edje_external}" = "xno" ; then
12392    as_fn_error $? "Edje EXTERNAL support requested, but Edje not found by pkg-config." "$LINENO" 5
12393 fi
12394
12395 if test "x${_efl_enable_edje_external}" = "xyes" ; then
12396    EDJE_VERSION=`${PKG_CONFIG} edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
12397    MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
12398
12399 cat >>confdefs.h <<_ACEOF
12400 #define MODULE_EDJE "$MODULE_EDJE"
12401 _ACEOF
12402
12403 fi
12404
12405
12406
12407  if test "x${_efl_enable_edje_external}" = "xyes"; then
12408   ENABLE_EDJE_EXTERNAL_TRUE=
12409   ENABLE_EDJE_EXTERNAL_FALSE='#'
12410 else
12411   ENABLE_EDJE_EXTERNAL_TRUE='#'
12412   ENABLE_EDJE_EXTERNAL_FALSE=
12413 fi
12414
12415
12416 if test "x${_efl_enable_edje_external}" = "xyes"; then :
12417   have_edje_external="yes"
12418 else
12419   have_edje_external="no"
12420 fi
12421
12422
12423
12424
12425 pkg_failed=no
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EEZE" >&5
12427 $as_echo_n "checking for EEZE... " >&6; }
12428
12429 if test -n "$EEZE_CFLAGS"; then
12430     pkg_cv_EEZE_CFLAGS="$EEZE_CFLAGS"
12431  elif test -n "$PKG_CONFIG"; then
12432     if test -n "$PKG_CONFIG" && \
12433     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
12434   ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
12435   ac_status=$?
12436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12437   test $ac_status = 0; }; then
12438   pkg_cv_EEZE_CFLAGS=`$PKG_CONFIG --cflags "eeze >= 1.6.99" 2>/dev/null`
12439 else
12440   pkg_failed=yes
12441 fi
12442  else
12443     pkg_failed=untried
12444 fi
12445 if test -n "$EEZE_LIBS"; then
12446     pkg_cv_EEZE_LIBS="$EEZE_LIBS"
12447  elif test -n "$PKG_CONFIG"; then
12448     if test -n "$PKG_CONFIG" && \
12449     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eeze >= 1.6.99\""; } >&5
12450   ($PKG_CONFIG --exists --print-errors "eeze >= 1.6.99") 2>&5
12451   ac_status=$?
12452   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12453   test $ac_status = 0; }; then
12454   pkg_cv_EEZE_LIBS=`$PKG_CONFIG --libs "eeze >= 1.6.99" 2>/dev/null`
12455 else
12456   pkg_failed=yes
12457 fi
12458  else
12459     pkg_failed=untried
12460 fi
12461
12462
12463
12464 if test $pkg_failed = yes; then
12465         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12466 $as_echo "no" >&6; }
12467
12468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12469         _pkg_short_errors_supported=yes
12470 else
12471         _pkg_short_errors_supported=no
12472 fi
12473         if test $_pkg_short_errors_supported = yes; then
12474                 EEZE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eeze >= 1.6.99" 2>&1`
12475         else
12476                 EEZE_PKG_ERRORS=`$PKG_CONFIG --print-errors "eeze >= 1.6.99" 2>&1`
12477         fi
12478         # Put the nasty error message in config.log where it belongs
12479         echo "$EEZE_PKG_ERRORS" >&5
12480
12481         have_eeze="no"
12482 elif test $pkg_failed = untried; then
12483         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484 $as_echo "no" >&6; }
12485         have_eeze="no"
12486 else
12487         EEZE_CFLAGS=$pkg_cv_EEZE_CFLAGS
12488         EEZE_LIBS=$pkg_cv_EEZE_LIBS
12489         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12490 $as_echo "yes" >&6; }
12491         have_eeze="yes"
12492 fi
12493
12494 if test "x${have_eeze}" = "xyes"; then
12495
12496 $as_echo "#define EMOTION_HAVE_EEZE 1" >>confdefs.h
12497
12498    requirement_emotion="${requirement_emotion} eeze >= 1.6.99"
12499 fi
12500
12501
12502 pkg_failed=no
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
12504 $as_echo_n "checking for EIO... " >&6; }
12505
12506 if test -n "$EIO_CFLAGS"; then
12507     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
12508  elif test -n "$PKG_CONFIG"; then
12509     if test -n "$PKG_CONFIG" && \
12510     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
12511   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
12512   ac_status=$?
12513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12514   test $ac_status = 0; }; then
12515   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio >= 1.6.99" 2>/dev/null`
12516 else
12517   pkg_failed=yes
12518 fi
12519  else
12520     pkg_failed=untried
12521 fi
12522 if test -n "$EIO_LIBS"; then
12523     pkg_cv_EIO_LIBS="$EIO_LIBS"
12524  elif test -n "$PKG_CONFIG"; then
12525     if test -n "$PKG_CONFIG" && \
12526     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio >= 1.6.99\""; } >&5
12527   ($PKG_CONFIG --exists --print-errors "eio >= 1.6.99") 2>&5
12528   ac_status=$?
12529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12530   test $ac_status = 0; }; then
12531   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio >= 1.6.99" 2>/dev/null`
12532 else
12533   pkg_failed=yes
12534 fi
12535  else
12536     pkg_failed=untried
12537 fi
12538
12539
12540
12541 if test $pkg_failed = yes; then
12542         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12543 $as_echo "no" >&6; }
12544
12545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12546         _pkg_short_errors_supported=yes
12547 else
12548         _pkg_short_errors_supported=no
12549 fi
12550         if test $_pkg_short_errors_supported = yes; then
12551                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio >= 1.6.99" 2>&1`
12552         else
12553                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio >= 1.6.99" 2>&1`
12554         fi
12555         # Put the nasty error message in config.log where it belongs
12556         echo "$EIO_PKG_ERRORS" >&5
12557
12558         have_eio="no"
12559 elif test $pkg_failed = untried; then
12560         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12561 $as_echo "no" >&6; }
12562         have_eio="no"
12563 else
12564         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
12565         EIO_LIBS=$pkg_cv_EIO_LIBS
12566         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12567 $as_echo "yes" >&6; }
12568         have_eio="yes"
12569 fi
12570 if test "x${have_eio}" = "xyes"; then
12571
12572 $as_echo "#define HAVE_EIO 1" >>confdefs.h
12573
12574    requirement_emotion="eio >= 1.6.99 ${requirement_emotion}"
12575 fi
12576
12577  if test "x${have_eio}" = "xyes"; then
12578   HAVE_EIO_TRUE=
12579   HAVE_EIO_FALSE='#'
12580 else
12581   HAVE_EIO_TRUE='#'
12582   HAVE_EIO_FALSE=
12583 fi
12584
12585
12586 # ecore-x availability, used for XV, VAAPI, VDPAU output.
12587
12588 have_ecore_x="no"
12589 # Check whether --enable-ecore-x was given.
12590 if test "${enable_ecore_x+set}" = set; then :
12591   enableval=$enable_ecore_x;
12592     if test "x${enableval}" = "xyes" || test "x${enableval}" = "xauto" ; then
12593        want_ecore_x=${enableval}
12594     else
12595        want_ecore_x="no"
12596     fi
12597
12598 else
12599   want_ecore_x="auto"
12600 fi
12601
12602
12603 if ! test "x$want_ecore_x" = "xno" ; then
12604
12605 pkg_failed=no
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_X" >&5
12607 $as_echo_n "checking for ECORE_X... " >&6; }
12608
12609 if test -n "$ECORE_X_CFLAGS"; then
12610     pkg_cv_ECORE_X_CFLAGS="$ECORE_X_CFLAGS"
12611  elif test -n "$PKG_CONFIG"; then
12612     if test -n "$PKG_CONFIG" && \
12613     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
12614   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
12615   ac_status=$?
12616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12617   test $ac_status = 0; }; then
12618   pkg_cv_ECORE_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.6.99" 2>/dev/null`
12619 else
12620   pkg_failed=yes
12621 fi
12622  else
12623     pkg_failed=untried
12624 fi
12625 if test -n "$ECORE_X_LIBS"; then
12626     pkg_cv_ECORE_X_LIBS="$ECORE_X_LIBS"
12627  elif test -n "$PKG_CONFIG"; then
12628     if test -n "$PKG_CONFIG" && \
12629     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.6.99\""; } >&5
12630   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.6.99") 2>&5
12631   ac_status=$?
12632   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12633   test $ac_status = 0; }; then
12634   pkg_cv_ECORE_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.6.99" 2>/dev/null`
12635 else
12636   pkg_failed=yes
12637 fi
12638  else
12639     pkg_failed=untried
12640 fi
12641
12642
12643
12644 if test $pkg_failed = yes; then
12645         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12646 $as_echo "no" >&6; }
12647
12648 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12649         _pkg_short_errors_supported=yes
12650 else
12651         _pkg_short_errors_supported=no
12652 fi
12653         if test $_pkg_short_errors_supported = yes; then
12654                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.6.99" 2>&1`
12655         else
12656                 ECORE_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.6.99" 2>&1`
12657         fi
12658         # Put the nasty error message in config.log where it belongs
12659         echo "$ECORE_X_PKG_ERRORS" >&5
12660
12661         have_ecore_x="no"
12662
12663 elif test $pkg_failed = untried; then
12664         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12665 $as_echo "no" >&6; }
12666         have_ecore_x="no"
12667
12668 else
12669         ECORE_X_CFLAGS=$pkg_cv_ECORE_X_CFLAGS
12670         ECORE_X_LIBS=$pkg_cv_ECORE_X_LIBS
12671         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12672 $as_echo "yes" >&6; }
12673
12674
12675 $as_echo "#define HAVE_ECORE_X 1" >>confdefs.h
12676
12677        have_ecore_x="yes"
12678        requirement_elm="ecore-x >= 1.6.99 ${requirement_elm}"
12679
12680 fi
12681 else
12682     have_ecore_x="no"
12683 fi
12684
12685 if test "x$want_ecore_x" = "xyes" && test "x$have_ecore_x" = "xno" ; then
12686     as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
12687 fi
12688
12689 ### Checks for header files
12690
12691 for ac_header in unistd.h
12692 do :
12693   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
12694 if test "x$ac_cv_header_unistd_h" = x""yes; then :
12695   cat >>confdefs.h <<_ACEOF
12696 #define HAVE_UNISTD_H 1
12697 _ACEOF
12698
12699 fi
12700
12701 done
12702
12703
12704 # Check for video4linux
12705
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for V4L2" >&5
12707 $as_echo_n "checking for V4L2... " >&6; }
12708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h.  */
12710
12711 #include <stdio.h>
12712 #include <linux/videodev2.h>
12713
12714 int
12715 main ()
12716 {
12717
12718 fprintf(stdout, "%i\n", V4L2_CAP_VIDEO_CAPTURE);
12719
12720   ;
12721   return 0;
12722 }
12723 _ACEOF
12724 if ac_fn_c_try_compile "$LINENO"; then :
12725
12726
12727 $as_echo "#define HAVE_V4L2 1" >>confdefs.h
12728
12729     have_v4l2="yes"
12730
12731 else
12732   have_v4l2="no"
12733 fi
12734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_v4l2}" >&5
12736 $as_echo "${have_v4l2}" >&6; }
12737
12738 ### Checks for types
12739
12740
12741 ### Checks for structures
12742
12743
12744 ### Checks for compiler characteristics
12745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12746 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12747 if test "${ac_cv_c_bigendian+set}" = set; then :
12748   $as_echo_n "(cached) " >&6
12749 else
12750   ac_cv_c_bigendian=unknown
12751     # See if we're dealing with a universal compiler.
12752     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h.  */
12754 #ifndef __APPLE_CC__
12755                not a universal capable compiler
12756              #endif
12757              typedef int dummy;
12758
12759 _ACEOF
12760 if ac_fn_c_try_compile "$LINENO"; then :
12761
12762         # Check for potential -arch flags.  It is not universal unless
12763         # there are at least two -arch flags with different values.
12764         ac_arch=
12765         ac_prev=
12766         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12767          if test -n "$ac_prev"; then
12768            case $ac_word in
12769              i?86 | x86_64 | ppc | ppc64)
12770                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12771                  ac_arch=$ac_word
12772                else
12773                  ac_cv_c_bigendian=universal
12774                  break
12775                fi
12776                ;;
12777            esac
12778            ac_prev=
12779          elif test "x$ac_word" = "x-arch"; then
12780            ac_prev=arch
12781          fi
12782        done
12783 fi
12784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12785     if test $ac_cv_c_bigendian = unknown; then
12786       # See if sys/param.h defines the BYTE_ORDER macro.
12787       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h.  */
12789 #include <sys/types.h>
12790              #include <sys/param.h>
12791
12792 int
12793 main ()
12794 {
12795 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12796                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12797                      && LITTLE_ENDIAN)
12798               bogus endian macros
12799              #endif
12800
12801   ;
12802   return 0;
12803 }
12804 _ACEOF
12805 if ac_fn_c_try_compile "$LINENO"; then :
12806   # It does; now see whether it defined to BIG_ENDIAN or not.
12807          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h.  */
12809 #include <sys/types.h>
12810                 #include <sys/param.h>
12811
12812 int
12813 main ()
12814 {
12815 #if BYTE_ORDER != BIG_ENDIAN
12816                  not big endian
12817                 #endif
12818
12819   ;
12820   return 0;
12821 }
12822 _ACEOF
12823 if ac_fn_c_try_compile "$LINENO"; then :
12824   ac_cv_c_bigendian=yes
12825 else
12826   ac_cv_c_bigendian=no
12827 fi
12828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12829 fi
12830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12831     fi
12832     if test $ac_cv_c_bigendian = unknown; then
12833       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12834       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h.  */
12836 #include <limits.h>
12837
12838 int
12839 main ()
12840 {
12841 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12842               bogus endian macros
12843              #endif
12844
12845   ;
12846   return 0;
12847 }
12848 _ACEOF
12849 if ac_fn_c_try_compile "$LINENO"; then :
12850   # It does; now see whether it defined to _BIG_ENDIAN or not.
12851          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12852 /* end confdefs.h.  */
12853 #include <limits.h>
12854
12855 int
12856 main ()
12857 {
12858 #ifndef _BIG_ENDIAN
12859                  not big endian
12860                 #endif
12861
12862   ;
12863   return 0;
12864 }
12865 _ACEOF
12866 if ac_fn_c_try_compile "$LINENO"; then :
12867   ac_cv_c_bigendian=yes
12868 else
12869   ac_cv_c_bigendian=no
12870 fi
12871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12872 fi
12873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12874     fi
12875     if test $ac_cv_c_bigendian = unknown; then
12876       # Compile a test program.
12877       if test "$cross_compiling" = yes; then :
12878   # Try to guess by grepping values from an object file.
12879          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12880 /* end confdefs.h.  */
12881 short int ascii_mm[] =
12882                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12883                 short int ascii_ii[] =
12884                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12885                 int use_ascii (int i) {
12886                   return ascii_mm[i] + ascii_ii[i];
12887                 }
12888                 short int ebcdic_ii[] =
12889                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12890                 short int ebcdic_mm[] =
12891                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12892                 int use_ebcdic (int i) {
12893                   return ebcdic_mm[i] + ebcdic_ii[i];
12894                 }
12895                 extern int foo;
12896
12897 int
12898 main ()
12899 {
12900 return use_ascii (foo) == use_ebcdic (foo);
12901   ;
12902   return 0;
12903 }
12904 _ACEOF
12905 if ac_fn_c_try_compile "$LINENO"; then :
12906   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12907               ac_cv_c_bigendian=yes
12908             fi
12909             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12910               if test "$ac_cv_c_bigendian" = unknown; then
12911                 ac_cv_c_bigendian=no
12912               else
12913                 # finding both strings is unlikely to happen, but who knows?
12914                 ac_cv_c_bigendian=unknown
12915               fi
12916             fi
12917 fi
12918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12919 else
12920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h.  */
12922 $ac_includes_default
12923 int
12924 main ()
12925 {
12926
12927              /* Are we little or big endian?  From Harbison&Steele.  */
12928              union
12929              {
12930                long int l;
12931                char c[sizeof (long int)];
12932              } u;
12933              u.l = 1;
12934              return u.c[sizeof (long int) - 1] == 1;
12935
12936   ;
12937   return 0;
12938 }
12939 _ACEOF
12940 if ac_fn_c_try_run "$LINENO"; then :
12941   ac_cv_c_bigendian=no
12942 else
12943   ac_cv_c_bigendian=yes
12944 fi
12945 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12946   conftest.$ac_objext conftest.beam conftest.$ac_ext
12947 fi
12948
12949     fi
12950 fi
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12952 $as_echo "$ac_cv_c_bigendian" >&6; }
12953  case $ac_cv_c_bigendian in #(
12954    yes)
12955      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12956 ;; #(
12957    no)
12958       ;; #(
12959    universal)
12960
12961 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12962
12963      ;; #(
12964    *)
12965      as_fn_error $? "unknown endianness
12966  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
12967  esac
12968
12969
12970
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
12972 $as_echo_n "checking for __attribute__... " >&6; }
12973
12974 if test "${ac_cv___attribute__+set}" = set; then :
12975   $as_echo_n "(cached) " >&6
12976 else
12977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12978 /* end confdefs.h.  */
12979
12980 #include <stdlib.h>
12981
12982 int func(int x);
12983 int foo(int x __attribute__ ((unused)))
12984 {
12985    exit(1);
12986 }
12987
12988 int
12989 main ()
12990 {
12991
12992   ;
12993   return 0;
12994 }
12995 _ACEOF
12996 if ac_fn_c_try_compile "$LINENO"; then :
12997   ac_cv___attribute__="yes"
12998 else
12999   ac_cv___attribute__="no"
13000
13001 fi
13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13003
13004 fi
13005
13006
13007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
13008 $as_echo "$ac_cv___attribute__" >&6; }
13009
13010 if test "x${ac_cv___attribute__}" = "xyes" ; then
13011
13012 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
13013
13014
13015 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
13016
13017   else
13018
13019 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
13020
13021 fi
13022
13023
13024
13025 EFL_EMOTION_BUILD=""
13026 case "$host_os" in
13027    mingw32ce*)
13028       EMOTION_CPPFLAGS="-D_WIN32_WCE=0x0420"
13029       EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13030       ;;
13031    mingw*)
13032       EMOTION_CPPFLAGS="-D_WIN32_WINNT=0x0501"
13033       EFL_EMOTION_BUILD="-DEFL_EMOTION_BUILD"
13034       ;;
13035 esac
13036
13037
13038
13039
13040 ### Checks for linker characteristics
13041
13042 # use --enable-auto-import on Windows
13043
13044 lt_enable_auto_import=""
13045 case "$host_os" in
13046    mingw*)
13047       lt_enable_auto_import="-Wl,--enable-auto-import"
13048       ;;
13049 esac
13050
13051
13052
13053 ### Checks for library functions
13054 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
13055 # for constant arguments.  Useless!
13056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
13057 $as_echo_n "checking for working alloca.h... " >&6; }
13058 if test "${ac_cv_working_alloca_h+set}" = set; then :
13059   $as_echo_n "(cached) " >&6
13060 else
13061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13062 /* end confdefs.h.  */
13063 #include <alloca.h>
13064 int
13065 main ()
13066 {
13067 char *p = (char *) alloca (2 * sizeof (int));
13068                           if (p) return 0;
13069   ;
13070   return 0;
13071 }
13072 _ACEOF
13073 if ac_fn_c_try_link "$LINENO"; then :
13074   ac_cv_working_alloca_h=yes
13075 else
13076   ac_cv_working_alloca_h=no
13077 fi
13078 rm -f core conftest.err conftest.$ac_objext \
13079     conftest$ac_exeext conftest.$ac_ext
13080 fi
13081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
13082 $as_echo "$ac_cv_working_alloca_h" >&6; }
13083 if test $ac_cv_working_alloca_h = yes; then
13084
13085 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
13086
13087 fi
13088
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
13090 $as_echo_n "checking for alloca... " >&6; }
13091 if test "${ac_cv_func_alloca_works+set}" = set; then :
13092   $as_echo_n "(cached) " >&6
13093 else
13094   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13095 /* end confdefs.h.  */
13096 #ifdef __GNUC__
13097 # define alloca __builtin_alloca
13098 #else
13099 # ifdef _MSC_VER
13100 #  include <malloc.h>
13101 #  define alloca _alloca
13102 # else
13103 #  ifdef HAVE_ALLOCA_H
13104 #   include <alloca.h>
13105 #  else
13106 #   ifdef _AIX
13107  #pragma alloca
13108 #   else
13109 #    ifndef alloca /* predefined by HP cc +Olibcalls */
13110 char *alloca ();
13111 #    endif
13112 #   endif
13113 #  endif
13114 # endif
13115 #endif
13116
13117 int
13118 main ()
13119 {
13120 char *p = (char *) alloca (1);
13121                                     if (p) return 0;
13122   ;
13123   return 0;
13124 }
13125 _ACEOF
13126 if ac_fn_c_try_link "$LINENO"; then :
13127   ac_cv_func_alloca_works=yes
13128 else
13129   ac_cv_func_alloca_works=no
13130 fi
13131 rm -f core conftest.err conftest.$ac_objext \
13132     conftest$ac_exeext conftest.$ac_ext
13133 fi
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
13135 $as_echo "$ac_cv_func_alloca_works" >&6; }
13136
13137 if test $ac_cv_func_alloca_works = yes; then
13138
13139 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
13140
13141 else
13142   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
13143 # that cause trouble.  Some versions do not even contain alloca or
13144 # contain a buggy version.  If you still want to use their alloca,
13145 # use ar to extract alloca.o from them instead of compiling alloca.c.
13146
13147 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
13148
13149 $as_echo "#define C_ALLOCA 1" >>confdefs.h
13150
13151
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
13153 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
13154 if test "${ac_cv_os_cray+set}" = set; then :
13155   $as_echo_n "(cached) " >&6
13156 else
13157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158 /* end confdefs.h.  */
13159 #if defined CRAY && ! defined CRAY2
13160 webecray
13161 #else
13162 wenotbecray
13163 #endif
13164
13165 _ACEOF
13166 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13167   $EGREP "webecray" >/dev/null 2>&1; then :
13168   ac_cv_os_cray=yes
13169 else
13170   ac_cv_os_cray=no
13171 fi
13172 rm -f conftest*
13173
13174 fi
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
13176 $as_echo "$ac_cv_os_cray" >&6; }
13177 if test $ac_cv_os_cray = yes; then
13178   for ac_func in _getb67 GETB67 getb67; do
13179     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
13181 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
13182
13183 cat >>confdefs.h <<_ACEOF
13184 #define CRAY_STACKSEG_END $ac_func
13185 _ACEOF
13186
13187     break
13188 fi
13189
13190   done
13191 fi
13192
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
13194 $as_echo_n "checking stack direction for C alloca... " >&6; }
13195 if test "${ac_cv_c_stack_direction+set}" = set; then :
13196   $as_echo_n "(cached) " >&6
13197 else
13198   if test "$cross_compiling" = yes; then :
13199   ac_cv_c_stack_direction=0
13200 else
13201   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h.  */
13203 $ac_includes_default
13204 int
13205 find_stack_direction ()
13206 {
13207   static char *addr = 0;
13208   auto char dummy;
13209   if (addr == 0)
13210     {
13211       addr = &dummy;
13212       return find_stack_direction ();
13213     }
13214   else
13215     return (&dummy > addr) ? 1 : -1;
13216 }
13217
13218 int
13219 main ()
13220 {
13221   return find_stack_direction () < 0;
13222 }
13223 _ACEOF
13224 if ac_fn_c_try_run "$LINENO"; then :
13225   ac_cv_c_stack_direction=1
13226 else
13227   ac_cv_c_stack_direction=-1
13228 fi
13229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13230   conftest.$ac_objext conftest.beam conftest.$ac_ext
13231 fi
13232
13233 fi
13234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
13235 $as_echo "$ac_cv_c_stack_direction" >&6; }
13236 cat >>confdefs.h <<_ACEOF
13237 #define STACK_DIRECTION $ac_cv_c_stack_direction
13238 _ACEOF
13239
13240
13241 fi
13242
13243
13244
13245 ### Modules
13246
13247
13248
13249 want_module="${want_xine}"
13250
13251 # Check whether --enable-xine was given.
13252 if test "${enable_xine+set}" = set; then :
13253   enableval=$enable_xine;
13254     if test "x${enableval}" = "xyes" ; then
13255        enable_module="yes"
13256     else
13257        if test "x${enableval}" = "xstatic" ; then
13258           enable_module="static"
13259        else
13260           enable_module="no"
13261        fi
13262     fi
13263
13264 else
13265   enable_module="yes"
13266 fi
13267
13268
13269 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
13270    want_module="yes"
13271 fi
13272
13273 have_module="no"
13274 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
13275
13276
13277 requirement=""
13278
13279
13280 pkg_failed=no
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XINE" >&5
13282 $as_echo_n "checking for XINE... " >&6; }
13283
13284 if test -n "$XINE_CFLAGS"; then
13285     pkg_cv_XINE_CFLAGS="$XINE_CFLAGS"
13286  elif test -n "$PKG_CONFIG"; then
13287     if test -n "$PKG_CONFIG" && \
13288     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
13289   ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
13290   ac_status=$?
13291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13292   test $ac_status = 0; }; then
13293   pkg_cv_XINE_CFLAGS=`$PKG_CONFIG --cflags "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
13294 else
13295   pkg_failed=yes
13296 fi
13297  else
13298     pkg_failed=untried
13299 fi
13300 if test -n "$XINE_LIBS"; then
13301     pkg_cv_XINE_LIBS="$XINE_LIBS"
13302  elif test -n "$PKG_CONFIG"; then
13303     if test -n "$PKG_CONFIG" && \
13304     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxine >= 1.1.1 evas >= 1.0.0\""; } >&5
13305   ($PKG_CONFIG --exists --print-errors "libxine >= 1.1.1 evas >= 1.0.0") 2>&5
13306   ac_status=$?
13307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13308   test $ac_status = 0; }; then
13309   pkg_cv_XINE_LIBS=`$PKG_CONFIG --libs "libxine >= 1.1.1 evas >= 1.0.0" 2>/dev/null`
13310 else
13311   pkg_failed=yes
13312 fi
13313  else
13314     pkg_failed=untried
13315 fi
13316
13317
13318
13319 if test $pkg_failed = yes; then
13320         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13321 $as_echo "no" >&6; }
13322
13323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13324         _pkg_short_errors_supported=yes
13325 else
13326         _pkg_short_errors_supported=no
13327 fi
13328         if test $_pkg_short_errors_supported = yes; then
13329                 XINE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
13330         else
13331                 XINE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxine >= 1.1.1 evas >= 1.0.0" 2>&1`
13332         fi
13333         # Put the nasty error message in config.log where it belongs
13334         echo "$XINE_PKG_ERRORS" >&5
13335
13336         have_dep="no"
13337 elif test $pkg_failed = untried; then
13338         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339 $as_echo "no" >&6; }
13340         have_dep="no"
13341 else
13342         XINE_CFLAGS=$pkg_cv_XINE_CFLAGS
13343         XINE_LIBS=$pkg_cv_XINE_LIBS
13344         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13345 $as_echo "yes" >&6; }
13346
13347     have_dep="yes"
13348     requirement="libxine"
13349
13350 fi
13351
13352 if test "x${enable_module}" = "xstatic" ; then
13353    requirement_emotion="${requirement} ${requirement_emotion}"
13354 fi
13355
13356 if test "x$have_dep" = "xyes"; then :
13357   have_module="yes"
13358 else
13359   have_module="no"
13360 fi
13361
13362
13363 fi
13364
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Xine module built" >&5
13366 $as_echo_n "checking whether to enable Xine module built... " >&6; }
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13368 $as_echo "${have_module}" >&6; }
13369
13370 static_module="no"
13371 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
13372    static_module="yes"
13373 fi
13374
13375  if test "x${have_module}" = "xyes"; then
13376   EMOTION_BUILD_XINE_TRUE=
13377   EMOTION_BUILD_XINE_FALSE='#'
13378 else
13379   EMOTION_BUILD_XINE_TRUE='#'
13380   EMOTION_BUILD_XINE_FALSE=
13381 fi
13382
13383  if test "x${static_module}" = "xyes"; then
13384   EMOTION_STATIC_BUILD_XINE_TRUE=
13385   EMOTION_STATIC_BUILD_XINE_FALSE='#'
13386 else
13387   EMOTION_STATIC_BUILD_XINE_TRUE='#'
13388   EMOTION_STATIC_BUILD_XINE_FALSE=
13389 fi
13390
13391
13392 if test "x${static_module}" = "xyes" ; then
13393
13394 $as_echo "#define EMOTION_STATIC_BUILD_XINE 1" >>confdefs.h
13395
13396    have_static_module="yes"
13397 fi
13398
13399 enable_xine="no"
13400 if test "x${have_module}" = "xyes" ; then
13401    enable_xine=${enable_module}
13402
13403 $as_echo "#define EMOTION_BUILD_XINE 1" >>confdefs.h
13404
13405 fi
13406
13407 if test "x$have_module" = "xyes"; then :
13408
13409 fi
13410
13411
13412
13413
13414
13415
13416 want_module="${want_gstreamer}"
13417
13418 # Check whether --enable-gstreamer was given.
13419 if test "${enable_gstreamer+set}" = set; then :
13420   enableval=$enable_gstreamer;
13421     if test "x${enableval}" = "xyes" ; then
13422        enable_module="yes"
13423     else
13424        if test "x${enableval}" = "xstatic" ; then
13425           enable_module="static"
13426        else
13427           enable_module="no"
13428        fi
13429     fi
13430
13431 else
13432   enable_module="yes"
13433 fi
13434
13435
13436 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
13437    want_module="yes"
13438 fi
13439
13440 have_module="no"
13441 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
13442
13443
13444 GST_REQS=0.10.2
13445 GSTPLUG_REQS=0.10.1
13446 GST_MAJORMINOR=0.10
13447
13448 requirement=""
13449
13450 pkg_failed=no
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
13452 $as_echo_n "checking for GSTREAMER... " >&6; }
13453
13454 if test -n "$GSTREAMER_CFLAGS"; then
13455     pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
13456  elif test -n "$PKG_CONFIG"; then
13457     if test -n "$PKG_CONFIG" && \
13458     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQS gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPLUG_REQS gstreamer-video-\$GST_MAJORMINOR >= \$GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99\""; } >&5
13459   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99") 2>&5
13460   ac_status=$?
13461   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13462   test $ac_status = 0; }; then
13463   pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>/dev/null`
13464 else
13465   pkg_failed=yes
13466 fi
13467  else
13468     pkg_failed=untried
13469 fi
13470 if test -n "$GSTREAMER_LIBS"; then
13471     pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
13472  elif test -n "$PKG_CONFIG"; then
13473     if test -n "$PKG_CONFIG" && \
13474     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_MAJORMINOR >= \$GST_REQS gstreamer-plugins-base-\$GST_MAJORMINOR >= \$GSTPLUG_REQS gstreamer-video-\$GST_MAJORMINOR >= \$GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99\""; } >&5
13475   ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99") 2>&5
13476   ac_status=$?
13477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13478   test $ac_status = 0; }; then
13479   pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>/dev/null`
13480 else
13481   pkg_failed=yes
13482 fi
13483  else
13484     pkg_failed=untried
13485 fi
13486
13487
13488
13489 if test $pkg_failed = yes; then
13490         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13491 $as_echo "no" >&6; }
13492
13493 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13494         _pkg_short_errors_supported=yes
13495 else
13496         _pkg_short_errors_supported=no
13497 fi
13498         if test $_pkg_short_errors_supported = yes; then
13499                 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>&1`
13500         else
13501                 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-$GST_MAJORMINOR >= $GST_REQS gstreamer-plugins-base-$GST_MAJORMINOR >= $GSTPLUG_REQS gstreamer-video-$GST_MAJORMINOR >= $GSTPLUG_REQS evas >= 1.0.0 eina >= 1.1.99" 2>&1`
13502         fi
13503         # Put the nasty error message in config.log where it belongs
13504         echo "$GSTREAMER_PKG_ERRORS" >&5
13505
13506         have_dep="no"
13507 elif test $pkg_failed = untried; then
13508         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13509 $as_echo "no" >&6; }
13510         have_dep="no"
13511 else
13512         GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
13513         GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
13514         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13515 $as_echo "yes" >&6; }
13516
13517     have_dep="yes"
13518     requirement="gstreamer-$GST_MAJORMINOR gstreamer-plugins-base-$GST_MAJORMINOR"
13519
13520 fi
13521
13522 if test "x${enable_module}" = "xstatic" ; then
13523    requirement_emotion="${requirement} ${requirement_emotion}"
13524 fi
13525
13526 if test "x$have_dep" = "xyes"; then :
13527   have_module="yes"
13528 else
13529   have_module="no"
13530 fi
13531
13532
13533 fi
13534
13535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gstreamer module built" >&5
13536 $as_echo_n "checking whether to enable Gstreamer module built... " >&6; }
13537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13538 $as_echo "${have_module}" >&6; }
13539
13540 static_module="no"
13541 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
13542    static_module="yes"
13543 fi
13544
13545  if test "x${have_module}" = "xyes"; then
13546   EMOTION_BUILD_GSTREAMER_TRUE=
13547   EMOTION_BUILD_GSTREAMER_FALSE='#'
13548 else
13549   EMOTION_BUILD_GSTREAMER_TRUE='#'
13550   EMOTION_BUILD_GSTREAMER_FALSE=
13551 fi
13552
13553  if test "x${static_module}" = "xyes"; then
13554   EMOTION_STATIC_BUILD_GSTREAMER_TRUE=
13555   EMOTION_STATIC_BUILD_GSTREAMER_FALSE='#'
13556 else
13557   EMOTION_STATIC_BUILD_GSTREAMER_TRUE='#'
13558   EMOTION_STATIC_BUILD_GSTREAMER_FALSE=
13559 fi
13560
13561
13562 if test "x${static_module}" = "xyes" ; then
13563
13564 $as_echo "#define EMOTION_STATIC_BUILD_GSTREAMER 1" >>confdefs.h
13565
13566    have_static_module="yes"
13567 fi
13568
13569 enable_gstreamer="no"
13570 if test "x${have_module}" = "xyes" ; then
13571    enable_gstreamer=${enable_module}
13572
13573 $as_echo "#define EMOTION_BUILD_GSTREAMER 1" >>confdefs.h
13574
13575 fi
13576
13577 if test "x$have_module" = "xyes"; then :
13578
13579 fi
13580
13581
13582
13583
13584
13585
13586 want_module="${want_generic}"
13587
13588 # Check whether --enable-generic was given.
13589 if test "${enable_generic+set}" = set; then :
13590   enableval=$enable_generic;
13591     if test "x${enableval}" = "xyes" ; then
13592        enable_module="yes"
13593     else
13594        if test "x${enableval}" = "xstatic" ; then
13595           enable_module="static"
13596        else
13597           enable_module="no"
13598        fi
13599     fi
13600
13601 else
13602   enable_module="yes"
13603 fi
13604
13605
13606 if test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic" ; then
13607    want_module="yes"
13608 fi
13609
13610 have_module="no"
13611 if test "x${want_module}" = "xyes" && (test "x${enable_module}" = "xyes" || test "x${enable_module}" = "xstatic") ; then
13612
13613
13614 requirement=""
13615
13616
13617 pkg_failed=no
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC" >&5
13619 $as_echo_n "checking for GENERIC... " >&6; }
13620
13621 if test -n "$GENERIC_CFLAGS"; then
13622     pkg_cv_GENERIC_CFLAGS="$GENERIC_CFLAGS"
13623  elif test -n "$PKG_CONFIG"; then
13624     if test -n "$PKG_CONFIG" && \
13625     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
13626   ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
13627   ac_status=$?
13628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13629   test $ac_status = 0; }; then
13630   pkg_cv_GENERIC_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.0.0" 2>/dev/null`
13631 else
13632   pkg_failed=yes
13633 fi
13634  else
13635     pkg_failed=untried
13636 fi
13637 if test -n "$GENERIC_LIBS"; then
13638     pkg_cv_GENERIC_LIBS="$GENERIC_LIBS"
13639  elif test -n "$PKG_CONFIG"; then
13640     if test -n "$PKG_CONFIG" && \
13641     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.0.0\""; } >&5
13642   ($PKG_CONFIG --exists --print-errors "evas >= 1.0.0") 2>&5
13643   ac_status=$?
13644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13645   test $ac_status = 0; }; then
13646   pkg_cv_GENERIC_LIBS=`$PKG_CONFIG --libs "evas >= 1.0.0" 2>/dev/null`
13647 else
13648   pkg_failed=yes
13649 fi
13650  else
13651     pkg_failed=untried
13652 fi
13653
13654
13655
13656 if test $pkg_failed = yes; then
13657         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13658 $as_echo "no" >&6; }
13659
13660 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13661         _pkg_short_errors_supported=yes
13662 else
13663         _pkg_short_errors_supported=no
13664 fi
13665         if test $_pkg_short_errors_supported = yes; then
13666                 GENERIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.0.0" 2>&1`
13667         else
13668                 GENERIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.0.0" 2>&1`
13669         fi
13670         # Put the nasty error message in config.log where it belongs
13671         echo "$GENERIC_PKG_ERRORS" >&5
13672
13673         have_dep="no"
13674 elif test $pkg_failed = untried; then
13675         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13676 $as_echo "no" >&6; }
13677         have_dep="no"
13678 else
13679         GENERIC_CFLAGS=$pkg_cv_GENERIC_CFLAGS
13680         GENERIC_LIBS=$pkg_cv_GENERIC_LIBS
13681         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13682 $as_echo "yes" >&6; }
13683
13684     have_dep="yes"
13685
13686 fi
13687
13688 if test "x${enable_module}" = "xstatic" ; then
13689    requirement_emotion="${requirement} ${requirement_emotion}"
13690 fi
13691
13692 if test "x$have_dep" = "xyes"; then :
13693   have_module="yes"
13694 else
13695   have_module="no"
13696 fi
13697
13698
13699 fi
13700
13701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Generic module built" >&5
13702 $as_echo_n "checking whether to enable Generic module built... " >&6; }
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13704 $as_echo "${have_module}" >&6; }
13705
13706 static_module="no"
13707 if test "x${have_module}" = "xyes" && test "x${enable_module}" = "xstatic" ; then
13708    static_module="yes"
13709 fi
13710
13711  if test "x${have_module}" = "xyes"; then
13712   EMOTION_BUILD_GENERIC_TRUE=
13713   EMOTION_BUILD_GENERIC_FALSE='#'
13714 else
13715   EMOTION_BUILD_GENERIC_TRUE='#'
13716   EMOTION_BUILD_GENERIC_FALSE=
13717 fi
13718
13719  if test "x${static_module}" = "xyes"; then
13720   EMOTION_STATIC_BUILD_GENERIC_TRUE=
13721   EMOTION_STATIC_BUILD_GENERIC_FALSE='#'
13722 else
13723   EMOTION_STATIC_BUILD_GENERIC_TRUE='#'
13724   EMOTION_STATIC_BUILD_GENERIC_FALSE=
13725 fi
13726
13727
13728 if test "x${static_module}" = "xyes" ; then
13729
13730 $as_echo "#define EMOTION_STATIC_BUILD_GENERIC 1" >>confdefs.h
13731
13732    have_static_module="yes"
13733 fi
13734
13735 enable_generic="no"
13736 if test "x${have_module}" = "xyes" ; then
13737    enable_generic=${enable_module}
13738
13739 $as_echo "#define EMOTION_BUILD_GENERIC 1" >>confdefs.h
13740
13741 fi
13742
13743 if test "x$have_module" = "xyes"; then :
13744
13745 fi
13746
13747
13748
13749
13750
13751
13752
13753 want_module="${want_generic_vlc}"
13754
13755 # Check whether --enable-generic-vlc was given.
13756 if test "${enable_generic_vlc+set}" = set; then :
13757   enableval=$enable_generic_vlc;
13758     if test "x${enableval}" = "xyes" ; then
13759        enable_module="yes"
13760     else
13761        enable_module="no"
13762     fi
13763
13764 else
13765   enable_module="auto"
13766 fi
13767
13768
13769 # shm_open
13770
13771 _efl_have_shm_open="no"
13772
13773
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in libc" >&5
13775 $as_echo_n "checking for shm_open in libc... " >&6; }
13776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13777 /* end confdefs.h.  */
13778
13779 #include <sys/mman.h>
13780 #include <sys/stat.h>        /* For mode constants */
13781 #include <fcntl.h>           /* For O_* constants */
13782
13783 int
13784 main ()
13785 {
13786
13787 int fd;
13788
13789 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
13790
13791   ;
13792   return 0;
13793 }
13794 _ACEOF
13795 if ac_fn_c_try_link "$LINENO"; then :
13796   _efl_have_shm_open="yes"
13797 else
13798   _efl_have_shm_open="no"
13799 fi
13800 rm -f core conftest.err conftest.$ac_objext \
13801     conftest$ac_exeext conftest.$ac_ext
13802
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
13804 $as_echo "${_efl_have_shm_open}" >&6; }
13805
13806 if test "x$_efl_have_shm_open" = "xno" ; then
13807    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shm_open in librt" >&5
13808 $as_echo_n "checking for shm_open in librt... " >&6; }
13809
13810    LIBS_save="${LIBS}"
13811    LIBS="${LIBS} -lrt"
13812    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h.  */
13814
13815 #include <sys/mman.h>
13816 #include <sys/stat.h>        /* For mode constants */
13817 #include <fcntl.h>           /* For O_* constants */
13818
13819 int
13820 main ()
13821 {
13822
13823 int fd;
13824
13825 fd = shm_open("/dev/null", O_RDONLY, S_IRWXU | S_IRWXG | S_IRWXO);
13826
13827   ;
13828   return 0;
13829 }
13830 _ACEOF
13831 if ac_fn_c_try_link "$LINENO"; then :
13832
13833        EFL_SHM_OPEN_LIBS="-lrt"
13834        _efl_have_shm_open="yes"
13835 else
13836   _efl_have_shm_open="no"
13837 fi
13838 rm -f core conftest.err conftest.$ac_objext \
13839     conftest$ac_exeext conftest.$ac_ext
13840
13841    LIBS="${LIBS_save}"
13842
13843    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_shm_open}" >&5
13844 $as_echo "${_efl_have_shm_open}" >&6; }
13845 fi
13846
13847
13848
13849 if test "x$_efl_have_shm_open" = "xyes" ; then
13850
13851 $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
13852
13853 fi
13854
13855 if test "x$_efl_have_shm_open" = "xyes"; then :
13856   have_shm_open="yes"
13857 else
13858   have_shm_open="no"
13859 fi
13860
13861
13862
13863 if test "x${have_shm_open}" != "xyes"; then
13864   enable_generic="no"
13865 fi
13866
13867 if test "x${enable_generic}" != "xyes" && test "x${enable_generic}" != "xstatic"; then
13868    if test "x${enable_module}" = "xyes"; then
13869       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&5
13870 $as_echo "$as_me: WARNING: Generic module is disabled, force disable of Generic Player VLC" >&2;}
13871    fi
13872    enable_module="no"
13873    want_module="no"
13874 fi
13875
13876 if test "x${enable_module}" = "xauto"; then
13877    enable_module="${want_module}"
13878 elif test "x${enable_module}" = "xyes"; then
13879    want_module="yes"
13880 fi
13881
13882 have_module="no"
13883 if test "x${want_module}" = "xyes" && test "x${enable_module}" = "xyes"; then
13884
13885
13886 requirement=""
13887
13888
13889 pkg_failed=no
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GENERIC_VLC" >&5
13891 $as_echo_n "checking for GENERIC_VLC... " >&6; }
13892
13893 if test -n "$GENERIC_VLC_CFLAGS"; then
13894     pkg_cv_GENERIC_VLC_CFLAGS="$GENERIC_VLC_CFLAGS"
13895  elif test -n "$PKG_CONFIG"; then
13896     if test -n "$PKG_CONFIG" && \
13897     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
13898   ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
13899   ac_status=$?
13900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13901   test $ac_status = 0; }; then
13902   pkg_cv_GENERIC_VLC_CFLAGS=`$PKG_CONFIG --cflags "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
13903 else
13904   pkg_failed=yes
13905 fi
13906  else
13907     pkg_failed=untried
13908 fi
13909 if test -n "$GENERIC_VLC_LIBS"; then
13910     pkg_cv_GENERIC_VLC_LIBS="$GENERIC_VLC_LIBS"
13911  elif test -n "$PKG_CONFIG"; then
13912     if test -n "$PKG_CONFIG" && \
13913     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libvlc >= 0.9 eina >= 1.1.99\""; } >&5
13914   ($PKG_CONFIG --exists --print-errors "libvlc >= 0.9 eina >= 1.1.99") 2>&5
13915   ac_status=$?
13916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13917   test $ac_status = 0; }; then
13918   pkg_cv_GENERIC_VLC_LIBS=`$PKG_CONFIG --libs "libvlc >= 0.9 eina >= 1.1.99" 2>/dev/null`
13919 else
13920   pkg_failed=yes
13921 fi
13922  else
13923     pkg_failed=untried
13924 fi
13925
13926
13927
13928 if test $pkg_failed = yes; then
13929         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13930 $as_echo "no" >&6; }
13931
13932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13933         _pkg_short_errors_supported=yes
13934 else
13935         _pkg_short_errors_supported=no
13936 fi
13937         if test $_pkg_short_errors_supported = yes; then
13938                 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
13939         else
13940                 GENERIC_VLC_PKG_ERRORS=`$PKG_CONFIG --print-errors "libvlc >= 0.9 eina >= 1.1.99" 2>&1`
13941         fi
13942         # Put the nasty error message in config.log where it belongs
13943         echo "$GENERIC_VLC_PKG_ERRORS" >&5
13944
13945         have_dep="no"
13946 elif test $pkg_failed = untried; then
13947         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13948 $as_echo "no" >&6; }
13949         have_dep="no"
13950 else
13951         GENERIC_VLC_CFLAGS=$pkg_cv_GENERIC_VLC_CFLAGS
13952         GENERIC_VLC_LIBS=$pkg_cv_GENERIC_VLC_LIBS
13953         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13954 $as_echo "yes" >&6; }
13955
13956     have_dep="yes"
13957     requirement="libvlc"
13958
13959 fi
13960
13961 if test "x${enable_module}" = "xstatic" ; then
13962    requirement_emotion="${requirement} ${requirement_emotion}"
13963 fi
13964
13965 if test "x$have_dep" = "xyes"; then :
13966   have_module="yes"
13967 else
13968   have_module="no"
13969 fi
13970
13971
13972 fi
13973
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to enable Generic Player VLC" >&5
13975 $as_echo_n "checking Whether to enable Generic Player VLC... " >&6; }
13976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_module}" >&5
13977 $as_echo "${have_module}" >&6; }
13978
13979  if test "x${have_module}" = "xyes"; then
13980   EMOTION_BUILD_GENERIC_VLC_TRUE=
13981   EMOTION_BUILD_GENERIC_VLC_FALSE='#'
13982 else
13983   EMOTION_BUILD_GENERIC_VLC_TRUE='#'
13984   EMOTION_BUILD_GENERIC_VLC_FALSE=
13985 fi
13986
13987
13988 enable_generic_vlc="no"
13989 if test "x${have_module}" = "xyes" ; then
13990    enable_generic_vlc=${enable_module}
13991
13992 $as_echo "#define EMOTION_BUILD_GENERIC_VLC 1" >>confdefs.h
13993
13994 fi
13995
13996 if test "x$have_module" = "xyes"; then :
13997
13998 fi
13999
14000
14001
14002
14003
14004 if test "x${enable_xine}" = "xno" && test "x${enable_gstreamer}" = "xno" && test "x${enable_generic}" = "xno" ; then
14005    as_fn_error $? "Xine, Gstreamer or Generic backends must be selected to build Emotion" "$LINENO" 5
14006 fi
14007
14008 # Check if gstreamer X Overlay is available
14009 build_xoverlay="no"
14010 if test "x${enable_gstreamer}" = "xyes" ; then
14011
14012 pkg_failed=no
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_INTERFACE" >&5
14014 $as_echo_n "checking for GSTREAMER_INTERFACE... " >&6; }
14015
14016 if test -n "$GSTREAMER_INTERFACE_CFLAGS"; then
14017     pkg_cv_GSTREAMER_INTERFACE_CFLAGS="$GSTREAMER_INTERFACE_CFLAGS"
14018  elif test -n "$PKG_CONFIG"; then
14019     if test -n "$PKG_CONFIG" && \
14020     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
14021   ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
14022   ac_status=$?
14023   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024   test $ac_status = 0; }; then
14025   pkg_cv_GSTREAMER_INTERFACE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
14026 else
14027   pkg_failed=yes
14028 fi
14029  else
14030     pkg_failed=untried
14031 fi
14032 if test -n "$GSTREAMER_INTERFACE_LIBS"; then
14033     pkg_cv_GSTREAMER_INTERFACE_LIBS="$GSTREAMER_INTERFACE_LIBS"
14034  elif test -n "$PKG_CONFIG"; then
14035     if test -n "$PKG_CONFIG" && \
14036     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-interfaces-0.10 >= 0.10.34\""; } >&5
14037   ($PKG_CONFIG --exists --print-errors "gstreamer-interfaces-0.10 >= 0.10.34") 2>&5
14038   ac_status=$?
14039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14040   test $ac_status = 0; }; then
14041   pkg_cv_GSTREAMER_INTERFACE_LIBS=`$PKG_CONFIG --libs "gstreamer-interfaces-0.10 >= 0.10.34" 2>/dev/null`
14042 else
14043   pkg_failed=yes
14044 fi
14045  else
14046     pkg_failed=untried
14047 fi
14048
14049
14050
14051 if test $pkg_failed = yes; then
14052         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14053 $as_echo "no" >&6; }
14054
14055 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14056         _pkg_short_errors_supported=yes
14057 else
14058         _pkg_short_errors_supported=no
14059 fi
14060         if test $_pkg_short_errors_supported = yes; then
14061                 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
14062         else
14063                 GSTREAMER_INTERFACE_PKG_ERRORS=`$PKG_CONFIG --print-errors "gstreamer-interfaces-0.10 >= 0.10.34" 2>&1`
14064         fi
14065         # Put the nasty error message in config.log where it belongs
14066         echo "$GSTREAMER_INTERFACE_PKG_ERRORS" >&5
14067
14068         build_xoverlay="no"
14069 elif test $pkg_failed = untried; then
14070         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14071 $as_echo "no" >&6; }
14072         build_xoverlay="no"
14073 else
14074         GSTREAMER_INTERFACE_CFLAGS=$pkg_cv_GSTREAMER_INTERFACE_CFLAGS
14075         GSTREAMER_INTERFACE_LIBS=$pkg_cv_GSTREAMER_INTERFACE_LIBS
14076         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14077 $as_echo "yes" >&6; }
14078         build_xoverlay="yes"
14079 fi
14080    if test "x${build_xoverlay}" = "xyes" ; then
14081       save_CPPFLAGS=$CPPFLAGS
14082       CPPFLAGS="$CPPFLAGS ${GSTREAMER_CFLAGS} ${GSTREAMER_INTERFACE_CFLAGS}"
14083       ac_fn_c_check_header_mongrel "$LINENO" "gst/interfaces/xoverlay.h" "ac_cv_header_gst_interfaces_xoverlay_h" "$ac_includes_default"
14084 if test "x$ac_cv_header_gst_interfaces_xoverlay_h" = x""yes; then :
14085
14086
14087 $as_echo "#define HAVE_XOVERLAY_H 1" >>confdefs.h
14088
14089           build_xoverlay="yes"
14090
14091 else
14092   build_xoverlay="no"
14093 fi
14094
14095
14096       CPPFLAGS=$save_CPPFLAGS
14097
14098       save_LDFLAGS=${LDFLAGS}
14099       LDFLAGS="${LDFLAGS} ${GSTREAMER_INTERFACES}"
14100       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10" >&5
14101 $as_echo_n "checking for gst_x_overlay_set_window_handle in -lgstinterfaces-0.10... " >&6; }
14102 if test "${ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle+set}" = set; then :
14103   $as_echo_n "(cached) " >&6
14104 else
14105   ac_check_lib_save_LIBS=$LIBS
14106 LIBS="-lgstinterfaces-0.10  $LIBS"
14107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h.  */
14109
14110 /* Override any GCC internal prototype to avoid an error.
14111    Use char because int might match the return type of a GCC
14112    builtin and then its argument prototype would still apply.  */
14113 #ifdef __cplusplus
14114 extern "C"
14115 #endif
14116 char gst_x_overlay_set_window_handle ();
14117 int
14118 main ()
14119 {
14120 return gst_x_overlay_set_window_handle ();
14121   ;
14122   return 0;
14123 }
14124 _ACEOF
14125 if ac_fn_c_try_link "$LINENO"; then :
14126   ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=yes
14127 else
14128   ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle=no
14129 fi
14130 rm -f core conftest.err conftest.$ac_objext \
14131     conftest$ac_exeext conftest.$ac_ext
14132 LIBS=$ac_check_lib_save_LIBS
14133 fi
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&5
14135 $as_echo "$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" >&6; }
14136 if test "x$ac_cv_lib_gstinterfaces_0_10_gst_x_overlay_set_window_handle" = x""yes; then :
14137
14138 $as_echo "#define HAVE_X_OVERLAY_SET 1" >>confdefs.h
14139
14140 fi
14141
14142       LDFLAGS=$sava_LDFLAGS
14143    fi
14144 fi
14145
14146 ### install and build examples
14147
14148
14149
14150
14151 # Check whether --enable-build-examples was given.
14152 if test "${enable_build_examples+set}" = set; then :
14153   enableval=$enable_build_examples;
14154     if test "x${enableval}" = "xyes" ; then
14155        _efl_enable_build_examples="yes"
14156     else
14157        _efl_enable_build_examples="no"
14158     fi
14159
14160 else
14161   _efl_enable_build_examples="no"
14162 fi
14163
14164
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
14166 $as_echo_n "checking whether examples are built... " >&6; }
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
14168 $as_echo "${_efl_enable_build_examples}" >&6; }
14169
14170  if test "x${_efl_enable_build_examples}" = "xyes"; then
14171   EFL_BUILD_EXAMPLES_TRUE=
14172   EFL_BUILD_EXAMPLES_FALSE='#'
14173 else
14174   EFL_BUILD_EXAMPLES_TRUE='#'
14175   EFL_BUILD_EXAMPLES_FALSE=
14176 fi
14177
14178
14179 if test "x$_efl_enable_build_examples" = "xyes"; then :
14180   enable_build_examples="yes"
14181 else
14182   enable_build_examples="no"
14183 fi
14184
14185
14186
14187
14188 # Check whether --enable-install-examples was given.
14189 if test "${enable_install_examples+set}" = set; then :
14190   enableval=$enable_install_examples;
14191     if test "x${enableval}" = "xyes" ; then
14192        _efl_enable_install_examples="yes"
14193     else
14194        _efl_enable_install_examples="no"
14195     fi
14196
14197 else
14198   _efl_enable_install_examples="no"
14199 fi
14200
14201
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
14203 $as_echo_n "checking whether examples are installed... " >&6; }
14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
14205 $as_echo "${_efl_enable_install_examples}" >&6; }
14206
14207  if test "x${_efl_enable_install_examples}" = "xyes"; then
14208   EFL_INSTALL_EXAMPLES_TRUE=
14209   EFL_INSTALL_EXAMPLES_FALSE='#'
14210 else
14211   EFL_INSTALL_EXAMPLES_TRUE='#'
14212   EFL_INSTALL_EXAMPLES_FALSE=
14213 fi
14214
14215
14216 if test "x$_efl_enable_install_examples" = "xyes"; then :
14217   enable_install_examples="yes"
14218 else
14219   enable_install_examples="no"
14220 fi
14221
14222
14223
14224
14225 ac_config_files="$ac_config_files Makefile emotion.pc emotion.spec src/Makefile src/lib/Makefile src/modules/Makefile src/modules/xine/Makefile src/modules/gstreamer/Makefile src/modules/generic/Makefile src/edje_external/Makefile src/generic_players/Makefile src/generic_players/vlc/Makefile src/bin/Makefile src/examples/Makefile doc/Makefile doc/Doxyfile data/Makefile"
14226
14227 cat >confcache <<\_ACEOF
14228 # This file is a shell script that caches the results of configure
14229 # tests run on this system so they can be shared between configure
14230 # scripts and configure runs, see configure's option --config-cache.
14231 # It is not useful on other systems.  If it contains results you don't
14232 # want to keep, you may remove or edit it.
14233 #
14234 # config.status only pays attention to the cache file if you give it
14235 # the --recheck option to rerun configure.
14236 #
14237 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14238 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14239 # following values.
14240
14241 _ACEOF
14242
14243 # The following way of writing the cache mishandles newlines in values,
14244 # but we know of no workaround that is simple, portable, and efficient.
14245 # So, we kill variables containing newlines.
14246 # Ultrix sh set writes to stderr and can't be redirected directly,
14247 # and sets the high bit in the cache file unless we assign to the vars.
14248 (
14249   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14250     eval ac_val=\$$ac_var
14251     case $ac_val in #(
14252     *${as_nl}*)
14253       case $ac_var in #(
14254       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14255 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14256       esac
14257       case $ac_var in #(
14258       _ | IFS | as_nl) ;; #(
14259       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14260       *) { eval $ac_var=; unset $ac_var;} ;;
14261       esac ;;
14262     esac
14263   done
14264
14265   (set) 2>&1 |
14266     case $as_nl`(ac_space=' '; set) 2>&1` in #(
14267     *${as_nl}ac_space=\ *)
14268       # `set' does not quote correctly, so add quotes: double-quote
14269       # substitution turns \\\\ into \\, and sed turns \\ into \.
14270       sed -n \
14271         "s/'/'\\\\''/g;
14272           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14273       ;; #(
14274     *)
14275       # `set' quotes correctly as required by POSIX, so do not add quotes.
14276       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14277       ;;
14278     esac |
14279     sort
14280 ) |
14281   sed '
14282      /^ac_cv_env_/b end
14283      t clear
14284      :clear
14285      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14286      t end
14287      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14288      :end' >>confcache
14289 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14290   if test -w "$cache_file"; then
14291     test "x$cache_file" != "x/dev/null" &&
14292       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14293 $as_echo "$as_me: updating cache $cache_file" >&6;}
14294     cat confcache >$cache_file
14295   else
14296     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14297 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14298   fi
14299 fi
14300 rm -f confcache
14301
14302 test "x$prefix" = xNONE && prefix=$ac_default_prefix
14303 # Let make expand exec_prefix.
14304 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14305
14306 DEFS=-DHAVE_CONFIG_H
14307
14308 ac_libobjs=
14309 ac_ltlibobjs=
14310 U=
14311 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14312   # 1. Remove the extension, and $U if already installed.
14313   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14314   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14315   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14316   #    will be set to the directory where LIBOBJS objects are built.
14317   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14318   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14319 done
14320 LIBOBJS=$ac_libobjs
14321
14322 LTLIBOBJS=$ac_ltlibobjs
14323
14324
14325 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14326   as_fn_error $? "conditional \"AMDEP\" was never defined.
14327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14328 fi
14329 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14330   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14332 fi
14333  if test -n "$EXEEXT"; then
14334   am__EXEEXT_TRUE=
14335   am__EXEEXT_FALSE='#'
14336 else
14337   am__EXEEXT_TRUE='#'
14338   am__EXEEXT_FALSE=
14339 fi
14340
14341 if test -z "${BUILD_EMOTION_TEST_TRUE}" && test -z "${BUILD_EMOTION_TEST_FALSE}"; then
14342   as_fn_error $? "conditional \"BUILD_EMOTION_TEST\" was never defined.
14343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14344 fi
14345 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
14346   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
14347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14348 fi
14349 if test -z "${ENABLE_EDJE_EXTERNAL_TRUE}" && test -z "${ENABLE_EDJE_EXTERNAL_FALSE}"; then
14350   as_fn_error $? "conditional \"ENABLE_EDJE_EXTERNAL\" was never defined.
14351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14352 fi
14353 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
14354   as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
14355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14356 fi
14357
14358 if test -z "${EMOTION_BUILD_XINE_TRUE}" && test -z "${EMOTION_BUILD_XINE_FALSE}"; then
14359   as_fn_error $? "conditional \"EMOTION_BUILD_XINE\" was never defined.
14360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14361 fi
14362 if test -z "${EMOTION_STATIC_BUILD_XINE_TRUE}" && test -z "${EMOTION_STATIC_BUILD_XINE_FALSE}"; then
14363   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_XINE\" was never defined.
14364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14365 fi
14366 if test -z "${EMOTION_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_BUILD_GSTREAMER_FALSE}"; then
14367   as_fn_error $? "conditional \"EMOTION_BUILD_GSTREAMER\" was never defined.
14368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14369 fi
14370 if test -z "${EMOTION_STATIC_BUILD_GSTREAMER_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GSTREAMER_FALSE}"; then
14371   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GSTREAMER\" was never defined.
14372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14373 fi
14374 if test -z "${EMOTION_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_FALSE}"; then
14375   as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC\" was never defined.
14376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14377 fi
14378 if test -z "${EMOTION_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EMOTION_STATIC_BUILD_GENERIC_FALSE}"; then
14379   as_fn_error $? "conditional \"EMOTION_STATIC_BUILD_GENERIC\" was never defined.
14380 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14381 fi
14382 if test -z "${EMOTION_BUILD_GENERIC_VLC_TRUE}" && test -z "${EMOTION_BUILD_GENERIC_VLC_FALSE}"; then
14383   as_fn_error $? "conditional \"EMOTION_BUILD_GENERIC_VLC\" was never defined.
14384 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14385 fi
14386 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
14387   as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
14388 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14389 fi
14390 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
14391   as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
14392 Usually this means the macro was only invoked conditionally." "$LINENO" 5
14393 fi
14394
14395 : ${CONFIG_STATUS=./config.status}
14396 ac_write_fail=0
14397 ac_clean_files_save=$ac_clean_files
14398 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14400 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14401 as_write_fail=0
14402 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14403 #! $SHELL
14404 # Generated by $as_me.
14405 # Run this file to recreate the current configuration.
14406 # Compiler output produced by configure, useful for debugging
14407 # configure, is in config.log if it exists.
14408
14409 debug=false
14410 ac_cs_recheck=false
14411 ac_cs_silent=false
14412
14413 SHELL=\${CONFIG_SHELL-$SHELL}
14414 export SHELL
14415 _ASEOF
14416 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14417 ## -------------------- ##
14418 ## M4sh Initialization. ##
14419 ## -------------------- ##
14420
14421 # Be more Bourne compatible
14422 DUALCASE=1; export DUALCASE # for MKS sh
14423 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14424   emulate sh
14425   NULLCMD=:
14426   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14427   # is contrary to our usage.  Disable this feature.
14428   alias -g '${1+"$@"}'='"$@"'
14429   setopt NO_GLOB_SUBST
14430 else
14431   case `(set -o) 2>/dev/null` in #(
14432   *posix*) :
14433     set -o posix ;; #(
14434   *) :
14435      ;;
14436 esac
14437 fi
14438
14439
14440 as_nl='
14441 '
14442 export as_nl
14443 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14444 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14445 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14446 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14447 # Prefer a ksh shell builtin over an external printf program on Solaris,
14448 # but without wasting forks for bash or zsh.
14449 if test -z "$BASH_VERSION$ZSH_VERSION" \
14450     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14451   as_echo='print -r --'
14452   as_echo_n='print -rn --'
14453 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14454   as_echo='printf %s\n'
14455   as_echo_n='printf %s'
14456 else
14457   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14458     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14459     as_echo_n='/usr/ucb/echo -n'
14460   else
14461     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14462     as_echo_n_body='eval
14463       arg=$1;
14464       case $arg in #(
14465       *"$as_nl"*)
14466         expr "X$arg" : "X\\(.*\\)$as_nl";
14467         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14468       esac;
14469       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14470     '
14471     export as_echo_n_body
14472     as_echo_n='sh -c $as_echo_n_body as_echo'
14473   fi
14474   export as_echo_body
14475   as_echo='sh -c $as_echo_body as_echo'
14476 fi
14477
14478 # The user is always right.
14479 if test "${PATH_SEPARATOR+set}" != set; then
14480   PATH_SEPARATOR=:
14481   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14482     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14483       PATH_SEPARATOR=';'
14484   }
14485 fi
14486
14487
14488 # IFS
14489 # We need space, tab and new line, in precisely that order.  Quoting is
14490 # there to prevent editors from complaining about space-tab.
14491 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14492 # splitting by setting IFS to empty value.)
14493 IFS=" ""        $as_nl"
14494
14495 # Find who we are.  Look in the path if we contain no directory separator.
14496 case $0 in #((
14497   *[\\/]* ) as_myself=$0 ;;
14498   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14499 for as_dir in $PATH
14500 do
14501   IFS=$as_save_IFS
14502   test -z "$as_dir" && as_dir=.
14503     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14504   done
14505 IFS=$as_save_IFS
14506
14507      ;;
14508 esac
14509 # We did not find ourselves, most probably we were run as `sh COMMAND'
14510 # in which case we are not to be found in the path.
14511 if test "x$as_myself" = x; then
14512   as_myself=$0
14513 fi
14514 if test ! -f "$as_myself"; then
14515   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14516   exit 1
14517 fi
14518
14519 # Unset variables that we do not need and which cause bugs (e.g. in
14520 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14521 # suppresses any "Segmentation fault" message there.  '((' could
14522 # trigger a bug in pdksh 5.2.14.
14523 for as_var in BASH_ENV ENV MAIL MAILPATH
14524 do eval test x\${$as_var+set} = xset \
14525   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14526 done
14527 PS1='$ '
14528 PS2='> '
14529 PS4='+ '
14530
14531 # NLS nuisances.
14532 LC_ALL=C
14533 export LC_ALL
14534 LANGUAGE=C
14535 export LANGUAGE
14536
14537 # CDPATH.
14538 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14539
14540
14541 # as_fn_error STATUS ERROR [LINENO LOG_FD]
14542 # ----------------------------------------
14543 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14544 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14545 # script with STATUS, using 1 if that was 0.
14546 as_fn_error ()
14547 {
14548   as_status=$1; test $as_status -eq 0 && as_status=1
14549   if test "$4"; then
14550     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14551     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14552   fi
14553   $as_echo "$as_me: error: $2" >&2
14554   as_fn_exit $as_status
14555 } # as_fn_error
14556
14557
14558 # as_fn_set_status STATUS
14559 # -----------------------
14560 # Set $? to STATUS, without forking.
14561 as_fn_set_status ()
14562 {
14563   return $1
14564 } # as_fn_set_status
14565
14566 # as_fn_exit STATUS
14567 # -----------------
14568 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14569 as_fn_exit ()
14570 {
14571   set +e
14572   as_fn_set_status $1
14573   exit $1
14574 } # as_fn_exit
14575
14576 # as_fn_unset VAR
14577 # ---------------
14578 # Portably unset VAR.
14579 as_fn_unset ()
14580 {
14581   { eval $1=; unset $1;}
14582 }
14583 as_unset=as_fn_unset
14584 # as_fn_append VAR VALUE
14585 # ----------------------
14586 # Append the text in VALUE to the end of the definition contained in VAR. Take
14587 # advantage of any shell optimizations that allow amortized linear growth over
14588 # repeated appends, instead of the typical quadratic growth present in naive
14589 # implementations.
14590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14591   eval 'as_fn_append ()
14592   {
14593     eval $1+=\$2
14594   }'
14595 else
14596   as_fn_append ()
14597   {
14598     eval $1=\$$1\$2
14599   }
14600 fi # as_fn_append
14601
14602 # as_fn_arith ARG...
14603 # ------------------
14604 # Perform arithmetic evaluation on the ARGs, and store the result in the
14605 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14606 # must be portable across $(()) and expr.
14607 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14608   eval 'as_fn_arith ()
14609   {
14610     as_val=$(( $* ))
14611   }'
14612 else
14613   as_fn_arith ()
14614   {
14615     as_val=`expr "$@" || test $? -eq 1`
14616   }
14617 fi # as_fn_arith
14618
14619
14620 if expr a : '\(a\)' >/dev/null 2>&1 &&
14621    test "X`expr 00001 : '.*\(...\)'`" = X001; then
14622   as_expr=expr
14623 else
14624   as_expr=false
14625 fi
14626
14627 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14628   as_basename=basename
14629 else
14630   as_basename=false
14631 fi
14632
14633 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14634   as_dirname=dirname
14635 else
14636   as_dirname=false
14637 fi
14638
14639 as_me=`$as_basename -- "$0" ||
14640 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14641          X"$0" : 'X\(//\)$' \| \
14642          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14643 $as_echo X/"$0" |
14644     sed '/^.*\/\([^/][^/]*\)\/*$/{
14645             s//\1/
14646             q
14647           }
14648           /^X\/\(\/\/\)$/{
14649             s//\1/
14650             q
14651           }
14652           /^X\/\(\/\).*/{
14653             s//\1/
14654             q
14655           }
14656           s/.*/./; q'`
14657
14658 # Avoid depending upon Character Ranges.
14659 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14660 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14661 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14662 as_cr_digits='0123456789'
14663 as_cr_alnum=$as_cr_Letters$as_cr_digits
14664
14665 ECHO_C= ECHO_N= ECHO_T=
14666 case `echo -n x` in #(((((
14667 -n*)
14668   case `echo 'xy\c'` in
14669   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
14670   xy)  ECHO_C='\c';;
14671   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14672        ECHO_T=' ';;
14673   esac;;
14674 *)
14675   ECHO_N='-n';;
14676 esac
14677
14678 rm -f conf$$ conf$$.exe conf$$.file
14679 if test -d conf$$.dir; then
14680   rm -f conf$$.dir/conf$$.file
14681 else
14682   rm -f conf$$.dir
14683   mkdir conf$$.dir 2>/dev/null
14684 fi
14685 if (echo >conf$$.file) 2>/dev/null; then
14686   if ln -s conf$$.file conf$$ 2>/dev/null; then
14687     as_ln_s='ln -s'
14688     # ... but there are two gotchas:
14689     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14690     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14691     # In both cases, we have to default to `cp -p'.
14692     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14693       as_ln_s='cp -p'
14694   elif ln conf$$.file conf$$ 2>/dev/null; then
14695     as_ln_s=ln
14696   else
14697     as_ln_s='cp -p'
14698   fi
14699 else
14700   as_ln_s='cp -p'
14701 fi
14702 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14703 rmdir conf$$.dir 2>/dev/null
14704
14705
14706 # as_fn_mkdir_p
14707 # -------------
14708 # Create "$as_dir" as a directory, including parents if necessary.
14709 as_fn_mkdir_p ()
14710 {
14711
14712   case $as_dir in #(
14713   -*) as_dir=./$as_dir;;
14714   esac
14715   test -d "$as_dir" || eval $as_mkdir_p || {
14716     as_dirs=
14717     while :; do
14718       case $as_dir in #(
14719       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14720       *) as_qdir=$as_dir;;
14721       esac
14722       as_dirs="'$as_qdir' $as_dirs"
14723       as_dir=`$as_dirname -- "$as_dir" ||
14724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14725          X"$as_dir" : 'X\(//\)[^/]' \| \
14726          X"$as_dir" : 'X\(//\)$' \| \
14727          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14728 $as_echo X"$as_dir" |
14729     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14730             s//\1/
14731             q
14732           }
14733           /^X\(\/\/\)[^/].*/{
14734             s//\1/
14735             q
14736           }
14737           /^X\(\/\/\)$/{
14738             s//\1/
14739             q
14740           }
14741           /^X\(\/\).*/{
14742             s//\1/
14743             q
14744           }
14745           s/.*/./; q'`
14746       test -d "$as_dir" && break
14747     done
14748     test -z "$as_dirs" || eval "mkdir $as_dirs"
14749   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14750
14751
14752 } # as_fn_mkdir_p
14753 if mkdir -p . 2>/dev/null; then
14754   as_mkdir_p='mkdir -p "$as_dir"'
14755 else
14756   test -d ./-p && rmdir ./-p
14757   as_mkdir_p=false
14758 fi
14759
14760 if test -x / >/dev/null 2>&1; then
14761   as_test_x='test -x'
14762 else
14763   if ls -dL / >/dev/null 2>&1; then
14764     as_ls_L_option=L
14765   else
14766     as_ls_L_option=
14767   fi
14768   as_test_x='
14769     eval sh -c '\''
14770       if test -d "$1"; then
14771         test -d "$1/.";
14772       else
14773         case $1 in #(
14774         -*)set "./$1";;
14775         esac;
14776         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14777         ???[sx]*):;;*)false;;esac;fi
14778     '\'' sh
14779   '
14780 fi
14781 as_executable_p=$as_test_x
14782
14783 # Sed expression to map a string onto a valid CPP name.
14784 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14785
14786 # Sed expression to map a string onto a valid variable name.
14787 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14788
14789
14790 exec 6>&1
14791 ## ----------------------------------- ##
14792 ## Main body of $CONFIG_STATUS script. ##
14793 ## ----------------------------------- ##
14794 _ASEOF
14795 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14796
14797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14798 # Save the log message, to keep $0 and so on meaningful, and to
14799 # report actual input values of CONFIG_FILES etc. instead of their
14800 # values after options handling.
14801 ac_log="
14802 This file was extended by emotion $as_me 1.7.1, which was
14803 generated by GNU Autoconf 2.67.  Invocation command line was
14804
14805   CONFIG_FILES    = $CONFIG_FILES
14806   CONFIG_HEADERS  = $CONFIG_HEADERS
14807   CONFIG_LINKS    = $CONFIG_LINKS
14808   CONFIG_COMMANDS = $CONFIG_COMMANDS
14809   $ $0 $@
14810
14811 on `(hostname || uname -n) 2>/dev/null | sed 1q`
14812 "
14813
14814 _ACEOF
14815
14816 case $ac_config_files in *"
14817 "*) set x $ac_config_files; shift; ac_config_files=$*;;
14818 esac
14819
14820 case $ac_config_headers in *"
14821 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14822 esac
14823
14824
14825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14826 # Files that config.status was made for.
14827 config_files="$ac_config_files"
14828 config_headers="$ac_config_headers"
14829 config_commands="$ac_config_commands"
14830
14831 _ACEOF
14832
14833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14834 ac_cs_usage="\
14835 \`$as_me' instantiates files and other configuration actions
14836 from templates according to the current configuration.  Unless the files
14837 and actions are specified as TAGs, all are instantiated by default.
14838
14839 Usage: $0 [OPTION]... [TAG]...
14840
14841   -h, --help       print this help, then exit
14842   -V, --version    print version number and configuration settings, then exit
14843       --config     print configuration, then exit
14844   -q, --quiet, --silent
14845                    do not print progress messages
14846   -d, --debug      don't remove temporary files
14847       --recheck    update $as_me by reconfiguring in the same conditions
14848       --file=FILE[:TEMPLATE]
14849                    instantiate the configuration file FILE
14850       --header=FILE[:TEMPLATE]
14851                    instantiate the configuration header FILE
14852
14853 Configuration files:
14854 $config_files
14855
14856 Configuration headers:
14857 $config_headers
14858
14859 Configuration commands:
14860 $config_commands
14861
14862 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
14863
14864 _ACEOF
14865 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14866 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14867 ac_cs_version="\\
14868 emotion config.status 1.7.1
14869 configured by $0, generated by GNU Autoconf 2.67,
14870   with options \\"\$ac_cs_config\\"
14871
14872 Copyright (C) 2010 Free Software Foundation, Inc.
14873 This config.status script is free software; the Free Software Foundation
14874 gives unlimited permission to copy, distribute and modify it."
14875
14876 ac_pwd='$ac_pwd'
14877 srcdir='$srcdir'
14878 INSTALL='$INSTALL'
14879 MKDIR_P='$MKDIR_P'
14880 AWK='$AWK'
14881 test -n "\$AWK" || AWK=awk
14882 _ACEOF
14883
14884 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14885 # The default lists apply if the user does not specify any file.
14886 ac_need_defaults=:
14887 while test $# != 0
14888 do
14889   case $1 in
14890   --*=?*)
14891     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14892     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14893     ac_shift=:
14894     ;;
14895   --*=)
14896     ac_option=`expr "X$1" : 'X\([^=]*\)='`
14897     ac_optarg=
14898     ac_shift=:
14899     ;;
14900   *)
14901     ac_option=$1
14902     ac_optarg=$2
14903     ac_shift=shift
14904     ;;
14905   esac
14906
14907   case $ac_option in
14908   # Handling of the options.
14909   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14910     ac_cs_recheck=: ;;
14911   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14912     $as_echo "$ac_cs_version"; exit ;;
14913   --config | --confi | --conf | --con | --co | --c )
14914     $as_echo "$ac_cs_config"; exit ;;
14915   --debug | --debu | --deb | --de | --d | -d )
14916     debug=: ;;
14917   --file | --fil | --fi | --f )
14918     $ac_shift
14919     case $ac_optarg in
14920     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14921     '') as_fn_error $? "missing file argument" ;;
14922     esac
14923     as_fn_append CONFIG_FILES " '$ac_optarg'"
14924     ac_need_defaults=false;;
14925   --header | --heade | --head | --hea )
14926     $ac_shift
14927     case $ac_optarg in
14928     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14929     esac
14930     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14931     ac_need_defaults=false;;
14932   --he | --h)
14933     # Conflict between --help and --header
14934     as_fn_error $? "ambiguous option: \`$1'
14935 Try \`$0 --help' for more information.";;
14936   --help | --hel | -h )
14937     $as_echo "$ac_cs_usage"; exit ;;
14938   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14939   | -silent | --silent | --silen | --sile | --sil | --si | --s)
14940     ac_cs_silent=: ;;
14941
14942   # This is an error.
14943   -*) as_fn_error $? "unrecognized option: \`$1'
14944 Try \`$0 --help' for more information." ;;
14945
14946   *) as_fn_append ac_config_targets " $1"
14947      ac_need_defaults=false ;;
14948
14949   esac
14950   shift
14951 done
14952
14953 ac_configure_extra_args=
14954
14955 if $ac_cs_silent; then
14956   exec 6>/dev/null
14957   ac_configure_extra_args="$ac_configure_extra_args --silent"
14958 fi
14959
14960 _ACEOF
14961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14962 if \$ac_cs_recheck; then
14963   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14964   shift
14965   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14966   CONFIG_SHELL='$SHELL'
14967   export CONFIG_SHELL
14968   exec "\$@"
14969 fi
14970
14971 _ACEOF
14972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14973 exec 5>>config.log
14974 {
14975   echo
14976   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14977 ## Running $as_me. ##
14978 _ASBOX
14979   $as_echo "$ac_log"
14980 } >&5
14981
14982 _ACEOF
14983 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14984 #
14985 # INIT-COMMANDS
14986 #
14987 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14988
14989
14990 # The HP-UX ksh and POSIX shell print the target directory to stdout
14991 # if CDPATH is set.
14992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14993
14994 sed_quote_subst='$sed_quote_subst'
14995 double_quote_subst='$double_quote_subst'
14996 delay_variable_subst='$delay_variable_subst'
14997 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
14998 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14999 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
15000 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
15001 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
15002 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
15003 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
15004 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
15005 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
15006 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
15007 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
15008 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
15009 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
15010 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
15011 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
15012 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
15013 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
15014 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
15015 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
15016 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
15017 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
15018 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
15019 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
15020 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
15021 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
15022 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
15023 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
15024 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
15025 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
15026 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
15027 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15028 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
15029 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
15030 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
15031 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15032 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
15033 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
15034 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15035 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15036 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15037 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
15038 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
15039 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
15040 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
15041 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
15042 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
15043 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"`'
15044 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"`'
15045 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
15046 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
15047 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
15048 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
15049 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
15050 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
15051 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
15052 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
15053 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
15054 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
15055 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
15056 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
15057 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
15058 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
15059 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
15060 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
15061 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15062 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15063 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
15064 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
15065 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15066 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15067 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
15068 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15069 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15070 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15071 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15072 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15073 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15074 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
15075 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15076 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
15077 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
15078 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
15079 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
15080 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
15081 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
15082 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
15083 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15084 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
15085 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
15086 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
15087 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
15088 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
15089 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15090 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15091 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
15092 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15093 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
15094 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
15095 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
15096 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
15097 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
15098 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15099 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
15100 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
15101 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15102 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
15103 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
15104 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15105 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15106 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
15107 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
15108 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
15109 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15110 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
15111 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
15112 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
15113 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
15114 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
15115 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
15116 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
15117
15118 LTCC='$LTCC'
15119 LTCFLAGS='$LTCFLAGS'
15120 compiler='$compiler_DEFAULT'
15121
15122 # Quote evaled strings.
15123 for var in SED \
15124 GREP \
15125 EGREP \
15126 FGREP \
15127 LD \
15128 NM \
15129 LN_S \
15130 lt_SP2NL \
15131 lt_NL2SP \
15132 reload_flag \
15133 deplibs_check_method \
15134 file_magic_cmd \
15135 AR \
15136 AR_FLAGS \
15137 STRIP \
15138 RANLIB \
15139 CC \
15140 CFLAGS \
15141 compiler \
15142 lt_cv_sys_global_symbol_pipe \
15143 lt_cv_sys_global_symbol_to_cdecl \
15144 lt_cv_sys_global_symbol_to_c_name_address \
15145 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15146 SHELL \
15147 ECHO \
15148 lt_prog_compiler_no_builtin_flag \
15149 lt_prog_compiler_wl \
15150 lt_prog_compiler_pic \
15151 lt_prog_compiler_static \
15152 lt_cv_prog_compiler_c_o \
15153 need_locks \
15154 DSYMUTIL \
15155 NMEDIT \
15156 LIPO \
15157 OTOOL \
15158 OTOOL64 \
15159 shrext_cmds \
15160 export_dynamic_flag_spec \
15161 whole_archive_flag_spec \
15162 compiler_needs_object \
15163 with_gnu_ld \
15164 allow_undefined_flag \
15165 no_undefined_flag \
15166 hardcode_libdir_flag_spec \
15167 hardcode_libdir_flag_spec_ld \
15168 hardcode_libdir_separator \
15169 fix_srcfile_path \
15170 exclude_expsyms \
15171 include_expsyms \
15172 file_list_spec \
15173 variables_saved_for_relink \
15174 libname_spec \
15175 library_names_spec \
15176 soname_spec \
15177 finish_eval \
15178 old_striplib \
15179 striplib; do
15180     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15181     *[\\\\\\\`\\"\\\$]*)
15182       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15183       ;;
15184     *)
15185       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15186       ;;
15187     esac
15188 done
15189
15190 # Double-quote double-evaled strings.
15191 for var in reload_cmds \
15192 old_postinstall_cmds \
15193 old_postuninstall_cmds \
15194 old_archive_cmds \
15195 extract_expsyms_cmds \
15196 old_archive_from_new_cmds \
15197 old_archive_from_expsyms_cmds \
15198 archive_cmds \
15199 archive_expsym_cmds \
15200 module_cmds \
15201 module_expsym_cmds \
15202 export_symbols_cmds \
15203 prelink_cmds \
15204 postinstall_cmds \
15205 postuninstall_cmds \
15206 finish_cmds \
15207 sys_lib_search_path_spec \
15208 sys_lib_dlsearch_path_spec; do
15209     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
15210     *[\\\\\\\`\\"\\\$]*)
15211       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15212       ;;
15213     *)
15214       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15215       ;;
15216     esac
15217 done
15218
15219 # Fix-up fallback echo if it was mangled by the above quoting rules.
15220 case \$lt_ECHO in
15221 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
15222   ;;
15223 esac
15224
15225 ac_aux_dir='$ac_aux_dir'
15226 xsi_shell='$xsi_shell'
15227 lt_shell_append='$lt_shell_append'
15228
15229 # See if we are running on zsh, and set the options which allow our
15230 # commands through without removal of \ escapes INIT.
15231 if test -n "\${ZSH_VERSION+set}" ; then
15232    setopt NO_GLOB_SUBST
15233 fi
15234
15235
15236     PACKAGE='$PACKAGE'
15237     VERSION='$VERSION'
15238     TIMESTAMP='$TIMESTAMP'
15239     RM='$RM'
15240     ofile='$ofile'
15241
15242
15243
15244
15245 _ACEOF
15246
15247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15248
15249 # Handling of arguments.
15250 for ac_config_target in $ac_config_targets
15251 do
15252   case $ac_config_target in
15253     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15254     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15255     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15256     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15257     "emotion.pc") CONFIG_FILES="$CONFIG_FILES emotion.pc" ;;
15258     "emotion.spec") CONFIG_FILES="$CONFIG_FILES emotion.spec" ;;
15259     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15260     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
15261     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
15262     "src/modules/xine/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/xine/Makefile" ;;
15263     "src/modules/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/gstreamer/Makefile" ;;
15264     "src/modules/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/generic/Makefile" ;;
15265     "src/edje_external/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_external/Makefile" ;;
15266     "src/generic_players/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/Makefile" ;;
15267     "src/generic_players/vlc/Makefile") CONFIG_FILES="$CONFIG_FILES src/generic_players/vlc/Makefile" ;;
15268     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
15269     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
15270     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15271     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
15272     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
15273
15274   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
15275   esac
15276 done
15277
15278
15279 # If the user did not use the arguments to specify the items to instantiate,
15280 # then the envvar interface is used.  Set only those that are not.
15281 # We use the long form for the default assignment because of an extremely
15282 # bizarre bug on SunOS 4.1.3.
15283 if $ac_need_defaults; then
15284   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15285   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15286   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15287 fi
15288
15289 # Have a temporary directory for convenience.  Make it in the build tree
15290 # simply because there is no reason against having it here, and in addition,
15291 # creating and moving files from /tmp can sometimes cause problems.
15292 # Hook for its removal unless debugging.
15293 # Note that there is a small window in which the directory will not be cleaned:
15294 # after its creation but before its name has been assigned to `$tmp'.
15295 $debug ||
15296 {
15297   tmp=
15298   trap 'exit_status=$?
15299   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15300 ' 0
15301   trap 'as_fn_exit 1' 1 2 13 15
15302 }
15303 # Create a (secure) tmp directory for tmp files.
15304
15305 {
15306   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15307   test -n "$tmp" && test -d "$tmp"
15308 }  ||
15309 {
15310   tmp=./conf$$-$RANDOM
15311   (umask 077 && mkdir "$tmp")
15312 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15313
15314 # Set up the scripts for CONFIG_FILES section.
15315 # No need to generate them if there are no CONFIG_FILES.
15316 # This happens for instance with `./config.status config.h'.
15317 if test -n "$CONFIG_FILES"; then
15318
15319
15320 ac_cr=`echo X | tr X '\015'`
15321 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15322 # But we know of no other shell where ac_cr would be empty at this
15323 # point, so we can use a bashism as a fallback.
15324 if test "x$ac_cr" = x; then
15325   eval ac_cr=\$\'\\r\'
15326 fi
15327 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15328 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15329   ac_cs_awk_cr='\\r'
15330 else
15331   ac_cs_awk_cr=$ac_cr
15332 fi
15333
15334 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15335 _ACEOF
15336
15337
15338 {
15339   echo "cat >conf$$subs.awk <<_ACEOF" &&
15340   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15341   echo "_ACEOF"
15342 } >conf$$subs.sh ||
15343   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15344 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15345 ac_delim='%!_!# '
15346 for ac_last_try in false false false false false :; do
15347   . ./conf$$subs.sh ||
15348     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15349
15350   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15351   if test $ac_delim_n = $ac_delim_num; then
15352     break
15353   elif $ac_last_try; then
15354     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15355   else
15356     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15357   fi
15358 done
15359 rm -f conf$$subs.sh
15360
15361 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15362 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
15363 _ACEOF
15364 sed -n '
15365 h
15366 s/^/S["/; s/!.*/"]=/
15367 p
15368 g
15369 s/^[^!]*!//
15370 :repl
15371 t repl
15372 s/'"$ac_delim"'$//
15373 t delim
15374 :nl
15375 h
15376 s/\(.\{148\}\)..*/\1/
15377 t more1
15378 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15379 p
15380 n
15381 b repl
15382 :more1
15383 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15384 p
15385 g
15386 s/.\{148\}//
15387 t nl
15388 :delim
15389 h
15390 s/\(.\{148\}\)..*/\1/
15391 t more2
15392 s/["\\]/\\&/g; s/^/"/; s/$/"/
15393 p
15394 b
15395 :more2
15396 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15397 p
15398 g
15399 s/.\{148\}//
15400 t delim
15401 ' <conf$$subs.awk | sed '
15402 /^[^""]/{
15403   N
15404   s/\n//
15405 }
15406 ' >>$CONFIG_STATUS || ac_write_fail=1
15407 rm -f conf$$subs.awk
15408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15409 _ACAWK
15410 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
15411   for (key in S) S_is_set[key] = 1
15412   FS = "\a"
15413
15414 }
15415 {
15416   line = $ 0
15417   nfields = split(line, field, "@")
15418   substed = 0
15419   len = length(field[1])
15420   for (i = 2; i < nfields; i++) {
15421     key = field[i]
15422     keylen = length(key)
15423     if (S_is_set[key]) {
15424       value = S[key]
15425       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15426       len += length(value) + length(field[++i])
15427       substed = 1
15428     } else
15429       len += 1 + keylen
15430   }
15431
15432   print line
15433 }
15434
15435 _ACAWK
15436 _ACEOF
15437 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15438 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15439   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15440 else
15441   cat
15442 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
15443   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15444 _ACEOF
15445
15446 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15447 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15448 # trailing colons and then remove the whole line if VPATH becomes empty
15449 # (actually we leave an empty line to preserve line numbers).
15450 if test "x$srcdir" = x.; then
15451   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
15452 h
15453 s///
15454 s/^/:/
15455 s/[      ]*$/:/
15456 s/:\$(srcdir):/:/g
15457 s/:\${srcdir}:/:/g
15458 s/:@srcdir@:/:/g
15459 s/^:*//
15460 s/:*$//
15461 x
15462 s/\(=[   ]*\).*/\1/
15463 G
15464 s/\n//
15465 s/^[^=]*=[       ]*$//
15466 }'
15467 fi
15468
15469 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15470 fi # test -n "$CONFIG_FILES"
15471
15472 # Set up the scripts for CONFIG_HEADERS section.
15473 # No need to generate them if there are no CONFIG_HEADERS.
15474 # This happens for instance with `./config.status Makefile'.
15475 if test -n "$CONFIG_HEADERS"; then
15476 cat >"$tmp/defines.awk" <<\_ACAWK ||
15477 BEGIN {
15478 _ACEOF
15479
15480 # Transform confdefs.h into an awk script `defines.awk', embedded as
15481 # here-document in config.status, that substitutes the proper values into
15482 # config.h.in to produce config.h.
15483
15484 # Create a delimiter string that does not exist in confdefs.h, to ease
15485 # handling of long lines.
15486 ac_delim='%!_!# '
15487 for ac_last_try in false false :; do
15488   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15489   if test -z "$ac_t"; then
15490     break
15491   elif $ac_last_try; then
15492     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15493   else
15494     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15495   fi
15496 done
15497
15498 # For the awk script, D is an array of macro values keyed by name,
15499 # likewise P contains macro parameters if any.  Preserve backslash
15500 # newline sequences.
15501
15502 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15503 sed -n '
15504 s/.\{148\}/&'"$ac_delim"'/g
15505 t rset
15506 :rset
15507 s/^[     ]*#[    ]*define[       ][      ]*/ /
15508 t def
15509 d
15510 :def
15511 s/\\$//
15512 t bsnl
15513 s/["\\]/\\&/g
15514 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15515 D["\1"]=" \3"/p
15516 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
15517 d
15518 :bsnl
15519 s/["\\]/\\&/g
15520 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
15521 D["\1"]=" \3\\\\\\n"\\/p
15522 t cont
15523 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15524 t cont
15525 d
15526 :cont
15527 n
15528 s/.\{148\}/&'"$ac_delim"'/g
15529 t clear
15530 :clear
15531 s/\\$//
15532 t bsnlc
15533 s/["\\]/\\&/g; s/^/"/; s/$/"/p
15534 d
15535 :bsnlc
15536 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15537 b cont
15538 ' <confdefs.h | sed '
15539 s/'"$ac_delim"'/"\\\
15540 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15541
15542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15543   for (key in D) D_is_set[key] = 1
15544   FS = "\a"
15545 }
15546 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15547   line = \$ 0
15548   split(line, arg, " ")
15549   if (arg[1] == "#") {
15550     defundef = arg[2]
15551     mac1 = arg[3]
15552   } else {
15553     defundef = substr(arg[1], 2)
15554     mac1 = arg[2]
15555   }
15556   split(mac1, mac2, "(") #)
15557   macro = mac2[1]
15558   prefix = substr(line, 1, index(line, defundef) - 1)
15559   if (D_is_set[macro]) {
15560     # Preserve the white space surrounding the "#".
15561     print prefix "define", macro P[macro] D[macro]
15562     next
15563   } else {
15564     # Replace #undef with comments.  This is necessary, for example,
15565     # in the case of _POSIX_SOURCE, which is predefined and required
15566     # on some systems where configure will not decide to define it.
15567     if (defundef == "undef") {
15568       print "/*", prefix defundef, macro, "*/"
15569       next
15570     }
15571   }
15572 }
15573 { print }
15574 _ACAWK
15575 _ACEOF
15576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15577   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15578 fi # test -n "$CONFIG_HEADERS"
15579
15580
15581 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15582 shift
15583 for ac_tag
15584 do
15585   case $ac_tag in
15586   :[FHLC]) ac_mode=$ac_tag; continue;;
15587   esac
15588   case $ac_mode$ac_tag in
15589   :[FHL]*:*);;
15590   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
15591   :[FH]-) ac_tag=-:-;;
15592   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15593   esac
15594   ac_save_IFS=$IFS
15595   IFS=:
15596   set x $ac_tag
15597   IFS=$ac_save_IFS
15598   shift
15599   ac_file=$1
15600   shift
15601
15602   case $ac_mode in
15603   :L) ac_source=$1;;
15604   :[FH])
15605     ac_file_inputs=
15606     for ac_f
15607     do
15608       case $ac_f in
15609       -) ac_f="$tmp/stdin";;
15610       *) # Look for the file first in the build tree, then in the source tree
15611          # (if the path is not absolute).  The absolute path cannot be DOS-style,
15612          # because $ac_f cannot contain `:'.
15613          test -f "$ac_f" ||
15614            case $ac_f in
15615            [\\/$]*) false;;
15616            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15617            esac ||
15618            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
15619       esac
15620       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15621       as_fn_append ac_file_inputs " '$ac_f'"
15622     done
15623
15624     # Let's still pretend it is `configure' which instantiates (i.e., don't
15625     # use $as_me), people would be surprised to read:
15626     #    /* config.h.  Generated by config.status.  */
15627     configure_input='Generated from '`
15628           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15629         `' by configure.'
15630     if test x"$ac_file" != x-; then
15631       configure_input="$ac_file.  $configure_input"
15632       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15633 $as_echo "$as_me: creating $ac_file" >&6;}
15634     fi
15635     # Neutralize special characters interpreted by sed in replacement strings.
15636     case $configure_input in #(
15637     *\&* | *\|* | *\\* )
15638        ac_sed_conf_input=`$as_echo "$configure_input" |
15639        sed 's/[\\\\&|]/\\\\&/g'`;; #(
15640     *) ac_sed_conf_input=$configure_input;;
15641     esac
15642
15643     case $ac_tag in
15644     *:-:* | *:-) cat >"$tmp/stdin" \
15645       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
15646     esac
15647     ;;
15648   esac
15649
15650   ac_dir=`$as_dirname -- "$ac_file" ||
15651 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15652          X"$ac_file" : 'X\(//\)[^/]' \| \
15653          X"$ac_file" : 'X\(//\)$' \| \
15654          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15655 $as_echo X"$ac_file" |
15656     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15657             s//\1/
15658             q
15659           }
15660           /^X\(\/\/\)[^/].*/{
15661             s//\1/
15662             q
15663           }
15664           /^X\(\/\/\)$/{
15665             s//\1/
15666             q
15667           }
15668           /^X\(\/\).*/{
15669             s//\1/
15670             q
15671           }
15672           s/.*/./; q'`
15673   as_dir="$ac_dir"; as_fn_mkdir_p
15674   ac_builddir=.
15675
15676 case "$ac_dir" in
15677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15678 *)
15679   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15680   # A ".." for each directory in $ac_dir_suffix.
15681   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15682   case $ac_top_builddir_sub in
15683   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15684   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15685   esac ;;
15686 esac
15687 ac_abs_top_builddir=$ac_pwd
15688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
15689 # for backward compatibility:
15690 ac_top_builddir=$ac_top_build_prefix
15691
15692 case $srcdir in
15693   .)  # We are building in place.
15694     ac_srcdir=.
15695     ac_top_srcdir=$ac_top_builddir_sub
15696     ac_abs_top_srcdir=$ac_pwd ;;
15697   [\\/]* | ?:[\\/]* )  # Absolute name.
15698     ac_srcdir=$srcdir$ac_dir_suffix;
15699     ac_top_srcdir=$srcdir
15700     ac_abs_top_srcdir=$srcdir ;;
15701   *) # Relative name.
15702     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15703     ac_top_srcdir=$ac_top_build_prefix$srcdir
15704     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15705 esac
15706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15707
15708
15709   case $ac_mode in
15710   :F)
15711   #
15712   # CONFIG_FILE
15713   #
15714
15715   case $INSTALL in
15716   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15717   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15718   esac
15719   ac_MKDIR_P=$MKDIR_P
15720   case $MKDIR_P in
15721   [\\/$]* | ?:[\\/]* ) ;;
15722   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15723   esac
15724 _ACEOF
15725
15726 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15727 # If the template does not know about datarootdir, expand it.
15728 # FIXME: This hack should be removed a few years after 2.60.
15729 ac_datarootdir_hack=; ac_datarootdir_seen=
15730 ac_sed_dataroot='
15731 /datarootdir/ {
15732   p
15733   q
15734 }
15735 /@datadir@/p
15736 /@docdir@/p
15737 /@infodir@/p
15738 /@localedir@/p
15739 /@mandir@/p'
15740 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15741 *datarootdir*) ac_datarootdir_seen=yes;;
15742 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15743   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15744 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15745 _ACEOF
15746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15747   ac_datarootdir_hack='
15748   s&@datadir@&$datadir&g
15749   s&@docdir@&$docdir&g
15750   s&@infodir@&$infodir&g
15751   s&@localedir@&$localedir&g
15752   s&@mandir@&$mandir&g
15753   s&\\\${datarootdir}&$datarootdir&g' ;;
15754 esac
15755 _ACEOF
15756
15757 # Neutralize VPATH when `$srcdir' = `.'.
15758 # Shell code in configure.ac might set extrasub.
15759 # FIXME: do we really want to maintain this feature?
15760 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15761 ac_sed_extra="$ac_vpsub
15762 $extrasub
15763 _ACEOF
15764 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15765 :t
15766 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15767 s|@configure_input@|$ac_sed_conf_input|;t t
15768 s&@top_builddir@&$ac_top_builddir_sub&;t t
15769 s&@top_build_prefix@&$ac_top_build_prefix&;t t
15770 s&@srcdir@&$ac_srcdir&;t t
15771 s&@abs_srcdir@&$ac_abs_srcdir&;t t
15772 s&@top_srcdir@&$ac_top_srcdir&;t t
15773 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15774 s&@builddir@&$ac_builddir&;t t
15775 s&@abs_builddir@&$ac_abs_builddir&;t t
15776 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15777 s&@INSTALL@&$ac_INSTALL&;t t
15778 s&@MKDIR_P@&$ac_MKDIR_P&;t t
15779 $ac_datarootdir_hack
15780 "
15781 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15782   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15783
15784 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15785   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15786   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
15787   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15788 which seems to be undefined.  Please make sure it is defined" >&5
15789 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15790 which seems to be undefined.  Please make sure it is defined" >&2;}
15791
15792   rm -f "$tmp/stdin"
15793   case $ac_file in
15794   -) cat "$tmp/out" && rm -f "$tmp/out";;
15795   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15796   esac \
15797   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15798  ;;
15799   :H)
15800   #
15801   # CONFIG_HEADER
15802   #
15803   if test x"$ac_file" != x-; then
15804     {
15805       $as_echo "/* $configure_input  */" \
15806       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15807     } >"$tmp/config.h" \
15808       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15809     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15810       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15811 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15812     else
15813       rm -f "$ac_file"
15814       mv "$tmp/config.h" "$ac_file" \
15815         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15816     fi
15817   else
15818     $as_echo "/* $configure_input  */" \
15819       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15820       || as_fn_error $? "could not create -" "$LINENO" 5
15821   fi
15822 # Compute "$ac_file"'s index in $config_headers.
15823 _am_arg="$ac_file"
15824 _am_stamp_count=1
15825 for _am_header in $config_headers :; do
15826   case $_am_header in
15827     $_am_arg | $_am_arg:* )
15828       break ;;
15829     * )
15830       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15831   esac
15832 done
15833 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15834 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15835          X"$_am_arg" : 'X\(//\)[^/]' \| \
15836          X"$_am_arg" : 'X\(//\)$' \| \
15837          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15838 $as_echo X"$_am_arg" |
15839     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15840             s//\1/
15841             q
15842           }
15843           /^X\(\/\/\)[^/].*/{
15844             s//\1/
15845             q
15846           }
15847           /^X\(\/\/\)$/{
15848             s//\1/
15849             q
15850           }
15851           /^X\(\/\).*/{
15852             s//\1/
15853             q
15854           }
15855           s/.*/./; q'`/stamp-h$_am_stamp_count
15856  ;;
15857
15858   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15859 $as_echo "$as_me: executing $ac_file commands" >&6;}
15860  ;;
15861   esac
15862
15863
15864   case $ac_file$ac_mode in
15865     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15866   # Autoconf 2.62 quotes --file arguments for eval, but not when files
15867   # are listed without --file.  Let's play safe and only enable the eval
15868   # if we detect the quoting.
15869   case $CONFIG_FILES in
15870   *\'*) eval set x "$CONFIG_FILES" ;;
15871   *)   set x $CONFIG_FILES ;;
15872   esac
15873   shift
15874   for mf
15875   do
15876     # Strip MF so we end up with the name of the file.
15877     mf=`echo "$mf" | sed -e 's/:.*$//'`
15878     # Check whether this is an Automake generated Makefile or not.
15879     # We used to match only the files named `Makefile.in', but
15880     # some people rename them; so instead we look at the file content.
15881     # Grep'ing the first line is not enough: some people post-process
15882     # each Makefile.in and add a new line on top of each file to say so.
15883     # Grep'ing the whole file is not good either: AIX grep has a line
15884     # limit of 2048, but all sed's we know have understand at least 4000.
15885     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15886       dirpart=`$as_dirname -- "$mf" ||
15887 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15888          X"$mf" : 'X\(//\)[^/]' \| \
15889          X"$mf" : 'X\(//\)$' \| \
15890          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15891 $as_echo X"$mf" |
15892     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15893             s//\1/
15894             q
15895           }
15896           /^X\(\/\/\)[^/].*/{
15897             s//\1/
15898             q
15899           }
15900           /^X\(\/\/\)$/{
15901             s//\1/
15902             q
15903           }
15904           /^X\(\/\).*/{
15905             s//\1/
15906             q
15907           }
15908           s/.*/./; q'`
15909     else
15910       continue
15911     fi
15912     # Extract the definition of DEPDIR, am__include, and am__quote
15913     # from the Makefile without running `make'.
15914     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15915     test -z "$DEPDIR" && continue
15916     am__include=`sed -n 's/^am__include = //p' < "$mf"`
15917     test -z "am__include" && continue
15918     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15919     # When using ansi2knr, U may be empty or an underscore; expand it
15920     U=`sed -n 's/^U = //p' < "$mf"`
15921     # Find all dependency output files, they are included files with
15922     # $(DEPDIR) in their names.  We invoke sed twice because it is the
15923     # simplest approach to changing $(DEPDIR) to its actual value in the
15924     # expansion.
15925     for file in `sed -n "
15926       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15927          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15928       # Make sure the directory exists.
15929       test -f "$dirpart/$file" && continue
15930       fdir=`$as_dirname -- "$file" ||
15931 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15932          X"$file" : 'X\(//\)[^/]' \| \
15933          X"$file" : 'X\(//\)$' \| \
15934          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15935 $as_echo X"$file" |
15936     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15937             s//\1/
15938             q
15939           }
15940           /^X\(\/\/\)[^/].*/{
15941             s//\1/
15942             q
15943           }
15944           /^X\(\/\/\)$/{
15945             s//\1/
15946             q
15947           }
15948           /^X\(\/\).*/{
15949             s//\1/
15950             q
15951           }
15952           s/.*/./; q'`
15953       as_dir=$dirpart/$fdir; as_fn_mkdir_p
15954       # echo "creating $dirpart/$file"
15955       echo '# dummy' > "$dirpart/$file"
15956     done
15957   done
15958 }
15959  ;;
15960     "libtool":C)
15961
15962     # See if we are running on zsh, and set the options which allow our
15963     # commands through without removal of \ escapes.
15964     if test -n "${ZSH_VERSION+set}" ; then
15965       setopt NO_GLOB_SUBST
15966     fi
15967
15968     cfgfile="${ofile}T"
15969     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15970     $RM "$cfgfile"
15971
15972     cat <<_LT_EOF >> "$cfgfile"
15973 #! $SHELL
15974
15975 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15976 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15977 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15978 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
15979 #
15980 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15981 #                 2006, 2007, 2008 Free Software Foundation, Inc.
15982 #   Written by Gordon Matzigkeit, 1996
15983 #
15984 #   This file is part of GNU Libtool.
15985 #
15986 # GNU Libtool is free software; you can redistribute it and/or
15987 # modify it under the terms of the GNU General Public License as
15988 # published by the Free Software Foundation; either version 2 of
15989 # the License, or (at your option) any later version.
15990 #
15991 # As a special exception to the GNU General Public License,
15992 # if you distribute this file as part of a program or library that
15993 # is built using GNU Libtool, you may include this file under the
15994 # same distribution terms that you use for the rest of that program.
15995 #
15996 # GNU Libtool is distributed in the hope that it will be useful,
15997 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15998 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15999 # GNU General Public License for more details.
16000 #
16001 # You should have received a copy of the GNU General Public License
16002 # along with GNU Libtool; see the file COPYING.  If not, a copy
16003 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16004 # obtained by writing to the Free Software Foundation, Inc.,
16005 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16006
16007
16008 # The names of the tagged configurations supported by this script.
16009 available_tags=""
16010
16011 # ### BEGIN LIBTOOL CONFIG
16012
16013 # Assembler program.
16014 AS=$AS
16015
16016 # DLL creation program.
16017 DLLTOOL=$DLLTOOL
16018
16019 # Object dumper program.
16020 OBJDUMP=$OBJDUMP
16021
16022 # Which release of libtool.m4 was used?
16023 macro_version=$macro_version
16024 macro_revision=$macro_revision
16025
16026 # Whether or not to build shared libraries.
16027 build_libtool_libs=$enable_shared
16028
16029 # Whether or not to build static libraries.
16030 build_old_libs=$enable_static
16031
16032 # What type of objects to build.
16033 pic_mode=$pic_mode
16034
16035 # Whether or not to optimize for fast installation.
16036 fast_install=$enable_fast_install
16037
16038 # The host system.
16039 host_alias=$host_alias
16040 host=$host
16041 host_os=$host_os
16042
16043 # The build system.
16044 build_alias=$build_alias
16045 build=$build
16046 build_os=$build_os
16047
16048 # A sed program that does not truncate output.
16049 SED=$lt_SED
16050
16051 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
16052 Xsed="\$SED -e 1s/^X//"
16053
16054 # A grep program that handles long lines.
16055 GREP=$lt_GREP
16056
16057 # An ERE matcher.
16058 EGREP=$lt_EGREP
16059
16060 # A literal string matcher.
16061 FGREP=$lt_FGREP
16062
16063 # A BSD- or MS-compatible name lister.
16064 NM=$lt_NM
16065
16066 # Whether we need soft or hard links.
16067 LN_S=$lt_LN_S
16068
16069 # What is the maximum length of a command?
16070 max_cmd_len=$max_cmd_len
16071
16072 # Object file suffix (normally "o").
16073 objext=$ac_objext
16074
16075 # Executable file suffix (normally "").
16076 exeext=$exeext
16077
16078 # whether the shell understands "unset".
16079 lt_unset=$lt_unset
16080
16081 # turn spaces into newlines.
16082 SP2NL=$lt_lt_SP2NL
16083
16084 # turn newlines into spaces.
16085 NL2SP=$lt_lt_NL2SP
16086
16087 # How to create reloadable object files.
16088 reload_flag=$lt_reload_flag
16089 reload_cmds=$lt_reload_cmds
16090
16091 # Method to check whether dependent libraries are shared objects.
16092 deplibs_check_method=$lt_deplibs_check_method
16093
16094 # Command to use when deplibs_check_method == "file_magic".
16095 file_magic_cmd=$lt_file_magic_cmd
16096
16097 # The archiver.
16098 AR=$lt_AR
16099 AR_FLAGS=$lt_AR_FLAGS
16100
16101 # A symbol stripping program.
16102 STRIP=$lt_STRIP
16103
16104 # Commands used to install an old-style archive.
16105 RANLIB=$lt_RANLIB
16106 old_postinstall_cmds=$lt_old_postinstall_cmds
16107 old_postuninstall_cmds=$lt_old_postuninstall_cmds
16108
16109 # A C compiler.
16110 LTCC=$lt_CC
16111
16112 # LTCC compiler flags.
16113 LTCFLAGS=$lt_CFLAGS
16114
16115 # Take the output of nm and produce a listing of raw symbols and C names.
16116 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16117
16118 # Transform the output of nm in a proper C declaration.
16119 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16120
16121 # Transform the output of nm in a C name address pair.
16122 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16123
16124 # Transform the output of nm in a C name address pair when lib prefix is needed.
16125 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16126
16127 # The name of the directory that contains temporary libtool files.
16128 objdir=$objdir
16129
16130 # Shell to use when invoking shell scripts.
16131 SHELL=$lt_SHELL
16132
16133 # An echo program that does not interpret backslashes.
16134 ECHO=$lt_ECHO
16135
16136 # Used to examine libraries when file_magic_cmd begins with "file".
16137 MAGIC_CMD=$MAGIC_CMD
16138
16139 # Must we lock files when doing compilation?
16140 need_locks=$lt_need_locks
16141
16142 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16143 DSYMUTIL=$lt_DSYMUTIL
16144
16145 # Tool to change global to local symbols on Mac OS X.
16146 NMEDIT=$lt_NMEDIT
16147
16148 # Tool to manipulate fat objects and archives on Mac OS X.
16149 LIPO=$lt_LIPO
16150
16151 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
16152 OTOOL=$lt_OTOOL
16153
16154 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16155 OTOOL64=$lt_OTOOL64
16156
16157 # Old archive suffix (normally "a").
16158 libext=$libext
16159
16160 # Shared library suffix (normally ".so").
16161 shrext_cmds=$lt_shrext_cmds
16162
16163 # The commands to extract the exported symbol list from a shared archive.
16164 extract_expsyms_cmds=$lt_extract_expsyms_cmds
16165
16166 # Variables whose values should be saved in libtool wrapper scripts and
16167 # restored at link time.
16168 variables_saved_for_relink=$lt_variables_saved_for_relink
16169
16170 # Do we need the "lib" prefix for modules?
16171 need_lib_prefix=$need_lib_prefix
16172
16173 # Do we need a version for libraries?
16174 need_version=$need_version
16175
16176 # Library versioning type.
16177 version_type=$version_type
16178
16179 # Shared library runtime path variable.
16180 runpath_var=$runpath_var
16181
16182 # Shared library path variable.
16183 shlibpath_var=$shlibpath_var
16184
16185 # Is shlibpath searched before the hard-coded library search path?
16186 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16187
16188 # Format of library name prefix.
16189 libname_spec=$lt_libname_spec
16190
16191 # List of archive names.  First name is the real one, the rest are links.
16192 # The last name is the one that the linker finds with -lNAME
16193 library_names_spec=$lt_library_names_spec
16194
16195 # The coded name of the library, if different from the real name.
16196 soname_spec=$lt_soname_spec
16197
16198 # Command to use after installation of a shared archive.
16199 postinstall_cmds=$lt_postinstall_cmds
16200
16201 # Command to use after uninstallation of a shared archive.
16202 postuninstall_cmds=$lt_postuninstall_cmds
16203
16204 # Commands used to finish a libtool library installation in a directory.
16205 finish_cmds=$lt_finish_cmds
16206
16207 # As "finish_cmds", except a single script fragment to be evaled but
16208 # not shown.
16209 finish_eval=$lt_finish_eval
16210
16211 # Whether we should hardcode library paths into libraries.
16212 hardcode_into_libs=$hardcode_into_libs
16213
16214 # Compile-time system search path for libraries.
16215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16216
16217 # Run-time system search path for libraries.
16218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16219
16220 # Whether dlopen is supported.
16221 dlopen_support=$enable_dlopen
16222
16223 # Whether dlopen of programs is supported.
16224 dlopen_self=$enable_dlopen_self
16225
16226 # Whether dlopen of statically linked programs is supported.
16227 dlopen_self_static=$enable_dlopen_self_static
16228
16229 # Commands to strip libraries.
16230 old_striplib=$lt_old_striplib
16231 striplib=$lt_striplib
16232
16233
16234 # The linker used to build libraries.
16235 LD=$lt_LD
16236
16237 # Commands used to build an old-style archive.
16238 old_archive_cmds=$lt_old_archive_cmds
16239
16240 # A language specific compiler.
16241 CC=$lt_compiler
16242
16243 # Is the compiler the GNU compiler?
16244 with_gcc=$GCC
16245
16246 # Compiler flag to turn off builtin functions.
16247 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16248
16249 # How to pass a linker flag through the compiler.
16250 wl=$lt_lt_prog_compiler_wl
16251
16252 # Additional compiler flags for building library objects.
16253 pic_flag=$lt_lt_prog_compiler_pic
16254
16255 # Compiler flag to prevent dynamic linking.
16256 link_static_flag=$lt_lt_prog_compiler_static
16257
16258 # Does compiler simultaneously support -c and -o options?
16259 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16260
16261 # Whether or not to add -lc for building shared libraries.
16262 build_libtool_need_lc=$archive_cmds_need_lc
16263
16264 # Whether or not to disallow shared libs when runtime libs are static.
16265 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16266
16267 # Compiler flag to allow reflexive dlopens.
16268 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16269
16270 # Compiler flag to generate shared objects directly from archives.
16271 whole_archive_flag_spec=$lt_whole_archive_flag_spec
16272
16273 # Whether the compiler copes with passing no objects directly.
16274 compiler_needs_object=$lt_compiler_needs_object
16275
16276 # Create an old-style archive from a shared archive.
16277 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16278
16279 # Create a temporary old-style archive to link instead of a shared archive.
16280 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16281
16282 # Commands used to build a shared archive.
16283 archive_cmds=$lt_archive_cmds
16284 archive_expsym_cmds=$lt_archive_expsym_cmds
16285
16286 # Commands used to build a loadable module if different from building
16287 # a shared archive.
16288 module_cmds=$lt_module_cmds
16289 module_expsym_cmds=$lt_module_expsym_cmds
16290
16291 # Whether we are building with GNU ld or not.
16292 with_gnu_ld=$lt_with_gnu_ld
16293
16294 # Flag that allows shared libraries with undefined symbols to be built.
16295 allow_undefined_flag=$lt_allow_undefined_flag
16296
16297 # Flag that enforces no undefined symbols.
16298 no_undefined_flag=$lt_no_undefined_flag
16299
16300 # Flag to hardcode \$libdir into a binary during linking.
16301 # This must work even if \$libdir does not exist
16302 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16303
16304 # If ld is used when linking, flag to hardcode \$libdir into a binary
16305 # during linking.  This must work even if \$libdir does not exist.
16306 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
16307
16308 # Whether we need a single "-rpath" flag with a separated argument.
16309 hardcode_libdir_separator=$lt_hardcode_libdir_separator
16310
16311 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16312 # DIR into the resulting binary.
16313 hardcode_direct=$hardcode_direct
16314
16315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16316 # DIR into the resulting binary and the resulting library dependency is
16317 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16318 # library is relocated.
16319 hardcode_direct_absolute=$hardcode_direct_absolute
16320
16321 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16322 # into the resulting binary.
16323 hardcode_minus_L=$hardcode_minus_L
16324
16325 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16326 # into the resulting binary.
16327 hardcode_shlibpath_var=$hardcode_shlibpath_var
16328
16329 # Set to "yes" if building a shared library automatically hardcodes DIR
16330 # into the library and all subsequent libraries and executables linked
16331 # against it.
16332 hardcode_automatic=$hardcode_automatic
16333
16334 # Set to yes if linker adds runtime paths of dependent libraries
16335 # to runtime path list.
16336 inherit_rpath=$inherit_rpath
16337
16338 # Whether libtool must link a program against all its dependency libraries.
16339 link_all_deplibs=$link_all_deplibs
16340
16341 # Fix the shell variable \$srcfile for the compiler.
16342 fix_srcfile_path=$lt_fix_srcfile_path
16343
16344 # Set to "yes" if exported symbols are required.
16345 always_export_symbols=$always_export_symbols
16346
16347 # The commands to list exported symbols.
16348 export_symbols_cmds=$lt_export_symbols_cmds
16349
16350 # Symbols that should not be listed in the preloaded symbols.
16351 exclude_expsyms=$lt_exclude_expsyms
16352
16353 # Symbols that must always be exported.
16354 include_expsyms=$lt_include_expsyms
16355
16356 # Commands necessary for linking programs (against libraries) with templates.
16357 prelink_cmds=$lt_prelink_cmds
16358
16359 # Specify filename containing input files.
16360 file_list_spec=$lt_file_list_spec
16361
16362 # How to hardcode a shared library path into an executable.
16363 hardcode_action=$hardcode_action
16364
16365 # ### END LIBTOOL CONFIG
16366
16367 _LT_EOF
16368
16369   case $host_os in
16370   aix3*)
16371     cat <<\_LT_EOF >> "$cfgfile"
16372 # AIX sometimes has problems with the GCC collect2 program.  For some
16373 # reason, if we set the COLLECT_NAMES environment variable, the problems
16374 # vanish in a puff of smoke.
16375 if test "X${COLLECT_NAMES+set}" != Xset; then
16376   COLLECT_NAMES=
16377   export COLLECT_NAMES
16378 fi
16379 _LT_EOF
16380     ;;
16381   esac
16382
16383
16384 ltmain="$ac_aux_dir/ltmain.sh"
16385
16386
16387   # We use sed instead of cat because bash on DJGPP gets confused if
16388   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16389   # text mode, it properly converts lines to CR/LF.  This bash problem
16390   # is reportedly fixed, but why not run on old versions too?
16391   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16392     || (rm -f "$cfgfile"; exit 1)
16393
16394   case $xsi_shell in
16395   yes)
16396     cat << \_LT_EOF >> "$cfgfile"
16397
16398 # func_dirname file append nondir_replacement
16399 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16400 # otherwise set result to NONDIR_REPLACEMENT.
16401 func_dirname ()
16402 {
16403   case ${1} in
16404     */*) func_dirname_result="${1%/*}${2}" ;;
16405     *  ) func_dirname_result="${3}" ;;
16406   esac
16407 }
16408
16409 # func_basename file
16410 func_basename ()
16411 {
16412   func_basename_result="${1##*/}"
16413 }
16414
16415 # func_dirname_and_basename file append nondir_replacement
16416 # perform func_basename and func_dirname in a single function
16417 # call:
16418 #   dirname:  Compute the dirname of FILE.  If nonempty,
16419 #             add APPEND to the result, otherwise set result
16420 #             to NONDIR_REPLACEMENT.
16421 #             value returned in "$func_dirname_result"
16422 #   basename: Compute filename of FILE.
16423 #             value retuned in "$func_basename_result"
16424 # Implementation must be kept synchronized with func_dirname
16425 # and func_basename. For efficiency, we do not delegate to
16426 # those functions but instead duplicate the functionality here.
16427 func_dirname_and_basename ()
16428 {
16429   case ${1} in
16430     */*) func_dirname_result="${1%/*}${2}" ;;
16431     *  ) func_dirname_result="${3}" ;;
16432   esac
16433   func_basename_result="${1##*/}"
16434 }
16435
16436 # func_stripname prefix suffix name
16437 # strip PREFIX and SUFFIX off of NAME.
16438 # PREFIX and SUFFIX must not contain globbing or regex special
16439 # characters, hashes, percent signs, but SUFFIX may contain a leading
16440 # dot (in which case that matches only a dot).
16441 func_stripname ()
16442 {
16443   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16444   # positional parameters, so assign one to ordinary parameter first.
16445   func_stripname_result=${3}
16446   func_stripname_result=${func_stripname_result#"${1}"}
16447   func_stripname_result=${func_stripname_result%"${2}"}
16448 }
16449
16450 # func_opt_split
16451 func_opt_split ()
16452 {
16453   func_opt_split_opt=${1%%=*}
16454   func_opt_split_arg=${1#*=}
16455 }
16456
16457 # func_lo2o object
16458 func_lo2o ()
16459 {
16460   case ${1} in
16461     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16462     *)    func_lo2o_result=${1} ;;
16463   esac
16464 }
16465
16466 # func_xform libobj-or-source
16467 func_xform ()
16468 {
16469   func_xform_result=${1%.*}.lo
16470 }
16471
16472 # func_arith arithmetic-term...
16473 func_arith ()
16474 {
16475   func_arith_result=$(( $* ))
16476 }
16477
16478 # func_len string
16479 # STRING may not start with a hyphen.
16480 func_len ()
16481 {
16482   func_len_result=${#1}
16483 }
16484
16485 _LT_EOF
16486     ;;
16487   *) # Bourne compatible functions.
16488     cat << \_LT_EOF >> "$cfgfile"
16489
16490 # func_dirname file append nondir_replacement
16491 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16492 # otherwise set result to NONDIR_REPLACEMENT.
16493 func_dirname ()
16494 {
16495   # Extract subdirectory from the argument.
16496   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
16497   if test "X$func_dirname_result" = "X${1}"; then
16498     func_dirname_result="${3}"
16499   else
16500     func_dirname_result="$func_dirname_result${2}"
16501   fi
16502 }
16503
16504 # func_basename file
16505 func_basename ()
16506 {
16507   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
16508 }
16509
16510
16511 # func_stripname prefix suffix name
16512 # strip PREFIX and SUFFIX off of NAME.
16513 # PREFIX and SUFFIX must not contain globbing or regex special
16514 # characters, hashes, percent signs, but SUFFIX may contain a leading
16515 # dot (in which case that matches only a dot).
16516 # func_strip_suffix prefix name
16517 func_stripname ()
16518 {
16519   case ${2} in
16520     .*) func_stripname_result=`$ECHO "X${3}" \
16521            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
16522     *)  func_stripname_result=`$ECHO "X${3}" \
16523            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
16524   esac
16525 }
16526
16527 # sed scripts:
16528 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16529 my_sed_long_arg='1s/^-[^=]*=//'
16530
16531 # func_opt_split
16532 func_opt_split ()
16533 {
16534   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
16535   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
16536 }
16537
16538 # func_lo2o object
16539 func_lo2o ()
16540 {
16541   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
16542 }
16543
16544 # func_xform libobj-or-source
16545 func_xform ()
16546 {
16547   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
16548 }
16549
16550 # func_arith arithmetic-term...
16551 func_arith ()
16552 {
16553   func_arith_result=`expr "$@"`
16554 }
16555
16556 # func_len string
16557 # STRING may not start with a hyphen.
16558 func_len ()
16559 {
16560   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16561 }
16562
16563 _LT_EOF
16564 esac
16565
16566 case $lt_shell_append in
16567   yes)
16568     cat << \_LT_EOF >> "$cfgfile"
16569
16570 # func_append var value
16571 # Append VALUE to the end of shell variable VAR.
16572 func_append ()
16573 {
16574   eval "$1+=\$2"
16575 }
16576 _LT_EOF
16577     ;;
16578   *)
16579     cat << \_LT_EOF >> "$cfgfile"
16580
16581 # func_append var value
16582 # Append VALUE to the end of shell variable VAR.
16583 func_append ()
16584 {
16585   eval "$1=\$$1\$2"
16586 }
16587
16588 _LT_EOF
16589     ;;
16590   esac
16591
16592
16593   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16594     || (rm -f "$cfgfile"; exit 1)
16595
16596   mv -f "$cfgfile" "$ofile" ||
16597     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16598   chmod +x "$ofile"
16599
16600  ;;
16601
16602   esac
16603 done # for ac_tag
16604
16605
16606 as_fn_exit 0
16607 _ACEOF
16608 ac_clean_files=$ac_clean_files_save
16609
16610 test $ac_write_fail = 0 ||
16611   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16612
16613
16614 # configure is writing to config.log, and then calls config.status.
16615 # config.status does its own redirection, appending to config.log.
16616 # Unfortunately, on DOS this fails, as config.log is still kept open
16617 # by configure, so config.status won't be able to write to it; its
16618 # output is simply discarded.  So we exec the FD to /dev/null,
16619 # effectively closing config.log, so it can be properly (re)opened and
16620 # appended to by config.status.  When coming back to configure, we
16621 # need to make the FD available again.
16622 if test "$no_create" != yes; then
16623   ac_cs_success=:
16624   ac_config_status_args=
16625   test "$silent" = yes &&
16626     ac_config_status_args="$ac_config_status_args --quiet"
16627   exec 5>/dev/null
16628   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16629   exec 5>>config.log
16630   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16631   # would make configure fail if this is the last instruction.
16632   $ac_cs_success || as_fn_exit 1
16633 fi
16634 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16635   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16636 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16637 fi
16638
16639
16640
16641 #####################################################################
16642 ## Info
16643
16644 echo
16645 echo
16646 echo
16647 echo "------------------------------------------------------------------------"
16648 echo "$PACKAGE $VERSION"
16649 echo "------------------------------------------------------------------------"
16650 echo
16651 echo "Configuration Options Summary:"
16652 echo
16653 echo "  Modules:"
16654 echo "    Xine...............: ${enable_xine}"
16655 echo "    Gstreamer..........: ${enable_gstreamer} (X: ${have_ecore_x}/${build_xoverlay})"
16656 echo "    Generic............: ${enable_generic}"
16657
16658 if test "x${enable_generic}" = "xyes" || test "x${enable_generic}" = "xstatic"; then
16659 echo
16660 echo "  Generic Players:"
16661 echo "    VLC................: ${enable_generic_vlc}"
16662 fi
16663
16664 echo
16665 echo "  Build emotion_test...: $have_emotion_test"
16666 echo "  edje_cc..............: ${edje_cc}"
16667 echo
16668 echo "  Edje EXTERNAL support: ${have_edje_external}"
16669 echo
16670 echo "  Eio..................: ${have_eio}"
16671 echo "  V4L2.................: ${have_v4l2}"
16672 echo
16673 echo "Documentation..........: ${build_doc}"
16674 echo "Examples.............: ${enable_build_examples}"
16675 echo "Examples installed...: ${enable_install_examples}"
16676 echo
16677 echo "Compilation............: make (or gmake)"
16678 echo "  CPPFLAGS.............: $CPPFLAGS"
16679 echo "  CFLAGS...............: $CFLAGS"
16680 echo "  LDFLAGS..............: $LDFLAGS"
16681 echo
16682 echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
16683 echo "  prefix...............: $prefix"
16684 echo
16685 if test "x${have_static_module}" = "xyes" ; then
16686 echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Emotion."
16687 echo "         You must know what you are doing, or else you will have a lot of problems."
16688 echo "         And asparagus will disappear from the earth."
16689 echo "         Think about that."
16690 echo
16691 fi