Merge changes I674e7687,Ibad9800b into tizen
[platform/upstream/elementary.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for elementary 1.7.8.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20   emulate sh
21   NULLCMD=:
22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23   # is contrary to our usage.  Disable this feature.
24   alias -g '${1+"$@"}'='"$@"'
25   setopt NO_GLOB_SUBST
26 else
27   case `(set -o) 2>/dev/null` in #(
28   *posix*) :
29     set -o posix ;; #(
30   *) :
31      ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47   as_echo='print -r --'
48   as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50   as_echo='printf %s\n'
51   as_echo_n='printf %s'
52 else
53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55     as_echo_n='/usr/ucb/echo -n'
56   else
57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58     as_echo_n_body='eval
59       arg=$1;
60       case $arg in #(
61       *"$as_nl"*)
62         expr "X$arg" : "X\\(.*\\)$as_nl";
63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64       esac;
65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66     '
67     export as_echo_n_body
68     as_echo_n='sh -c $as_echo_n_body as_echo'
69   fi
70   export as_echo_body
71   as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76   PATH_SEPARATOR=:
77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79       PATH_SEPARATOR=';'
80   }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order.  Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" ""        $as_nl"
90
91 # Find who we are.  Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94   *[\\/]* ) as_myself=$0 ;;
95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98   IFS=$as_save_IFS
99   test -z "$as_dir" && as_dir=.
100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101   done
102 IFS=$as_save_IFS
103
104      ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109   as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113   exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there.  '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 # Use a proper internal environment variable to ensure we don't fall
138   # into an infinite loop, continuously re-executing ourselves.
139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140     _as_can_reexec=no; export _as_can_reexec;
141     # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149   *v*x* | *x*v* ) as_opts=-vx ;;
150   *v* ) as_opts=-v ;;
151   *x* ) as_opts=-x ;;
152   * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
159   fi
160   # We don't want this to propagate to other subprocesses.
161           { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164   emulate sh
165   NULLCMD=:
166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167   # is contrary to our usage.  Disable this feature.
168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
169   setopt NO_GLOB_SUBST
170 else
171   case \`(set -o) 2>/dev/null\` in #(
172   *posix*) :
173     set -o posix ;; #(
174   *) :
175      ;;
176 esac
177 fi
178 "
179   as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
184
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192 else
193   exitcode=1; echo positional parameters were not saved.
194 fi
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
202
203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207     PATH=/empty FPATH=/empty; export PATH FPATH
208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210   if (eval "$as_required") 2>/dev/null; then :
211   as_have_required=yes
212 else
213   as_have_required=no
214 fi
215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217 else
218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219 as_found=false
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221 do
222   IFS=$as_save_IFS
223   test -z "$as_dir" && as_dir=.
224   as_found=:
225   case $as_dir in #(
226          /*)
227            for as_base in sh bash ksh sh5; do
228              # Try only shells that exist, to save several forks.
229              as_shell=$as_dir/$as_base
230              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232   CONFIG_SHELL=$as_shell as_have_required=yes
233                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234   break 2
235 fi
236 fi
237            done;;
238        esac
239   as_found=false
240 done
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243   CONFIG_SHELL=$SHELL as_have_required=yes
244 fi; }
245 IFS=$as_save_IFS
246
247
248       if test "x$CONFIG_SHELL" != x; then :
249   export CONFIG_SHELL
250              # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
254 BASH_ENV=/dev/null
255 ENV=/dev/null
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257 case $- in # ((((
258   *v*x* | *x*v* ) as_opts=-vx ;;
259   *v* ) as_opts=-v ;;
260   *x* ) as_opts=-x ;;
261   * ) as_opts= ;;
262 esac
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267 exit 255
268 fi
269
270     if test x$as_have_required = xno; then :
271   $as_echo "$0: This script requires a shell more modern than all"
272   $as_echo "$0: the shells that I found on your system."
273   if test x${ZSH_VERSION+set} = xset ; then
274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276   else
277     $as_echo "$0: Please tell bug-autoconf@gnu.org and
278 $0: enlightenment-devel@lists.sourceforge.net about your
279 $0: system, including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
282   fi
283   exit 1
284 fi
285 fi
286 fi
287 SHELL=${CONFIG_SHELL-/bin/sh}
288 export SHELL
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
292
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
296 # as_fn_unset VAR
297 # ---------------
298 # Portably unset VAR.
299 as_fn_unset ()
300 {
301   { eval $1=; unset $1;}
302 }
303 as_unset=as_fn_unset
304
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
308 as_fn_set_status ()
309 {
310   return $1
311 } # as_fn_set_status
312
313 # as_fn_exit STATUS
314 # -----------------
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316 as_fn_exit ()
317 {
318   set +e
319   as_fn_set_status $1
320   exit $1
321 } # as_fn_exit
322
323 # as_fn_mkdir_p
324 # -------------
325 # Create "$as_dir" as a directory, including parents if necessary.
326 as_fn_mkdir_p ()
327 {
328
329   case $as_dir in #(
330   -*) as_dir=./$as_dir;;
331   esac
332   test -d "$as_dir" || eval $as_mkdir_p || {
333     as_dirs=
334     while :; do
335       case $as_dir in #(
336       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337       *) as_qdir=$as_dir;;
338       esac
339       as_dirs="'$as_qdir' $as_dirs"
340       as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342          X"$as_dir" : 'X\(//\)[^/]' \| \
343          X"$as_dir" : 'X\(//\)$' \| \
344          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347             s//\1/
348             q
349           }
350           /^X\(\/\/\)[^/].*/{
351             s//\1/
352             q
353           }
354           /^X\(\/\/\)$/{
355             s//\1/
356             q
357           }
358           /^X\(\/\).*/{
359             s//\1/
360             q
361           }
362           s/.*/./; q'`
363       test -d "$as_dir" && break
364     done
365     test -z "$as_dirs" || eval "mkdir $as_dirs"
366   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369 } # as_fn_mkdir_p
370
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
375 {
376   test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
383 # implementations.
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385   eval 'as_fn_append ()
386   {
387     eval $1+=\$2
388   }'
389 else
390   as_fn_append ()
391   {
392     eval $1=\$$1\$2
393   }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402   eval 'as_fn_arith ()
403   {
404     as_val=$(( $* ))
405   }'
406 else
407   as_fn_arith ()
408   {
409     as_val=`expr "$@" || test $? -eq 1`
410   }
411 fi # as_fn_arith
412
413
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
419 as_fn_error ()
420 {
421   as_status=$1; test $as_status -eq 0 && as_status=1
422   if test "$4"; then
423     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425   fi
426   $as_echo "$as_me: error: $2" >&2
427   as_fn_exit $as_status
428 } # as_fn_error
429
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431    test "X`expr 00001 : '.*\(...\)'`" = X001; then
432   as_expr=expr
433 else
434   as_expr=false
435 fi
436
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438   as_basename=basename
439 else
440   as_basename=false
441 fi
442
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444   as_dirname=dirname
445 else
446   as_dirname=false
447 fi
448
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451          X"$0" : 'X\(//\)$' \| \
452          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453 $as_echo X/"$0" |
454     sed '/^.*\/\([^/][^/]*\)\/*$/{
455             s//\1/
456             q
457           }
458           /^X\/\(\/\/\)$/{
459             s//\1/
460             q
461           }
462           /^X\/\(\/\).*/{
463             s//\1/
464             q
465           }
466           s/.*/./; q'`
467
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476   as_lineno_1=$LINENO as_lineno_1a=$LINENO
477   as_lineno_2=$LINENO as_lineno_2a=$LINENO
478   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481   sed -n '
482     p
483     /[$]LINENO/=
484   ' <$as_myself |
485     sed '
486       s/[$]LINENO.*/&-/
487       t lineno
488       b
489       :lineno
490       N
491       :loop
492       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493       t loop
494       s/-\n.*//
495     ' >$as_me.lineno &&
496   chmod +x "$as_me.lineno" ||
497     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500   # already done that, so ensure we don't try to do so again and fall
501   # in an infinite loop.  This has already happened in practice.
502   _as_can_reexec=no; export _as_can_reexec
503   # Don't try to exec as it changes $[0], causing all sort of problems
504   # (the dirname of $[0] is not the place where we might find the
505   # original and so on.  Autoconf is especially sensitive to this).
506   . "./$as_me.lineno"
507   # Exit status is that of the last command.
508   exit
509 }
510
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
513 -n*)
514   case `echo 'xy\c'` in
515   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
516   xy)  ECHO_C='\c';;
517   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518        ECHO_T=' ';;
519   esac;;
520 *)
521   ECHO_N='-n';;
522 esac
523
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526   rm -f conf$$.dir/conf$$.file
527 else
528   rm -f conf$$.dir
529   mkdir conf$$.dir 2>/dev/null
530 fi
531 if (echo >conf$$.file) 2>/dev/null; then
532   if ln -s conf$$.file conf$$ 2>/dev/null; then
533     as_ln_s='ln -s'
534     # ... but there are two gotchas:
535     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537     # In both cases, we have to default to `cp -pR'.
538     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539       as_ln_s='cp -pR'
540   elif ln conf$$.file conf$$ 2>/dev/null; then
541     as_ln_s=ln
542   else
543     as_ln_s='cp -pR'
544   fi
545 else
546   as_ln_s='cp -pR'
547 fi
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
550
551 if mkdir -p . 2>/dev/null; then
552   as_mkdir_p='mkdir -p "$as_dir"'
553 else
554   test -d ./-p && rmdir ./-p
555   as_mkdir_p=false
556 fi
557
558 as_test_x='test -x'
559 as_executable_p=as_fn_executable_p
560
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567 SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570 test -n "$DJDIR" || exec 7<&0 </dev/null
571 exec 6>&1
572
573 # Name of the host.
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578 #
579 # Initializations.
580 #
581 ac_default_prefix=/usr/local
582 ac_clean_files=
583 ac_config_libobj_dir=.
584 LIBOBJS=
585 cross_compiling=no
586 subdirs=
587 MFLAGS=
588 MAKEFLAGS=
589
590 # Identity of this package.
591 PACKAGE_NAME='elementary'
592 PACKAGE_TARNAME='elementary'
593 PACKAGE_VERSION='1.7.8'
594 PACKAGE_STRING='elementary 1.7.8'
595 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
596 PACKAGE_URL=''
597
598 ac_unique_file="configure.ac"
599 # Factoring default headers for most tests.
600 ac_includes_default="\
601 #include <stdio.h>
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
604 #endif
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
607 #endif
608 #ifdef STDC_HEADERS
609 # include <stdlib.h>
610 # include <stddef.h>
611 #else
612 # ifdef HAVE_STDLIB_H
613 #  include <stdlib.h>
614 # endif
615 #endif
616 #ifdef HAVE_STRING_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #  include <memory.h>
619 # endif
620 # include <string.h>
621 #endif
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_UNISTD_H
632 # include <unistd.h>
633 #endif"
634
635 gt_needs=
636 ac_subst_vars='am__EXEEXT_FALSE
637 am__EXEEXT_TRUE
638 LTLIBOBJS
639 LIBOBJS
640 EFL_INSTALL_EXAMPLES_FALSE
641 EFL_INSTALL_EXAMPLES_TRUE
642 EFL_BUILD_EXAMPLES_FALSE
643 EFL_BUILD_EXAMPLES_TRUE
644 HAVE_PO_FALSE
645 HAVE_PO_TRUE
646 POSUB
647 LTLIBINTL
648 LIBINTL
649 INTLLIBS
650 LTLIBICONV
651 LIBICONV
652 INTL_MACOSX_LIBS
653 XGETTEXT_EXTRA_OPTIONS
654 MSGMERGE
655 XGETTEXT_015
656 XGETTEXT
657 GMSGFMT_015
658 MSGFMT_015
659 GMSGFMT
660 MSGFMT
661 GETTEXT_MACRO_VERSION
662 USE_NLS
663 BUILD_ELEMENTARY_CONFIG_FALSE
664 BUILD_ELEMENTARY_CONFIG_TRUE
665 ELEMENTARY_CONFIG_PRG
666 BUILD_ELEMENTARY_TEST_FALSE
667 BUILD_ELEMENTARY_TEST_TRUE
668 ELEMENTARY_TEST_PRG
669 EFL_BUILD_DOC_FALSE
670 EFL_BUILD_DOC_TRUE
671 efl_doxygen
672 efl_have_doxygen
673 edje_cc
674 eet_eet
675 requirement_elm
676 my_libs
677 ELM_DIRENT_H_DEF
678 ELM_LIBINTL_H_DEF
679 ELM_ALLOCA_H_DEF
680 ELM_DEBUG_DEF
681 ELM_WEB_DEF
682 ELEMENTARY_WEB_LIBS
683 ELEMENTARY_WEB_CFLAGS
684 ELM_ETHUMB_DEF
685 ELEMENTARY_ETHUMB_LIBS
686 ELEMENTARY_ETHUMB_CFLAGS
687 ELM_EMAP_DEF
688 ELEMENTARY_EMAP_LIBS
689 ELEMENTARY_EMAP_CFLAGS
690 ELM_EWEATHER_DEF
691 ELEMENTARY_EWEATHER_LIBS
692 ELEMENTARY_EWEATHER_CFLAGS
693 ELM_EFREET_DEF
694 ELEMENTARY_EFREET_LIBS
695 ELEMENTARY_EFREET_CFLAGS
696 ELM_EDBUS_DEF
697 ELEMENTARY_EDBUS_LIBS
698 ELEMENTARY_EDBUS_CFLAGS
699 ELEMENTARY_WAYLAND_LIBS
700 ELEMENTARY_WAYLAND_CFLAGS
701 ELEMENTARY_WINCE_LIBS
702 ELEMENTARY_WINCE_CFLAGS
703 ELEMENTARY_WIN32_LIBS
704 ELEMENTARY_WIN32_CFLAGS
705 ELEMENTARY_COCOA_LIBS
706 ELEMENTARY_COCOA_CFLAGS
707 ELEMENTARY_SDL_LIBS
708 ELEMENTARY_SDL_CFLAGS
709 ELEMENTARY_PSL1GHT_LIBS
710 ELEMENTARY_PSL1GHT_CFLAGS
711 ELEMENTARY_FB_LIBS
712 ELEMENTARY_FB_CFLAGS
713 ELEMENTARY_X_LIBS
714 ELEMENTARY_X_CFLAGS
715 HAVE_EMOTION_FALSE
716 HAVE_EMOTION_TRUE
717 EMOTION_LIBS
718 EMOTION_CFLAGS
719 HAVE_EIO_FALSE
720 HAVE_EIO_TRUE
721 EIO_LIBS
722 EIO_CFLAGS
723 HAVE_ECORE_CON_FALSE
724 HAVE_ECORE_CON_TRUE
725 ELEMENTARY_ECORE_CON_INC
726 ELEMENTARY_ECORE_CON_LIBS
727 ELEMENTARY_ECORE_CON_CFLAGS
728 HAVE_ECORE_IMF_FALSE
729 HAVE_ECORE_IMF_TRUE
730 ELEMENTARY_ECORE_IMF_INC
731 ELEMENTARY_ECORE_IMF_LIBS
732 ELEMENTARY_ECORE_IMF_CFLAGS
733 ELEMENTARY_LIBS
734 ELEMENTARY_CFLAGS
735 ELEMENTARY_WINDOWS_BUILD_FALSE
736 ELEMENTARY_WINDOWS_BUILD_TRUE
737 ELM_WINCE_DEF
738 ELM_WIN32_DEF
739 ELM_UNIX_DEF
740 lt_enable_auto_import
741 dlopen_libs
742 BUILD_QUICKLAUNCH_FALSE
743 BUILD_QUICKLAUNCH_TRUE
744 BUILD_MODULES_FALSE
745 BUILD_MODULES_TRUE
746 BUILD_RUN_FALSE
747 BUILD_RUN_TRUE
748 EVIL_LIBS
749 EVIL_CFLAGS
750 LOCALE_DIR
751 pkgconfig_requires_private
752 MODULE_EDJE
753 MODULE_ARCH
754 PKG_CONFIG_LIBDIR
755 PKG_CONFIG_PATH
756 PKG_CONFIG
757 VMIN
758 VMAJ
759 release_info
760 version_info
761 OTOOL64
762 OTOOL
763 LIPO
764 NMEDIT
765 DSYMUTIL
766 MANIFEST_TOOL
767 RANLIB
768 ac_ct_AR
769 AR
770 LN_S
771 NM
772 ac_ct_DUMPBIN
773 DUMPBIN
774 LD
775 FGREP
776 SED
777 LIBTOOL
778 OBJDUMP
779 DLLTOOL
780 AS
781 ALLOCA
782 EGREP
783 GREP
784 CPP
785 am__fastdepCC_FALSE
786 am__fastdepCC_TRUE
787 CCDEPMODE
788 am__nodep
789 AMDEPBACKSLASH
790 AMDEP_FALSE
791 AMDEP_TRUE
792 am__quote
793 am__include
794 DEPDIR
795 OBJEXT
796 EXEEXT
797 ac_ct_CC
798 CPPFLAGS
799 LDFLAGS
800 CFLAGS
801 CC
802 AM_BACKSLASH
803 AM_DEFAULT_VERBOSITY
804 AM_DEFAULT_V
805 AM_V
806 am__untar
807 am__tar
808 AMTAR
809 am__leading_dot
810 SET_MAKE
811 AWK
812 mkdir_p
813 MKDIR_P
814 INSTALL_STRIP_PROGRAM
815 STRIP
816 install_sh
817 MAKEINFO
818 AUTOHEADER
819 AUTOMAKE
820 AUTOCONF
821 ACLOCAL
822 VERSION
823 PACKAGE
824 CYGPATH_W
825 am__isrc
826 INSTALL_DATA
827 INSTALL_SCRIPT
828 INSTALL_PROGRAM
829 host_os
830 host_vendor
831 host_cpu
832 host
833 build_os
834 build_vendor
835 build_cpu
836 build
837 target_alias
838 host_alias
839 build_alias
840 LIBS
841 ECHO_T
842 ECHO_N
843 ECHO_C
844 DEFS
845 mandir
846 localedir
847 libdir
848 psdir
849 pdfdir
850 dvidir
851 htmldir
852 infodir
853 docdir
854 oldincludedir
855 includedir
856 localstatedir
857 sharedstatedir
858 sysconfdir
859 datadir
860 datarootdir
861 libexecdir
862 sbindir
863 bindir
864 program_transform_name
865 prefix
866 exec_prefix
867 PACKAGE_URL
868 PACKAGE_BUGREPORT
869 PACKAGE_STRING
870 PACKAGE_VERSION
871 PACKAGE_TARNAME
872 PACKAGE_NAME
873 PATH_SEPARATOR
874 SHELL'
875 ac_subst_files=''
876 ac_user_opts='
877 enable_option_checking
878 enable_silent_rules
879 enable_dependency_tracking
880 enable_shared
881 enable_static
882 with_pic
883 enable_fast_install
884 with_gnu_ld
885 with_sysroot
886 enable_libtool_lock
887 enable_quick_launch
888 enable_emotion
889 enable_ecore_x
890 enable_ecore_fb
891 enable_ecore_psl1ght
892 enable_ecore_sdl
893 enable_ecore_cocoa
894 enable_ecore_win32
895 enable_ecore_wince
896 enable_ecore_wayland
897 enable_edbus
898 enable_efreet
899 enable_eweather
900 enable_emap
901 enable_ethumb
902 enable_web
903 enable_debug
904 with_eet_eet
905 with_edje_cc
906 enable_doc
907 with_doxygen
908 enable_elementary_test
909 enable_elementary_config
910 enable_nls
911 enable_rpath
912 with_libiconv_prefix
913 with_libintl_prefix
914 with_elementary_base_dir
915 enable_build_examples
916 enable_install_examples
917 '
918       ac_precious_vars='build_alias
919 host_alias
920 target_alias
921 CC
922 CFLAGS
923 LDFLAGS
924 LIBS
925 CPPFLAGS
926 CPP
927 PKG_CONFIG
928 PKG_CONFIG_PATH
929 PKG_CONFIG_LIBDIR
930 EVIL_CFLAGS
931 EVIL_LIBS
932 ELEMENTARY_CFLAGS
933 ELEMENTARY_LIBS
934 ELEMENTARY_ECORE_IMF_CFLAGS
935 ELEMENTARY_ECORE_IMF_LIBS
936 ELEMENTARY_ECORE_CON_CFLAGS
937 ELEMENTARY_ECORE_CON_LIBS
938 EIO_CFLAGS
939 EIO_LIBS
940 EMOTION_CFLAGS
941 EMOTION_LIBS
942 ELEMENTARY_X_CFLAGS
943 ELEMENTARY_X_LIBS
944 ELEMENTARY_FB_CFLAGS
945 ELEMENTARY_FB_LIBS
946 ELEMENTARY_PSL1GHT_CFLAGS
947 ELEMENTARY_PSL1GHT_LIBS
948 ELEMENTARY_SDL_CFLAGS
949 ELEMENTARY_SDL_LIBS
950 ELEMENTARY_COCOA_CFLAGS
951 ELEMENTARY_COCOA_LIBS
952 ELEMENTARY_WIN32_CFLAGS
953 ELEMENTARY_WIN32_LIBS
954 ELEMENTARY_WINCE_CFLAGS
955 ELEMENTARY_WINCE_LIBS
956 ELEMENTARY_WAYLAND_CFLAGS
957 ELEMENTARY_WAYLAND_LIBS
958 ELEMENTARY_EDBUS_CFLAGS
959 ELEMENTARY_EDBUS_LIBS
960 ELEMENTARY_EFREET_CFLAGS
961 ELEMENTARY_EFREET_LIBS
962 ELEMENTARY_EWEATHER_CFLAGS
963 ELEMENTARY_EWEATHER_LIBS
964 ELEMENTARY_EMAP_CFLAGS
965 ELEMENTARY_EMAP_LIBS
966 ELEMENTARY_ETHUMB_CFLAGS
967 ELEMENTARY_ETHUMB_LIBS
968 ELEMENTARY_WEB_CFLAGS
969 ELEMENTARY_WEB_LIBS'
970
971
972 # Initialize some variables set by options.
973 ac_init_help=
974 ac_init_version=false
975 ac_unrecognized_opts=
976 ac_unrecognized_sep=
977 # The variables have the same names as the options, with
978 # dashes changed to underlines.
979 cache_file=/dev/null
980 exec_prefix=NONE
981 no_create=
982 no_recursion=
983 prefix=NONE
984 program_prefix=NONE
985 program_suffix=NONE
986 program_transform_name=s,x,x,
987 silent=
988 site=
989 srcdir=
990 verbose=
991 x_includes=NONE
992 x_libraries=NONE
993
994 # Installation directory options.
995 # These are left unexpanded so users can "make install exec_prefix=/foo"
996 # and all the variables that are supposed to be based on exec_prefix
997 # by default will actually change.
998 # Use braces instead of parens because sh, perl, etc. also accept them.
999 # (The list follows the same order as the GNU Coding Standards.)
1000 bindir='${exec_prefix}/bin'
1001 sbindir='${exec_prefix}/sbin'
1002 libexecdir='${exec_prefix}/libexec'
1003 datarootdir='${prefix}/share'
1004 datadir='${datarootdir}'
1005 sysconfdir='${prefix}/etc'
1006 sharedstatedir='${prefix}/com'
1007 localstatedir='${prefix}/var'
1008 includedir='${prefix}/include'
1009 oldincludedir='/usr/include'
1010 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1011 infodir='${datarootdir}/info'
1012 htmldir='${docdir}'
1013 dvidir='${docdir}'
1014 pdfdir='${docdir}'
1015 psdir='${docdir}'
1016 libdir='${exec_prefix}/lib'
1017 localedir='${datarootdir}/locale'
1018 mandir='${datarootdir}/man'
1019
1020 ac_prev=
1021 ac_dashdash=
1022 for ac_option
1023 do
1024   # If the previous option needs an argument, assign it.
1025   if test -n "$ac_prev"; then
1026     eval $ac_prev=\$ac_option
1027     ac_prev=
1028     continue
1029   fi
1030
1031   case $ac_option in
1032   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1033   *=)   ac_optarg= ;;
1034   *)    ac_optarg=yes ;;
1035   esac
1036
1037   # Accept the important Cygnus configure options, so we can diagnose typos.
1038
1039   case $ac_dashdash$ac_option in
1040   --)
1041     ac_dashdash=yes ;;
1042
1043   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1044     ac_prev=bindir ;;
1045   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1046     bindir=$ac_optarg ;;
1047
1048   -build | --build | --buil | --bui | --bu)
1049     ac_prev=build_alias ;;
1050   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1051     build_alias=$ac_optarg ;;
1052
1053   -cache-file | --cache-file | --cache-fil | --cache-fi \
1054   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1055     ac_prev=cache_file ;;
1056   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1057   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1058     cache_file=$ac_optarg ;;
1059
1060   --config-cache | -C)
1061     cache_file=config.cache ;;
1062
1063   -datadir | --datadir | --datadi | --datad)
1064     ac_prev=datadir ;;
1065   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1066     datadir=$ac_optarg ;;
1067
1068   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1069   | --dataroo | --dataro | --datar)
1070     ac_prev=datarootdir ;;
1071   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1072   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1073     datarootdir=$ac_optarg ;;
1074
1075   -disable-* | --disable-*)
1076     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1077     # Reject names that are not valid shell variable names.
1078     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1079       as_fn_error $? "invalid feature name: $ac_useropt"
1080     ac_useropt_orig=$ac_useropt
1081     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1082     case $ac_user_opts in
1083       *"
1084 "enable_$ac_useropt"
1085 "*) ;;
1086       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1087          ac_unrecognized_sep=', ';;
1088     esac
1089     eval enable_$ac_useropt=no ;;
1090
1091   -docdir | --docdir | --docdi | --doc | --do)
1092     ac_prev=docdir ;;
1093   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1094     docdir=$ac_optarg ;;
1095
1096   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1097     ac_prev=dvidir ;;
1098   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1099     dvidir=$ac_optarg ;;
1100
1101   -enable-* | --enable-*)
1102     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1103     # Reject names that are not valid shell variable names.
1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1105       as_fn_error $? "invalid feature name: $ac_useropt"
1106     ac_useropt_orig=$ac_useropt
1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1108     case $ac_user_opts in
1109       *"
1110 "enable_$ac_useropt"
1111 "*) ;;
1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1113          ac_unrecognized_sep=', ';;
1114     esac
1115     eval enable_$ac_useropt=\$ac_optarg ;;
1116
1117   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1118   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1119   | --exec | --exe | --ex)
1120     ac_prev=exec_prefix ;;
1121   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1122   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1123   | --exec=* | --exe=* | --ex=*)
1124     exec_prefix=$ac_optarg ;;
1125
1126   -gas | --gas | --ga | --g)
1127     # Obsolete; use --with-gas.
1128     with_gas=yes ;;
1129
1130   -help | --help | --hel | --he | -h)
1131     ac_init_help=long ;;
1132   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1133     ac_init_help=recursive ;;
1134   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1135     ac_init_help=short ;;
1136
1137   -host | --host | --hos | --ho)
1138     ac_prev=host_alias ;;
1139   -host=* | --host=* | --hos=* | --ho=*)
1140     host_alias=$ac_optarg ;;
1141
1142   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1143     ac_prev=htmldir ;;
1144   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1145   | --ht=*)
1146     htmldir=$ac_optarg ;;
1147
1148   -includedir | --includedir | --includedi | --included | --include \
1149   | --includ | --inclu | --incl | --inc)
1150     ac_prev=includedir ;;
1151   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1152   | --includ=* | --inclu=* | --incl=* | --inc=*)
1153     includedir=$ac_optarg ;;
1154
1155   -infodir | --infodir | --infodi | --infod | --info | --inf)
1156     ac_prev=infodir ;;
1157   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1158     infodir=$ac_optarg ;;
1159
1160   -libdir | --libdir | --libdi | --libd)
1161     ac_prev=libdir ;;
1162   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1163     libdir=$ac_optarg ;;
1164
1165   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1166   | --libexe | --libex | --libe)
1167     ac_prev=libexecdir ;;
1168   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1169   | --libexe=* | --libex=* | --libe=*)
1170     libexecdir=$ac_optarg ;;
1171
1172   -localedir | --localedir | --localedi | --localed | --locale)
1173     ac_prev=localedir ;;
1174   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1175     localedir=$ac_optarg ;;
1176
1177   -localstatedir | --localstatedir | --localstatedi | --localstated \
1178   | --localstate | --localstat | --localsta | --localst | --locals)
1179     ac_prev=localstatedir ;;
1180   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1181   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1182     localstatedir=$ac_optarg ;;
1183
1184   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1185     ac_prev=mandir ;;
1186   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1187     mandir=$ac_optarg ;;
1188
1189   -nfp | --nfp | --nf)
1190     # Obsolete; use --without-fp.
1191     with_fp=no ;;
1192
1193   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1194   | --no-cr | --no-c | -n)
1195     no_create=yes ;;
1196
1197   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1198   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1199     no_recursion=yes ;;
1200
1201   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1202   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1203   | --oldin | --oldi | --old | --ol | --o)
1204     ac_prev=oldincludedir ;;
1205   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1206   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1207   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1208     oldincludedir=$ac_optarg ;;
1209
1210   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1211     ac_prev=prefix ;;
1212   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1213     prefix=$ac_optarg ;;
1214
1215   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1216   | --program-pre | --program-pr | --program-p)
1217     ac_prev=program_prefix ;;
1218   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1219   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1220     program_prefix=$ac_optarg ;;
1221
1222   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1223   | --program-suf | --program-su | --program-s)
1224     ac_prev=program_suffix ;;
1225   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1226   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1227     program_suffix=$ac_optarg ;;
1228
1229   -program-transform-name | --program-transform-name \
1230   | --program-transform-nam | --program-transform-na \
1231   | --program-transform-n | --program-transform- \
1232   | --program-transform | --program-transfor \
1233   | --program-transfo | --program-transf \
1234   | --program-trans | --program-tran \
1235   | --progr-tra | --program-tr | --program-t)
1236     ac_prev=program_transform_name ;;
1237   -program-transform-name=* | --program-transform-name=* \
1238   | --program-transform-nam=* | --program-transform-na=* \
1239   | --program-transform-n=* | --program-transform-=* \
1240   | --program-transform=* | --program-transfor=* \
1241   | --program-transfo=* | --program-transf=* \
1242   | --program-trans=* | --program-tran=* \
1243   | --progr-tra=* | --program-tr=* | --program-t=*)
1244     program_transform_name=$ac_optarg ;;
1245
1246   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1247     ac_prev=pdfdir ;;
1248   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1249     pdfdir=$ac_optarg ;;
1250
1251   -psdir | --psdir | --psdi | --psd | --ps)
1252     ac_prev=psdir ;;
1253   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1254     psdir=$ac_optarg ;;
1255
1256   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1257   | -silent | --silent | --silen | --sile | --sil)
1258     silent=yes ;;
1259
1260   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1261     ac_prev=sbindir ;;
1262   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1263   | --sbi=* | --sb=*)
1264     sbindir=$ac_optarg ;;
1265
1266   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1267   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1268   | --sharedst | --shareds | --shared | --share | --shar \
1269   | --sha | --sh)
1270     ac_prev=sharedstatedir ;;
1271   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1272   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1273   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1274   | --sha=* | --sh=*)
1275     sharedstatedir=$ac_optarg ;;
1276
1277   -site | --site | --sit)
1278     ac_prev=site ;;
1279   -site=* | --site=* | --sit=*)
1280     site=$ac_optarg ;;
1281
1282   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1283     ac_prev=srcdir ;;
1284   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1285     srcdir=$ac_optarg ;;
1286
1287   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1288   | --syscon | --sysco | --sysc | --sys | --sy)
1289     ac_prev=sysconfdir ;;
1290   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1291   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1292     sysconfdir=$ac_optarg ;;
1293
1294   -target | --target | --targe | --targ | --tar | --ta | --t)
1295     ac_prev=target_alias ;;
1296   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1297     target_alias=$ac_optarg ;;
1298
1299   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1300     verbose=yes ;;
1301
1302   -version | --version | --versio | --versi | --vers | -V)
1303     ac_init_version=: ;;
1304
1305   -with-* | --with-*)
1306     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1307     # Reject names that are not valid shell variable names.
1308     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1309       as_fn_error $? "invalid package name: $ac_useropt"
1310     ac_useropt_orig=$ac_useropt
1311     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1312     case $ac_user_opts in
1313       *"
1314 "with_$ac_useropt"
1315 "*) ;;
1316       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1317          ac_unrecognized_sep=', ';;
1318     esac
1319     eval with_$ac_useropt=\$ac_optarg ;;
1320
1321   -without-* | --without-*)
1322     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1323     # Reject names that are not valid shell variable names.
1324     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1325       as_fn_error $? "invalid package name: $ac_useropt"
1326     ac_useropt_orig=$ac_useropt
1327     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1328     case $ac_user_opts in
1329       *"
1330 "with_$ac_useropt"
1331 "*) ;;
1332       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1333          ac_unrecognized_sep=', ';;
1334     esac
1335     eval with_$ac_useropt=no ;;
1336
1337   --x)
1338     # Obsolete; use --with-x.
1339     with_x=yes ;;
1340
1341   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1342   | --x-incl | --x-inc | --x-in | --x-i)
1343     ac_prev=x_includes ;;
1344   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1345   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1346     x_includes=$ac_optarg ;;
1347
1348   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1349   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1350     ac_prev=x_libraries ;;
1351   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1352   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1353     x_libraries=$ac_optarg ;;
1354
1355   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1356 Try \`$0 --help' for more information"
1357     ;;
1358
1359   *=*)
1360     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1361     # Reject names that are not valid shell variable names.
1362     case $ac_envvar in #(
1363       '' | [0-9]* | *[!_$as_cr_alnum]* )
1364       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1365     esac
1366     eval $ac_envvar=\$ac_optarg
1367     export $ac_envvar ;;
1368
1369   *)
1370     # FIXME: should be removed in autoconf 3.0.
1371     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1372     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1373       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1374     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1375     ;;
1376
1377   esac
1378 done
1379
1380 if test -n "$ac_prev"; then
1381   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1382   as_fn_error $? "missing argument to $ac_option"
1383 fi
1384
1385 if test -n "$ac_unrecognized_opts"; then
1386   case $enable_option_checking in
1387     no) ;;
1388     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1389     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1390   esac
1391 fi
1392
1393 # Check all directory arguments for consistency.
1394 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1395                 datadir sysconfdir sharedstatedir localstatedir includedir \
1396                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1397                 libdir localedir mandir
1398 do
1399   eval ac_val=\$$ac_var
1400   # Remove trailing slashes.
1401   case $ac_val in
1402     */ )
1403       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1404       eval $ac_var=\$ac_val;;
1405   esac
1406   # Be sure to have absolute directory names.
1407   case $ac_val in
1408     [\\/$]* | ?:[\\/]* )  continue;;
1409     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1410   esac
1411   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1412 done
1413
1414 # There might be people who depend on the old broken behavior: `$host'
1415 # used to hold the argument of --host etc.
1416 # FIXME: To remove some day.
1417 build=$build_alias
1418 host=$host_alias
1419 target=$target_alias
1420
1421 # FIXME: To remove some day.
1422 if test "x$host_alias" != x; then
1423   if test "x$build_alias" = x; then
1424     cross_compiling=maybe
1425   elif test "x$build_alias" != "x$host_alias"; then
1426     cross_compiling=yes
1427   fi
1428 fi
1429
1430 ac_tool_prefix=
1431 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1432
1433 test "$silent" = yes && exec 6>/dev/null
1434
1435
1436 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1437 ac_ls_di=`ls -di .` &&
1438 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1439   as_fn_error $? "working directory cannot be determined"
1440 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1441   as_fn_error $? "pwd does not report name of working directory"
1442
1443
1444 # Find the source files, if location was not specified.
1445 if test -z "$srcdir"; then
1446   ac_srcdir_defaulted=yes
1447   # Try the directory containing this script, then the parent directory.
1448   ac_confdir=`$as_dirname -- "$as_myself" ||
1449 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1450          X"$as_myself" : 'X\(//\)[^/]' \| \
1451          X"$as_myself" : 'X\(//\)$' \| \
1452          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1453 $as_echo X"$as_myself" |
1454     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1455             s//\1/
1456             q
1457           }
1458           /^X\(\/\/\)[^/].*/{
1459             s//\1/
1460             q
1461           }
1462           /^X\(\/\/\)$/{
1463             s//\1/
1464             q
1465           }
1466           /^X\(\/\).*/{
1467             s//\1/
1468             q
1469           }
1470           s/.*/./; q'`
1471   srcdir=$ac_confdir
1472   if test ! -r "$srcdir/$ac_unique_file"; then
1473     srcdir=..
1474   fi
1475 else
1476   ac_srcdir_defaulted=no
1477 fi
1478 if test ! -r "$srcdir/$ac_unique_file"; then
1479   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1480   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1481 fi
1482 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1483 ac_abs_confdir=`(
1484         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1485         pwd)`
1486 # When building in place, set srcdir=.
1487 if test "$ac_abs_confdir" = "$ac_pwd"; then
1488   srcdir=.
1489 fi
1490 # Remove unnecessary trailing slashes from srcdir.
1491 # Double slashes in file names in object file debugging info
1492 # mess up M-x gdb in Emacs.
1493 case $srcdir in
1494 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1495 esac
1496 for ac_var in $ac_precious_vars; do
1497   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1498   eval ac_env_${ac_var}_value=\$${ac_var}
1499   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1500   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1501 done
1502
1503 #
1504 # Report the --help message.
1505 #
1506 if test "$ac_init_help" = "long"; then
1507   # Omit some internal or obsolete options to make the list less imposing.
1508   # This message is too long to be a string in the A/UX 3.1 sh.
1509   cat <<_ACEOF
1510 \`configure' configures elementary 1.7.8 to adapt to many kinds of systems.
1511
1512 Usage: $0 [OPTION]... [VAR=VALUE]...
1513
1514 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1515 VAR=VALUE.  See below for descriptions of some of the useful variables.
1516
1517 Defaults for the options are specified in brackets.
1518
1519 Configuration:
1520   -h, --help              display this help and exit
1521       --help=short        display options specific to this package
1522       --help=recursive    display the short help of all the included packages
1523   -V, --version           display version information and exit
1524   -q, --quiet, --silent   do not print \`checking ...' messages
1525       --cache-file=FILE   cache test results in FILE [disabled]
1526   -C, --config-cache      alias for \`--cache-file=config.cache'
1527   -n, --no-create         do not create output files
1528       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1529
1530 Installation directories:
1531   --prefix=PREFIX         install architecture-independent files in PREFIX
1532                           [$ac_default_prefix]
1533   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1534                           [PREFIX]
1535
1536 By default, \`make install' will install all the files in
1537 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1538 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1539 for instance \`--prefix=\$HOME'.
1540
1541 For better control, use the options below.
1542
1543 Fine tuning of the installation directories:
1544   --bindir=DIR            user executables [EPREFIX/bin]
1545   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1546   --libexecdir=DIR        program executables [EPREFIX/libexec]
1547   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1548   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1549   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1550   --libdir=DIR            object code libraries [EPREFIX/lib]
1551   --includedir=DIR        C header files [PREFIX/include]
1552   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1553   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1554   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1555   --infodir=DIR           info documentation [DATAROOTDIR/info]
1556   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1557   --mandir=DIR            man documentation [DATAROOTDIR/man]
1558   --docdir=DIR            documentation root [DATAROOTDIR/doc/elementary]
1559   --htmldir=DIR           html documentation [DOCDIR]
1560   --dvidir=DIR            dvi documentation [DOCDIR]
1561   --pdfdir=DIR            pdf documentation [DOCDIR]
1562   --psdir=DIR             ps documentation [DOCDIR]
1563 _ACEOF
1564
1565   cat <<\_ACEOF
1566
1567 Program names:
1568   --program-prefix=PREFIX            prepend PREFIX to installed program names
1569   --program-suffix=SUFFIX            append SUFFIX to installed program names
1570   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1571
1572 System types:
1573   --build=BUILD     configure for building on BUILD [guessed]
1574   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1575 _ACEOF
1576 fi
1577
1578 if test -n "$ac_init_help"; then
1579   case $ac_init_help in
1580      short | recursive ) echo "Configuration of elementary 1.7.8:";;
1581    esac
1582   cat <<\_ACEOF
1583
1584 Optional Features:
1585   --disable-option-checking  ignore unrecognized --enable/--with options
1586   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1587   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1588   --enable-silent-rules   less verbose build output (undo: "make V=1")
1589   --disable-silent-rules  verbose build output (undo: "make V=0")
1590   --enable-dependency-tracking
1591                           do not reject slow dependency extractors
1592   --disable-dependency-tracking
1593                           speeds up one-time build
1594   --enable-shared[=PKGS]  build shared libraries [default=yes]
1595   --enable-static[=PKGS]  build static libraries [default=yes]
1596   --enable-fast-install[=PKGS]
1597                           optimize for fast installation [default=yes]
1598   --disable-libtool-lock  avoid locking (might break parallel builds)
1599   --disable-quick-launch  disable quick-launch support, [default=detect]
1600   --disable-emotion       disable emotion support. [default=enabled]
1601   --disable-ecore-x       disable ecore-x support. [default=detect]
1602   --disable-ecore-fb      disable ecore-fb support. [default=detect]
1603   --disable-ecore-psl1ght disable ecore-psl1ght support. [default=detect]
1604   --disable-ecore-sdl     disable ecore-sdl support. [default=detect]
1605   --disable-ecore-cocoa   disable ecore-cocoa support. [default=detect]
1606   --disable-ecore-win32   disable ecore-win32 support. [default=detect]
1607   --disable-ecore-wince   disable ecore-wince support. [default=detect]
1608   --disable-ecore-wayland disable ecore-wayland support. [default=detect]
1609   --disable-edbus         disable edbus support. [default=detect]
1610   --disable-efreet        disable efreet support. [default=detect]
1611   --disable-eweather      disable eweather support. [default=detect]
1612   --disable-emap          disable emap support. [default=detect]
1613   --disable-ethumb        disable ethumb support. [default=detect]
1614   --disable-web           disable web (WebKit) support. [default=detect]
1615   --enable-debug          enable elementary debug support. [default=disabled]
1616   --disable-doc           Disable documentation build [default=enabled]
1617   --disable-elementary-test
1618                           disable building of elementary_test
1619   --disable-elementary-config
1620                           disable building of elementary_config
1621   --disable-nls           do not use Native Language Support
1622   --disable-rpath         do not hardcode runtime library paths
1623   --enable-build-examples enable building examples [default=disabled]
1624   --enable-install-examples
1625                           enable installing example source files
1626                           [default=disabled]
1627
1628 Optional Packages:
1629   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1630   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1631   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1632                           both]
1633   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1634   --with-sysroot=DIR Search for dependent libraries within DIR
1635                         (or the compiler's sysroot if not specified).
1636   --with-eet-eet=PATH     specify a specific path to eet_eet [default=eet]
1637   --with-edje-cc=PATH     specify a specific path to edje_cc [default=edje_cc]
1638   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1639   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1640   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1641   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1642   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1643   --without-libintl-prefix     don't search for libintl in includedir and libdir
1644   --with-elementary-base-dir=PATH
1645                           specify the subdirectory for all elementary data
1646                           [default=${elementary_base_dir}]
1647
1648 Some influential environment variables:
1649   CC          C compiler command
1650   CFLAGS      C compiler flags
1651   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1652               nonstandard directory <lib dir>
1653   LIBS        libraries to pass to the linker, e.g. -l<library>
1654   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1655               you have headers in a nonstandard directory <include dir>
1656   CPP         C preprocessor
1657   PKG_CONFIG  path to pkg-config utility
1658   PKG_CONFIG_PATH
1659               directories to add to pkg-config's search path
1660   PKG_CONFIG_LIBDIR
1661               path overriding pkg-config's built-in search path
1662   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1663   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1664   ELEMENTARY_CFLAGS
1665               C compiler flags for ELEMENTARY, overriding pkg-config
1666   ELEMENTARY_LIBS
1667               linker flags for ELEMENTARY, overriding pkg-config
1668   ELEMENTARY_ECORE_IMF_CFLAGS
1669               C compiler flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1670   ELEMENTARY_ECORE_IMF_LIBS
1671               linker flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1672   ELEMENTARY_ECORE_CON_CFLAGS
1673               C compiler flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1674   ELEMENTARY_ECORE_CON_LIBS
1675               linker flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1676   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1677   EIO_LIBS    linker flags for EIO, overriding pkg-config
1678   EMOTION_CFLAGS
1679               C compiler flags for EMOTION, overriding pkg-config
1680   EMOTION_LIBS
1681               linker flags for EMOTION, overriding pkg-config
1682   ELEMENTARY_X_CFLAGS
1683               C compiler flags for ELEMENTARY_X, overriding pkg-config
1684   ELEMENTARY_X_LIBS
1685               linker flags for ELEMENTARY_X, overriding pkg-config
1686   ELEMENTARY_FB_CFLAGS
1687               C compiler flags for ELEMENTARY_FB, overriding pkg-config
1688   ELEMENTARY_FB_LIBS
1689               linker flags for ELEMENTARY_FB, overriding pkg-config
1690   ELEMENTARY_PSL1GHT_CFLAGS
1691               C compiler flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1692   ELEMENTARY_PSL1GHT_LIBS
1693               linker flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1694   ELEMENTARY_SDL_CFLAGS
1695               C compiler flags for ELEMENTARY_SDL, overriding pkg-config
1696   ELEMENTARY_SDL_LIBS
1697               linker flags for ELEMENTARY_SDL, overriding pkg-config
1698   ELEMENTARY_COCOA_CFLAGS
1699               C compiler flags for ELEMENTARY_COCOA, overriding pkg-config
1700   ELEMENTARY_COCOA_LIBS
1701               linker flags for ELEMENTARY_COCOA, overriding pkg-config
1702   ELEMENTARY_WIN32_CFLAGS
1703               C compiler flags for ELEMENTARY_WIN32, overriding pkg-config
1704   ELEMENTARY_WIN32_LIBS
1705               linker flags for ELEMENTARY_WIN32, overriding pkg-config
1706   ELEMENTARY_WINCE_CFLAGS
1707               C compiler flags for ELEMENTARY_WINCE, overriding pkg-config
1708   ELEMENTARY_WINCE_LIBS
1709               linker flags for ELEMENTARY_WINCE, overriding pkg-config
1710   ELEMENTARY_WAYLAND_CFLAGS
1711               C compiler flags for ELEMENTARY_WAYLAND, overriding pkg-config
1712   ELEMENTARY_WAYLAND_LIBS
1713               linker flags for ELEMENTARY_WAYLAND, overriding pkg-config
1714   ELEMENTARY_EDBUS_CFLAGS
1715               C compiler flags for ELEMENTARY_EDBUS, overriding pkg-config
1716   ELEMENTARY_EDBUS_LIBS
1717               linker flags for ELEMENTARY_EDBUS, overriding pkg-config
1718   ELEMENTARY_EFREET_CFLAGS
1719               C compiler flags for ELEMENTARY_EFREET, overriding pkg-config
1720   ELEMENTARY_EFREET_LIBS
1721               linker flags for ELEMENTARY_EFREET, overriding pkg-config
1722   ELEMENTARY_EWEATHER_CFLAGS
1723               C compiler flags for ELEMENTARY_EWEATHER, overriding pkg-config
1724   ELEMENTARY_EWEATHER_LIBS
1725               linker flags for ELEMENTARY_EWEATHER, overriding pkg-config
1726   ELEMENTARY_EMAP_CFLAGS
1727               C compiler flags for ELEMENTARY_EMAP, overriding pkg-config
1728   ELEMENTARY_EMAP_LIBS
1729               linker flags for ELEMENTARY_EMAP, overriding pkg-config
1730   ELEMENTARY_ETHUMB_CFLAGS
1731               C compiler flags for ELEMENTARY_ETHUMB, overriding pkg-config
1732   ELEMENTARY_ETHUMB_LIBS
1733               linker flags for ELEMENTARY_ETHUMB, overriding pkg-config
1734   ELEMENTARY_WEB_CFLAGS
1735               C compiler flags for ELEMENTARY_WEB, overriding pkg-config
1736   ELEMENTARY_WEB_LIBS
1737               linker flags for ELEMENTARY_WEB, overriding pkg-config
1738
1739 Use these variables to override the choices made by `configure' or to help
1740 it to find libraries and programs with nonstandard names/locations.
1741
1742 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1743 _ACEOF
1744 ac_status=$?
1745 fi
1746
1747 if test "$ac_init_help" = "recursive"; then
1748   # If there are subdirs, report their specific --help.
1749   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1750     test -d "$ac_dir" ||
1751       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1752       continue
1753     ac_builddir=.
1754
1755 case "$ac_dir" in
1756 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1757 *)
1758   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1759   # A ".." for each directory in $ac_dir_suffix.
1760   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1761   case $ac_top_builddir_sub in
1762   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1763   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1764   esac ;;
1765 esac
1766 ac_abs_top_builddir=$ac_pwd
1767 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1768 # for backward compatibility:
1769 ac_top_builddir=$ac_top_build_prefix
1770
1771 case $srcdir in
1772   .)  # We are building in place.
1773     ac_srcdir=.
1774     ac_top_srcdir=$ac_top_builddir_sub
1775     ac_abs_top_srcdir=$ac_pwd ;;
1776   [\\/]* | ?:[\\/]* )  # Absolute name.
1777     ac_srcdir=$srcdir$ac_dir_suffix;
1778     ac_top_srcdir=$srcdir
1779     ac_abs_top_srcdir=$srcdir ;;
1780   *) # Relative name.
1781     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1782     ac_top_srcdir=$ac_top_build_prefix$srcdir
1783     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1784 esac
1785 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1786
1787     cd "$ac_dir" || { ac_status=$?; continue; }
1788     # Check for guested configure.
1789     if test -f "$ac_srcdir/configure.gnu"; then
1790       echo &&
1791       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1792     elif test -f "$ac_srcdir/configure"; then
1793       echo &&
1794       $SHELL "$ac_srcdir/configure" --help=recursive
1795     else
1796       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1797     fi || ac_status=$?
1798     cd "$ac_pwd" || { ac_status=$?; break; }
1799   done
1800 fi
1801
1802 test -n "$ac_init_help" && exit $ac_status
1803 if $ac_init_version; then
1804   cat <<\_ACEOF
1805 elementary configure 1.7.8
1806 generated by GNU Autoconf 2.69
1807
1808 Copyright (C) 2012 Free Software Foundation, Inc.
1809 This configure script is free software; the Free Software Foundation
1810 gives unlimited permission to copy, distribute and modify it.
1811 _ACEOF
1812   exit
1813 fi
1814
1815 ## ------------------------ ##
1816 ## Autoconf initialization. ##
1817 ## ------------------------ ##
1818
1819 # ac_fn_c_try_compile LINENO
1820 # --------------------------
1821 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1822 ac_fn_c_try_compile ()
1823 {
1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825   rm -f conftest.$ac_objext
1826   if { { ac_try="$ac_compile"
1827 case "(($ac_try" in
1828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829   *) ac_try_echo=$ac_try;;
1830 esac
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833   (eval "$ac_compile") 2>conftest.err
1834   ac_status=$?
1835   if test -s conftest.err; then
1836     grep -v '^ *+' conftest.err >conftest.er1
1837     cat conftest.er1 >&5
1838     mv -f conftest.er1 conftest.err
1839   fi
1840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841   test $ac_status = 0; } && {
1842          test -z "$ac_c_werror_flag" ||
1843          test ! -s conftest.err
1844        } && test -s conftest.$ac_objext; then :
1845   ac_retval=0
1846 else
1847   $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1849
1850         ac_retval=1
1851 fi
1852   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1853   as_fn_set_status $ac_retval
1854
1855 } # ac_fn_c_try_compile
1856
1857 # ac_fn_c_try_cpp LINENO
1858 # ----------------------
1859 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1860 ac_fn_c_try_cpp ()
1861 {
1862   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863   if { { ac_try="$ac_cpp conftest.$ac_ext"
1864 case "(($ac_try" in
1865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866   *) ac_try_echo=$ac_try;;
1867 esac
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1871   ac_status=$?
1872   if test -s conftest.err; then
1873     grep -v '^ *+' conftest.err >conftest.er1
1874     cat conftest.er1 >&5
1875     mv -f conftest.er1 conftest.err
1876   fi
1877   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878   test $ac_status = 0; } > conftest.i && {
1879          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1880          test ! -s conftest.err
1881        }; then :
1882   ac_retval=0
1883 else
1884   $as_echo "$as_me: failed program was:" >&5
1885 sed 's/^/| /' conftest.$ac_ext >&5
1886
1887     ac_retval=1
1888 fi
1889   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1890   as_fn_set_status $ac_retval
1891
1892 } # ac_fn_c_try_cpp
1893
1894 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1895 # -------------------------------------------------------
1896 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1897 # the include files in INCLUDES and setting the cache variable VAR
1898 # accordingly.
1899 ac_fn_c_check_header_mongrel ()
1900 {
1901   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902   if eval \${$3+:} false; then :
1903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval \${$3+:} false; then :
1906   $as_echo_n "(cached) " >&6
1907 fi
1908 eval ac_res=\$$3
1909                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1910 $as_echo "$ac_res" >&6; }
1911 else
1912   # Is the header compilable?
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1914 $as_echo_n "checking $2 usability... " >&6; }
1915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h.  */
1917 $4
1918 #include <$2>
1919 _ACEOF
1920 if ac_fn_c_try_compile "$LINENO"; then :
1921   ac_header_compiler=yes
1922 else
1923   ac_header_compiler=no
1924 fi
1925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1927 $as_echo "$ac_header_compiler" >&6; }
1928
1929 # Is the header present?
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1931 $as_echo_n "checking $2 presence... " >&6; }
1932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1933 /* end confdefs.h.  */
1934 #include <$2>
1935 _ACEOF
1936 if ac_fn_c_try_cpp "$LINENO"; then :
1937   ac_header_preproc=yes
1938 else
1939   ac_header_preproc=no
1940 fi
1941 rm -f conftest.err conftest.i conftest.$ac_ext
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1943 $as_echo "$ac_header_preproc" >&6; }
1944
1945 # So?  What about this header?
1946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1947   yes:no: )
1948     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1949 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1951 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1952     ;;
1953   no:yes:* )
1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1955 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1957 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1959 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1960     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1961 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1962     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1963 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1964 ( $as_echo "## -------------------------------------------------------- ##
1965 ## Report this to enlightenment-devel@lists.sourceforge.net ##
1966 ## -------------------------------------------------------- ##"
1967      ) | sed "s/^/$as_me: WARNING:     /" >&2
1968     ;;
1969 esac
1970   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971 $as_echo_n "checking for $2... " >&6; }
1972 if eval \${$3+:} false; then :
1973   $as_echo_n "(cached) " >&6
1974 else
1975   eval "$3=\$ac_header_compiler"
1976 fi
1977 eval ac_res=\$$3
1978                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980 fi
1981   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982
1983 } # ac_fn_c_check_header_mongrel
1984
1985 # ac_fn_c_try_run LINENO
1986 # ----------------------
1987 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1988 # that executables *can* be run.
1989 ac_fn_c_try_run ()
1990 {
1991   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992   if { { ac_try="$ac_link"
1993 case "(($ac_try" in
1994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995   *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999   (eval "$ac_link") 2>&5
2000   ac_status=$?
2001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2003   { { case "(($ac_try" in
2004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2005   *) ac_try_echo=$ac_try;;
2006 esac
2007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2008 $as_echo "$ac_try_echo"; } >&5
2009   (eval "$ac_try") 2>&5
2010   ac_status=$?
2011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2012   test $ac_status = 0; }; }; then :
2013   ac_retval=0
2014 else
2015   $as_echo "$as_me: program exited with status $ac_status" >&5
2016        $as_echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2018
2019        ac_retval=$ac_status
2020 fi
2021   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2022   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2023   as_fn_set_status $ac_retval
2024
2025 } # ac_fn_c_try_run
2026
2027 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2028 # -------------------------------------------------------
2029 # Tests whether HEADER exists and can be compiled using the include files in
2030 # INCLUDES, setting the cache variable VAR accordingly.
2031 ac_fn_c_check_header_compile ()
2032 {
2033   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2034   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval \${$3+:} false; then :
2037   $as_echo_n "(cached) " >&6
2038 else
2039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h.  */
2041 $4
2042 #include <$2>
2043 _ACEOF
2044 if ac_fn_c_try_compile "$LINENO"; then :
2045   eval "$3=yes"
2046 else
2047   eval "$3=no"
2048 fi
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055
2056 } # ac_fn_c_check_header_compile
2057
2058 # ac_fn_c_try_link LINENO
2059 # -----------------------
2060 # Try to link conftest.$ac_ext, and return whether this succeeded.
2061 ac_fn_c_try_link ()
2062 {
2063   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2064   rm -f conftest.$ac_objext conftest$ac_exeext
2065   if { { ac_try="$ac_link"
2066 case "(($ac_try" in
2067   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2068   *) ac_try_echo=$ac_try;;
2069 esac
2070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2071 $as_echo "$ac_try_echo"; } >&5
2072   (eval "$ac_link") 2>conftest.err
2073   ac_status=$?
2074   if test -s conftest.err; then
2075     grep -v '^ *+' conftest.err >conftest.er1
2076     cat conftest.er1 >&5
2077     mv -f conftest.er1 conftest.err
2078   fi
2079   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2080   test $ac_status = 0; } && {
2081          test -z "$ac_c_werror_flag" ||
2082          test ! -s conftest.err
2083        } && test -s conftest$ac_exeext && {
2084          test "$cross_compiling" = yes ||
2085          test -x conftest$ac_exeext
2086        }; then :
2087   ac_retval=0
2088 else
2089   $as_echo "$as_me: failed program was:" >&5
2090 sed 's/^/| /' conftest.$ac_ext >&5
2091
2092         ac_retval=1
2093 fi
2094   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2095   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2096   # interfere with the next link command; also delete a directory that is
2097   # left behind by Apple's compiler.  We do this before executing the actions.
2098   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2099   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100   as_fn_set_status $ac_retval
2101
2102 } # ac_fn_c_try_link
2103
2104 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2105 # -------------------------------------------
2106 # Tests whether TYPE exists after having included INCLUDES, setting cache
2107 # variable VAR accordingly.
2108 ac_fn_c_check_type ()
2109 {
2110   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if eval \${$3+:} false; then :
2114   $as_echo_n "(cached) " >&6
2115 else
2116   eval "$3=no"
2117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2118 /* end confdefs.h.  */
2119 $4
2120 int
2121 main ()
2122 {
2123 if (sizeof ($2))
2124          return 0;
2125   ;
2126   return 0;
2127 }
2128 _ACEOF
2129 if ac_fn_c_try_compile "$LINENO"; then :
2130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h.  */
2132 $4
2133 int
2134 main ()
2135 {
2136 if (sizeof (($2)))
2137             return 0;
2138   ;
2139   return 0;
2140 }
2141 _ACEOF
2142 if ac_fn_c_try_compile "$LINENO"; then :
2143
2144 else
2145   eval "$3=yes"
2146 fi
2147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2148 fi
2149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 fi
2151 eval ac_res=\$$3
2152                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2153 $as_echo "$ac_res" >&6; }
2154   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2155
2156 } # ac_fn_c_check_type
2157
2158 # ac_fn_c_check_func LINENO FUNC VAR
2159 # ----------------------------------
2160 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2161 ac_fn_c_check_func ()
2162 {
2163   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2165 $as_echo_n "checking for $2... " >&6; }
2166 if eval \${$3+:} false; then :
2167   $as_echo_n "(cached) " >&6
2168 else
2169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2170 /* end confdefs.h.  */
2171 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2173 #define $2 innocuous_$2
2174
2175 /* System header to define __stub macros and hopefully few prototypes,
2176     which can conflict with char $2 (); below.
2177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2178     <limits.h> exists even on freestanding compilers.  */
2179
2180 #ifdef __STDC__
2181 # include <limits.h>
2182 #else
2183 # include <assert.h>
2184 #endif
2185
2186 #undef $2
2187
2188 /* Override any GCC internal prototype to avoid an error.
2189    Use char because int might match the return type of a GCC
2190    builtin and then its argument prototype would still apply.  */
2191 #ifdef __cplusplus
2192 extern "C"
2193 #endif
2194 char $2 ();
2195 /* The GNU C library defines this for functions which it implements
2196     to always fail with ENOSYS.  Some functions are actually named
2197     something starting with __ and the normal name is an alias.  */
2198 #if defined __stub_$2 || defined __stub___$2
2199 choke me
2200 #endif
2201
2202 int
2203 main ()
2204 {
2205 return $2 ();
2206   ;
2207   return 0;
2208 }
2209 _ACEOF
2210 if ac_fn_c_try_link "$LINENO"; then :
2211   eval "$3=yes"
2212 else
2213   eval "$3=no"
2214 fi
2215 rm -f core conftest.err conftest.$ac_objext \
2216     conftest$ac_exeext conftest.$ac_ext
2217 fi
2218 eval ac_res=\$$3
2219                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2220 $as_echo "$ac_res" >&6; }
2221   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2222
2223 } # ac_fn_c_check_func
2224 cat >config.log <<_ACEOF
2225 This file contains any messages produced by compilers while
2226 running configure, to aid debugging if configure makes a mistake.
2227
2228 It was created by elementary $as_me 1.7.8, which was
2229 generated by GNU Autoconf 2.69.  Invocation command line was
2230
2231   $ $0 $@
2232
2233 _ACEOF
2234 exec 5>>config.log
2235 {
2236 cat <<_ASUNAME
2237 ## --------- ##
2238 ## Platform. ##
2239 ## --------- ##
2240
2241 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2242 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2243 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2244 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2245 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2246
2247 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2248 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2249
2250 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2251 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2252 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2253 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2254 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2255 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2256 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2257
2258 _ASUNAME
2259
2260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 for as_dir in $PATH
2262 do
2263   IFS=$as_save_IFS
2264   test -z "$as_dir" && as_dir=.
2265     $as_echo "PATH: $as_dir"
2266   done
2267 IFS=$as_save_IFS
2268
2269 } >&5
2270
2271 cat >&5 <<_ACEOF
2272
2273
2274 ## ----------- ##
2275 ## Core tests. ##
2276 ## ----------- ##
2277
2278 _ACEOF
2279
2280
2281 # Keep a trace of the command line.
2282 # Strip out --no-create and --no-recursion so they do not pile up.
2283 # Strip out --silent because we don't want to record it for future runs.
2284 # Also quote any args containing shell meta-characters.
2285 # Make two passes to allow for proper duplicate-argument suppression.
2286 ac_configure_args=
2287 ac_configure_args0=
2288 ac_configure_args1=
2289 ac_must_keep_next=false
2290 for ac_pass in 1 2
2291 do
2292   for ac_arg
2293   do
2294     case $ac_arg in
2295     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2296     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2297     | -silent | --silent | --silen | --sile | --sil)
2298       continue ;;
2299     *\'*)
2300       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2301     esac
2302     case $ac_pass in
2303     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2304     2)
2305       as_fn_append ac_configure_args1 " '$ac_arg'"
2306       if test $ac_must_keep_next = true; then
2307         ac_must_keep_next=false # Got value, back to normal.
2308       else
2309         case $ac_arg in
2310           *=* | --config-cache | -C | -disable-* | --disable-* \
2311           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2312           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2313           | -with-* | --with-* | -without-* | --without-* | --x)
2314             case "$ac_configure_args0 " in
2315               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2316             esac
2317             ;;
2318           -* ) ac_must_keep_next=true ;;
2319         esac
2320       fi
2321       as_fn_append ac_configure_args " '$ac_arg'"
2322       ;;
2323     esac
2324   done
2325 done
2326 { ac_configure_args0=; unset ac_configure_args0;}
2327 { ac_configure_args1=; unset ac_configure_args1;}
2328
2329 # When interrupted or exit'd, cleanup temporary files, and complete
2330 # config.log.  We remove comments because anyway the quotes in there
2331 # would cause problems or look ugly.
2332 # WARNING: Use '\'' to represent an apostrophe within the trap.
2333 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2334 trap 'exit_status=$?
2335   # Save into config.log some information that might help in debugging.
2336   {
2337     echo
2338
2339     $as_echo "## ---------------- ##
2340 ## Cache variables. ##
2341 ## ---------------- ##"
2342     echo
2343     # The following way of writing the cache mishandles newlines in values,
2344 (
2345   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2346     eval ac_val=\$$ac_var
2347     case $ac_val in #(
2348     *${as_nl}*)
2349       case $ac_var in #(
2350       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2352       esac
2353       case $ac_var in #(
2354       _ | IFS | as_nl) ;; #(
2355       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2356       *) { eval $ac_var=; unset $ac_var;} ;;
2357       esac ;;
2358     esac
2359   done
2360   (set) 2>&1 |
2361     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2362     *${as_nl}ac_space=\ *)
2363       sed -n \
2364         "s/'\''/'\''\\\\'\'''\''/g;
2365           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2366       ;; #(
2367     *)
2368       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2369       ;;
2370     esac |
2371     sort
2372 )
2373     echo
2374
2375     $as_echo "## ----------------- ##
2376 ## Output variables. ##
2377 ## ----------------- ##"
2378     echo
2379     for ac_var in $ac_subst_vars
2380     do
2381       eval ac_val=\$$ac_var
2382       case $ac_val in
2383       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2384       esac
2385       $as_echo "$ac_var='\''$ac_val'\''"
2386     done | sort
2387     echo
2388
2389     if test -n "$ac_subst_files"; then
2390       $as_echo "## ------------------- ##
2391 ## File substitutions. ##
2392 ## ------------------- ##"
2393       echo
2394       for ac_var in $ac_subst_files
2395       do
2396         eval ac_val=\$$ac_var
2397         case $ac_val in
2398         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2399         esac
2400         $as_echo "$ac_var='\''$ac_val'\''"
2401       done | sort
2402       echo
2403     fi
2404
2405     if test -s confdefs.h; then
2406       $as_echo "## ----------- ##
2407 ## confdefs.h. ##
2408 ## ----------- ##"
2409       echo
2410       cat confdefs.h
2411       echo
2412     fi
2413     test "$ac_signal" != 0 &&
2414       $as_echo "$as_me: caught signal $ac_signal"
2415     $as_echo "$as_me: exit $exit_status"
2416   } >&5
2417   rm -f core *.core core.conftest.* &&
2418     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2419     exit $exit_status
2420 ' 0
2421 for ac_signal in 1 2 13 15; do
2422   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2423 done
2424 ac_signal=0
2425
2426 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2427 rm -f -r conftest* confdefs.h
2428
2429 $as_echo "/* confdefs.h */" > confdefs.h
2430
2431 # Predefined preprocessor variables.
2432
2433 cat >>confdefs.h <<_ACEOF
2434 #define PACKAGE_NAME "$PACKAGE_NAME"
2435 _ACEOF
2436
2437 cat >>confdefs.h <<_ACEOF
2438 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2439 _ACEOF
2440
2441 cat >>confdefs.h <<_ACEOF
2442 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2443 _ACEOF
2444
2445 cat >>confdefs.h <<_ACEOF
2446 #define PACKAGE_STRING "$PACKAGE_STRING"
2447 _ACEOF
2448
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2451 _ACEOF
2452
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_URL "$PACKAGE_URL"
2455 _ACEOF
2456
2457
2458 # Let the site file select an alternate cache file if it wants to.
2459 # Prefer an explicitly selected file to automatically selected ones.
2460 ac_site_file1=NONE
2461 ac_site_file2=NONE
2462 if test -n "$CONFIG_SITE"; then
2463   # We do not want a PATH search for config.site.
2464   case $CONFIG_SITE in #((
2465     -*)  ac_site_file1=./$CONFIG_SITE;;
2466     */*) ac_site_file1=$CONFIG_SITE;;
2467     *)   ac_site_file1=./$CONFIG_SITE;;
2468   esac
2469 elif test "x$prefix" != xNONE; then
2470   ac_site_file1=$prefix/share/config.site
2471   ac_site_file2=$prefix/etc/config.site
2472 else
2473   ac_site_file1=$ac_default_prefix/share/config.site
2474   ac_site_file2=$ac_default_prefix/etc/config.site
2475 fi
2476 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2477 do
2478   test "x$ac_site_file" = xNONE && continue
2479   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2480     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2481 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2482     sed 's/^/| /' "$ac_site_file" >&5
2483     . "$ac_site_file" \
2484       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2485 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2486 as_fn_error $? "failed to load site script $ac_site_file
2487 See \`config.log' for more details" "$LINENO" 5; }
2488   fi
2489 done
2490
2491 if test -r "$cache_file"; then
2492   # Some versions of bash will fail to source /dev/null (special files
2493   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2494   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2495     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2496 $as_echo "$as_me: loading cache $cache_file" >&6;}
2497     case $cache_file in
2498       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2499       *)                      . "./$cache_file";;
2500     esac
2501   fi
2502 else
2503   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2504 $as_echo "$as_me: creating cache $cache_file" >&6;}
2505   >$cache_file
2506 fi
2507
2508 gt_needs="$gt_needs "
2509 # Check that the precious variables saved in the cache have kept the same
2510 # value.
2511 ac_cache_corrupted=false
2512 for ac_var in $ac_precious_vars; do
2513   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2514   eval ac_new_set=\$ac_env_${ac_var}_set
2515   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2516   eval ac_new_val=\$ac_env_${ac_var}_value
2517   case $ac_old_set,$ac_new_set in
2518     set,)
2519       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2520 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2521       ac_cache_corrupted=: ;;
2522     ,set)
2523       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2524 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2525       ac_cache_corrupted=: ;;
2526     ,);;
2527     *)
2528       if test "x$ac_old_val" != "x$ac_new_val"; then
2529         # differences in whitespace do not lead to failure.
2530         ac_old_val_w=`echo x $ac_old_val`
2531         ac_new_val_w=`echo x $ac_new_val`
2532         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2533           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2534 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2535           ac_cache_corrupted=:
2536         else
2537           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2538 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2539           eval $ac_var=\$ac_old_val
2540         fi
2541         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2542 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2543         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2544 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2545       fi;;
2546   esac
2547   # Pass precious variables to config.status.
2548   if test "$ac_new_set" = set; then
2549     case $ac_new_val in
2550     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2551     *) ac_arg=$ac_var=$ac_new_val ;;
2552     esac
2553     case " $ac_configure_args " in
2554       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2555       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2556     esac
2557   fi
2558 done
2559 if $ac_cache_corrupted; then
2560   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2561 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2562   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2563 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2564   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2565 fi
2566 ## -------------------- ##
2567 ## Main body of script. ##
2568 ## -------------------- ##
2569
2570 ac_ext=c
2571 ac_cpp='$CPP $CPPFLAGS'
2572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2575
2576
2577
2578
2579
2580 ac_aux_dir=
2581 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2582   if test -f "$ac_dir/install-sh"; then
2583     ac_aux_dir=$ac_dir
2584     ac_install_sh="$ac_aux_dir/install-sh -c"
2585     break
2586   elif test -f "$ac_dir/install.sh"; then
2587     ac_aux_dir=$ac_dir
2588     ac_install_sh="$ac_aux_dir/install.sh -c"
2589     break
2590   elif test -f "$ac_dir/shtool"; then
2591     ac_aux_dir=$ac_dir
2592     ac_install_sh="$ac_aux_dir/shtool install -c"
2593     break
2594   fi
2595 done
2596 if test -z "$ac_aux_dir"; then
2597   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2598 fi
2599
2600 # These three variables are undocumented and unsupported,
2601 # and are intended to be withdrawn in a future Autoconf release.
2602 # They can cause serious problems if a builder's source tree is in a directory
2603 # whose full name contains unusual characters.
2604 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2605 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2606 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2607
2608
2609 # Make sure we can run config.sub.
2610 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2611   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2612
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2614 $as_echo_n "checking build system type... " >&6; }
2615 if ${ac_cv_build+:} false; then :
2616   $as_echo_n "(cached) " >&6
2617 else
2618   ac_build_alias=$build_alias
2619 test "x$ac_build_alias" = x &&
2620   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2621 test "x$ac_build_alias" = x &&
2622   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2623 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2624   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2625
2626 fi
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2628 $as_echo "$ac_cv_build" >&6; }
2629 case $ac_cv_build in
2630 *-*-*) ;;
2631 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2632 esac
2633 build=$ac_cv_build
2634 ac_save_IFS=$IFS; IFS='-'
2635 set x $ac_cv_build
2636 shift
2637 build_cpu=$1
2638 build_vendor=$2
2639 shift; shift
2640 # Remember, the first character of IFS is used to create $*,
2641 # except with old shells:
2642 build_os=$*
2643 IFS=$ac_save_IFS
2644 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2645
2646
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2648 $as_echo_n "checking host system type... " >&6; }
2649 if ${ac_cv_host+:} false; then :
2650   $as_echo_n "(cached) " >&6
2651 else
2652   if test "x$host_alias" = x; then
2653   ac_cv_host=$ac_cv_build
2654 else
2655   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2656     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2657 fi
2658
2659 fi
2660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2661 $as_echo "$ac_cv_host" >&6; }
2662 case $ac_cv_host in
2663 *-*-*) ;;
2664 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2665 esac
2666 host=$ac_cv_host
2667 ac_save_IFS=$IFS; IFS='-'
2668 set x $ac_cv_host
2669 shift
2670 host_cpu=$1
2671 host_vendor=$2
2672 shift; shift
2673 # Remember, the first character of IFS is used to create $*,
2674 # except with old shells:
2675 host_os=$*
2676 IFS=$ac_save_IFS
2677 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2678
2679
2680
2681 ac_config_headers="$ac_config_headers elementary_config.h"
2682
2683
2684
2685
2686 am__api_version='1.13'
2687
2688 # Find a good install program.  We prefer a C program (faster),
2689 # so one script is as good as another.  But avoid the broken or
2690 # incompatible versions:
2691 # SysV /etc/install, /usr/sbin/install
2692 # SunOS /usr/etc/install
2693 # IRIX /sbin/install
2694 # AIX /bin/install
2695 # AmigaOS /C/install, which installs bootblocks on floppy discs
2696 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2697 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2698 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2699 # OS/2's system install, which has a completely different semantic
2700 # ./install, which can be erroneously created by make from ./install.sh.
2701 # Reject install programs that cannot install multiple files.
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2703 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2704 if test -z "$INSTALL"; then
2705 if ${ac_cv_path_install+:} false; then :
2706   $as_echo_n "(cached) " >&6
2707 else
2708   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2709 for as_dir in $PATH
2710 do
2711   IFS=$as_save_IFS
2712   test -z "$as_dir" && as_dir=.
2713     # Account for people who put trailing slashes in PATH elements.
2714 case $as_dir/ in #((
2715   ./ | .// | /[cC]/* | \
2716   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2717   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2718   /usr/ucb/* ) ;;
2719   *)
2720     # OSF1 and SCO ODT 3.0 have their own names for install.
2721     # Don't use installbsd from OSF since it installs stuff as root
2722     # by default.
2723     for ac_prog in ginstall scoinst install; do
2724       for ac_exec_ext in '' $ac_executable_extensions; do
2725         if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2726           if test $ac_prog = install &&
2727             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2728             # AIX install.  It has an incompatible calling convention.
2729             :
2730           elif test $ac_prog = install &&
2731             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2732             # program-specific install script used by HP pwplus--don't use.
2733             :
2734           else
2735             rm -rf conftest.one conftest.two conftest.dir
2736             echo one > conftest.one
2737             echo two > conftest.two
2738             mkdir conftest.dir
2739             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2740               test -s conftest.one && test -s conftest.two &&
2741               test -s conftest.dir/conftest.one &&
2742               test -s conftest.dir/conftest.two
2743             then
2744               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2745               break 3
2746             fi
2747           fi
2748         fi
2749       done
2750     done
2751     ;;
2752 esac
2753
2754   done
2755 IFS=$as_save_IFS
2756
2757 rm -rf conftest.one conftest.two conftest.dir
2758
2759 fi
2760   if test "${ac_cv_path_install+set}" = set; then
2761     INSTALL=$ac_cv_path_install
2762   else
2763     # As a last resort, use the slow shell script.  Don't cache a
2764     # value for INSTALL within a source directory, because that will
2765     # break other packages using the cache if that directory is
2766     # removed, or if the value is a relative name.
2767     INSTALL=$ac_install_sh
2768   fi
2769 fi
2770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2771 $as_echo "$INSTALL" >&6; }
2772
2773 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2774 # It thinks the first close brace ends the variable substitution.
2775 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2776
2777 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2778
2779 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2780
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2782 $as_echo_n "checking whether build environment is sane... " >&6; }
2783 # Reject unsafe characters in $srcdir or the absolute working directory
2784 # name.  Accept space and tab only in the latter.
2785 am_lf='
2786 '
2787 case `pwd` in
2788   *[\\\"\#\$\&\'\`$am_lf]*)
2789     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2790 esac
2791 case $srcdir in
2792   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2793     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2794 esac
2795
2796 # Do 'set' in a subshell so we don't clobber the current shell's
2797 # arguments.  Must try -L first in case configure is actually a
2798 # symlink; some systems play weird games with the mod time of symlinks
2799 # (eg FreeBSD returns the mod time of the symlink's containing
2800 # directory).
2801 if (
2802    am_has_slept=no
2803    for am_try in 1 2; do
2804      echo "timestamp, slept: $am_has_slept" > conftest.file
2805      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2806      if test "$*" = "X"; then
2807         # -L didn't work.
2808         set X `ls -t "$srcdir/configure" conftest.file`
2809      fi
2810      if test "$*" != "X $srcdir/configure conftest.file" \
2811         && test "$*" != "X conftest.file $srcdir/configure"; then
2812
2813         # If neither matched, then we have a broken ls.  This can happen
2814         # if, for instance, CONFIG_SHELL is bash and it inherits a
2815         # broken ls alias from the environment.  This has actually
2816         # happened.  Such a system could not be considered "sane".
2817         as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2818   alias in your environment" "$LINENO" 5
2819      fi
2820      if test "$2" = conftest.file || test $am_try -eq 2; then
2821        break
2822      fi
2823      # Just in case.
2824      sleep 1
2825      am_has_slept=yes
2826    done
2827    test "$2" = conftest.file
2828    )
2829 then
2830    # Ok.
2831    :
2832 else
2833    as_fn_error $? "newly created file is older than distributed files!
2834 Check your system clock" "$LINENO" 5
2835 fi
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2837 $as_echo "yes" >&6; }
2838 # If we didn't sleep, we still need to ensure time stamps of config.status and
2839 # generated files are strictly newer.
2840 am_sleep_pid=
2841 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2842   ( sleep 1 ) &
2843   am_sleep_pid=$!
2844 fi
2845
2846 rm -f conftest.file
2847
2848 test "$program_prefix" != NONE &&
2849   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2850 # Use a double $ so make ignores it.
2851 test "$program_suffix" != NONE &&
2852   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2853 # Double any \ or $.
2854 # By default was `s,x,x', remove it if useless.
2855 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2856 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2857
2858 # expand $ac_aux_dir to an absolute path
2859 am_aux_dir=`cd $ac_aux_dir && pwd`
2860
2861 if test x"${MISSING+set}" != xset; then
2862   case $am_aux_dir in
2863   *\ * | *\     *)
2864     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2865   *)
2866     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2867   esac
2868 fi
2869 # Use eval to expand $SHELL
2870 if eval "$MISSING --is-lightweight"; then
2871   am_missing_run="$MISSING "
2872 else
2873   am_missing_run=
2874   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2875 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2876 fi
2877
2878 if test x"${install_sh}" != xset; then
2879   case $am_aux_dir in
2880   *\ * | *\     *)
2881     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2882   *)
2883     install_sh="\${SHELL} $am_aux_dir/install-sh"
2884   esac
2885 fi
2886
2887 # Installed binaries are usually stripped using 'strip' when the user
2888 # run "make install-strip".  However 'strip' might not be the right
2889 # tool to use in cross-compilation environments, therefore Automake
2890 # will honor the 'STRIP' environment variable to overrule this program.
2891 if test "$cross_compiling" != no; then
2892   if test -n "$ac_tool_prefix"; then
2893   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2894 set dummy ${ac_tool_prefix}strip; ac_word=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if ${ac_cv_prog_STRIP+:} false; then :
2898   $as_echo_n "(cached) " >&6
2899 else
2900   if test -n "$STRIP"; then
2901   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2902 else
2903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2904 for as_dir in $PATH
2905 do
2906   IFS=$as_save_IFS
2907   test -z "$as_dir" && as_dir=.
2908     for ac_exec_ext in '' $ac_executable_extensions; do
2909   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2910     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2911     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912     break 2
2913   fi
2914 done
2915   done
2916 IFS=$as_save_IFS
2917
2918 fi
2919 fi
2920 STRIP=$ac_cv_prog_STRIP
2921 if test -n "$STRIP"; then
2922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2923 $as_echo "$STRIP" >&6; }
2924 else
2925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2927 fi
2928
2929
2930 fi
2931 if test -z "$ac_cv_prog_STRIP"; then
2932   ac_ct_STRIP=$STRIP
2933   # Extract the first word of "strip", so it can be a program name with args.
2934 set dummy strip; ac_word=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2938   $as_echo_n "(cached) " >&6
2939 else
2940   if test -n "$ac_ct_STRIP"; then
2941   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2942 else
2943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 for as_dir in $PATH
2945 do
2946   IFS=$as_save_IFS
2947   test -z "$as_dir" && as_dir=.
2948     for ac_exec_ext in '' $ac_executable_extensions; do
2949   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950     ac_cv_prog_ac_ct_STRIP="strip"
2951     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952     break 2
2953   fi
2954 done
2955   done
2956 IFS=$as_save_IFS
2957
2958 fi
2959 fi
2960 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2961 if test -n "$ac_ct_STRIP"; then
2962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2963 $as_echo "$ac_ct_STRIP" >&6; }
2964 else
2965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2967 fi
2968
2969   if test "x$ac_ct_STRIP" = x; then
2970     STRIP=":"
2971   else
2972     case $cross_compiling:$ac_tool_warned in
2973 yes:)
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned=yes ;;
2977 esac
2978     STRIP=$ac_ct_STRIP
2979   fi
2980 else
2981   STRIP="$ac_cv_prog_STRIP"
2982 fi
2983
2984 fi
2985 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2986
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2988 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2989 if test -z "$MKDIR_P"; then
2990   if ${ac_cv_path_mkdir+:} false; then :
2991   $as_echo_n "(cached) " >&6
2992 else
2993   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2995 do
2996   IFS=$as_save_IFS
2997   test -z "$as_dir" && as_dir=.
2998     for ac_prog in mkdir gmkdir; do
2999          for ac_exec_ext in '' $ac_executable_extensions; do
3000            as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3001            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3002              'mkdir (GNU coreutils) '* | \
3003              'mkdir (coreutils) '* | \
3004              'mkdir (fileutils) '4.1*)
3005                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3006                break 3;;
3007            esac
3008          done
3009        done
3010   done
3011 IFS=$as_save_IFS
3012
3013 fi
3014
3015   test -d ./--version && rmdir ./--version
3016   if test "${ac_cv_path_mkdir+set}" = set; then
3017     MKDIR_P="$ac_cv_path_mkdir -p"
3018   else
3019     # As a last resort, use the slow shell script.  Don't cache a
3020     # value for MKDIR_P within a source directory, because that will
3021     # break other packages using the cache if that directory is
3022     # removed, or if the value is a relative name.
3023     MKDIR_P="$ac_install_sh -d"
3024   fi
3025 fi
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3027 $as_echo "$MKDIR_P" >&6; }
3028
3029 for ac_prog in gawk mawk nawk awk
3030 do
3031   # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3034 $as_echo_n "checking for $ac_word... " >&6; }
3035 if ${ac_cv_prog_AWK+:} false; then :
3036   $as_echo_n "(cached) " >&6
3037 else
3038   if test -n "$AWK"; then
3039   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3043 do
3044   IFS=$as_save_IFS
3045   test -z "$as_dir" && as_dir=.
3046     for ac_exec_ext in '' $ac_executable_extensions; do
3047   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048     ac_cv_prog_AWK="$ac_prog"
3049     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3050     break 2
3051   fi
3052 done
3053   done
3054 IFS=$as_save_IFS
3055
3056 fi
3057 fi
3058 AWK=$ac_cv_prog_AWK
3059 if test -n "$AWK"; then
3060   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3061 $as_echo "$AWK" >&6; }
3062 else
3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3064 $as_echo "no" >&6; }
3065 fi
3066
3067
3068   test -n "$AWK" && break
3069 done
3070
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3072 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3073 set x ${MAKE-make}
3074 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3075 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3076   $as_echo_n "(cached) " >&6
3077 else
3078   cat >conftest.make <<\_ACEOF
3079 SHELL = /bin/sh
3080 all:
3081         @echo '@@@%%%=$(MAKE)=@@@%%%'
3082 _ACEOF
3083 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3084 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3085   *@@@%%%=?*=@@@%%%*)
3086     eval ac_cv_prog_make_${ac_make}_set=yes;;
3087   *)
3088     eval ac_cv_prog_make_${ac_make}_set=no;;
3089 esac
3090 rm -f conftest.make
3091 fi
3092 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 $as_echo "yes" >&6; }
3095   SET_MAKE=
3096 else
3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3098 $as_echo "no" >&6; }
3099   SET_MAKE="MAKE=${MAKE-make}"
3100 fi
3101
3102 rm -rf .tst 2>/dev/null
3103 mkdir .tst 2>/dev/null
3104 if test -d .tst; then
3105   am__leading_dot=.
3106 else
3107   am__leading_dot=_
3108 fi
3109 rmdir .tst 2>/dev/null
3110
3111 # Check whether --enable-silent-rules was given.
3112 if test "${enable_silent_rules+set}" = set; then :
3113   enableval=$enable_silent_rules;
3114 fi
3115
3116 case $enable_silent_rules in # (((
3117   yes) AM_DEFAULT_VERBOSITY=0;;
3118    no) AM_DEFAULT_VERBOSITY=1;;
3119     *) AM_DEFAULT_VERBOSITY=1;;
3120 esac
3121 am_make=${MAKE-make}
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3123 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3124 if ${am_cv_make_support_nested_variables+:} false; then :
3125   $as_echo_n "(cached) " >&6
3126 else
3127   if $as_echo 'TRUE=$(BAR$(V))
3128 BAR0=false
3129 BAR1=true
3130 V=1
3131 am__doit:
3132         @$(TRUE)
3133 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3134   am_cv_make_support_nested_variables=yes
3135 else
3136   am_cv_make_support_nested_variables=no
3137 fi
3138 fi
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3140 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3141 if test $am_cv_make_support_nested_variables = yes; then
3142     AM_V='$(V)'
3143   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3144 else
3145   AM_V=$AM_DEFAULT_VERBOSITY
3146   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3147 fi
3148 AM_BACKSLASH='\'
3149
3150 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3151   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3152   # is not polluted with repeated "-I."
3153   am__isrc=' -I$(srcdir)'
3154   # test to see if srcdir already configured
3155   if test -f $srcdir/config.status; then
3156     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3157   fi
3158 fi
3159
3160 # test whether we have cygpath
3161 if test -z "$CYGPATH_W"; then
3162   if (cygpath --version) >/dev/null 2>/dev/null; then
3163     CYGPATH_W='cygpath -w'
3164   else
3165     CYGPATH_W=echo
3166   fi
3167 fi
3168
3169
3170 # Define the identity of the package.
3171  PACKAGE='elementary'
3172  VERSION='1.7.8'
3173
3174
3175 cat >>confdefs.h <<_ACEOF
3176 #define PACKAGE "$PACKAGE"
3177 _ACEOF
3178
3179
3180 cat >>confdefs.h <<_ACEOF
3181 #define VERSION "$VERSION"
3182 _ACEOF
3183
3184 # Some tools Automake needs.
3185
3186 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3187
3188
3189 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3190
3191
3192 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3193
3194
3195 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3196
3197
3198 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3199
3200 # For better backward compatibility.  To be removed once Automake 1.9.x
3201 # dies out for good.  For more background, see:
3202 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3203 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3204 mkdir_p='$(MKDIR_P)'
3205
3206 # We need awk for the "check" target.  The system "awk" is bad on
3207 # some platforms.
3208 # Always define AMTAR for backward compatibility.  Yes, it's still used
3209 # in the wild :-(  We should find a proper way to deprecate it ...
3210 AMTAR='$${TAR-tar}'
3211
3212
3213 # We'll loop over all known methods to create a tar archive until one works.
3214 _am_tools='gnutar  pax cpio none'
3215
3216 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3217
3218
3219
3220
3221
3222
3223 # Check whether --enable-silent-rules was given.
3224 if test "${enable_silent_rules+set}" = set; then :
3225   enableval=$enable_silent_rules;
3226 fi
3227
3228 case $enable_silent_rules in # (((
3229   yes) AM_DEFAULT_VERBOSITY=0;;
3230    no) AM_DEFAULT_VERBOSITY=1;;
3231     *) AM_DEFAULT_VERBOSITY=0;;
3232 esac
3233 am_make=${MAKE-make}
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3235 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3236 if ${am_cv_make_support_nested_variables+:} false; then :
3237   $as_echo_n "(cached) " >&6
3238 else
3239   if $as_echo 'TRUE=$(BAR$(V))
3240 BAR0=false
3241 BAR1=true
3242 V=1
3243 am__doit:
3244         @$(TRUE)
3245 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3246   am_cv_make_support_nested_variables=yes
3247 else
3248   am_cv_make_support_nested_variables=no
3249 fi
3250 fi
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3252 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3253 if test $am_cv_make_support_nested_variables = yes; then
3254     AM_V='$(V)'
3255   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3256 else
3257   AM_V=$AM_DEFAULT_VERBOSITY
3258   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3259 fi
3260 AM_BACKSLASH='\'
3261
3262
3263 DEPDIR="${am__leading_dot}deps"
3264
3265 ac_config_commands="$ac_config_commands depfiles"
3266
3267
3268 am_make=${MAKE-make}
3269 cat > confinc << 'END'
3270 am__doit:
3271         @echo this is the am__doit target
3272 .PHONY: am__doit
3273 END
3274 # If we don't find an include directive, just comment out the code.
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3276 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3277 am__include="#"
3278 am__quote=
3279 _am_result=none
3280 # First try GNU make style include.
3281 echo "include confinc" > confmf
3282 # Ignore all kinds of additional output from 'make'.
3283 case `$am_make -s -f confmf 2> /dev/null` in #(
3284 *the\ am__doit\ target*)
3285   am__include=include
3286   am__quote=
3287   _am_result=GNU
3288   ;;
3289 esac
3290 # Now try BSD make style include.
3291 if test "$am__include" = "#"; then
3292    echo '.include "confinc"' > confmf
3293    case `$am_make -s -f confmf 2> /dev/null` in #(
3294    *the\ am__doit\ target*)
3295      am__include=.include
3296      am__quote="\""
3297      _am_result=BSD
3298      ;;
3299    esac
3300 fi
3301
3302
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3304 $as_echo "$_am_result" >&6; }
3305 rm -f confinc confmf
3306
3307 # Check whether --enable-dependency-tracking was given.
3308 if test "${enable_dependency_tracking+set}" = set; then :
3309   enableval=$enable_dependency_tracking;
3310 fi
3311
3312 if test "x$enable_dependency_tracking" != xno; then
3313   am_depcomp="$ac_aux_dir/depcomp"
3314   AMDEPBACKSLASH='\'
3315   am__nodep='_no'
3316 fi
3317  if test "x$enable_dependency_tracking" != xno; then
3318   AMDEP_TRUE=
3319   AMDEP_FALSE='#'
3320 else
3321   AMDEP_TRUE='#'
3322   AMDEP_FALSE=
3323 fi
3324
3325
3326 ac_ext=c
3327 ac_cpp='$CPP $CPPFLAGS'
3328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3331 if test -n "$ac_tool_prefix"; then
3332   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3333 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335 $as_echo_n "checking for $ac_word... " >&6; }
3336 if ${ac_cv_prog_CC+:} false; then :
3337   $as_echo_n "(cached) " >&6
3338 else
3339   if test -n "$CC"; then
3340   ac_cv_prog_CC="$CC" # Let the user override the test.
3341 else
3342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 for as_dir in $PATH
3344 do
3345   IFS=$as_save_IFS
3346   test -z "$as_dir" && as_dir=.
3347     for ac_exec_ext in '' $ac_executable_extensions; do
3348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351     break 2
3352   fi
3353 done
3354   done
3355 IFS=$as_save_IFS
3356
3357 fi
3358 fi
3359 CC=$ac_cv_prog_CC
3360 if test -n "$CC"; then
3361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362 $as_echo "$CC" >&6; }
3363 else
3364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365 $as_echo "no" >&6; }
3366 fi
3367
3368
3369 fi
3370 if test -z "$ac_cv_prog_CC"; then
3371   ac_ct_CC=$CC
3372   # Extract the first word of "gcc", so it can be a program name with args.
3373 set dummy gcc; ac_word=$2
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375 $as_echo_n "checking for $ac_word... " >&6; }
3376 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3377   $as_echo_n "(cached) " >&6
3378 else
3379   if test -n "$ac_ct_CC"; then
3380   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3381 else
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3384 do
3385   IFS=$as_save_IFS
3386   test -z "$as_dir" && as_dir=.
3387     for ac_exec_ext in '' $ac_executable_extensions; do
3388   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389     ac_cv_prog_ac_ct_CC="gcc"
3390     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3391     break 2
3392   fi
3393 done
3394   done
3395 IFS=$as_save_IFS
3396
3397 fi
3398 fi
3399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3400 if test -n "$ac_ct_CC"; then
3401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3402 $as_echo "$ac_ct_CC" >&6; }
3403 else
3404   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3406 fi
3407
3408   if test "x$ac_ct_CC" = x; then
3409     CC=""
3410   else
3411     case $cross_compiling:$ac_tool_warned in
3412 yes:)
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3415 ac_tool_warned=yes ;;
3416 esac
3417     CC=$ac_ct_CC
3418   fi
3419 else
3420   CC="$ac_cv_prog_CC"
3421 fi
3422
3423 if test -z "$CC"; then
3424           if test -n "$ac_tool_prefix"; then
3425     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3426 set dummy ${ac_tool_prefix}cc; ac_word=$2
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428 $as_echo_n "checking for $ac_word... " >&6; }
3429 if ${ac_cv_prog_CC+:} false; then :
3430   $as_echo_n "(cached) " >&6
3431 else
3432   if test -n "$CC"; then
3433   ac_cv_prog_CC="$CC" # Let the user override the test.
3434 else
3435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3436 for as_dir in $PATH
3437 do
3438   IFS=$as_save_IFS
3439   test -z "$as_dir" && as_dir=.
3440     for ac_exec_ext in '' $ac_executable_extensions; do
3441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3442     ac_cv_prog_CC="${ac_tool_prefix}cc"
3443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3444     break 2
3445   fi
3446 done
3447   done
3448 IFS=$as_save_IFS
3449
3450 fi
3451 fi
3452 CC=$ac_cv_prog_CC
3453 if test -n "$CC"; then
3454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3455 $as_echo "$CC" >&6; }
3456 else
3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458 $as_echo "no" >&6; }
3459 fi
3460
3461
3462   fi
3463 fi
3464 if test -z "$CC"; then
3465   # Extract the first word of "cc", so it can be a program name with args.
3466 set dummy cc; ac_word=$2
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468 $as_echo_n "checking for $ac_word... " >&6; }
3469 if ${ac_cv_prog_CC+:} false; then :
3470   $as_echo_n "(cached) " >&6
3471 else
3472   if test -n "$CC"; then
3473   ac_cv_prog_CC="$CC" # Let the user override the test.
3474 else
3475   ac_prog_rejected=no
3476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477 for as_dir in $PATH
3478 do
3479   IFS=$as_save_IFS
3480   test -z "$as_dir" && as_dir=.
3481     for ac_exec_ext in '' $ac_executable_extensions; do
3482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3484        ac_prog_rejected=yes
3485        continue
3486      fi
3487     ac_cv_prog_CC="cc"
3488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3489     break 2
3490   fi
3491 done
3492   done
3493 IFS=$as_save_IFS
3494
3495 if test $ac_prog_rejected = yes; then
3496   # We found a bogon in the path, so make sure we never use it.
3497   set dummy $ac_cv_prog_CC
3498   shift
3499   if test $# != 0; then
3500     # We chose a different compiler from the bogus one.
3501     # However, it has the same basename, so the bogon will be chosen
3502     # first if we set CC to just the basename; use the full file name.
3503     shift
3504     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3505   fi
3506 fi
3507 fi
3508 fi
3509 CC=$ac_cv_prog_CC
3510 if test -n "$CC"; then
3511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3512 $as_echo "$CC" >&6; }
3513 else
3514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3515 $as_echo "no" >&6; }
3516 fi
3517
3518
3519 fi
3520 if test -z "$CC"; then
3521   if test -n "$ac_tool_prefix"; then
3522   for ac_prog in cl.exe
3523   do
3524     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3527 $as_echo_n "checking for $ac_word... " >&6; }
3528 if ${ac_cv_prog_CC+:} false; then :
3529   $as_echo_n "(cached) " >&6
3530 else
3531   if test -n "$CC"; then
3532   ac_cv_prog_CC="$CC" # Let the user override the test.
3533 else
3534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 for as_dir in $PATH
3536 do
3537   IFS=$as_save_IFS
3538   test -z "$as_dir" && as_dir=.
3539     for ac_exec_ext in '' $ac_executable_extensions; do
3540   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3541     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3542     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3543     break 2
3544   fi
3545 done
3546   done
3547 IFS=$as_save_IFS
3548
3549 fi
3550 fi
3551 CC=$ac_cv_prog_CC
3552 if test -n "$CC"; then
3553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3554 $as_echo "$CC" >&6; }
3555 else
3556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3557 $as_echo "no" >&6; }
3558 fi
3559
3560
3561     test -n "$CC" && break
3562   done
3563 fi
3564 if test -z "$CC"; then
3565   ac_ct_CC=$CC
3566   for ac_prog in cl.exe
3567 do
3568   # Extract the first word of "$ac_prog", so it can be a program name with args.
3569 set dummy $ac_prog; ac_word=$2
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3571 $as_echo_n "checking for $ac_word... " >&6; }
3572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3573   $as_echo_n "(cached) " >&6
3574 else
3575   if test -n "$ac_ct_CC"; then
3576   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3580 do
3581   IFS=$as_save_IFS
3582   test -z "$as_dir" && as_dir=.
3583     for ac_exec_ext in '' $ac_executable_extensions; do
3584   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585     ac_cv_prog_ac_ct_CC="$ac_prog"
3586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587     break 2
3588   fi
3589 done
3590   done
3591 IFS=$as_save_IFS
3592
3593 fi
3594 fi
3595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3596 if test -n "$ac_ct_CC"; then
3597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3598 $as_echo "$ac_ct_CC" >&6; }
3599 else
3600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3601 $as_echo "no" >&6; }
3602 fi
3603
3604
3605   test -n "$ac_ct_CC" && break
3606 done
3607
3608   if test "x$ac_ct_CC" = x; then
3609     CC=""
3610   else
3611     case $cross_compiling:$ac_tool_warned in
3612 yes:)
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3615 ac_tool_warned=yes ;;
3616 esac
3617     CC=$ac_ct_CC
3618   fi
3619 fi
3620
3621 fi
3622
3623
3624 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 as_fn_error $? "no acceptable C compiler found in \$PATH
3627 See \`config.log' for more details" "$LINENO" 5; }
3628
3629 # Provide some information about the compiler.
3630 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3631 set X $ac_compile
3632 ac_compiler=$2
3633 for ac_option in --version -v -V -qversion; do
3634   { { ac_try="$ac_compiler $ac_option >&5"
3635 case "(($ac_try" in
3636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637   *) ac_try_echo=$ac_try;;
3638 esac
3639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640 $as_echo "$ac_try_echo"; } >&5
3641   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3642   ac_status=$?
3643   if test -s conftest.err; then
3644     sed '10a\
3645 ... rest of stderr output deleted ...
3646          10q' conftest.err >conftest.er1
3647     cat conftest.er1 >&5
3648   fi
3649   rm -f conftest.er1 conftest.err
3650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3651   test $ac_status = 0; }
3652 done
3653
3654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3655 /* end confdefs.h.  */
3656
3657 int
3658 main ()
3659 {
3660
3661   ;
3662   return 0;
3663 }
3664 _ACEOF
3665 ac_clean_files_save=$ac_clean_files
3666 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3667 # Try to create an executable without -o first, disregard a.out.
3668 # It will help us diagnose broken compilers, and finding out an intuition
3669 # of exeext.
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3671 $as_echo_n "checking whether the C compiler works... " >&6; }
3672 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3673
3674 # The possible output files:
3675 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3676
3677 ac_rmfiles=
3678 for ac_file in $ac_files
3679 do
3680   case $ac_file in
3681     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3682     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3683   esac
3684 done
3685 rm -f $ac_rmfiles
3686
3687 if { { ac_try="$ac_link_default"
3688 case "(($ac_try" in
3689   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3690   *) ac_try_echo=$ac_try;;
3691 esac
3692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3693 $as_echo "$ac_try_echo"; } >&5
3694   (eval "$ac_link_default") 2>&5
3695   ac_status=$?
3696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3697   test $ac_status = 0; }; then :
3698   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3699 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3700 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3701 # so that the user can short-circuit this test for compilers unknown to
3702 # Autoconf.
3703 for ac_file in $ac_files ''
3704 do
3705   test -f "$ac_file" || continue
3706   case $ac_file in
3707     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3708         ;;
3709     [ab].out )
3710         # We found the default executable, but exeext='' is most
3711         # certainly right.
3712         break;;
3713     *.* )
3714         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3715         then :; else
3716            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3717         fi
3718         # We set ac_cv_exeext here because the later test for it is not
3719         # safe: cross compilers may not add the suffix if given an `-o'
3720         # argument, so we may need to know it at that point already.
3721         # Even if this section looks crufty: it has the advantage of
3722         # actually working.
3723         break;;
3724     * )
3725         break;;
3726   esac
3727 done
3728 test "$ac_cv_exeext" = no && ac_cv_exeext=
3729
3730 else
3731   ac_file=''
3732 fi
3733 if test -z "$ac_file"; then :
3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3735 $as_echo "no" >&6; }
3736 $as_echo "$as_me: failed program was:" >&5
3737 sed 's/^/| /' conftest.$ac_ext >&5
3738
3739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3741 as_fn_error 77 "C compiler cannot create executables
3742 See \`config.log' for more details" "$LINENO" 5; }
3743 else
3744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3745 $as_echo "yes" >&6; }
3746 fi
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3748 $as_echo_n "checking for C compiler default output file name... " >&6; }
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3750 $as_echo "$ac_file" >&6; }
3751 ac_exeext=$ac_cv_exeext
3752
3753 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3754 ac_clean_files=$ac_clean_files_save
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3756 $as_echo_n "checking for suffix of executables... " >&6; }
3757 if { { ac_try="$ac_link"
3758 case "(($ac_try" in
3759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3760   *) ac_try_echo=$ac_try;;
3761 esac
3762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3763 $as_echo "$ac_try_echo"; } >&5
3764   (eval "$ac_link") 2>&5
3765   ac_status=$?
3766   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3767   test $ac_status = 0; }; then :
3768   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3769 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3770 # work properly (i.e., refer to `conftest.exe'), while it won't with
3771 # `rm'.
3772 for ac_file in conftest.exe conftest conftest.*; do
3773   test -f "$ac_file" || continue
3774   case $ac_file in
3775     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3776     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3777           break;;
3778     * ) break;;
3779   esac
3780 done
3781 else
3782   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3784 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3785 See \`config.log' for more details" "$LINENO" 5; }
3786 fi
3787 rm -f conftest conftest$ac_cv_exeext
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3789 $as_echo "$ac_cv_exeext" >&6; }
3790
3791 rm -f conftest.$ac_ext
3792 EXEEXT=$ac_cv_exeext
3793 ac_exeext=$EXEEXT
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h.  */
3796 #include <stdio.h>
3797 int
3798 main ()
3799 {
3800 FILE *f = fopen ("conftest.out", "w");
3801  return ferror (f) || fclose (f) != 0;
3802
3803   ;
3804   return 0;
3805 }
3806 _ACEOF
3807 ac_clean_files="$ac_clean_files conftest.out"
3808 # Check that the compiler produces executables we can run.  If not, either
3809 # the compiler is broken, or we cross compile.
3810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3811 $as_echo_n "checking whether we are cross compiling... " >&6; }
3812 if test "$cross_compiling" != yes; then
3813   { { ac_try="$ac_link"
3814 case "(($ac_try" in
3815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816   *) ac_try_echo=$ac_try;;
3817 esac
3818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3819 $as_echo "$ac_try_echo"; } >&5
3820   (eval "$ac_link") 2>&5
3821   ac_status=$?
3822   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3823   test $ac_status = 0; }
3824   if { ac_try='./conftest$ac_cv_exeext'
3825   { { case "(($ac_try" in
3826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3827   *) ac_try_echo=$ac_try;;
3828 esac
3829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3830 $as_echo "$ac_try_echo"; } >&5
3831   (eval "$ac_try") 2>&5
3832   ac_status=$?
3833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3834   test $ac_status = 0; }; }; then
3835     cross_compiling=no
3836   else
3837     if test "$cross_compiling" = maybe; then
3838         cross_compiling=yes
3839     else
3840         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3842 as_fn_error $? "cannot run C compiled programs.
3843 If you meant to cross compile, use \`--host'.
3844 See \`config.log' for more details" "$LINENO" 5; }
3845     fi
3846   fi
3847 fi
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3849 $as_echo "$cross_compiling" >&6; }
3850
3851 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3852 ac_clean_files=$ac_clean_files_save
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3854 $as_echo_n "checking for suffix of object files... " >&6; }
3855 if ${ac_cv_objext+:} false; then :
3856   $as_echo_n "(cached) " >&6
3857 else
3858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h.  */
3860
3861 int
3862 main ()
3863 {
3864
3865   ;
3866   return 0;
3867 }
3868 _ACEOF
3869 rm -f conftest.o conftest.obj
3870 if { { ac_try="$ac_compile"
3871 case "(($ac_try" in
3872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873   *) ac_try_echo=$ac_try;;
3874 esac
3875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876 $as_echo "$ac_try_echo"; } >&5
3877   (eval "$ac_compile") 2>&5
3878   ac_status=$?
3879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880   test $ac_status = 0; }; then :
3881   for ac_file in conftest.o conftest.obj conftest.*; do
3882   test -f "$ac_file" || continue;
3883   case $ac_file in
3884     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3885     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3886        break;;
3887   esac
3888 done
3889 else
3890   $as_echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3892
3893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3895 as_fn_error $? "cannot compute suffix of object files: cannot compile
3896 See \`config.log' for more details" "$LINENO" 5; }
3897 fi
3898 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3899 fi
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3901 $as_echo "$ac_cv_objext" >&6; }
3902 OBJEXT=$ac_cv_objext
3903 ac_objext=$OBJEXT
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3905 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3906 if ${ac_cv_c_compiler_gnu+:} false; then :
3907   $as_echo_n "(cached) " >&6
3908 else
3909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3910 /* end confdefs.h.  */
3911
3912 int
3913 main ()
3914 {
3915 #ifndef __GNUC__
3916        choke me
3917 #endif
3918
3919   ;
3920   return 0;
3921 }
3922 _ACEOF
3923 if ac_fn_c_try_compile "$LINENO"; then :
3924   ac_compiler_gnu=yes
3925 else
3926   ac_compiler_gnu=no
3927 fi
3928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3930
3931 fi
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3933 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3934 if test $ac_compiler_gnu = yes; then
3935   GCC=yes
3936 else
3937   GCC=
3938 fi
3939 ac_test_CFLAGS=${CFLAGS+set}
3940 ac_save_CFLAGS=$CFLAGS
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3942 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3943 if ${ac_cv_prog_cc_g+:} false; then :
3944   $as_echo_n "(cached) " >&6
3945 else
3946   ac_save_c_werror_flag=$ac_c_werror_flag
3947    ac_c_werror_flag=yes
3948    ac_cv_prog_cc_g=no
3949    CFLAGS="-g"
3950    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951 /* end confdefs.h.  */
3952
3953 int
3954 main ()
3955 {
3956
3957   ;
3958   return 0;
3959 }
3960 _ACEOF
3961 if ac_fn_c_try_compile "$LINENO"; then :
3962   ac_cv_prog_cc_g=yes
3963 else
3964   CFLAGS=""
3965       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3966 /* end confdefs.h.  */
3967
3968 int
3969 main ()
3970 {
3971
3972   ;
3973   return 0;
3974 }
3975 _ACEOF
3976 if ac_fn_c_try_compile "$LINENO"; then :
3977
3978 else
3979   ac_c_werror_flag=$ac_save_c_werror_flag
3980          CFLAGS="-g"
3981          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3982 /* end confdefs.h.  */
3983
3984 int
3985 main ()
3986 {
3987
3988   ;
3989   return 0;
3990 }
3991 _ACEOF
3992 if ac_fn_c_try_compile "$LINENO"; then :
3993   ac_cv_prog_cc_g=yes
3994 fi
3995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 fi
3997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3998 fi
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4000    ac_c_werror_flag=$ac_save_c_werror_flag
4001 fi
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4003 $as_echo "$ac_cv_prog_cc_g" >&6; }
4004 if test "$ac_test_CFLAGS" = set; then
4005   CFLAGS=$ac_save_CFLAGS
4006 elif test $ac_cv_prog_cc_g = yes; then
4007   if test "$GCC" = yes; then
4008     CFLAGS="-g -O2"
4009   else
4010     CFLAGS="-g"
4011   fi
4012 else
4013   if test "$GCC" = yes; then
4014     CFLAGS="-O2"
4015   else
4016     CFLAGS=
4017   fi
4018 fi
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4020 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4021 if ${ac_cv_prog_cc_c89+:} false; then :
4022   $as_echo_n "(cached) " >&6
4023 else
4024   ac_cv_prog_cc_c89=no
4025 ac_save_CC=$CC
4026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027 /* end confdefs.h.  */
4028 #include <stdarg.h>
4029 #include <stdio.h>
4030 struct stat;
4031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4032 struct buf { int x; };
4033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4034 static char *e (p, i)
4035      char **p;
4036      int i;
4037 {
4038   return p[i];
4039 }
4040 static char *f (char * (*g) (char **, int), char **p, ...)
4041 {
4042   char *s;
4043   va_list v;
4044   va_start (v,p);
4045   s = g (p, va_arg (v,int));
4046   va_end (v);
4047   return s;
4048 }
4049
4050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4051    function prototypes and stuff, but not '\xHH' hex character constants.
4052    These don't provoke an error unfortunately, instead are silently treated
4053    as 'x'.  The following induces an error, until -std is added to get
4054    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4055    array size at least.  It's necessary to write '\x00'==0 to get something
4056    that's true only with -std.  */
4057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4058
4059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4060    inside strings and character constants.  */
4061 #define FOO(x) 'x'
4062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4063
4064 int test (int i, double x);
4065 struct s1 {int (*f) (int a);};
4066 struct s2 {int (*f) (double a);};
4067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4068 int argc;
4069 char **argv;
4070 int
4071 main ()
4072 {
4073 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4074   ;
4075   return 0;
4076 }
4077 _ACEOF
4078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4079         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4080 do
4081   CC="$ac_save_CC $ac_arg"
4082   if ac_fn_c_try_compile "$LINENO"; then :
4083   ac_cv_prog_cc_c89=$ac_arg
4084 fi
4085 rm -f core conftest.err conftest.$ac_objext
4086   test "x$ac_cv_prog_cc_c89" != "xno" && break
4087 done
4088 rm -f conftest.$ac_ext
4089 CC=$ac_save_CC
4090
4091 fi
4092 # AC_CACHE_VAL
4093 case "x$ac_cv_prog_cc_c89" in
4094   x)
4095     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4096 $as_echo "none needed" >&6; } ;;
4097   xno)
4098     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4099 $as_echo "unsupported" >&6; } ;;
4100   *)
4101     CC="$CC $ac_cv_prog_cc_c89"
4102     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4103 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4104 esac
4105 if test "x$ac_cv_prog_cc_c89" != xno; then :
4106
4107 fi
4108
4109 ac_ext=c
4110 ac_cpp='$CPP $CPPFLAGS'
4111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114
4115 depcc="$CC"   am_compiler_list=
4116
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4118 $as_echo_n "checking dependency style of $depcc... " >&6; }
4119 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4120   $as_echo_n "(cached) " >&6
4121 else
4122   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4123   # We make a subdir and do the tests there.  Otherwise we can end up
4124   # making bogus files that we don't know about and never remove.  For
4125   # instance it was reported that on HP-UX the gcc test will end up
4126   # making a dummy file named 'D' -- because '-MD' means "put the output
4127   # in D".
4128   rm -rf conftest.dir
4129   mkdir conftest.dir
4130   # Copy depcomp to subdir because otherwise we won't find it if we're
4131   # using a relative directory.
4132   cp "$am_depcomp" conftest.dir
4133   cd conftest.dir
4134   # We will build objects and dependencies in a subdirectory because
4135   # it helps to detect inapplicable dependency modes.  For instance
4136   # both Tru64's cc and ICC support -MD to output dependencies as a
4137   # side effect of compilation, but ICC will put the dependencies in
4138   # the current directory while Tru64 will put them in the object
4139   # directory.
4140   mkdir sub
4141
4142   am_cv_CC_dependencies_compiler_type=none
4143   if test "$am_compiler_list" = ""; then
4144      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4145   fi
4146   am__universal=false
4147   case " $depcc " in #(
4148      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4149      esac
4150
4151   for depmode in $am_compiler_list; do
4152     # Setup a source with many dependencies, because some compilers
4153     # like to wrap large dependency lists on column 80 (with \), and
4154     # we should not choose a depcomp mode which is confused by this.
4155     #
4156     # We need to recreate these files for each test, as the compiler may
4157     # overwrite some of them when testing with obscure command lines.
4158     # This happens at least with the AIX C compiler.
4159     : > sub/conftest.c
4160     for i in 1 2 3 4 5 6; do
4161       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4162       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4163       # Solaris 10 /bin/sh.
4164       echo '/* dummy */' > sub/conftst$i.h
4165     done
4166     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4167
4168     # We check with '-c' and '-o' for the sake of the "dashmstdout"
4169     # mode.  It turns out that the SunPro C++ compiler does not properly
4170     # handle '-M -o', and we need to detect this.  Also, some Intel
4171     # versions had trouble with output in subdirs.
4172     am__obj=sub/conftest.${OBJEXT-o}
4173     am__minus_obj="-o $am__obj"
4174     case $depmode in
4175     gcc)
4176       # This depmode causes a compiler race in universal mode.
4177       test "$am__universal" = false || continue
4178       ;;
4179     nosideeffect)
4180       # After this tag, mechanisms are not by side-effect, so they'll
4181       # only be used when explicitly requested.
4182       if test "x$enable_dependency_tracking" = xyes; then
4183         continue
4184       else
4185         break
4186       fi
4187       ;;
4188     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4189       # This compiler won't grok '-c -o', but also, the minuso test has
4190       # not run yet.  These depmodes are late enough in the game, and
4191       # so weak that their functioning should not be impacted.
4192       am__obj=conftest.${OBJEXT-o}
4193       am__minus_obj=
4194       ;;
4195     none) break ;;
4196     esac
4197     if depmode=$depmode \
4198        source=sub/conftest.c object=$am__obj \
4199        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4200        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4201          >/dev/null 2>conftest.err &&
4202        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4203        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4204        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4205        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4206       # icc doesn't choke on unknown options, it will just issue warnings
4207       # or remarks (even with -Werror).  So we grep stderr for any message
4208       # that says an option was ignored or not supported.
4209       # When given -MP, icc 7.0 and 7.1 complain thusly:
4210       #   icc: Command line warning: ignoring option '-M'; no argument required
4211       # The diagnosis changed in icc 8.0:
4212       #   icc: Command line remark: option '-MP' not supported
4213       if (grep 'ignoring option' conftest.err ||
4214           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4215         am_cv_CC_dependencies_compiler_type=$depmode
4216         break
4217       fi
4218     fi
4219   done
4220
4221   cd ..
4222   rm -rf conftest.dir
4223 else
4224   am_cv_CC_dependencies_compiler_type=none
4225 fi
4226
4227 fi
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4229 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4230 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4231
4232  if
4233   test "x$enable_dependency_tracking" != xno \
4234   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4235   am__fastdepCC_TRUE=
4236   am__fastdepCC_FALSE='#'
4237 else
4238   am__fastdepCC_TRUE='#'
4239   am__fastdepCC_FALSE=
4240 fi
4241
4242
4243
4244 ac_ext=c
4245 ac_cpp='$CPP $CPPFLAGS'
4246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4250 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4251 # On Suns, sometimes $CPP names a directory.
4252 if test -n "$CPP" && test -d "$CPP"; then
4253   CPP=
4254 fi
4255 if test -z "$CPP"; then
4256   if ${ac_cv_prog_CPP+:} false; then :
4257   $as_echo_n "(cached) " >&6
4258 else
4259       # Double quotes because CPP needs to be expanded
4260     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4261     do
4262       ac_preproc_ok=false
4263 for ac_c_preproc_warn_flag in '' yes
4264 do
4265   # Use a header file that comes with gcc, so configuring glibc
4266   # with a fresh cross-compiler works.
4267   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4268   # <limits.h> exists even on freestanding compilers.
4269   # On the NeXT, cc -E runs the code through the compiler's parser,
4270   # not just through cpp. "Syntax error" is here to catch this case.
4271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h.  */
4273 #ifdef __STDC__
4274 # include <limits.h>
4275 #else
4276 # include <assert.h>
4277 #endif
4278                      Syntax error
4279 _ACEOF
4280 if ac_fn_c_try_cpp "$LINENO"; then :
4281
4282 else
4283   # Broken: fails on valid input.
4284 continue
4285 fi
4286 rm -f conftest.err conftest.i conftest.$ac_ext
4287
4288   # OK, works on sane cases.  Now check whether nonexistent headers
4289   # can be detected and how.
4290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291 /* end confdefs.h.  */
4292 #include <ac_nonexistent.h>
4293 _ACEOF
4294 if ac_fn_c_try_cpp "$LINENO"; then :
4295   # Broken: success on invalid input.
4296 continue
4297 else
4298   # Passes both tests.
4299 ac_preproc_ok=:
4300 break
4301 fi
4302 rm -f conftest.err conftest.i conftest.$ac_ext
4303
4304 done
4305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4306 rm -f conftest.i conftest.err conftest.$ac_ext
4307 if $ac_preproc_ok; then :
4308   break
4309 fi
4310
4311     done
4312     ac_cv_prog_CPP=$CPP
4313
4314 fi
4315   CPP=$ac_cv_prog_CPP
4316 else
4317   ac_cv_prog_CPP=$CPP
4318 fi
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4320 $as_echo "$CPP" >&6; }
4321 ac_preproc_ok=false
4322 for ac_c_preproc_warn_flag in '' yes
4323 do
4324   # Use a header file that comes with gcc, so configuring glibc
4325   # with a fresh cross-compiler works.
4326   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4327   # <limits.h> exists even on freestanding compilers.
4328   # On the NeXT, cc -E runs the code through the compiler's parser,
4329   # not just through cpp. "Syntax error" is here to catch this case.
4330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h.  */
4332 #ifdef __STDC__
4333 # include <limits.h>
4334 #else
4335 # include <assert.h>
4336 #endif
4337                      Syntax error
4338 _ACEOF
4339 if ac_fn_c_try_cpp "$LINENO"; then :
4340
4341 else
4342   # Broken: fails on valid input.
4343 continue
4344 fi
4345 rm -f conftest.err conftest.i conftest.$ac_ext
4346
4347   # OK, works on sane cases.  Now check whether nonexistent headers
4348   # can be detected and how.
4349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4350 /* end confdefs.h.  */
4351 #include <ac_nonexistent.h>
4352 _ACEOF
4353 if ac_fn_c_try_cpp "$LINENO"; then :
4354   # Broken: success on invalid input.
4355 continue
4356 else
4357   # Passes both tests.
4358 ac_preproc_ok=:
4359 break
4360 fi
4361 rm -f conftest.err conftest.i conftest.$ac_ext
4362
4363 done
4364 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4365 rm -f conftest.i conftest.err conftest.$ac_ext
4366 if $ac_preproc_ok; then :
4367
4368 else
4369   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4371 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4372 See \`config.log' for more details" "$LINENO" 5; }
4373 fi
4374
4375 ac_ext=c
4376 ac_cpp='$CPP $CPPFLAGS'
4377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4380
4381
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4383 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4384 if ${ac_cv_path_GREP+:} false; then :
4385   $as_echo_n "(cached) " >&6
4386 else
4387   if test -z "$GREP"; then
4388   ac_path_GREP_found=false
4389   # Loop through the user's path and test for each of PROGNAME-LIST
4390   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4391 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4392 do
4393   IFS=$as_save_IFS
4394   test -z "$as_dir" && as_dir=.
4395     for ac_prog in grep ggrep; do
4396     for ac_exec_ext in '' $ac_executable_extensions; do
4397       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4398       as_fn_executable_p "$ac_path_GREP" || continue
4399 # Check for GNU ac_path_GREP and select it if it is found.
4400   # Check for GNU $ac_path_GREP
4401 case `"$ac_path_GREP" --version 2>&1` in
4402 *GNU*)
4403   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4404 *)
4405   ac_count=0
4406   $as_echo_n 0123456789 >"conftest.in"
4407   while :
4408   do
4409     cat "conftest.in" "conftest.in" >"conftest.tmp"
4410     mv "conftest.tmp" "conftest.in"
4411     cp "conftest.in" "conftest.nl"
4412     $as_echo 'GREP' >> "conftest.nl"
4413     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4414     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4415     as_fn_arith $ac_count + 1 && ac_count=$as_val
4416     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4417       # Best one so far, save it but keep looking for a better one
4418       ac_cv_path_GREP="$ac_path_GREP"
4419       ac_path_GREP_max=$ac_count
4420     fi
4421     # 10*(2^10) chars as input seems more than enough
4422     test $ac_count -gt 10 && break
4423   done
4424   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4425 esac
4426
4427       $ac_path_GREP_found && break 3
4428     done
4429   done
4430   done
4431 IFS=$as_save_IFS
4432   if test -z "$ac_cv_path_GREP"; then
4433     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4434   fi
4435 else
4436   ac_cv_path_GREP=$GREP
4437 fi
4438
4439 fi
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4441 $as_echo "$ac_cv_path_GREP" >&6; }
4442  GREP="$ac_cv_path_GREP"
4443
4444
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4446 $as_echo_n "checking for egrep... " >&6; }
4447 if ${ac_cv_path_EGREP+:} false; then :
4448   $as_echo_n "(cached) " >&6
4449 else
4450   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4451    then ac_cv_path_EGREP="$GREP -E"
4452    else
4453      if test -z "$EGREP"; then
4454   ac_path_EGREP_found=false
4455   # Loop through the user's path and test for each of PROGNAME-LIST
4456   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4457 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4458 do
4459   IFS=$as_save_IFS
4460   test -z "$as_dir" && as_dir=.
4461     for ac_prog in egrep; do
4462     for ac_exec_ext in '' $ac_executable_extensions; do
4463       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4464       as_fn_executable_p "$ac_path_EGREP" || continue
4465 # Check for GNU ac_path_EGREP and select it if it is found.
4466   # Check for GNU $ac_path_EGREP
4467 case `"$ac_path_EGREP" --version 2>&1` in
4468 *GNU*)
4469   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4470 *)
4471   ac_count=0
4472   $as_echo_n 0123456789 >"conftest.in"
4473   while :
4474   do
4475     cat "conftest.in" "conftest.in" >"conftest.tmp"
4476     mv "conftest.tmp" "conftest.in"
4477     cp "conftest.in" "conftest.nl"
4478     $as_echo 'EGREP' >> "conftest.nl"
4479     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4480     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4481     as_fn_arith $ac_count + 1 && ac_count=$as_val
4482     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4483       # Best one so far, save it but keep looking for a better one
4484       ac_cv_path_EGREP="$ac_path_EGREP"
4485       ac_path_EGREP_max=$ac_count
4486     fi
4487     # 10*(2^10) chars as input seems more than enough
4488     test $ac_count -gt 10 && break
4489   done
4490   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4491 esac
4492
4493       $ac_path_EGREP_found && break 3
4494     done
4495   done
4496   done
4497 IFS=$as_save_IFS
4498   if test -z "$ac_cv_path_EGREP"; then
4499     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4500   fi
4501 else
4502   ac_cv_path_EGREP=$EGREP
4503 fi
4504
4505    fi
4506 fi
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4508 $as_echo "$ac_cv_path_EGREP" >&6; }
4509  EGREP="$ac_cv_path_EGREP"
4510
4511
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4513 $as_echo_n "checking for ANSI C header files... " >&6; }
4514 if ${ac_cv_header_stdc+:} false; then :
4515   $as_echo_n "(cached) " >&6
4516 else
4517   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h.  */
4519 #include <stdlib.h>
4520 #include <stdarg.h>
4521 #include <string.h>
4522 #include <float.h>
4523
4524 int
4525 main ()
4526 {
4527
4528   ;
4529   return 0;
4530 }
4531 _ACEOF
4532 if ac_fn_c_try_compile "$LINENO"; then :
4533   ac_cv_header_stdc=yes
4534 else
4535   ac_cv_header_stdc=no
4536 fi
4537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4538
4539 if test $ac_cv_header_stdc = yes; then
4540   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h.  */
4543 #include <string.h>
4544
4545 _ACEOF
4546 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4547   $EGREP "memchr" >/dev/null 2>&1; then :
4548
4549 else
4550   ac_cv_header_stdc=no
4551 fi
4552 rm -f conftest*
4553
4554 fi
4555
4556 if test $ac_cv_header_stdc = yes; then
4557   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h.  */
4560 #include <stdlib.h>
4561
4562 _ACEOF
4563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4564   $EGREP "free" >/dev/null 2>&1; then :
4565
4566 else
4567   ac_cv_header_stdc=no
4568 fi
4569 rm -f conftest*
4570
4571 fi
4572
4573 if test $ac_cv_header_stdc = yes; then
4574   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4575   if test "$cross_compiling" = yes; then :
4576   :
4577 else
4578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4579 /* end confdefs.h.  */
4580 #include <ctype.h>
4581 #include <stdlib.h>
4582 #if ((' ' & 0x0FF) == 0x020)
4583 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4584 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4585 #else
4586 # define ISLOWER(c) \
4587                    (('a' <= (c) && (c) <= 'i') \
4588                      || ('j' <= (c) && (c) <= 'r') \
4589                      || ('s' <= (c) && (c) <= 'z'))
4590 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4591 #endif
4592
4593 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4594 int
4595 main ()
4596 {
4597   int i;
4598   for (i = 0; i < 256; i++)
4599     if (XOR (islower (i), ISLOWER (i))
4600         || toupper (i) != TOUPPER (i))
4601       return 2;
4602   return 0;
4603 }
4604 _ACEOF
4605 if ac_fn_c_try_run "$LINENO"; then :
4606
4607 else
4608   ac_cv_header_stdc=no
4609 fi
4610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4611   conftest.$ac_objext conftest.beam conftest.$ac_ext
4612 fi
4613
4614 fi
4615 fi
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4617 $as_echo "$ac_cv_header_stdc" >&6; }
4618 if test $ac_cv_header_stdc = yes; then
4619
4620 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4621
4622 fi
4623
4624 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4625 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4626                   inttypes.h stdint.h unistd.h
4627 do :
4628   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4629 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4630 "
4631 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4632   cat >>confdefs.h <<_ACEOF
4633 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4634 _ACEOF
4635
4636 fi
4637
4638 done
4639
4640
4641
4642   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4643 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4644   MINIX=yes
4645 else
4646   MINIX=
4647 fi
4648
4649
4650   if test "$MINIX" = yes; then
4651
4652 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4653
4654
4655 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4656
4657
4658 $as_echo "#define _MINIX 1" >>confdefs.h
4659
4660   fi
4661
4662
4663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4664 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4665 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4666   $as_echo_n "(cached) " >&6
4667 else
4668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4669 /* end confdefs.h.  */
4670
4671 #         define __EXTENSIONS__ 1
4672           $ac_includes_default
4673 int
4674 main ()
4675 {
4676
4677   ;
4678   return 0;
4679 }
4680 _ACEOF
4681 if ac_fn_c_try_compile "$LINENO"; then :
4682   ac_cv_safe_to_define___extensions__=yes
4683 else
4684   ac_cv_safe_to_define___extensions__=no
4685 fi
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4687 fi
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4689 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4690   test $ac_cv_safe_to_define___extensions__ = yes &&
4691     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4692
4693   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4694
4695   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4696
4697   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4698
4699   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4700
4701
4702
4703
4704  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4705 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4706 if ${ac_cv_c_bigendian+:} false; then :
4707   $as_echo_n "(cached) " >&6
4708 else
4709   ac_cv_c_bigendian=unknown
4710     # See if we're dealing with a universal compiler.
4711     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h.  */
4713 #ifndef __APPLE_CC__
4714                not a universal capable compiler
4715              #endif
4716              typedef int dummy;
4717
4718 _ACEOF
4719 if ac_fn_c_try_compile "$LINENO"; then :
4720
4721         # Check for potential -arch flags.  It is not universal unless
4722         # there are at least two -arch flags with different values.
4723         ac_arch=
4724         ac_prev=
4725         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4726          if test -n "$ac_prev"; then
4727            case $ac_word in
4728              i?86 | x86_64 | ppc | ppc64)
4729                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4730                  ac_arch=$ac_word
4731                else
4732                  ac_cv_c_bigendian=universal
4733                  break
4734                fi
4735                ;;
4736            esac
4737            ac_prev=
4738          elif test "x$ac_word" = "x-arch"; then
4739            ac_prev=arch
4740          fi
4741        done
4742 fi
4743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4744     if test $ac_cv_c_bigendian = unknown; then
4745       # See if sys/param.h defines the BYTE_ORDER macro.
4746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h.  */
4748 #include <sys/types.h>
4749              #include <sys/param.h>
4750
4751 int
4752 main ()
4753 {
4754 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4755                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4756                      && LITTLE_ENDIAN)
4757               bogus endian macros
4758              #endif
4759
4760   ;
4761   return 0;
4762 }
4763 _ACEOF
4764 if ac_fn_c_try_compile "$LINENO"; then :
4765   # It does; now see whether it defined to BIG_ENDIAN or not.
4766          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4767 /* end confdefs.h.  */
4768 #include <sys/types.h>
4769                 #include <sys/param.h>
4770
4771 int
4772 main ()
4773 {
4774 #if BYTE_ORDER != BIG_ENDIAN
4775                  not big endian
4776                 #endif
4777
4778   ;
4779   return 0;
4780 }
4781 _ACEOF
4782 if ac_fn_c_try_compile "$LINENO"; then :
4783   ac_cv_c_bigendian=yes
4784 else
4785   ac_cv_c_bigendian=no
4786 fi
4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4788 fi
4789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4790     fi
4791     if test $ac_cv_c_bigendian = unknown; then
4792       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h.  */
4795 #include <limits.h>
4796
4797 int
4798 main ()
4799 {
4800 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4801               bogus endian macros
4802              #endif
4803
4804   ;
4805   return 0;
4806 }
4807 _ACEOF
4808 if ac_fn_c_try_compile "$LINENO"; then :
4809   # It does; now see whether it defined to _BIG_ENDIAN or not.
4810          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h.  */
4812 #include <limits.h>
4813
4814 int
4815 main ()
4816 {
4817 #ifndef _BIG_ENDIAN
4818                  not big endian
4819                 #endif
4820
4821   ;
4822   return 0;
4823 }
4824 _ACEOF
4825 if ac_fn_c_try_compile "$LINENO"; then :
4826   ac_cv_c_bigendian=yes
4827 else
4828   ac_cv_c_bigendian=no
4829 fi
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 fi
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833     fi
4834     if test $ac_cv_c_bigendian = unknown; then
4835       # Compile a test program.
4836       if test "$cross_compiling" = yes; then :
4837   # Try to guess by grepping values from an object file.
4838          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h.  */
4840 short int ascii_mm[] =
4841                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4842                 short int ascii_ii[] =
4843                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4844                 int use_ascii (int i) {
4845                   return ascii_mm[i] + ascii_ii[i];
4846                 }
4847                 short int ebcdic_ii[] =
4848                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4849                 short int ebcdic_mm[] =
4850                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4851                 int use_ebcdic (int i) {
4852                   return ebcdic_mm[i] + ebcdic_ii[i];
4853                 }
4854                 extern int foo;
4855
4856 int
4857 main ()
4858 {
4859 return use_ascii (foo) == use_ebcdic (foo);
4860   ;
4861   return 0;
4862 }
4863 _ACEOF
4864 if ac_fn_c_try_compile "$LINENO"; then :
4865   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4866               ac_cv_c_bigendian=yes
4867             fi
4868             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4869               if test "$ac_cv_c_bigendian" = unknown; then
4870                 ac_cv_c_bigendian=no
4871               else
4872                 # finding both strings is unlikely to happen, but who knows?
4873                 ac_cv_c_bigendian=unknown
4874               fi
4875             fi
4876 fi
4877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 else
4879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h.  */
4881 $ac_includes_default
4882 int
4883 main ()
4884 {
4885
4886              /* Are we little or big endian?  From Harbison&Steele.  */
4887              union
4888              {
4889                long int l;
4890                char c[sizeof (long int)];
4891              } u;
4892              u.l = 1;
4893              return u.c[sizeof (long int) - 1] == 1;
4894
4895   ;
4896   return 0;
4897 }
4898 _ACEOF
4899 if ac_fn_c_try_run "$LINENO"; then :
4900   ac_cv_c_bigendian=no
4901 else
4902   ac_cv_c_bigendian=yes
4903 fi
4904 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4905   conftest.$ac_objext conftest.beam conftest.$ac_ext
4906 fi
4907
4908     fi
4909 fi
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4911 $as_echo "$ac_cv_c_bigendian" >&6; }
4912  case $ac_cv_c_bigendian in #(
4913    yes)
4914      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4915 ;; #(
4916    no)
4917       ;; #(
4918    universal)
4919
4920 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4921
4922      ;; #(
4923    *)
4924      as_fn_error $? "unknown endianness
4925  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4926  esac
4927
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4929 $as_echo_n "checking for library containing strerror... " >&6; }
4930 if ${ac_cv_search_strerror+:} false; then :
4931   $as_echo_n "(cached) " >&6
4932 else
4933   ac_func_search_save_LIBS=$LIBS
4934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4935 /* end confdefs.h.  */
4936
4937 /* Override any GCC internal prototype to avoid an error.
4938    Use char because int might match the return type of a GCC
4939    builtin and then its argument prototype would still apply.  */
4940 #ifdef __cplusplus
4941 extern "C"
4942 #endif
4943 char strerror ();
4944 int
4945 main ()
4946 {
4947 return strerror ();
4948   ;
4949   return 0;
4950 }
4951 _ACEOF
4952 for ac_lib in '' cposix; do
4953   if test -z "$ac_lib"; then
4954     ac_res="none required"
4955   else
4956     ac_res=-l$ac_lib
4957     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4958   fi
4959   if ac_fn_c_try_link "$LINENO"; then :
4960   ac_cv_search_strerror=$ac_res
4961 fi
4962 rm -f core conftest.err conftest.$ac_objext \
4963     conftest$ac_exeext
4964   if ${ac_cv_search_strerror+:} false; then :
4965   break
4966 fi
4967 done
4968 if ${ac_cv_search_strerror+:} false; then :
4969
4970 else
4971   ac_cv_search_strerror=no
4972 fi
4973 rm conftest.$ac_ext
4974 LIBS=$ac_func_search_save_LIBS
4975 fi
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4977 $as_echo "$ac_cv_search_strerror" >&6; }
4978 ac_res=$ac_cv_search_strerror
4979 if test "$ac_res" != no; then :
4980   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4981
4982 fi
4983
4984 ac_ext=c
4985 ac_cpp='$CPP $CPPFLAGS'
4986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4989 if test -n "$ac_tool_prefix"; then
4990   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4991 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4993 $as_echo_n "checking for $ac_word... " >&6; }
4994 if ${ac_cv_prog_CC+:} false; then :
4995   $as_echo_n "(cached) " >&6
4996 else
4997   if test -n "$CC"; then
4998   ac_cv_prog_CC="$CC" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5002 do
5003   IFS=$as_save_IFS
5004   test -z "$as_dir" && as_dir=.
5005     for ac_exec_ext in '' $ac_executable_extensions; do
5006   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007     ac_cv_prog_CC="${ac_tool_prefix}gcc"
5008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5009     break 2
5010   fi
5011 done
5012   done
5013 IFS=$as_save_IFS
5014
5015 fi
5016 fi
5017 CC=$ac_cv_prog_CC
5018 if test -n "$CC"; then
5019   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5020 $as_echo "$CC" >&6; }
5021 else
5022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5023 $as_echo "no" >&6; }
5024 fi
5025
5026
5027 fi
5028 if test -z "$ac_cv_prog_CC"; then
5029   ac_ct_CC=$CC
5030   # Extract the first word of "gcc", so it can be a program name with args.
5031 set dummy gcc; ac_word=$2
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5035   $as_echo_n "(cached) " >&6
5036 else
5037   if test -n "$ac_ct_CC"; then
5038   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5039 else
5040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 for as_dir in $PATH
5042 do
5043   IFS=$as_save_IFS
5044   test -z "$as_dir" && as_dir=.
5045     for ac_exec_ext in '' $ac_executable_extensions; do
5046   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5047     ac_cv_prog_ac_ct_CC="gcc"
5048     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5049     break 2
5050   fi
5051 done
5052   done
5053 IFS=$as_save_IFS
5054
5055 fi
5056 fi
5057 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5058 if test -n "$ac_ct_CC"; then
5059   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5060 $as_echo "$ac_ct_CC" >&6; }
5061 else
5062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5063 $as_echo "no" >&6; }
5064 fi
5065
5066   if test "x$ac_ct_CC" = x; then
5067     CC=""
5068   else
5069     case $cross_compiling:$ac_tool_warned in
5070 yes:)
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5073 ac_tool_warned=yes ;;
5074 esac
5075     CC=$ac_ct_CC
5076   fi
5077 else
5078   CC="$ac_cv_prog_CC"
5079 fi
5080
5081 if test -z "$CC"; then
5082           if test -n "$ac_tool_prefix"; then
5083     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5084 set dummy ${ac_tool_prefix}cc; ac_word=$2
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 $as_echo_n "checking for $ac_word... " >&6; }
5087 if ${ac_cv_prog_CC+:} false; then :
5088   $as_echo_n "(cached) " >&6
5089 else
5090   if test -n "$CC"; then
5091   ac_cv_prog_CC="$CC" # Let the user override the test.
5092 else
5093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094 for as_dir in $PATH
5095 do
5096   IFS=$as_save_IFS
5097   test -z "$as_dir" && as_dir=.
5098     for ac_exec_ext in '' $ac_executable_extensions; do
5099   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5100     ac_cv_prog_CC="${ac_tool_prefix}cc"
5101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5102     break 2
5103   fi
5104 done
5105   done
5106 IFS=$as_save_IFS
5107
5108 fi
5109 fi
5110 CC=$ac_cv_prog_CC
5111 if test -n "$CC"; then
5112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5113 $as_echo "$CC" >&6; }
5114 else
5115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5117 fi
5118
5119
5120   fi
5121 fi
5122 if test -z "$CC"; then
5123   # Extract the first word of "cc", so it can be a program name with args.
5124 set dummy cc; ac_word=$2
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5126 $as_echo_n "checking for $ac_word... " >&6; }
5127 if ${ac_cv_prog_CC+:} false; then :
5128   $as_echo_n "(cached) " >&6
5129 else
5130   if test -n "$CC"; then
5131   ac_cv_prog_CC="$CC" # Let the user override the test.
5132 else
5133   ac_prog_rejected=no
5134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5135 for as_dir in $PATH
5136 do
5137   IFS=$as_save_IFS
5138   test -z "$as_dir" && as_dir=.
5139     for ac_exec_ext in '' $ac_executable_extensions; do
5140   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5142        ac_prog_rejected=yes
5143        continue
5144      fi
5145     ac_cv_prog_CC="cc"
5146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147     break 2
5148   fi
5149 done
5150   done
5151 IFS=$as_save_IFS
5152
5153 if test $ac_prog_rejected = yes; then
5154   # We found a bogon in the path, so make sure we never use it.
5155   set dummy $ac_cv_prog_CC
5156   shift
5157   if test $# != 0; then
5158     # We chose a different compiler from the bogus one.
5159     # However, it has the same basename, so the bogon will be chosen
5160     # first if we set CC to just the basename; use the full file name.
5161     shift
5162     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5163   fi
5164 fi
5165 fi
5166 fi
5167 CC=$ac_cv_prog_CC
5168 if test -n "$CC"; then
5169   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5170 $as_echo "$CC" >&6; }
5171 else
5172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173 $as_echo "no" >&6; }
5174 fi
5175
5176
5177 fi
5178 if test -z "$CC"; then
5179   if test -n "$ac_tool_prefix"; then
5180   for ac_prog in cl.exe
5181   do
5182     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5183 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if ${ac_cv_prog_CC+:} false; then :
5187   $as_echo_n "(cached) " >&6
5188 else
5189   if test -n "$CC"; then
5190   ac_cv_prog_CC="$CC" # Let the user override the test.
5191 else
5192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193 for as_dir in $PATH
5194 do
5195   IFS=$as_save_IFS
5196   test -z "$as_dir" && as_dir=.
5197     for ac_exec_ext in '' $ac_executable_extensions; do
5198   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5199     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201     break 2
5202   fi
5203 done
5204   done
5205 IFS=$as_save_IFS
5206
5207 fi
5208 fi
5209 CC=$ac_cv_prog_CC
5210 if test -n "$CC"; then
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5212 $as_echo "$CC" >&6; }
5213 else
5214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215 $as_echo "no" >&6; }
5216 fi
5217
5218
5219     test -n "$CC" && break
5220   done
5221 fi
5222 if test -z "$CC"; then
5223   ac_ct_CC=$CC
5224   for ac_prog in cl.exe
5225 do
5226   # Extract the first word of "$ac_prog", so it can be a program name with args.
5227 set dummy $ac_prog; ac_word=$2
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5229 $as_echo_n "checking for $ac_word... " >&6; }
5230 if ${ac_cv_prog_ac_ct_CC+:} false; then :
5231   $as_echo_n "(cached) " >&6
5232 else
5233   if test -n "$ac_ct_CC"; then
5234   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5235 else
5236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5237 for as_dir in $PATH
5238 do
5239   IFS=$as_save_IFS
5240   test -z "$as_dir" && as_dir=.
5241     for ac_exec_ext in '' $ac_executable_extensions; do
5242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5243     ac_cv_prog_ac_ct_CC="$ac_prog"
5244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5245     break 2
5246   fi
5247 done
5248   done
5249 IFS=$as_save_IFS
5250
5251 fi
5252 fi
5253 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5254 if test -n "$ac_ct_CC"; then
5255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5256 $as_echo "$ac_ct_CC" >&6; }
5257 else
5258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5259 $as_echo "no" >&6; }
5260 fi
5261
5262
5263   test -n "$ac_ct_CC" && break
5264 done
5265
5266   if test "x$ac_ct_CC" = x; then
5267     CC=""
5268   else
5269     case $cross_compiling:$ac_tool_warned in
5270 yes:)
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5273 ac_tool_warned=yes ;;
5274 esac
5275     CC=$ac_ct_CC
5276   fi
5277 fi
5278
5279 fi
5280
5281
5282 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5284 as_fn_error $? "no acceptable C compiler found in \$PATH
5285 See \`config.log' for more details" "$LINENO" 5; }
5286
5287 # Provide some information about the compiler.
5288 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5289 set X $ac_compile
5290 ac_compiler=$2
5291 for ac_option in --version -v -V -qversion; do
5292   { { ac_try="$ac_compiler $ac_option >&5"
5293 case "(($ac_try" in
5294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5295   *) ac_try_echo=$ac_try;;
5296 esac
5297 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5298 $as_echo "$ac_try_echo"; } >&5
5299   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5300   ac_status=$?
5301   if test -s conftest.err; then
5302     sed '10a\
5303 ... rest of stderr output deleted ...
5304          10q' conftest.err >conftest.er1
5305     cat conftest.er1 >&5
5306   fi
5307   rm -f conftest.er1 conftest.err
5308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5309   test $ac_status = 0; }
5310 done
5311
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5313 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5314 if ${ac_cv_c_compiler_gnu+:} false; then :
5315   $as_echo_n "(cached) " >&6
5316 else
5317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h.  */
5319
5320 int
5321 main ()
5322 {
5323 #ifndef __GNUC__
5324        choke me
5325 #endif
5326
5327   ;
5328   return 0;
5329 }
5330 _ACEOF
5331 if ac_fn_c_try_compile "$LINENO"; then :
5332   ac_compiler_gnu=yes
5333 else
5334   ac_compiler_gnu=no
5335 fi
5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5338
5339 fi
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5341 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5342 if test $ac_compiler_gnu = yes; then
5343   GCC=yes
5344 else
5345   GCC=
5346 fi
5347 ac_test_CFLAGS=${CFLAGS+set}
5348 ac_save_CFLAGS=$CFLAGS
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5350 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5351 if ${ac_cv_prog_cc_g+:} false; then :
5352   $as_echo_n "(cached) " >&6
5353 else
5354   ac_save_c_werror_flag=$ac_c_werror_flag
5355    ac_c_werror_flag=yes
5356    ac_cv_prog_cc_g=no
5357    CFLAGS="-g"
5358    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h.  */
5360
5361 int
5362 main ()
5363 {
5364
5365   ;
5366   return 0;
5367 }
5368 _ACEOF
5369 if ac_fn_c_try_compile "$LINENO"; then :
5370   ac_cv_prog_cc_g=yes
5371 else
5372   CFLAGS=""
5373       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5374 /* end confdefs.h.  */
5375
5376 int
5377 main ()
5378 {
5379
5380   ;
5381   return 0;
5382 }
5383 _ACEOF
5384 if ac_fn_c_try_compile "$LINENO"; then :
5385
5386 else
5387   ac_c_werror_flag=$ac_save_c_werror_flag
5388          CFLAGS="-g"
5389          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5390 /* end confdefs.h.  */
5391
5392 int
5393 main ()
5394 {
5395
5396   ;
5397   return 0;
5398 }
5399 _ACEOF
5400 if ac_fn_c_try_compile "$LINENO"; then :
5401   ac_cv_prog_cc_g=yes
5402 fi
5403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5404 fi
5405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5406 fi
5407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5408    ac_c_werror_flag=$ac_save_c_werror_flag
5409 fi
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5411 $as_echo "$ac_cv_prog_cc_g" >&6; }
5412 if test "$ac_test_CFLAGS" = set; then
5413   CFLAGS=$ac_save_CFLAGS
5414 elif test $ac_cv_prog_cc_g = yes; then
5415   if test "$GCC" = yes; then
5416     CFLAGS="-g -O2"
5417   else
5418     CFLAGS="-g"
5419   fi
5420 else
5421   if test "$GCC" = yes; then
5422     CFLAGS="-O2"
5423   else
5424     CFLAGS=
5425   fi
5426 fi
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5428 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5429 if ${ac_cv_prog_cc_c89+:} false; then :
5430   $as_echo_n "(cached) " >&6
5431 else
5432   ac_cv_prog_cc_c89=no
5433 ac_save_CC=$CC
5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5435 /* end confdefs.h.  */
5436 #include <stdarg.h>
5437 #include <stdio.h>
5438 struct stat;
5439 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5440 struct buf { int x; };
5441 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5442 static char *e (p, i)
5443      char **p;
5444      int i;
5445 {
5446   return p[i];
5447 }
5448 static char *f (char * (*g) (char **, int), char **p, ...)
5449 {
5450   char *s;
5451   va_list v;
5452   va_start (v,p);
5453   s = g (p, va_arg (v,int));
5454   va_end (v);
5455   return s;
5456 }
5457
5458 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5459    function prototypes and stuff, but not '\xHH' hex character constants.
5460    These don't provoke an error unfortunately, instead are silently treated
5461    as 'x'.  The following induces an error, until -std is added to get
5462    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5463    array size at least.  It's necessary to write '\x00'==0 to get something
5464    that's true only with -std.  */
5465 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5466
5467 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5468    inside strings and character constants.  */
5469 #define FOO(x) 'x'
5470 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5471
5472 int test (int i, double x);
5473 struct s1 {int (*f) (int a);};
5474 struct s2 {int (*f) (double a);};
5475 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5476 int argc;
5477 char **argv;
5478 int
5479 main ()
5480 {
5481 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5482   ;
5483   return 0;
5484 }
5485 _ACEOF
5486 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5487         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5488 do
5489   CC="$ac_save_CC $ac_arg"
5490   if ac_fn_c_try_compile "$LINENO"; then :
5491   ac_cv_prog_cc_c89=$ac_arg
5492 fi
5493 rm -f core conftest.err conftest.$ac_objext
5494   test "x$ac_cv_prog_cc_c89" != "xno" && break
5495 done
5496 rm -f conftest.$ac_ext
5497 CC=$ac_save_CC
5498
5499 fi
5500 # AC_CACHE_VAL
5501 case "x$ac_cv_prog_cc_c89" in
5502   x)
5503     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5504 $as_echo "none needed" >&6; } ;;
5505   xno)
5506     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5507 $as_echo "unsupported" >&6; } ;;
5508   *)
5509     CC="$CC $ac_cv_prog_cc_c89"
5510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5511 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5512 esac
5513 if test "x$ac_cv_prog_cc_c89" != xno; then :
5514
5515 fi
5516
5517 ac_ext=c
5518 ac_cpp='$CPP $CPPFLAGS'
5519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5522
5523 depcc="$CC"   am_compiler_list=
5524
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5526 $as_echo_n "checking dependency style of $depcc... " >&6; }
5527 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5528   $as_echo_n "(cached) " >&6
5529 else
5530   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5531   # We make a subdir and do the tests there.  Otherwise we can end up
5532   # making bogus files that we don't know about and never remove.  For
5533   # instance it was reported that on HP-UX the gcc test will end up
5534   # making a dummy file named 'D' -- because '-MD' means "put the output
5535   # in D".
5536   rm -rf conftest.dir
5537   mkdir conftest.dir
5538   # Copy depcomp to subdir because otherwise we won't find it if we're
5539   # using a relative directory.
5540   cp "$am_depcomp" conftest.dir
5541   cd conftest.dir
5542   # We will build objects and dependencies in a subdirectory because
5543   # it helps to detect inapplicable dependency modes.  For instance
5544   # both Tru64's cc and ICC support -MD to output dependencies as a
5545   # side effect of compilation, but ICC will put the dependencies in
5546   # the current directory while Tru64 will put them in the object
5547   # directory.
5548   mkdir sub
5549
5550   am_cv_CC_dependencies_compiler_type=none
5551   if test "$am_compiler_list" = ""; then
5552      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5553   fi
5554   am__universal=false
5555   case " $depcc " in #(
5556      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5557      esac
5558
5559   for depmode in $am_compiler_list; do
5560     # Setup a source with many dependencies, because some compilers
5561     # like to wrap large dependency lists on column 80 (with \), and
5562     # we should not choose a depcomp mode which is confused by this.
5563     #
5564     # We need to recreate these files for each test, as the compiler may
5565     # overwrite some of them when testing with obscure command lines.
5566     # This happens at least with the AIX C compiler.
5567     : > sub/conftest.c
5568     for i in 1 2 3 4 5 6; do
5569       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5570       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5571       # Solaris 10 /bin/sh.
5572       echo '/* dummy */' > sub/conftst$i.h
5573     done
5574     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5575
5576     # We check with '-c' and '-o' for the sake of the "dashmstdout"
5577     # mode.  It turns out that the SunPro C++ compiler does not properly
5578     # handle '-M -o', and we need to detect this.  Also, some Intel
5579     # versions had trouble with output in subdirs.
5580     am__obj=sub/conftest.${OBJEXT-o}
5581     am__minus_obj="-o $am__obj"
5582     case $depmode in
5583     gcc)
5584       # This depmode causes a compiler race in universal mode.
5585       test "$am__universal" = false || continue
5586       ;;
5587     nosideeffect)
5588       # After this tag, mechanisms are not by side-effect, so they'll
5589       # only be used when explicitly requested.
5590       if test "x$enable_dependency_tracking" = xyes; then
5591         continue
5592       else
5593         break
5594       fi
5595       ;;
5596     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5597       # This compiler won't grok '-c -o', but also, the minuso test has
5598       # not run yet.  These depmodes are late enough in the game, and
5599       # so weak that their functioning should not be impacted.
5600       am__obj=conftest.${OBJEXT-o}
5601       am__minus_obj=
5602       ;;
5603     none) break ;;
5604     esac
5605     if depmode=$depmode \
5606        source=sub/conftest.c object=$am__obj \
5607        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5608        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5609          >/dev/null 2>conftest.err &&
5610        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5611        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5612        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5613        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5614       # icc doesn't choke on unknown options, it will just issue warnings
5615       # or remarks (even with -Werror).  So we grep stderr for any message
5616       # that says an option was ignored or not supported.
5617       # When given -MP, icc 7.0 and 7.1 complain thusly:
5618       #   icc: Command line warning: ignoring option '-M'; no argument required
5619       # The diagnosis changed in icc 8.0:
5620       #   icc: Command line remark: option '-MP' not supported
5621       if (grep 'ignoring option' conftest.err ||
5622           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5623         am_cv_CC_dependencies_compiler_type=$depmode
5624         break
5625       fi
5626     fi
5627   done
5628
5629   cd ..
5630   rm -rf conftest.dir
5631 else
5632   am_cv_CC_dependencies_compiler_type=none
5633 fi
5634
5635 fi
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5637 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5638 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5639
5640  if
5641   test "x$enable_dependency_tracking" != xno \
5642   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5643   am__fastdepCC_TRUE=
5644   am__fastdepCC_FALSE='#'
5645 else
5646   am__fastdepCC_TRUE='#'
5647   am__fastdepCC_FALSE=
5648 fi
5649
5650
5651    case $ac_cv_prog_cc_stdc in #(
5652   no) :
5653     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5654   *) :
5655     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5656 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5657 if ${ac_cv_prog_cc_c99+:} false; then :
5658   $as_echo_n "(cached) " >&6
5659 else
5660   ac_cv_prog_cc_c99=no
5661 ac_save_CC=$CC
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h.  */
5664 #include <stdarg.h>
5665 #include <stdbool.h>
5666 #include <stdlib.h>
5667 #include <wchar.h>
5668 #include <stdio.h>
5669
5670 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
5671 #define debug(...) fprintf (stderr, __VA_ARGS__)
5672 #define showlist(...) puts (#__VA_ARGS__)
5673 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5674 static void
5675 test_varargs_macros (void)
5676 {
5677   int x = 1234;
5678   int y = 5678;
5679   debug ("Flag");
5680   debug ("X = %d\n", x);
5681   showlist (The first, second, and third items.);
5682   report (x>y, "x is %d but y is %d", x, y);
5683 }
5684
5685 // Check long long types.
5686 #define BIG64 18446744073709551615ull
5687 #define BIG32 4294967295ul
5688 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5689 #if !BIG_OK
5690   your preprocessor is broken;
5691 #endif
5692 #if BIG_OK
5693 #else
5694   your preprocessor is broken;
5695 #endif
5696 static long long int bignum = -9223372036854775807LL;
5697 static unsigned long long int ubignum = BIG64;
5698
5699 struct incomplete_array
5700 {
5701   int datasize;
5702   double data[];
5703 };
5704
5705 struct named_init {
5706   int number;
5707   const wchar_t *name;
5708   double average;
5709 };
5710
5711 typedef const char *ccp;
5712
5713 static inline int
5714 test_restrict (ccp restrict text)
5715 {
5716   // See if C++-style comments work.
5717   // Iterate through items via the restricted pointer.
5718   // Also check for declarations in for loops.
5719   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5720     continue;
5721   return 0;
5722 }
5723
5724 // Check varargs and va_copy.
5725 static void
5726 test_varargs (const char *format, ...)
5727 {
5728   va_list args;
5729   va_start (args, format);
5730   va_list args_copy;
5731   va_copy (args_copy, args);
5732
5733   const char *str;
5734   int number;
5735   float fnumber;
5736
5737   while (*format)
5738     {
5739       switch (*format++)
5740         {
5741         case 's': // string
5742           str = va_arg (args_copy, const char *);
5743           break;
5744         case 'd': // int
5745           number = va_arg (args_copy, int);
5746           break;
5747         case 'f': // float
5748           fnumber = va_arg (args_copy, double);
5749           break;
5750         default:
5751           break;
5752         }
5753     }
5754   va_end (args_copy);
5755   va_end (args);
5756 }
5757
5758 int
5759 main ()
5760 {
5761
5762   // Check bool.
5763   _Bool success = false;
5764
5765   // Check restrict.
5766   if (test_restrict ("String literal") == 0)
5767     success = true;
5768   char *restrict newvar = "Another string";
5769
5770   // Check varargs.
5771   test_varargs ("s, d' f .", "string", 65, 34.234);
5772   test_varargs_macros ();
5773
5774   // Check flexible array members.
5775   struct incomplete_array *ia =
5776     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5777   ia->datasize = 10;
5778   for (int i = 0; i < ia->datasize; ++i)
5779     ia->data[i] = i * 1.234;
5780
5781   // Check named initializers.
5782   struct named_init ni = {
5783     .number = 34,
5784     .name = L"Test wide string",
5785     .average = 543.34343,
5786   };
5787
5788   ni.number = 58;
5789
5790   int dynamic_array[ni.number];
5791   dynamic_array[ni.number - 1] = 543;
5792
5793   // work around unused variable warnings
5794   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5795           || dynamic_array[ni.number - 1] != 543);
5796
5797   ;
5798   return 0;
5799 }
5800 _ACEOF
5801 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5802 do
5803   CC="$ac_save_CC $ac_arg"
5804   if ac_fn_c_try_compile "$LINENO"; then :
5805   ac_cv_prog_cc_c99=$ac_arg
5806 fi
5807 rm -f core conftest.err conftest.$ac_objext
5808   test "x$ac_cv_prog_cc_c99" != "xno" && break
5809 done
5810 rm -f conftest.$ac_ext
5811 CC=$ac_save_CC
5812
5813 fi
5814 # AC_CACHE_VAL
5815 case "x$ac_cv_prog_cc_c99" in
5816   x)
5817     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5818 $as_echo "none needed" >&6; } ;;
5819   xno)
5820     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5821 $as_echo "unsupported" >&6; } ;;
5822   *)
5823     CC="$CC $ac_cv_prog_cc_c99"
5824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5825 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5826 esac
5827 if test "x$ac_cv_prog_cc_c99" != xno; then :
5828   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5829 else
5830   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5831 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5832 if ${ac_cv_prog_cc_c89+:} false; then :
5833   $as_echo_n "(cached) " >&6
5834 else
5835   ac_cv_prog_cc_c89=no
5836 ac_save_CC=$CC
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h.  */
5839 #include <stdarg.h>
5840 #include <stdio.h>
5841 struct stat;
5842 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5843 struct buf { int x; };
5844 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5845 static char *e (p, i)
5846      char **p;
5847      int i;
5848 {
5849   return p[i];
5850 }
5851 static char *f (char * (*g) (char **, int), char **p, ...)
5852 {
5853   char *s;
5854   va_list v;
5855   va_start (v,p);
5856   s = g (p, va_arg (v,int));
5857   va_end (v);
5858   return s;
5859 }
5860
5861 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5862    function prototypes and stuff, but not '\xHH' hex character constants.
5863    These don't provoke an error unfortunately, instead are silently treated
5864    as 'x'.  The following induces an error, until -std is added to get
5865    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5866    array size at least.  It's necessary to write '\x00'==0 to get something
5867    that's true only with -std.  */
5868 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5869
5870 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5871    inside strings and character constants.  */
5872 #define FOO(x) 'x'
5873 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5874
5875 int test (int i, double x);
5876 struct s1 {int (*f) (int a);};
5877 struct s2 {int (*f) (double a);};
5878 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5879 int argc;
5880 char **argv;
5881 int
5882 main ()
5883 {
5884 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5885   ;
5886   return 0;
5887 }
5888 _ACEOF
5889 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5890         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5891 do
5892   CC="$ac_save_CC $ac_arg"
5893   if ac_fn_c_try_compile "$LINENO"; then :
5894   ac_cv_prog_cc_c89=$ac_arg
5895 fi
5896 rm -f core conftest.err conftest.$ac_objext
5897   test "x$ac_cv_prog_cc_c89" != "xno" && break
5898 done
5899 rm -f conftest.$ac_ext
5900 CC=$ac_save_CC
5901
5902 fi
5903 # AC_CACHE_VAL
5904 case "x$ac_cv_prog_cc_c89" in
5905   x)
5906     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5907 $as_echo "none needed" >&6; } ;;
5908   xno)
5909     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5910 $as_echo "unsupported" >&6; } ;;
5911   *)
5912     CC="$CC $ac_cv_prog_cc_c89"
5913     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5914 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5915 esac
5916 if test "x$ac_cv_prog_cc_c89" != xno; then :
5917   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5918 else
5919   ac_cv_prog_cc_stdc=no
5920 fi
5921
5922 fi
5923  ;;
5924 esac
5925   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5926 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5927   if ${ac_cv_prog_cc_stdc+:} false; then :
5928   $as_echo_n "(cached) " >&6
5929 fi
5930
5931   case $ac_cv_prog_cc_stdc in #(
5932   no) :
5933     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5934 $as_echo "unsupported" >&6; } ;; #(
5935   '') :
5936     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5937 $as_echo "none needed" >&6; } ;; #(
5938   *) :
5939     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5940 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5941 esac
5942
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5944 $as_echo_n "checking for ANSI C header files... " >&6; }
5945 if ${ac_cv_header_stdc+:} false; then :
5946   $as_echo_n "(cached) " >&6
5947 else
5948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5949 /* end confdefs.h.  */
5950 #include <stdlib.h>
5951 #include <stdarg.h>
5952 #include <string.h>
5953 #include <float.h>
5954
5955 int
5956 main ()
5957 {
5958
5959   ;
5960   return 0;
5961 }
5962 _ACEOF
5963 if ac_fn_c_try_compile "$LINENO"; then :
5964   ac_cv_header_stdc=yes
5965 else
5966   ac_cv_header_stdc=no
5967 fi
5968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5969
5970 if test $ac_cv_header_stdc = yes; then
5971   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5973 /* end confdefs.h.  */
5974 #include <string.h>
5975
5976 _ACEOF
5977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5978   $EGREP "memchr" >/dev/null 2>&1; then :
5979
5980 else
5981   ac_cv_header_stdc=no
5982 fi
5983 rm -f conftest*
5984
5985 fi
5986
5987 if test $ac_cv_header_stdc = yes; then
5988   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5990 /* end confdefs.h.  */
5991 #include <stdlib.h>
5992
5993 _ACEOF
5994 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5995   $EGREP "free" >/dev/null 2>&1; then :
5996
5997 else
5998   ac_cv_header_stdc=no
5999 fi
6000 rm -f conftest*
6001
6002 fi
6003
6004 if test $ac_cv_header_stdc = yes; then
6005   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6006   if test "$cross_compiling" = yes; then :
6007   :
6008 else
6009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6010 /* end confdefs.h.  */
6011 #include <ctype.h>
6012 #include <stdlib.h>
6013 #if ((' ' & 0x0FF) == 0x020)
6014 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6015 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6016 #else
6017 # define ISLOWER(c) \
6018                    (('a' <= (c) && (c) <= 'i') \
6019                      || ('j' <= (c) && (c) <= 'r') \
6020                      || ('s' <= (c) && (c) <= 'z'))
6021 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6022 #endif
6023
6024 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6025 int
6026 main ()
6027 {
6028   int i;
6029   for (i = 0; i < 256; i++)
6030     if (XOR (islower (i), ISLOWER (i))
6031         || toupper (i) != TOUPPER (i))
6032       return 2;
6033   return 0;
6034 }
6035 _ACEOF
6036 if ac_fn_c_try_run "$LINENO"; then :
6037
6038 else
6039   ac_cv_header_stdc=no
6040 fi
6041 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6042   conftest.$ac_objext conftest.beam conftest.$ac_ext
6043 fi
6044
6045 fi
6046 fi
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6048 $as_echo "$ac_cv_header_stdc" >&6; }
6049 if test $ac_cv_header_stdc = yes; then
6050
6051 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6052
6053 fi
6054
6055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6056 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6057 if ${ac_cv_c_const+:} false; then :
6058   $as_echo_n "(cached) " >&6
6059 else
6060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h.  */
6062
6063 int
6064 main ()
6065 {
6066
6067 #ifndef __cplusplus
6068   /* Ultrix mips cc rejects this sort of thing.  */
6069   typedef int charset[2];
6070   const charset cs = { 0, 0 };
6071   /* SunOS 4.1.1 cc rejects this.  */
6072   char const *const *pcpcc;
6073   char **ppc;
6074   /* NEC SVR4.0.2 mips cc rejects this.  */
6075   struct point {int x, y;};
6076   static struct point const zero = {0,0};
6077   /* AIX XL C 1.02.0.0 rejects this.
6078      It does not let you subtract one const X* pointer from another in
6079      an arm of an if-expression whose if-part is not a constant
6080      expression */
6081   const char *g = "string";
6082   pcpcc = &g + (g ? g-g : 0);
6083   /* HPUX 7.0 cc rejects these. */
6084   ++pcpcc;
6085   ppc = (char**) pcpcc;
6086   pcpcc = (char const *const *) ppc;
6087   { /* SCO 3.2v4 cc rejects this sort of thing.  */
6088     char tx;
6089     char *t = &tx;
6090     char const *s = 0 ? (char *) 0 : (char const *) 0;
6091
6092     *t++ = 0;
6093     if (s) return 0;
6094   }
6095   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6096     int x[] = {25, 17};
6097     const int *foo = &x[0];
6098     ++foo;
6099   }
6100   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6101     typedef const int *iptr;
6102     iptr p = 0;
6103     ++p;
6104   }
6105   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
6106        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6107     struct s { int j; const int *ap[3]; } bx;
6108     struct s *b = &bx; b->j = 5;
6109   }
6110   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6111     const int foo = 10;
6112     if (!foo) return 0;
6113   }
6114   return !cs[0] && !zero.x;
6115 #endif
6116
6117   ;
6118   return 0;
6119 }
6120 _ACEOF
6121 if ac_fn_c_try_compile "$LINENO"; then :
6122   ac_cv_c_const=yes
6123 else
6124   ac_cv_c_const=no
6125 fi
6126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6127 fi
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6129 $as_echo "$ac_cv_c_const" >&6; }
6130 if test $ac_cv_c_const = no; then
6131
6132 $as_echo "#define const /**/" >>confdefs.h
6133
6134 fi
6135
6136
6137
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
6139 $as_echo_n "checking for __attribute__... " >&6; }
6140
6141 if ${ac_cv___attribute__+:} false; then :
6142   $as_echo_n "(cached) " >&6
6143 else
6144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6145 /* end confdefs.h.  */
6146
6147 #include <stdlib.h>
6148
6149 int func(int x);
6150 int foo(int x __attribute__ ((unused)))
6151 {
6152    exit(1);
6153 }
6154
6155 int
6156 main ()
6157 {
6158
6159   ;
6160   return 0;
6161 }
6162 _ACEOF
6163 if ac_fn_c_try_compile "$LINENO"; then :
6164   ac_cv___attribute__="yes"
6165 else
6166   ac_cv___attribute__="no"
6167
6168 fi
6169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6170 fi
6171
6172
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
6174 $as_echo "$ac_cv___attribute__" >&6; }
6175
6176 if test "x${ac_cv___attribute__}" = "xyes" ; then
6177
6178 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
6179
6180
6181 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
6182
6183   else
6184
6185 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
6186
6187 fi
6188
6189
6190 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6191 if test "x$ac_cv_type_size_t" = xyes; then :
6192
6193 else
6194
6195 cat >>confdefs.h <<_ACEOF
6196 #define size_t unsigned int
6197 _ACEOF
6198
6199 fi
6200
6201 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6202 # for constant arguments.  Useless!
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6204 $as_echo_n "checking for working alloca.h... " >&6; }
6205 if ${ac_cv_working_alloca_h+:} false; then :
6206   $as_echo_n "(cached) " >&6
6207 else
6208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6209 /* end confdefs.h.  */
6210 #include <alloca.h>
6211 int
6212 main ()
6213 {
6214 char *p = (char *) alloca (2 * sizeof (int));
6215                           if (p) return 0;
6216   ;
6217   return 0;
6218 }
6219 _ACEOF
6220 if ac_fn_c_try_link "$LINENO"; then :
6221   ac_cv_working_alloca_h=yes
6222 else
6223   ac_cv_working_alloca_h=no
6224 fi
6225 rm -f core conftest.err conftest.$ac_objext \
6226     conftest$ac_exeext conftest.$ac_ext
6227 fi
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6229 $as_echo "$ac_cv_working_alloca_h" >&6; }
6230 if test $ac_cv_working_alloca_h = yes; then
6231
6232 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6233
6234 fi
6235
6236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6237 $as_echo_n "checking for alloca... " >&6; }
6238 if ${ac_cv_func_alloca_works+:} false; then :
6239   $as_echo_n "(cached) " >&6
6240 else
6241   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h.  */
6243 #ifdef __GNUC__
6244 # define alloca __builtin_alloca
6245 #else
6246 # ifdef _MSC_VER
6247 #  include <malloc.h>
6248 #  define alloca _alloca
6249 # else
6250 #  ifdef HAVE_ALLOCA_H
6251 #   include <alloca.h>
6252 #  else
6253 #   ifdef _AIX
6254  #pragma alloca
6255 #   else
6256 #    ifndef alloca /* predefined by HP cc +Olibcalls */
6257 void *alloca (size_t);
6258 #    endif
6259 #   endif
6260 #  endif
6261 # endif
6262 #endif
6263
6264 int
6265 main ()
6266 {
6267 char *p = (char *) alloca (1);
6268                                     if (p) return 0;
6269   ;
6270   return 0;
6271 }
6272 _ACEOF
6273 if ac_fn_c_try_link "$LINENO"; then :
6274   ac_cv_func_alloca_works=yes
6275 else
6276   ac_cv_func_alloca_works=no
6277 fi
6278 rm -f core conftest.err conftest.$ac_objext \
6279     conftest$ac_exeext conftest.$ac_ext
6280 fi
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6282 $as_echo "$ac_cv_func_alloca_works" >&6; }
6283
6284 if test $ac_cv_func_alloca_works = yes; then
6285
6286 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6287
6288 else
6289   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6290 # that cause trouble.  Some versions do not even contain alloca or
6291 # contain a buggy version.  If you still want to use their alloca,
6292 # use ar to extract alloca.o from them instead of compiling alloca.c.
6293
6294 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6295
6296 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6297
6298
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6300 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6301 if ${ac_cv_os_cray+:} false; then :
6302   $as_echo_n "(cached) " >&6
6303 else
6304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6305 /* end confdefs.h.  */
6306 #if defined CRAY && ! defined CRAY2
6307 webecray
6308 #else
6309 wenotbecray
6310 #endif
6311
6312 _ACEOF
6313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6314   $EGREP "webecray" >/dev/null 2>&1; then :
6315   ac_cv_os_cray=yes
6316 else
6317   ac_cv_os_cray=no
6318 fi
6319 rm -f conftest*
6320
6321 fi
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6323 $as_echo "$ac_cv_os_cray" >&6; }
6324 if test $ac_cv_os_cray = yes; then
6325   for ac_func in _getb67 GETB67 getb67; do
6326     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6328 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6329
6330 cat >>confdefs.h <<_ACEOF
6331 #define CRAY_STACKSEG_END $ac_func
6332 _ACEOF
6333
6334     break
6335 fi
6336
6337   done
6338 fi
6339
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6341 $as_echo_n "checking stack direction for C alloca... " >&6; }
6342 if ${ac_cv_c_stack_direction+:} false; then :
6343   $as_echo_n "(cached) " >&6
6344 else
6345   if test "$cross_compiling" = yes; then :
6346   ac_cv_c_stack_direction=0
6347 else
6348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6349 /* end confdefs.h.  */
6350 $ac_includes_default
6351 int
6352 find_stack_direction (int *addr, int depth)
6353 {
6354   int dir, dummy = 0;
6355   if (! addr)
6356     addr = &dummy;
6357   *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
6358   dir = depth ? find_stack_direction (addr, depth - 1) : 0;
6359   return dir + dummy;
6360 }
6361
6362 int
6363 main (int argc, char **argv)
6364 {
6365   return find_stack_direction (0, argc + !argv + 20) < 0;
6366 }
6367 _ACEOF
6368 if ac_fn_c_try_run "$LINENO"; then :
6369   ac_cv_c_stack_direction=1
6370 else
6371   ac_cv_c_stack_direction=-1
6372 fi
6373 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6374   conftest.$ac_objext conftest.beam conftest.$ac_ext
6375 fi
6376
6377 fi
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6379 $as_echo "$ac_cv_c_stack_direction" >&6; }
6380 cat >>confdefs.h <<_ACEOF
6381 #define STACK_DIRECTION $ac_cv_c_stack_direction
6382 _ACEOF
6383
6384
6385 fi
6386
6387
6388 enable_win32_dll=yes
6389
6390 case $host in
6391 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
6392   if test -n "$ac_tool_prefix"; then
6393   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6394 set dummy ${ac_tool_prefix}as; ac_word=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_AS+:} false; then :
6398   $as_echo_n "(cached) " >&6
6399 else
6400   if test -n "$AS"; then
6401   ac_cv_prog_AS="$AS" # Let the user override the test.
6402 else
6403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6404 for as_dir in $PATH
6405 do
6406   IFS=$as_save_IFS
6407   test -z "$as_dir" && as_dir=.
6408     for ac_exec_ext in '' $ac_executable_extensions; do
6409   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6410     ac_cv_prog_AS="${ac_tool_prefix}as"
6411     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6412     break 2
6413   fi
6414 done
6415   done
6416 IFS=$as_save_IFS
6417
6418 fi
6419 fi
6420 AS=$ac_cv_prog_AS
6421 if test -n "$AS"; then
6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6423 $as_echo "$AS" >&6; }
6424 else
6425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6427 fi
6428
6429
6430 fi
6431 if test -z "$ac_cv_prog_AS"; then
6432   ac_ct_AS=$AS
6433   # Extract the first word of "as", so it can be a program name with args.
6434 set dummy as; ac_word=$2
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6436 $as_echo_n "checking for $ac_word... " >&6; }
6437 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6438   $as_echo_n "(cached) " >&6
6439 else
6440   if test -n "$ac_ct_AS"; then
6441   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6442 else
6443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6444 for as_dir in $PATH
6445 do
6446   IFS=$as_save_IFS
6447   test -z "$as_dir" && as_dir=.
6448     for ac_exec_ext in '' $ac_executable_extensions; do
6449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6450     ac_cv_prog_ac_ct_AS="as"
6451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6452     break 2
6453   fi
6454 done
6455   done
6456 IFS=$as_save_IFS
6457
6458 fi
6459 fi
6460 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6461 if test -n "$ac_ct_AS"; then
6462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6463 $as_echo "$ac_ct_AS" >&6; }
6464 else
6465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6466 $as_echo "no" >&6; }
6467 fi
6468
6469   if test "x$ac_ct_AS" = x; then
6470     AS="false"
6471   else
6472     case $cross_compiling:$ac_tool_warned in
6473 yes:)
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6476 ac_tool_warned=yes ;;
6477 esac
6478     AS=$ac_ct_AS
6479   fi
6480 else
6481   AS="$ac_cv_prog_AS"
6482 fi
6483
6484   if test -n "$ac_tool_prefix"; then
6485   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6486 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6488 $as_echo_n "checking for $ac_word... " >&6; }
6489 if ${ac_cv_prog_DLLTOOL+:} false; then :
6490   $as_echo_n "(cached) " >&6
6491 else
6492   if test -n "$DLLTOOL"; then
6493   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6494 else
6495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6496 for as_dir in $PATH
6497 do
6498   IFS=$as_save_IFS
6499   test -z "$as_dir" && as_dir=.
6500     for ac_exec_ext in '' $ac_executable_extensions; do
6501   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6502     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6504     break 2
6505   fi
6506 done
6507   done
6508 IFS=$as_save_IFS
6509
6510 fi
6511 fi
6512 DLLTOOL=$ac_cv_prog_DLLTOOL
6513 if test -n "$DLLTOOL"; then
6514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6515 $as_echo "$DLLTOOL" >&6; }
6516 else
6517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6518 $as_echo "no" >&6; }
6519 fi
6520
6521
6522 fi
6523 if test -z "$ac_cv_prog_DLLTOOL"; then
6524   ac_ct_DLLTOOL=$DLLTOOL
6525   # Extract the first word of "dlltool", so it can be a program name with args.
6526 set dummy dlltool; ac_word=$2
6527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6528 $as_echo_n "checking for $ac_word... " >&6; }
6529 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6530   $as_echo_n "(cached) " >&6
6531 else
6532   if test -n "$ac_ct_DLLTOOL"; then
6533   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6537 do
6538   IFS=$as_save_IFS
6539   test -z "$as_dir" && as_dir=.
6540     for ac_exec_ext in '' $ac_executable_extensions; do
6541   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6542     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6543     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6544     break 2
6545   fi
6546 done
6547   done
6548 IFS=$as_save_IFS
6549
6550 fi
6551 fi
6552 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6553 if test -n "$ac_ct_DLLTOOL"; then
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6555 $as_echo "$ac_ct_DLLTOOL" >&6; }
6556 else
6557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6558 $as_echo "no" >&6; }
6559 fi
6560
6561   if test "x$ac_ct_DLLTOOL" = x; then
6562     DLLTOOL="false"
6563   else
6564     case $cross_compiling:$ac_tool_warned in
6565 yes:)
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6568 ac_tool_warned=yes ;;
6569 esac
6570     DLLTOOL=$ac_ct_DLLTOOL
6571   fi
6572 else
6573   DLLTOOL="$ac_cv_prog_DLLTOOL"
6574 fi
6575
6576   if test -n "$ac_tool_prefix"; then
6577   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6578 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if ${ac_cv_prog_OBJDUMP+:} false; then :
6582   $as_echo_n "(cached) " >&6
6583 else
6584   if test -n "$OBJDUMP"; then
6585   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6589 do
6590   IFS=$as_save_IFS
6591   test -z "$as_dir" && as_dir=.
6592     for ac_exec_ext in '' $ac_executable_extensions; do
6593   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6594     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596     break 2
6597   fi
6598 done
6599   done
6600 IFS=$as_save_IFS
6601
6602 fi
6603 fi
6604 OBJDUMP=$ac_cv_prog_OBJDUMP
6605 if test -n "$OBJDUMP"; then
6606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6607 $as_echo "$OBJDUMP" >&6; }
6608 else
6609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6611 fi
6612
6613
6614 fi
6615 if test -z "$ac_cv_prog_OBJDUMP"; then
6616   ac_ct_OBJDUMP=$OBJDUMP
6617   # Extract the first word of "objdump", so it can be a program name with args.
6618 set dummy objdump; ac_word=$2
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6620 $as_echo_n "checking for $ac_word... " >&6; }
6621 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6622   $as_echo_n "(cached) " >&6
6623 else
6624   if test -n "$ac_ct_OBJDUMP"; then
6625   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6626 else
6627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6628 for as_dir in $PATH
6629 do
6630   IFS=$as_save_IFS
6631   test -z "$as_dir" && as_dir=.
6632     for ac_exec_ext in '' $ac_executable_extensions; do
6633   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6634     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6635     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6636     break 2
6637   fi
6638 done
6639   done
6640 IFS=$as_save_IFS
6641
6642 fi
6643 fi
6644 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6645 if test -n "$ac_ct_OBJDUMP"; then
6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6647 $as_echo "$ac_ct_OBJDUMP" >&6; }
6648 else
6649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6650 $as_echo "no" >&6; }
6651 fi
6652
6653   if test "x$ac_ct_OBJDUMP" = x; then
6654     OBJDUMP="false"
6655   else
6656     case $cross_compiling:$ac_tool_warned in
6657 yes:)
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6660 ac_tool_warned=yes ;;
6661 esac
6662     OBJDUMP=$ac_ct_OBJDUMP
6663   fi
6664 else
6665   OBJDUMP="$ac_cv_prog_OBJDUMP"
6666 fi
6667
6668   ;;
6669 esac
6670
6671 test -z "$AS" && AS=as
6672
6673
6674
6675
6676
6677 test -z "$DLLTOOL" && DLLTOOL=dlltool
6678
6679
6680
6681
6682
6683 test -z "$OBJDUMP" && OBJDUMP=objdump
6684
6685
6686
6687
6688
6689
6690
6691 case `pwd` in
6692   *\ * | *\     *)
6693     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6694 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6695 esac
6696
6697
6698
6699 macro_version='2.4.2'
6700 macro_revision='1.3337'
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714 ltmain="$ac_aux_dir/ltmain.sh"
6715
6716 # Backslashify metacharacters that are still active within
6717 # double-quoted strings.
6718 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6719
6720 # Same as above, but do not quote variable references.
6721 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6722
6723 # Sed substitution to delay expansion of an escaped shell variable in a
6724 # double_quote_subst'ed string.
6725 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6726
6727 # Sed substitution to delay expansion of an escaped single quote.
6728 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6729
6730 # Sed substitution to avoid accidental globbing in evaled expressions
6731 no_glob_subst='s/\*/\\\*/g'
6732
6733 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6734 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6735 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6736
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6738 $as_echo_n "checking how to print strings... " >&6; }
6739 # Test print first, because it will be a builtin if present.
6740 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6741    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6742   ECHO='print -r --'
6743 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6744   ECHO='printf %s\n'
6745 else
6746   # Use this function as a fallback that always works.
6747   func_fallback_echo ()
6748   {
6749     eval 'cat <<_LTECHO_EOF
6750 $1
6751 _LTECHO_EOF'
6752   }
6753   ECHO='func_fallback_echo'
6754 fi
6755
6756 # func_echo_all arg...
6757 # Invoke $ECHO with all args, space-separated.
6758 func_echo_all ()
6759 {
6760     $ECHO ""
6761 }
6762
6763 case "$ECHO" in
6764   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6765 $as_echo "printf" >&6; } ;;
6766   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6767 $as_echo "print -r" >&6; } ;;
6768   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6769 $as_echo "cat" >&6; } ;;
6770 esac
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6786 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6787 if ${ac_cv_path_SED+:} false; then :
6788   $as_echo_n "(cached) " >&6
6789 else
6790             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6791      for ac_i in 1 2 3 4 5 6 7; do
6792        ac_script="$ac_script$as_nl$ac_script"
6793      done
6794      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6795      { ac_script=; unset ac_script;}
6796      if test -z "$SED"; then
6797   ac_path_SED_found=false
6798   # Loop through the user's path and test for each of PROGNAME-LIST
6799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800 for as_dir in $PATH
6801 do
6802   IFS=$as_save_IFS
6803   test -z "$as_dir" && as_dir=.
6804     for ac_prog in sed gsed; do
6805     for ac_exec_ext in '' $ac_executable_extensions; do
6806       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6807       as_fn_executable_p "$ac_path_SED" || continue
6808 # Check for GNU ac_path_SED and select it if it is found.
6809   # Check for GNU $ac_path_SED
6810 case `"$ac_path_SED" --version 2>&1` in
6811 *GNU*)
6812   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6813 *)
6814   ac_count=0
6815   $as_echo_n 0123456789 >"conftest.in"
6816   while :
6817   do
6818     cat "conftest.in" "conftest.in" >"conftest.tmp"
6819     mv "conftest.tmp" "conftest.in"
6820     cp "conftest.in" "conftest.nl"
6821     $as_echo '' >> "conftest.nl"
6822     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6823     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6824     as_fn_arith $ac_count + 1 && ac_count=$as_val
6825     if test $ac_count -gt ${ac_path_SED_max-0}; then
6826       # Best one so far, save it but keep looking for a better one
6827       ac_cv_path_SED="$ac_path_SED"
6828       ac_path_SED_max=$ac_count
6829     fi
6830     # 10*(2^10) chars as input seems more than enough
6831     test $ac_count -gt 10 && break
6832   done
6833   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6834 esac
6835
6836       $ac_path_SED_found && break 3
6837     done
6838   done
6839   done
6840 IFS=$as_save_IFS
6841   if test -z "$ac_cv_path_SED"; then
6842     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6843   fi
6844 else
6845   ac_cv_path_SED=$SED
6846 fi
6847
6848 fi
6849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6850 $as_echo "$ac_cv_path_SED" >&6; }
6851  SED="$ac_cv_path_SED"
6852   rm -f conftest.sed
6853
6854 test -z "$SED" && SED=sed
6855 Xsed="$SED -e 1s/^X//"
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6868 $as_echo_n "checking for fgrep... " >&6; }
6869 if ${ac_cv_path_FGREP+:} false; then :
6870   $as_echo_n "(cached) " >&6
6871 else
6872   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6873    then ac_cv_path_FGREP="$GREP -F"
6874    else
6875      if test -z "$FGREP"; then
6876   ac_path_FGREP_found=false
6877   # Loop through the user's path and test for each of PROGNAME-LIST
6878   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6880 do
6881   IFS=$as_save_IFS
6882   test -z "$as_dir" && as_dir=.
6883     for ac_prog in fgrep; do
6884     for ac_exec_ext in '' $ac_executable_extensions; do
6885       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6886       as_fn_executable_p "$ac_path_FGREP" || continue
6887 # Check for GNU ac_path_FGREP and select it if it is found.
6888   # Check for GNU $ac_path_FGREP
6889 case `"$ac_path_FGREP" --version 2>&1` in
6890 *GNU*)
6891   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6892 *)
6893   ac_count=0
6894   $as_echo_n 0123456789 >"conftest.in"
6895   while :
6896   do
6897     cat "conftest.in" "conftest.in" >"conftest.tmp"
6898     mv "conftest.tmp" "conftest.in"
6899     cp "conftest.in" "conftest.nl"
6900     $as_echo 'FGREP' >> "conftest.nl"
6901     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6902     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6903     as_fn_arith $ac_count + 1 && ac_count=$as_val
6904     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6905       # Best one so far, save it but keep looking for a better one
6906       ac_cv_path_FGREP="$ac_path_FGREP"
6907       ac_path_FGREP_max=$ac_count
6908     fi
6909     # 10*(2^10) chars as input seems more than enough
6910     test $ac_count -gt 10 && break
6911   done
6912   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6913 esac
6914
6915       $ac_path_FGREP_found && break 3
6916     done
6917   done
6918   done
6919 IFS=$as_save_IFS
6920   if test -z "$ac_cv_path_FGREP"; then
6921     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6922   fi
6923 else
6924   ac_cv_path_FGREP=$FGREP
6925 fi
6926
6927    fi
6928 fi
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6930 $as_echo "$ac_cv_path_FGREP" >&6; }
6931  FGREP="$ac_cv_path_FGREP"
6932
6933
6934 test -z "$GREP" && GREP=grep
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954 # Check whether --with-gnu-ld was given.
6955 if test "${with_gnu_ld+set}" = set; then :
6956   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6957 else
6958   with_gnu_ld=no
6959 fi
6960
6961 ac_prog=ld
6962 if test "$GCC" = yes; then
6963   # Check if gcc -print-prog-name=ld gives a path.
6964   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6965 $as_echo_n "checking for ld used by $CC... " >&6; }
6966   case $host in
6967   *-*-mingw*)
6968     # gcc leaves a trailing carriage return which upsets mingw
6969     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6970   *)
6971     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6972   esac
6973   case $ac_prog in
6974     # Accept absolute paths.
6975     [\\/]* | ?:[\\/]*)
6976       re_direlt='/[^/][^/]*/\.\./'
6977       # Canonicalize the pathname of ld
6978       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6979       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6980         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6981       done
6982       test -z "$LD" && LD="$ac_prog"
6983       ;;
6984   "")
6985     # If it fails, then pretend we aren't using GCC.
6986     ac_prog=ld
6987     ;;
6988   *)
6989     # If it is relative, then search for the first ld in PATH.
6990     with_gnu_ld=unknown
6991     ;;
6992   esac
6993 elif test "$with_gnu_ld" = yes; then
6994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6995 $as_echo_n "checking for GNU ld... " >&6; }
6996 else
6997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6998 $as_echo_n "checking for non-GNU ld... " >&6; }
6999 fi
7000 if ${lt_cv_path_LD+:} false; then :
7001   $as_echo_n "(cached) " >&6
7002 else
7003   if test -z "$LD"; then
7004   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7005   for ac_dir in $PATH; do
7006     IFS="$lt_save_ifs"
7007     test -z "$ac_dir" && ac_dir=.
7008     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7009       lt_cv_path_LD="$ac_dir/$ac_prog"
7010       # Check to see if the program is GNU ld.  I'd rather use --version,
7011       # but apparently some variants of GNU ld only accept -v.
7012       # Break only if it was the GNU/non-GNU ld that we prefer.
7013       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7014       *GNU* | *'with BFD'*)
7015         test "$with_gnu_ld" != no && break
7016         ;;
7017       *)
7018         test "$with_gnu_ld" != yes && break
7019         ;;
7020       esac
7021     fi
7022   done
7023   IFS="$lt_save_ifs"
7024 else
7025   lt_cv_path_LD="$LD" # Let the user override the test with a path.
7026 fi
7027 fi
7028
7029 LD="$lt_cv_path_LD"
7030 if test -n "$LD"; then
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7032 $as_echo "$LD" >&6; }
7033 else
7034   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7036 fi
7037 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7039 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7040 if ${lt_cv_prog_gnu_ld+:} false; then :
7041   $as_echo_n "(cached) " >&6
7042 else
7043   # I'd rather use --version here, but apparently some GNU lds only accept -v.
7044 case `$LD -v 2>&1 </dev/null` in
7045 *GNU* | *'with BFD'*)
7046   lt_cv_prog_gnu_ld=yes
7047   ;;
7048 *)
7049   lt_cv_prog_gnu_ld=no
7050   ;;
7051 esac
7052 fi
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7054 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7055 with_gnu_ld=$lt_cv_prog_gnu_ld
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7066 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7067 if ${lt_cv_path_NM+:} false; then :
7068   $as_echo_n "(cached) " >&6
7069 else
7070   if test -n "$NM"; then
7071   # Let the user override the test.
7072   lt_cv_path_NM="$NM"
7073 else
7074   lt_nm_to_check="${ac_tool_prefix}nm"
7075   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7076     lt_nm_to_check="$lt_nm_to_check nm"
7077   fi
7078   for lt_tmp_nm in $lt_nm_to_check; do
7079     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7080     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7081       IFS="$lt_save_ifs"
7082       test -z "$ac_dir" && ac_dir=.
7083       tmp_nm="$ac_dir/$lt_tmp_nm"
7084       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7085         # Check to see if the nm accepts a BSD-compat flag.
7086         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7087         #   nm: unknown option "B" ignored
7088         # Tru64's nm complains that /dev/null is an invalid object file
7089         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7090         */dev/null* | *'Invalid file or object type'*)
7091           lt_cv_path_NM="$tmp_nm -B"
7092           break
7093           ;;
7094         *)
7095           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7096           */dev/null*)
7097             lt_cv_path_NM="$tmp_nm -p"
7098             break
7099             ;;
7100           *)
7101             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7102             continue # so that we can try to find one that supports BSD flags
7103             ;;
7104           esac
7105           ;;
7106         esac
7107       fi
7108     done
7109     IFS="$lt_save_ifs"
7110   done
7111   : ${lt_cv_path_NM=no}
7112 fi
7113 fi
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7115 $as_echo "$lt_cv_path_NM" >&6; }
7116 if test "$lt_cv_path_NM" != "no"; then
7117   NM="$lt_cv_path_NM"
7118 else
7119   # Didn't find any BSD compatible name lister, look for dumpbin.
7120   if test -n "$DUMPBIN"; then :
7121     # Let the user override the test.
7122   else
7123     if test -n "$ac_tool_prefix"; then
7124   for ac_prog in dumpbin "link -dump"
7125   do
7126     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7127 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129 $as_echo_n "checking for $ac_word... " >&6; }
7130 if ${ac_cv_prog_DUMPBIN+:} false; then :
7131   $as_echo_n "(cached) " >&6
7132 else
7133   if test -n "$DUMPBIN"; then
7134   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7135 else
7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7137 for as_dir in $PATH
7138 do
7139   IFS=$as_save_IFS
7140   test -z "$as_dir" && as_dir=.
7141     for ac_exec_ext in '' $ac_executable_extensions; do
7142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7143     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145     break 2
7146   fi
7147 done
7148   done
7149 IFS=$as_save_IFS
7150
7151 fi
7152 fi
7153 DUMPBIN=$ac_cv_prog_DUMPBIN
7154 if test -n "$DUMPBIN"; then
7155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7156 $as_echo "$DUMPBIN" >&6; }
7157 else
7158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7159 $as_echo "no" >&6; }
7160 fi
7161
7162
7163     test -n "$DUMPBIN" && break
7164   done
7165 fi
7166 if test -z "$DUMPBIN"; then
7167   ac_ct_DUMPBIN=$DUMPBIN
7168   for ac_prog in dumpbin "link -dump"
7169 do
7170   # Extract the first word of "$ac_prog", so it can be a program name with args.
7171 set dummy $ac_prog; ac_word=$2
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7173 $as_echo_n "checking for $ac_word... " >&6; }
7174 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7175   $as_echo_n "(cached) " >&6
7176 else
7177   if test -n "$ac_ct_DUMPBIN"; then
7178   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7179 else
7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181 for as_dir in $PATH
7182 do
7183   IFS=$as_save_IFS
7184   test -z "$as_dir" && as_dir=.
7185     for ac_exec_ext in '' $ac_executable_extensions; do
7186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7187     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7189     break 2
7190   fi
7191 done
7192   done
7193 IFS=$as_save_IFS
7194
7195 fi
7196 fi
7197 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7198 if test -n "$ac_ct_DUMPBIN"; then
7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7200 $as_echo "$ac_ct_DUMPBIN" >&6; }
7201 else
7202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7204 fi
7205
7206
7207   test -n "$ac_ct_DUMPBIN" && break
7208 done
7209
7210   if test "x$ac_ct_DUMPBIN" = x; then
7211     DUMPBIN=":"
7212   else
7213     case $cross_compiling:$ac_tool_warned in
7214 yes:)
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7216 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7217 ac_tool_warned=yes ;;
7218 esac
7219     DUMPBIN=$ac_ct_DUMPBIN
7220   fi
7221 fi
7222
7223     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7224     *COFF*)
7225       DUMPBIN="$DUMPBIN -symbols"
7226       ;;
7227     *)
7228       DUMPBIN=:
7229       ;;
7230     esac
7231   fi
7232
7233   if test "$DUMPBIN" != ":"; then
7234     NM="$DUMPBIN"
7235   fi
7236 fi
7237 test -z "$NM" && NM=nm
7238
7239
7240
7241
7242
7243
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7245 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7246 if ${lt_cv_nm_interface+:} false; then :
7247   $as_echo_n "(cached) " >&6
7248 else
7249   lt_cv_nm_interface="BSD nm"
7250   echo "int some_variable = 0;" > conftest.$ac_ext
7251   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7252   (eval "$ac_compile" 2>conftest.err)
7253   cat conftest.err >&5
7254   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7255   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7256   cat conftest.err >&5
7257   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7258   cat conftest.out >&5
7259   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7260     lt_cv_nm_interface="MS dumpbin"
7261   fi
7262   rm -f conftest*
7263 fi
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7265 $as_echo "$lt_cv_nm_interface" >&6; }
7266
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7268 $as_echo_n "checking whether ln -s works... " >&6; }
7269 LN_S=$as_ln_s
7270 if test "$LN_S" = "ln -s"; then
7271   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7272 $as_echo "yes" >&6; }
7273 else
7274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7275 $as_echo "no, using $LN_S" >&6; }
7276 fi
7277
7278 # find the maximum length of command line arguments
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7280 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7281 if ${lt_cv_sys_max_cmd_len+:} false; then :
7282   $as_echo_n "(cached) " >&6
7283 else
7284     i=0
7285   teststring="ABCD"
7286
7287   case $build_os in
7288   msdosdjgpp*)
7289     # On DJGPP, this test can blow up pretty badly due to problems in libc
7290     # (any single argument exceeding 2000 bytes causes a buffer overrun
7291     # during glob expansion).  Even if it were fixed, the result of this
7292     # check would be larger than it should be.
7293     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7294     ;;
7295
7296   gnu*)
7297     # Under GNU Hurd, this test is not required because there is
7298     # no limit to the length of command line arguments.
7299     # Libtool will interpret -1 as no limit whatsoever
7300     lt_cv_sys_max_cmd_len=-1;
7301     ;;
7302
7303   cygwin* | mingw* | cegcc*)
7304     # On Win9x/ME, this test blows up -- it succeeds, but takes
7305     # about 5 minutes as the teststring grows exponentially.
7306     # Worse, since 9x/ME are not pre-emptively multitasking,
7307     # you end up with a "frozen" computer, even though with patience
7308     # the test eventually succeeds (with a max line length of 256k).
7309     # Instead, let's just punt: use the minimum linelength reported by
7310     # all of the supported platforms: 8192 (on NT/2K/XP).
7311     lt_cv_sys_max_cmd_len=8192;
7312     ;;
7313
7314   mint*)
7315     # On MiNT this can take a long time and run out of memory.
7316     lt_cv_sys_max_cmd_len=8192;
7317     ;;
7318
7319   amigaos*)
7320     # On AmigaOS with pdksh, this test takes hours, literally.
7321     # So we just punt and use a minimum line length of 8192.
7322     lt_cv_sys_max_cmd_len=8192;
7323     ;;
7324
7325   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7326     # This has been around since 386BSD, at least.  Likely further.
7327     if test -x /sbin/sysctl; then
7328       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7329     elif test -x /usr/sbin/sysctl; then
7330       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7331     else
7332       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7333     fi
7334     # And add a safety zone
7335     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7336     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7337     ;;
7338
7339   interix*)
7340     # We know the value 262144 and hardcode it with a safety zone (like BSD)
7341     lt_cv_sys_max_cmd_len=196608
7342     ;;
7343
7344   os2*)
7345     # The test takes a long time on OS/2.
7346     lt_cv_sys_max_cmd_len=8192
7347     ;;
7348
7349   osf*)
7350     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7351     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7352     # nice to cause kernel panics so lets avoid the loop below.
7353     # First set a reasonable default.
7354     lt_cv_sys_max_cmd_len=16384
7355     #
7356     if test -x /sbin/sysconfig; then
7357       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7358         *1*) lt_cv_sys_max_cmd_len=-1 ;;
7359       esac
7360     fi
7361     ;;
7362   sco3.2v5*)
7363     lt_cv_sys_max_cmd_len=102400
7364     ;;
7365   sysv5* | sco5v6* | sysv4.2uw2*)
7366     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7367     if test -n "$kargmax"; then
7368       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
7369     else
7370       lt_cv_sys_max_cmd_len=32768
7371     fi
7372     ;;
7373   *)
7374     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7375     if test -n "$lt_cv_sys_max_cmd_len"; then
7376       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7377       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7378     else
7379       # Make teststring a little bigger before we do anything with it.
7380       # a 1K string should be a reasonable start.
7381       for i in 1 2 3 4 5 6 7 8 ; do
7382         teststring=$teststring$teststring
7383       done
7384       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7385       # If test is not a shell built-in, we'll probably end up computing a
7386       # maximum length that is only half of the actual maximum length, but
7387       # we can't tell.
7388       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7389                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7390               test $i != 17 # 1/2 MB should be enough
7391       do
7392         i=`expr $i + 1`
7393         teststring=$teststring$teststring
7394       done
7395       # Only check the string length outside the loop.
7396       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7397       teststring=
7398       # Add a significant safety factor because C++ compilers can tack on
7399       # massive amounts of additional arguments before passing them to the
7400       # linker.  It appears as though 1/2 is a usable value.
7401       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7402     fi
7403     ;;
7404   esac
7405
7406 fi
7407
7408 if test -n $lt_cv_sys_max_cmd_len ; then
7409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7410 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7411 else
7412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7413 $as_echo "none" >&6; }
7414 fi
7415 max_cmd_len=$lt_cv_sys_max_cmd_len
7416
7417
7418
7419
7420
7421
7422 : ${CP="cp -f"}
7423 : ${MV="mv -f"}
7424 : ${RM="rm -f"}
7425
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7427 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7428 # Try some XSI features
7429 xsi_shell=no
7430 ( _lt_dummy="a/b/c"
7431   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7432       = c,a/b,b/c, \
7433     && eval 'test $(( 1 + 1 )) -eq 2 \
7434     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7435   && xsi_shell=yes
7436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7437 $as_echo "$xsi_shell" >&6; }
7438
7439
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7441 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7442 lt_shell_append=no
7443 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7444     >/dev/null 2>&1 \
7445   && lt_shell_append=yes
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7447 $as_echo "$lt_shell_append" >&6; }
7448
7449
7450 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7451   lt_unset=unset
7452 else
7453   lt_unset=false
7454 fi
7455
7456
7457
7458
7459
7460 # test EBCDIC or ASCII
7461 case `echo X|tr X '\101'` in
7462  A) # ASCII based system
7463     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7464   lt_SP2NL='tr \040 \012'
7465   lt_NL2SP='tr \015\012 \040\040'
7466   ;;
7467  *) # EBCDIC based system
7468   lt_SP2NL='tr \100 \n'
7469   lt_NL2SP='tr \r\n \100\100'
7470   ;;
7471 esac
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7482 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7483 if ${lt_cv_to_host_file_cmd+:} false; then :
7484   $as_echo_n "(cached) " >&6
7485 else
7486   case $host in
7487   *-*-mingw* )
7488     case $build in
7489       *-*-mingw* ) # actually msys
7490         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7491         ;;
7492       *-*-cygwin* )
7493         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7494         ;;
7495       * ) # otherwise, assume *nix
7496         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7497         ;;
7498     esac
7499     ;;
7500   *-*-cygwin* )
7501     case $build in
7502       *-*-mingw* ) # actually msys
7503         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7504         ;;
7505       *-*-cygwin* )
7506         lt_cv_to_host_file_cmd=func_convert_file_noop
7507         ;;
7508       * ) # otherwise, assume *nix
7509         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7510         ;;
7511     esac
7512     ;;
7513   * ) # unhandled hosts (and "normal" native builds)
7514     lt_cv_to_host_file_cmd=func_convert_file_noop
7515     ;;
7516 esac
7517
7518 fi
7519
7520 to_host_file_cmd=$lt_cv_to_host_file_cmd
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7522 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7523
7524
7525
7526
7527
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7529 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7530 if ${lt_cv_to_tool_file_cmd+:} false; then :
7531   $as_echo_n "(cached) " >&6
7532 else
7533   #assume ordinary cross tools, or native build.
7534 lt_cv_to_tool_file_cmd=func_convert_file_noop
7535 case $host in
7536   *-*-mingw* )
7537     case $build in
7538       *-*-mingw* ) # actually msys
7539         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7540         ;;
7541     esac
7542     ;;
7543 esac
7544
7545 fi
7546
7547 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7549 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7550
7551
7552
7553
7554
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7556 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7557 if ${lt_cv_ld_reload_flag+:} false; then :
7558   $as_echo_n "(cached) " >&6
7559 else
7560   lt_cv_ld_reload_flag='-r'
7561 fi
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7563 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7564 reload_flag=$lt_cv_ld_reload_flag
7565 case $reload_flag in
7566 "" | " "*) ;;
7567 *) reload_flag=" $reload_flag" ;;
7568 esac
7569 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7570 case $host_os in
7571   cygwin* | mingw* | pw32* | cegcc*)
7572     if test "$GCC" != yes; then
7573       reload_cmds=false
7574     fi
7575     ;;
7576   darwin*)
7577     if test "$GCC" = yes; then
7578       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7579     else
7580       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7581     fi
7582     ;;
7583 esac
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593 if test -n "$ac_tool_prefix"; then
7594   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7595 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597 $as_echo_n "checking for $ac_word... " >&6; }
7598 if ${ac_cv_prog_OBJDUMP+:} false; then :
7599   $as_echo_n "(cached) " >&6
7600 else
7601   if test -n "$OBJDUMP"; then
7602   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7603 else
7604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7605 for as_dir in $PATH
7606 do
7607   IFS=$as_save_IFS
7608   test -z "$as_dir" && as_dir=.
7609     for ac_exec_ext in '' $ac_executable_extensions; do
7610   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7611     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7612     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7613     break 2
7614   fi
7615 done
7616   done
7617 IFS=$as_save_IFS
7618
7619 fi
7620 fi
7621 OBJDUMP=$ac_cv_prog_OBJDUMP
7622 if test -n "$OBJDUMP"; then
7623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7624 $as_echo "$OBJDUMP" >&6; }
7625 else
7626   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7627 $as_echo "no" >&6; }
7628 fi
7629
7630
7631 fi
7632 if test -z "$ac_cv_prog_OBJDUMP"; then
7633   ac_ct_OBJDUMP=$OBJDUMP
7634   # Extract the first word of "objdump", so it can be a program name with args.
7635 set dummy objdump; ac_word=$2
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7637 $as_echo_n "checking for $ac_word... " >&6; }
7638 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7639   $as_echo_n "(cached) " >&6
7640 else
7641   if test -n "$ac_ct_OBJDUMP"; then
7642   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7643 else
7644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7645 for as_dir in $PATH
7646 do
7647   IFS=$as_save_IFS
7648   test -z "$as_dir" && as_dir=.
7649     for ac_exec_ext in '' $ac_executable_extensions; do
7650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7651     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7653     break 2
7654   fi
7655 done
7656   done
7657 IFS=$as_save_IFS
7658
7659 fi
7660 fi
7661 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7662 if test -n "$ac_ct_OBJDUMP"; then
7663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7664 $as_echo "$ac_ct_OBJDUMP" >&6; }
7665 else
7666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7667 $as_echo "no" >&6; }
7668 fi
7669
7670   if test "x$ac_ct_OBJDUMP" = x; then
7671     OBJDUMP="false"
7672   else
7673     case $cross_compiling:$ac_tool_warned in
7674 yes:)
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7676 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7677 ac_tool_warned=yes ;;
7678 esac
7679     OBJDUMP=$ac_ct_OBJDUMP
7680   fi
7681 else
7682   OBJDUMP="$ac_cv_prog_OBJDUMP"
7683 fi
7684
7685 test -z "$OBJDUMP" && OBJDUMP=objdump
7686
7687
7688
7689
7690
7691
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7693 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7694 if ${lt_cv_deplibs_check_method+:} false; then :
7695   $as_echo_n "(cached) " >&6
7696 else
7697   lt_cv_file_magic_cmd='$MAGIC_CMD'
7698 lt_cv_file_magic_test_file=
7699 lt_cv_deplibs_check_method='unknown'
7700 # Need to set the preceding variable on all platforms that support
7701 # interlibrary dependencies.
7702 # 'none' -- dependencies not supported.
7703 # `unknown' -- same as none, but documents that we really don't know.
7704 # 'pass_all' -- all dependencies passed with no checks.
7705 # 'test_compile' -- check by making test program.
7706 # 'file_magic [[regex]]' -- check by looking for files in library path
7707 # which responds to the $file_magic_cmd with a given extended regex.
7708 # If you have `file' or equivalent on your system and you're not sure
7709 # whether `pass_all' will *always* work, you probably want this one.
7710
7711 case $host_os in
7712 aix[4-9]*)
7713   lt_cv_deplibs_check_method=pass_all
7714   ;;
7715
7716 beos*)
7717   lt_cv_deplibs_check_method=pass_all
7718   ;;
7719
7720 bsdi[45]*)
7721   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7722   lt_cv_file_magic_cmd='/usr/bin/file -L'
7723   lt_cv_file_magic_test_file=/shlib/libc.so
7724   ;;
7725
7726 cygwin*)
7727   # func_win32_libid is a shell function defined in ltmain.sh
7728   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7729   lt_cv_file_magic_cmd='func_win32_libid'
7730   ;;
7731
7732 mingw* | pw32*)
7733   # Base MSYS/MinGW do not provide the 'file' command needed by
7734   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7735   # unless we find 'file', for example because we are cross-compiling.
7736   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7737   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7738     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7739     lt_cv_file_magic_cmd='func_win32_libid'
7740   else
7741     # Keep this pattern in sync with the one in func_win32_libid.
7742     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7743     lt_cv_file_magic_cmd='$OBJDUMP -f'
7744   fi
7745   ;;
7746
7747 cegcc*)
7748   # use the weaker test based on 'objdump'. See mingw*.
7749   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7750   lt_cv_file_magic_cmd='$OBJDUMP -f'
7751   ;;
7752
7753 darwin* | rhapsody*)
7754   lt_cv_deplibs_check_method=pass_all
7755   ;;
7756
7757 freebsd* | dragonfly*)
7758   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7759     case $host_cpu in
7760     i*86 )
7761       # Not sure whether the presence of OpenBSD here was a mistake.
7762       # Let's accept both of them until this is cleared up.
7763       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7764       lt_cv_file_magic_cmd=/usr/bin/file
7765       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7766       ;;
7767     esac
7768   else
7769     lt_cv_deplibs_check_method=pass_all
7770   fi
7771   ;;
7772
7773 gnu*)
7774   lt_cv_deplibs_check_method=pass_all
7775   ;;
7776
7777 haiku*)
7778   lt_cv_deplibs_check_method=pass_all
7779   ;;
7780
7781 hpux10.20* | hpux11*)
7782   lt_cv_file_magic_cmd=/usr/bin/file
7783   case $host_cpu in
7784   ia64*)
7785     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7786     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7787     ;;
7788   hppa*64*)
7789     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7790     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7791     ;;
7792   *)
7793     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7794     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7795     ;;
7796   esac
7797   ;;
7798
7799 interix[3-9]*)
7800   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7801   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7802   ;;
7803
7804 irix5* | irix6* | nonstopux*)
7805   case $LD in
7806   *-32|*"-32 ") libmagic=32-bit;;
7807   *-n32|*"-n32 ") libmagic=N32;;
7808   *-64|*"-64 ") libmagic=64-bit;;
7809   *) libmagic=never-match;;
7810   esac
7811   lt_cv_deplibs_check_method=pass_all
7812   ;;
7813
7814 # This must be glibc/ELF.
7815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7816   lt_cv_deplibs_check_method=pass_all
7817   ;;
7818
7819 netbsd*)
7820   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7821     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7822   else
7823     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7824   fi
7825   ;;
7826
7827 newos6*)
7828   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7829   lt_cv_file_magic_cmd=/usr/bin/file
7830   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7831   ;;
7832
7833 *nto* | *qnx*)
7834   lt_cv_deplibs_check_method=pass_all
7835   ;;
7836
7837 openbsd*)
7838   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7839     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7840   else
7841     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7842   fi
7843   ;;
7844
7845 osf3* | osf4* | osf5*)
7846   lt_cv_deplibs_check_method=pass_all
7847   ;;
7848
7849 rdos*)
7850   lt_cv_deplibs_check_method=pass_all
7851   ;;
7852
7853 solaris*)
7854   lt_cv_deplibs_check_method=pass_all
7855   ;;
7856
7857 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7858   lt_cv_deplibs_check_method=pass_all
7859   ;;
7860
7861 sysv4 | sysv4.3*)
7862   case $host_vendor in
7863   motorola)
7864     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]'
7865     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7866     ;;
7867   ncr)
7868     lt_cv_deplibs_check_method=pass_all
7869     ;;
7870   sequent)
7871     lt_cv_file_magic_cmd='/bin/file'
7872     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7873     ;;
7874   sni)
7875     lt_cv_file_magic_cmd='/bin/file'
7876     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7877     lt_cv_file_magic_test_file=/lib/libc.so
7878     ;;
7879   siemens)
7880     lt_cv_deplibs_check_method=pass_all
7881     ;;
7882   pc)
7883     lt_cv_deplibs_check_method=pass_all
7884     ;;
7885   esac
7886   ;;
7887
7888 tpf*)
7889   lt_cv_deplibs_check_method=pass_all
7890   ;;
7891 esac
7892
7893 fi
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7895 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7896
7897 file_magic_glob=
7898 want_nocaseglob=no
7899 if test "$build" = "$host"; then
7900   case $host_os in
7901   mingw* | pw32*)
7902     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7903       want_nocaseglob=yes
7904     else
7905       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7906     fi
7907     ;;
7908   esac
7909 fi
7910
7911 file_magic_cmd=$lt_cv_file_magic_cmd
7912 deplibs_check_method=$lt_cv_deplibs_check_method
7913 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936 if test -n "$ac_tool_prefix"; then
7937   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7938 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7940 $as_echo_n "checking for $ac_word... " >&6; }
7941 if ${ac_cv_prog_DLLTOOL+:} false; then :
7942   $as_echo_n "(cached) " >&6
7943 else
7944   if test -n "$DLLTOOL"; then
7945   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7946 else
7947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7948 for as_dir in $PATH
7949 do
7950   IFS=$as_save_IFS
7951   test -z "$as_dir" && as_dir=.
7952     for ac_exec_ext in '' $ac_executable_extensions; do
7953   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7954     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7955     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956     break 2
7957   fi
7958 done
7959   done
7960 IFS=$as_save_IFS
7961
7962 fi
7963 fi
7964 DLLTOOL=$ac_cv_prog_DLLTOOL
7965 if test -n "$DLLTOOL"; then
7966   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7967 $as_echo "$DLLTOOL" >&6; }
7968 else
7969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7970 $as_echo "no" >&6; }
7971 fi
7972
7973
7974 fi
7975 if test -z "$ac_cv_prog_DLLTOOL"; then
7976   ac_ct_DLLTOOL=$DLLTOOL
7977   # Extract the first word of "dlltool", so it can be a program name with args.
7978 set dummy dlltool; ac_word=$2
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7980 $as_echo_n "checking for $ac_word... " >&6; }
7981 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7982   $as_echo_n "(cached) " >&6
7983 else
7984   if test -n "$ac_ct_DLLTOOL"; then
7985   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7986 else
7987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7988 for as_dir in $PATH
7989 do
7990   IFS=$as_save_IFS
7991   test -z "$as_dir" && as_dir=.
7992     for ac_exec_ext in '' $ac_executable_extensions; do
7993   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7994     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7995     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7996     break 2
7997   fi
7998 done
7999   done
8000 IFS=$as_save_IFS
8001
8002 fi
8003 fi
8004 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8005 if test -n "$ac_ct_DLLTOOL"; then
8006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8007 $as_echo "$ac_ct_DLLTOOL" >&6; }
8008 else
8009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8010 $as_echo "no" >&6; }
8011 fi
8012
8013   if test "x$ac_ct_DLLTOOL" = x; then
8014     DLLTOOL="false"
8015   else
8016     case $cross_compiling:$ac_tool_warned in
8017 yes:)
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8020 ac_tool_warned=yes ;;
8021 esac
8022     DLLTOOL=$ac_ct_DLLTOOL
8023   fi
8024 else
8025   DLLTOOL="$ac_cv_prog_DLLTOOL"
8026 fi
8027
8028 test -z "$DLLTOOL" && DLLTOOL=dlltool
8029
8030
8031
8032
8033
8034
8035
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8037 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8038 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8039   $as_echo_n "(cached) " >&6
8040 else
8041   lt_cv_sharedlib_from_linklib_cmd='unknown'
8042
8043 case $host_os in
8044 cygwin* | mingw* | pw32* | cegcc*)
8045   # two different shell functions defined in ltmain.sh
8046   # decide which to use based on capabilities of $DLLTOOL
8047   case `$DLLTOOL --help 2>&1` in
8048   *--identify-strict*)
8049     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8050     ;;
8051   *)
8052     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8053     ;;
8054   esac
8055   ;;
8056 *)
8057   # fallback: assume linklib IS sharedlib
8058   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8059   ;;
8060 esac
8061
8062 fi
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8064 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8065 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8066 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8067
8068
8069
8070
8071
8072
8073
8074 if test -n "$ac_tool_prefix"; then
8075   for ac_prog in ar
8076   do
8077     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8078 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8080 $as_echo_n "checking for $ac_word... " >&6; }
8081 if ${ac_cv_prog_AR+:} false; then :
8082   $as_echo_n "(cached) " >&6
8083 else
8084   if test -n "$AR"; then
8085   ac_cv_prog_AR="$AR" # Let the user override the test.
8086 else
8087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8088 for as_dir in $PATH
8089 do
8090   IFS=$as_save_IFS
8091   test -z "$as_dir" && as_dir=.
8092     for ac_exec_ext in '' $ac_executable_extensions; do
8093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8094     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8096     break 2
8097   fi
8098 done
8099   done
8100 IFS=$as_save_IFS
8101
8102 fi
8103 fi
8104 AR=$ac_cv_prog_AR
8105 if test -n "$AR"; then
8106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8107 $as_echo "$AR" >&6; }
8108 else
8109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110 $as_echo "no" >&6; }
8111 fi
8112
8113
8114     test -n "$AR" && break
8115   done
8116 fi
8117 if test -z "$AR"; then
8118   ac_ct_AR=$AR
8119   for ac_prog in ar
8120 do
8121   # Extract the first word of "$ac_prog", so it can be a program name with args.
8122 set dummy $ac_prog; ac_word=$2
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8124 $as_echo_n "checking for $ac_word... " >&6; }
8125 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8126   $as_echo_n "(cached) " >&6
8127 else
8128   if test -n "$ac_ct_AR"; then
8129   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8130 else
8131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8132 for as_dir in $PATH
8133 do
8134   IFS=$as_save_IFS
8135   test -z "$as_dir" && as_dir=.
8136     for ac_exec_ext in '' $ac_executable_extensions; do
8137   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8138     ac_cv_prog_ac_ct_AR="$ac_prog"
8139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140     break 2
8141   fi
8142 done
8143   done
8144 IFS=$as_save_IFS
8145
8146 fi
8147 fi
8148 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8149 if test -n "$ac_ct_AR"; then
8150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8151 $as_echo "$ac_ct_AR" >&6; }
8152 else
8153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8155 fi
8156
8157
8158   test -n "$ac_ct_AR" && break
8159 done
8160
8161   if test "x$ac_ct_AR" = x; then
8162     AR="false"
8163   else
8164     case $cross_compiling:$ac_tool_warned in
8165 yes:)
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8168 ac_tool_warned=yes ;;
8169 esac
8170     AR=$ac_ct_AR
8171   fi
8172 fi
8173
8174 : ${AR=ar}
8175 : ${AR_FLAGS=cru}
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8188 $as_echo_n "checking for archiver @FILE support... " >&6; }
8189 if ${lt_cv_ar_at_file+:} false; then :
8190   $as_echo_n "(cached) " >&6
8191 else
8192   lt_cv_ar_at_file=no
8193    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8194 /* end confdefs.h.  */
8195
8196 int
8197 main ()
8198 {
8199
8200   ;
8201   return 0;
8202 }
8203 _ACEOF
8204 if ac_fn_c_try_compile "$LINENO"; then :
8205   echo conftest.$ac_objext > conftest.lst
8206       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8207       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8208   (eval $lt_ar_try) 2>&5
8209   ac_status=$?
8210   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8211   test $ac_status = 0; }
8212       if test "$ac_status" -eq 0; then
8213         # Ensure the archiver fails upon bogus file names.
8214         rm -f conftest.$ac_objext libconftest.a
8215         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8216   (eval $lt_ar_try) 2>&5
8217   ac_status=$?
8218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8219   test $ac_status = 0; }
8220         if test "$ac_status" -ne 0; then
8221           lt_cv_ar_at_file=@
8222         fi
8223       fi
8224       rm -f conftest.* libconftest.a
8225
8226 fi
8227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8228
8229 fi
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8231 $as_echo "$lt_cv_ar_at_file" >&6; }
8232
8233 if test "x$lt_cv_ar_at_file" = xno; then
8234   archiver_list_spec=
8235 else
8236   archiver_list_spec=$lt_cv_ar_at_file
8237 fi
8238
8239
8240
8241
8242
8243
8244
8245 if test -n "$ac_tool_prefix"; then
8246   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8247 set dummy ${ac_tool_prefix}strip; ac_word=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if ${ac_cv_prog_STRIP+:} false; then :
8251   $as_echo_n "(cached) " >&6
8252 else
8253   if test -n "$STRIP"; then
8254   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8255 else
8256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8257 for as_dir in $PATH
8258 do
8259   IFS=$as_save_IFS
8260   test -z "$as_dir" && as_dir=.
8261     for ac_exec_ext in '' $ac_executable_extensions; do
8262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8263     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8265     break 2
8266   fi
8267 done
8268   done
8269 IFS=$as_save_IFS
8270
8271 fi
8272 fi
8273 STRIP=$ac_cv_prog_STRIP
8274 if test -n "$STRIP"; then
8275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8276 $as_echo "$STRIP" >&6; }
8277 else
8278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8279 $as_echo "no" >&6; }
8280 fi
8281
8282
8283 fi
8284 if test -z "$ac_cv_prog_STRIP"; then
8285   ac_ct_STRIP=$STRIP
8286   # Extract the first word of "strip", so it can be a program name with args.
8287 set dummy strip; ac_word=$2
8288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8289 $as_echo_n "checking for $ac_word... " >&6; }
8290 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8291   $as_echo_n "(cached) " >&6
8292 else
8293   if test -n "$ac_ct_STRIP"; then
8294   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8295 else
8296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8297 for as_dir in $PATH
8298 do
8299   IFS=$as_save_IFS
8300   test -z "$as_dir" && as_dir=.
8301     for ac_exec_ext in '' $ac_executable_extensions; do
8302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8303     ac_cv_prog_ac_ct_STRIP="strip"
8304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8305     break 2
8306   fi
8307 done
8308   done
8309 IFS=$as_save_IFS
8310
8311 fi
8312 fi
8313 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8314 if test -n "$ac_ct_STRIP"; then
8315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8316 $as_echo "$ac_ct_STRIP" >&6; }
8317 else
8318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8320 fi
8321
8322   if test "x$ac_ct_STRIP" = x; then
8323     STRIP=":"
8324   else
8325     case $cross_compiling:$ac_tool_warned in
8326 yes:)
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8329 ac_tool_warned=yes ;;
8330 esac
8331     STRIP=$ac_ct_STRIP
8332   fi
8333 else
8334   STRIP="$ac_cv_prog_STRIP"
8335 fi
8336
8337 test -z "$STRIP" && STRIP=:
8338
8339
8340
8341
8342
8343
8344 if test -n "$ac_tool_prefix"; then
8345   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8346 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8348 $as_echo_n "checking for $ac_word... " >&6; }
8349 if ${ac_cv_prog_RANLIB+:} false; then :
8350   $as_echo_n "(cached) " >&6
8351 else
8352   if test -n "$RANLIB"; then
8353   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8354 else
8355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8356 for as_dir in $PATH
8357 do
8358   IFS=$as_save_IFS
8359   test -z "$as_dir" && as_dir=.
8360     for ac_exec_ext in '' $ac_executable_extensions; do
8361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8362     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8364     break 2
8365   fi
8366 done
8367   done
8368 IFS=$as_save_IFS
8369
8370 fi
8371 fi
8372 RANLIB=$ac_cv_prog_RANLIB
8373 if test -n "$RANLIB"; then
8374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8375 $as_echo "$RANLIB" >&6; }
8376 else
8377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8378 $as_echo "no" >&6; }
8379 fi
8380
8381
8382 fi
8383 if test -z "$ac_cv_prog_RANLIB"; then
8384   ac_ct_RANLIB=$RANLIB
8385   # Extract the first word of "ranlib", so it can be a program name with args.
8386 set dummy ranlib; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8390   $as_echo_n "(cached) " >&6
8391 else
8392   if test -n "$ac_ct_RANLIB"; then
8393   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8394 else
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8396 for as_dir in $PATH
8397 do
8398   IFS=$as_save_IFS
8399   test -z "$as_dir" && as_dir=.
8400     for ac_exec_ext in '' $ac_executable_extensions; do
8401   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402     ac_cv_prog_ac_ct_RANLIB="ranlib"
8403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404     break 2
8405   fi
8406 done
8407   done
8408 IFS=$as_save_IFS
8409
8410 fi
8411 fi
8412 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8413 if test -n "$ac_ct_RANLIB"; then
8414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8415 $as_echo "$ac_ct_RANLIB" >&6; }
8416 else
8417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8419 fi
8420
8421   if test "x$ac_ct_RANLIB" = x; then
8422     RANLIB=":"
8423   else
8424     case $cross_compiling:$ac_tool_warned in
8425 yes:)
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8427 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8428 ac_tool_warned=yes ;;
8429 esac
8430     RANLIB=$ac_ct_RANLIB
8431   fi
8432 else
8433   RANLIB="$ac_cv_prog_RANLIB"
8434 fi
8435
8436 test -z "$RANLIB" && RANLIB=:
8437
8438
8439
8440
8441
8442
8443 # Determine commands to create old-style static archives.
8444 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8445 old_postinstall_cmds='chmod 644 $oldlib'
8446 old_postuninstall_cmds=
8447
8448 if test -n "$RANLIB"; then
8449   case $host_os in
8450   openbsd*)
8451     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8452     ;;
8453   *)
8454     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8455     ;;
8456   esac
8457   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8458 fi
8459
8460 case $host_os in
8461   darwin*)
8462     lock_old_archive_extraction=yes ;;
8463   *)
8464     lock_old_archive_extraction=no ;;
8465 esac
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505 # If no C compiler was specified, use CC.
8506 LTCC=${LTCC-"$CC"}
8507
8508 # If no C compiler flags were specified, use CFLAGS.
8509 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8510
8511 # Allow CC to be a program name with arguments.
8512 compiler=$CC
8513
8514
8515 # Check for command to grab the raw symbol name followed by C symbol from nm.
8516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8517 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8518 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8519   $as_echo_n "(cached) " >&6
8520 else
8521
8522 # These are sane defaults that work on at least a few old systems.
8523 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8524
8525 # Character class describing NM global symbol codes.
8526 symcode='[BCDEGRST]'
8527
8528 # Regexp to match symbols that can be accessed directly from C.
8529 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8530
8531 # Define system-specific variables.
8532 case $host_os in
8533 aix*)
8534   symcode='[BCDT]'
8535   ;;
8536 cygwin* | mingw* | pw32* | cegcc*)
8537   symcode='[ABCDGISTW]'
8538   ;;
8539 hpux*)
8540   if test "$host_cpu" = ia64; then
8541     symcode='[ABCDEGRST]'
8542   fi
8543   ;;
8544 irix* | nonstopux*)
8545   symcode='[BCDEGRST]'
8546   ;;
8547 osf*)
8548   symcode='[BCDEGQRST]'
8549   ;;
8550 solaris*)
8551   symcode='[BDRT]'
8552   ;;
8553 sco3.2v5*)
8554   symcode='[DT]'
8555   ;;
8556 sysv4.2uw2*)
8557   symcode='[DT]'
8558   ;;
8559 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8560   symcode='[ABDT]'
8561   ;;
8562 sysv4)
8563   symcode='[DFNSTU]'
8564   ;;
8565 esac
8566
8567 # If we're using GNU nm, then use its standard symbol codes.
8568 case `$NM -V 2>&1` in
8569 *GNU* | *'with BFD'*)
8570   symcode='[ABCDGIRSTW]' ;;
8571 esac
8572
8573 # Transform an extracted symbol line into a proper C declaration.
8574 # Some systems (esp. on ia64) link data and code symbols differently,
8575 # so use this general approach.
8576 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8577
8578 # Transform an extracted symbol line into symbol name and symbol address
8579 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8580 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'"
8581
8582 # Handle CRLF in mingw tool chain
8583 opt_cr=
8584 case $build_os in
8585 mingw*)
8586   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8587   ;;
8588 esac
8589
8590 # Try without a prefix underscore, then with it.
8591 for ac_symprfx in "" "_"; do
8592
8593   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8594   symxfrm="\\1 $ac_symprfx\\2 \\2"
8595
8596   # Write the raw and C identifiers.
8597   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8598     # Fake it for dumpbin and say T for any non-static function
8599     # and D for any global variable.
8600     # Also find C++ and __fastcall symbols from MSVC++,
8601     # which start with @ or ?.
8602     lt_cv_sys_global_symbol_pipe="$AWK '"\
8603 "     {last_section=section; section=\$ 3};"\
8604 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8605 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8606 "     \$ 0!~/External *\|/{next};"\
8607 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8608 "     {if(hide[section]) next};"\
8609 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8610 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8611 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8612 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8613 "     ' prfx=^$ac_symprfx"
8614   else
8615     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8616   fi
8617   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8618
8619   # Check to see that the pipe works correctly.
8620   pipe_works=no
8621
8622   rm -f conftest*
8623   cat > conftest.$ac_ext <<_LT_EOF
8624 #ifdef __cplusplus
8625 extern "C" {
8626 #endif
8627 char nm_test_var;
8628 void nm_test_func(void);
8629 void nm_test_func(void){}
8630 #ifdef __cplusplus
8631 }
8632 #endif
8633 int main(){nm_test_var='a';nm_test_func();return(0);}
8634 _LT_EOF
8635
8636   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8637   (eval $ac_compile) 2>&5
8638   ac_status=$?
8639   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8640   test $ac_status = 0; }; then
8641     # Now try to grab the symbols.
8642     nlist=conftest.nm
8643     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8644   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8645   ac_status=$?
8646   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8647   test $ac_status = 0; } && test -s "$nlist"; then
8648       # Try sorting and uniquifying the output.
8649       if sort "$nlist" | uniq > "$nlist"T; then
8650         mv -f "$nlist"T "$nlist"
8651       else
8652         rm -f "$nlist"T
8653       fi
8654
8655       # Make sure that we snagged all the symbols we need.
8656       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8657         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8658           cat <<_LT_EOF > conftest.$ac_ext
8659 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8660 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8661 /* DATA imports from DLLs on WIN32 con't be const, because runtime
8662    relocations are performed -- see ld's documentation on pseudo-relocs.  */
8663 # define LT_DLSYM_CONST
8664 #elif defined(__osf__)
8665 /* This system does not cope well with relocations in const data.  */
8666 # define LT_DLSYM_CONST
8667 #else
8668 # define LT_DLSYM_CONST const
8669 #endif
8670
8671 #ifdef __cplusplus
8672 extern "C" {
8673 #endif
8674
8675 _LT_EOF
8676           # Now generate the symbol file.
8677           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8678
8679           cat <<_LT_EOF >> conftest.$ac_ext
8680
8681 /* The mapping between symbol names and symbols.  */
8682 LT_DLSYM_CONST struct {
8683   const char *name;
8684   void       *address;
8685 }
8686 lt__PROGRAM__LTX_preloaded_symbols[] =
8687 {
8688   { "@PROGRAM@", (void *) 0 },
8689 _LT_EOF
8690           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8691           cat <<\_LT_EOF >> conftest.$ac_ext
8692   {0, (void *) 0}
8693 };
8694
8695 /* This works around a problem in FreeBSD linker */
8696 #ifdef FREEBSD_WORKAROUND
8697 static const void *lt_preloaded_setup() {
8698   return lt__PROGRAM__LTX_preloaded_symbols;
8699 }
8700 #endif
8701
8702 #ifdef __cplusplus
8703 }
8704 #endif
8705 _LT_EOF
8706           # Now try linking the two files.
8707           mv conftest.$ac_objext conftstm.$ac_objext
8708           lt_globsym_save_LIBS=$LIBS
8709           lt_globsym_save_CFLAGS=$CFLAGS
8710           LIBS="conftstm.$ac_objext"
8711           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8712           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8713   (eval $ac_link) 2>&5
8714   ac_status=$?
8715   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8716   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8717             pipe_works=yes
8718           fi
8719           LIBS=$lt_globsym_save_LIBS
8720           CFLAGS=$lt_globsym_save_CFLAGS
8721         else
8722           echo "cannot find nm_test_func in $nlist" >&5
8723         fi
8724       else
8725         echo "cannot find nm_test_var in $nlist" >&5
8726       fi
8727     else
8728       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8729     fi
8730   else
8731     echo "$progname: failed program was:" >&5
8732     cat conftest.$ac_ext >&5
8733   fi
8734   rm -rf conftest* conftst*
8735
8736   # Do not use the global_symbol_pipe unless it works.
8737   if test "$pipe_works" = yes; then
8738     break
8739   else
8740     lt_cv_sys_global_symbol_pipe=
8741   fi
8742 done
8743
8744 fi
8745
8746 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8747   lt_cv_sys_global_symbol_to_cdecl=
8748 fi
8749 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8751 $as_echo "failed" >&6; }
8752 else
8753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8754 $as_echo "ok" >&6; }
8755 fi
8756
8757 # Response file support.
8758 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8759   nm_file_list_spec='@'
8760 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8761   nm_file_list_spec='@'
8762 fi
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8791 $as_echo_n "checking for sysroot... " >&6; }
8792
8793 # Check whether --with-sysroot was given.
8794 if test "${with_sysroot+set}" = set; then :
8795   withval=$with_sysroot;
8796 else
8797   with_sysroot=no
8798 fi
8799
8800
8801 lt_sysroot=
8802 case ${with_sysroot} in #(
8803  yes)
8804    if test "$GCC" = yes; then
8805      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8806    fi
8807    ;; #(
8808  /*)
8809    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8810    ;; #(
8811  no|'')
8812    ;; #(
8813  *)
8814    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8815 $as_echo "${with_sysroot}" >&6; }
8816    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8817    ;;
8818 esac
8819
8820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8821 $as_echo "${lt_sysroot:-no}" >&6; }
8822
8823
8824
8825
8826
8827 # Check whether --enable-libtool-lock was given.
8828 if test "${enable_libtool_lock+set}" = set; then :
8829   enableval=$enable_libtool_lock;
8830 fi
8831
8832 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8833
8834 # Some flags need to be propagated to the compiler or linker for good
8835 # libtool support.
8836 case $host in
8837 ia64-*-hpux*)
8838   # Find out which ABI we are using.
8839   echo 'int i;' > conftest.$ac_ext
8840   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8841   (eval $ac_compile) 2>&5
8842   ac_status=$?
8843   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8844   test $ac_status = 0; }; then
8845     case `/usr/bin/file conftest.$ac_objext` in
8846       *ELF-32*)
8847         HPUX_IA64_MODE="32"
8848         ;;
8849       *ELF-64*)
8850         HPUX_IA64_MODE="64"
8851         ;;
8852     esac
8853   fi
8854   rm -rf conftest*
8855   ;;
8856 *-*-irix6*)
8857   # Find out which ABI we are using.
8858   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8859   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8860   (eval $ac_compile) 2>&5
8861   ac_status=$?
8862   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8863   test $ac_status = 0; }; then
8864     if test "$lt_cv_prog_gnu_ld" = yes; then
8865       case `/usr/bin/file conftest.$ac_objext` in
8866         *32-bit*)
8867           LD="${LD-ld} -melf32bsmip"
8868           ;;
8869         *N32*)
8870           LD="${LD-ld} -melf32bmipn32"
8871           ;;
8872         *64-bit*)
8873           LD="${LD-ld} -melf64bmip"
8874         ;;
8875       esac
8876     else
8877       case `/usr/bin/file conftest.$ac_objext` in
8878         *32-bit*)
8879           LD="${LD-ld} -32"
8880           ;;
8881         *N32*)
8882           LD="${LD-ld} -n32"
8883           ;;
8884         *64-bit*)
8885           LD="${LD-ld} -64"
8886           ;;
8887       esac
8888     fi
8889   fi
8890   rm -rf conftest*
8891   ;;
8892
8893 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8894 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8895   # Find out which ABI we are using.
8896   echo 'int i;' > conftest.$ac_ext
8897   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8898   (eval $ac_compile) 2>&5
8899   ac_status=$?
8900   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8901   test $ac_status = 0; }; then
8902     case `/usr/bin/file conftest.o` in
8903       *32-bit*)
8904         case $host in
8905           x86_64-*kfreebsd*-gnu)
8906             LD="${LD-ld} -m elf_i386_fbsd"
8907             ;;
8908           x86_64-*linux*)
8909             LD="${LD-ld} -m elf_i386"
8910             ;;
8911           ppc64-*linux*|powerpc64-*linux*)
8912             LD="${LD-ld} -m elf32ppclinux"
8913             ;;
8914           s390x-*linux*)
8915             LD="${LD-ld} -m elf_s390"
8916             ;;
8917           sparc64-*linux*)
8918             LD="${LD-ld} -m elf32_sparc"
8919             ;;
8920         esac
8921         ;;
8922       *64-bit*)
8923         case $host in
8924           x86_64-*kfreebsd*-gnu)
8925             LD="${LD-ld} -m elf_x86_64_fbsd"
8926             ;;
8927           x86_64-*linux*)
8928             LD="${LD-ld} -m elf_x86_64"
8929             ;;
8930           ppc*-*linux*|powerpc*-*linux*)
8931             LD="${LD-ld} -m elf64ppc"
8932             ;;
8933           s390*-*linux*|s390*-*tpf*)
8934             LD="${LD-ld} -m elf64_s390"
8935             ;;
8936           sparc*-*linux*)
8937             LD="${LD-ld} -m elf64_sparc"
8938             ;;
8939         esac
8940         ;;
8941     esac
8942   fi
8943   rm -rf conftest*
8944   ;;
8945
8946 *-*-sco3.2v5*)
8947   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8948   SAVE_CFLAGS="$CFLAGS"
8949   CFLAGS="$CFLAGS -belf"
8950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8951 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8952 if ${lt_cv_cc_needs_belf+:} false; then :
8953   $as_echo_n "(cached) " >&6
8954 else
8955   ac_ext=c
8956 ac_cpp='$CPP $CPPFLAGS'
8957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8960
8961      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8962 /* end confdefs.h.  */
8963
8964 int
8965 main ()
8966 {
8967
8968   ;
8969   return 0;
8970 }
8971 _ACEOF
8972 if ac_fn_c_try_link "$LINENO"; then :
8973   lt_cv_cc_needs_belf=yes
8974 else
8975   lt_cv_cc_needs_belf=no
8976 fi
8977 rm -f core conftest.err conftest.$ac_objext \
8978     conftest$ac_exeext conftest.$ac_ext
8979      ac_ext=c
8980 ac_cpp='$CPP $CPPFLAGS'
8981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8984
8985 fi
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8987 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8988   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8989     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8990     CFLAGS="$SAVE_CFLAGS"
8991   fi
8992   ;;
8993 *-*solaris*)
8994   # Find out which ABI we are using.
8995   echo 'int i;' > conftest.$ac_ext
8996   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8997   (eval $ac_compile) 2>&5
8998   ac_status=$?
8999   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9000   test $ac_status = 0; }; then
9001     case `/usr/bin/file conftest.o` in
9002     *64-bit*)
9003       case $lt_cv_prog_gnu_ld in
9004       yes*)
9005         case $host in
9006         i?86-*-solaris*)
9007           LD="${LD-ld} -m elf_x86_64"
9008           ;;
9009         sparc*-*-solaris*)
9010           LD="${LD-ld} -m elf64_sparc"
9011           ;;
9012         esac
9013         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
9014         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9015           LD="${LD-ld}_sol2"
9016         fi
9017         ;;
9018       *)
9019         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9020           LD="${LD-ld} -64"
9021         fi
9022         ;;
9023       esac
9024       ;;
9025     esac
9026   fi
9027   rm -rf conftest*
9028   ;;
9029 esac
9030
9031 need_locks="$enable_libtool_lock"
9032
9033 if test -n "$ac_tool_prefix"; then
9034   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9035 set dummy ${ac_tool_prefix}mt; ac_word=$2
9036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9037 $as_echo_n "checking for $ac_word... " >&6; }
9038 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9039   $as_echo_n "(cached) " >&6
9040 else
9041   if test -n "$MANIFEST_TOOL"; then
9042   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9043 else
9044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9045 for as_dir in $PATH
9046 do
9047   IFS=$as_save_IFS
9048   test -z "$as_dir" && as_dir=.
9049     for ac_exec_ext in '' $ac_executable_extensions; do
9050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9051     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9053     break 2
9054   fi
9055 done
9056   done
9057 IFS=$as_save_IFS
9058
9059 fi
9060 fi
9061 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9062 if test -n "$MANIFEST_TOOL"; then
9063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9064 $as_echo "$MANIFEST_TOOL" >&6; }
9065 else
9066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9067 $as_echo "no" >&6; }
9068 fi
9069
9070
9071 fi
9072 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9073   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9074   # Extract the first word of "mt", so it can be a program name with args.
9075 set dummy mt; ac_word=$2
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9077 $as_echo_n "checking for $ac_word... " >&6; }
9078 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9079   $as_echo_n "(cached) " >&6
9080 else
9081   if test -n "$ac_ct_MANIFEST_TOOL"; then
9082   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9083 else
9084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9085 for as_dir in $PATH
9086 do
9087   IFS=$as_save_IFS
9088   test -z "$as_dir" && as_dir=.
9089     for ac_exec_ext in '' $ac_executable_extensions; do
9090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9091     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9093     break 2
9094   fi
9095 done
9096   done
9097 IFS=$as_save_IFS
9098
9099 fi
9100 fi
9101 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9102 if test -n "$ac_ct_MANIFEST_TOOL"; then
9103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9104 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9105 else
9106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9107 $as_echo "no" >&6; }
9108 fi
9109
9110   if test "x$ac_ct_MANIFEST_TOOL" = x; then
9111     MANIFEST_TOOL=":"
9112   else
9113     case $cross_compiling:$ac_tool_warned in
9114 yes:)
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9117 ac_tool_warned=yes ;;
9118 esac
9119     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9120   fi
9121 else
9122   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9123 fi
9124
9125 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9127 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9128 if ${lt_cv_path_mainfest_tool+:} false; then :
9129   $as_echo_n "(cached) " >&6
9130 else
9131   lt_cv_path_mainfest_tool=no
9132   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9133   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9134   cat conftest.err >&5
9135   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9136     lt_cv_path_mainfest_tool=yes
9137   fi
9138   rm -f conftest*
9139 fi
9140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9141 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9142 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9143   MANIFEST_TOOL=:
9144 fi
9145
9146
9147
9148
9149
9150
9151   case $host_os in
9152     rhapsody* | darwin*)
9153     if test -n "$ac_tool_prefix"; then
9154   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9155 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 $as_echo_n "checking for $ac_word... " >&6; }
9158 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9159   $as_echo_n "(cached) " >&6
9160 else
9161   if test -n "$DSYMUTIL"; then
9162   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9163 else
9164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9165 for as_dir in $PATH
9166 do
9167   IFS=$as_save_IFS
9168   test -z "$as_dir" && as_dir=.
9169     for ac_exec_ext in '' $ac_executable_extensions; do
9170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9171     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9173     break 2
9174   fi
9175 done
9176   done
9177 IFS=$as_save_IFS
9178
9179 fi
9180 fi
9181 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9182 if test -n "$DSYMUTIL"; then
9183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9184 $as_echo "$DSYMUTIL" >&6; }
9185 else
9186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9187 $as_echo "no" >&6; }
9188 fi
9189
9190
9191 fi
9192 if test -z "$ac_cv_prog_DSYMUTIL"; then
9193   ac_ct_DSYMUTIL=$DSYMUTIL
9194   # Extract the first word of "dsymutil", so it can be a program name with args.
9195 set dummy dsymutil; ac_word=$2
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9197 $as_echo_n "checking for $ac_word... " >&6; }
9198 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9199   $as_echo_n "(cached) " >&6
9200 else
9201   if test -n "$ac_ct_DSYMUTIL"; then
9202   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9203 else
9204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9205 for as_dir in $PATH
9206 do
9207   IFS=$as_save_IFS
9208   test -z "$as_dir" && as_dir=.
9209     for ac_exec_ext in '' $ac_executable_extensions; do
9210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9211     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9213     break 2
9214   fi
9215 done
9216   done
9217 IFS=$as_save_IFS
9218
9219 fi
9220 fi
9221 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9222 if test -n "$ac_ct_DSYMUTIL"; then
9223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9224 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9225 else
9226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 $as_echo "no" >&6; }
9228 fi
9229
9230   if test "x$ac_ct_DSYMUTIL" = x; then
9231     DSYMUTIL=":"
9232   else
9233     case $cross_compiling:$ac_tool_warned in
9234 yes:)
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9236 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9237 ac_tool_warned=yes ;;
9238 esac
9239     DSYMUTIL=$ac_ct_DSYMUTIL
9240   fi
9241 else
9242   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9243 fi
9244
9245     if test -n "$ac_tool_prefix"; then
9246   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9247 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 $as_echo_n "checking for $ac_word... " >&6; }
9250 if ${ac_cv_prog_NMEDIT+:} false; then :
9251   $as_echo_n "(cached) " >&6
9252 else
9253   if test -n "$NMEDIT"; then
9254   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9255 else
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257 for as_dir in $PATH
9258 do
9259   IFS=$as_save_IFS
9260   test -z "$as_dir" && as_dir=.
9261     for ac_exec_ext in '' $ac_executable_extensions; do
9262   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9263     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9264     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9265     break 2
9266   fi
9267 done
9268   done
9269 IFS=$as_save_IFS
9270
9271 fi
9272 fi
9273 NMEDIT=$ac_cv_prog_NMEDIT
9274 if test -n "$NMEDIT"; then
9275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9276 $as_echo "$NMEDIT" >&6; }
9277 else
9278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9279 $as_echo "no" >&6; }
9280 fi
9281
9282
9283 fi
9284 if test -z "$ac_cv_prog_NMEDIT"; then
9285   ac_ct_NMEDIT=$NMEDIT
9286   # Extract the first word of "nmedit", so it can be a program name with args.
9287 set dummy nmedit; ac_word=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9289 $as_echo_n "checking for $ac_word... " >&6; }
9290 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9291   $as_echo_n "(cached) " >&6
9292 else
9293   if test -n "$ac_ct_NMEDIT"; then
9294   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9295 else
9296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9297 for as_dir in $PATH
9298 do
9299   IFS=$as_save_IFS
9300   test -z "$as_dir" && as_dir=.
9301     for ac_exec_ext in '' $ac_executable_extensions; do
9302   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9303     ac_cv_prog_ac_ct_NMEDIT="nmedit"
9304     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9305     break 2
9306   fi
9307 done
9308   done
9309 IFS=$as_save_IFS
9310
9311 fi
9312 fi
9313 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9314 if test -n "$ac_ct_NMEDIT"; then
9315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9316 $as_echo "$ac_ct_NMEDIT" >&6; }
9317 else
9318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9319 $as_echo "no" >&6; }
9320 fi
9321
9322   if test "x$ac_ct_NMEDIT" = x; then
9323     NMEDIT=":"
9324   else
9325     case $cross_compiling:$ac_tool_warned in
9326 yes:)
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9329 ac_tool_warned=yes ;;
9330 esac
9331     NMEDIT=$ac_ct_NMEDIT
9332   fi
9333 else
9334   NMEDIT="$ac_cv_prog_NMEDIT"
9335 fi
9336
9337     if test -n "$ac_tool_prefix"; then
9338   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9339 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9341 $as_echo_n "checking for $ac_word... " >&6; }
9342 if ${ac_cv_prog_LIPO+:} false; then :
9343   $as_echo_n "(cached) " >&6
9344 else
9345   if test -n "$LIPO"; then
9346   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9347 else
9348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9349 for as_dir in $PATH
9350 do
9351   IFS=$as_save_IFS
9352   test -z "$as_dir" && as_dir=.
9353     for ac_exec_ext in '' $ac_executable_extensions; do
9354   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9355     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9357     break 2
9358   fi
9359 done
9360   done
9361 IFS=$as_save_IFS
9362
9363 fi
9364 fi
9365 LIPO=$ac_cv_prog_LIPO
9366 if test -n "$LIPO"; then
9367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9368 $as_echo "$LIPO" >&6; }
9369 else
9370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9371 $as_echo "no" >&6; }
9372 fi
9373
9374
9375 fi
9376 if test -z "$ac_cv_prog_LIPO"; then
9377   ac_ct_LIPO=$LIPO
9378   # Extract the first word of "lipo", so it can be a program name with args.
9379 set dummy lipo; ac_word=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9381 $as_echo_n "checking for $ac_word... " >&6; }
9382 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9383   $as_echo_n "(cached) " >&6
9384 else
9385   if test -n "$ac_ct_LIPO"; then
9386   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9387 else
9388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9389 for as_dir in $PATH
9390 do
9391   IFS=$as_save_IFS
9392   test -z "$as_dir" && as_dir=.
9393     for ac_exec_ext in '' $ac_executable_extensions; do
9394   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9395     ac_cv_prog_ac_ct_LIPO="lipo"
9396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9397     break 2
9398   fi
9399 done
9400   done
9401 IFS=$as_save_IFS
9402
9403 fi
9404 fi
9405 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9406 if test -n "$ac_ct_LIPO"; then
9407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9408 $as_echo "$ac_ct_LIPO" >&6; }
9409 else
9410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 $as_echo "no" >&6; }
9412 fi
9413
9414   if test "x$ac_ct_LIPO" = x; then
9415     LIPO=":"
9416   else
9417     case $cross_compiling:$ac_tool_warned in
9418 yes:)
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9421 ac_tool_warned=yes ;;
9422 esac
9423     LIPO=$ac_ct_LIPO
9424   fi
9425 else
9426   LIPO="$ac_cv_prog_LIPO"
9427 fi
9428
9429     if test -n "$ac_tool_prefix"; then
9430   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9431 set dummy ${ac_tool_prefix}otool; ac_word=$2
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9433 $as_echo_n "checking for $ac_word... " >&6; }
9434 if ${ac_cv_prog_OTOOL+:} false; then :
9435   $as_echo_n "(cached) " >&6
9436 else
9437   if test -n "$OTOOL"; then
9438   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9439 else
9440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9441 for as_dir in $PATH
9442 do
9443   IFS=$as_save_IFS
9444   test -z "$as_dir" && as_dir=.
9445     for ac_exec_ext in '' $ac_executable_extensions; do
9446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9447     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9449     break 2
9450   fi
9451 done
9452   done
9453 IFS=$as_save_IFS
9454
9455 fi
9456 fi
9457 OTOOL=$ac_cv_prog_OTOOL
9458 if test -n "$OTOOL"; then
9459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9460 $as_echo "$OTOOL" >&6; }
9461 else
9462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9463 $as_echo "no" >&6; }
9464 fi
9465
9466
9467 fi
9468 if test -z "$ac_cv_prog_OTOOL"; then
9469   ac_ct_OTOOL=$OTOOL
9470   # Extract the first word of "otool", so it can be a program name with args.
9471 set dummy otool; ac_word=$2
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9473 $as_echo_n "checking for $ac_word... " >&6; }
9474 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9475   $as_echo_n "(cached) " >&6
9476 else
9477   if test -n "$ac_ct_OTOOL"; then
9478   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9479 else
9480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9481 for as_dir in $PATH
9482 do
9483   IFS=$as_save_IFS
9484   test -z "$as_dir" && as_dir=.
9485     for ac_exec_ext in '' $ac_executable_extensions; do
9486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9487     ac_cv_prog_ac_ct_OTOOL="otool"
9488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9489     break 2
9490   fi
9491 done
9492   done
9493 IFS=$as_save_IFS
9494
9495 fi
9496 fi
9497 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9498 if test -n "$ac_ct_OTOOL"; then
9499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9500 $as_echo "$ac_ct_OTOOL" >&6; }
9501 else
9502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9503 $as_echo "no" >&6; }
9504 fi
9505
9506   if test "x$ac_ct_OTOOL" = x; then
9507     OTOOL=":"
9508   else
9509     case $cross_compiling:$ac_tool_warned in
9510 yes:)
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9513 ac_tool_warned=yes ;;
9514 esac
9515     OTOOL=$ac_ct_OTOOL
9516   fi
9517 else
9518   OTOOL="$ac_cv_prog_OTOOL"
9519 fi
9520
9521     if test -n "$ac_tool_prefix"; then
9522   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9523 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9525 $as_echo_n "checking for $ac_word... " >&6; }
9526 if ${ac_cv_prog_OTOOL64+:} false; then :
9527   $as_echo_n "(cached) " >&6
9528 else
9529   if test -n "$OTOOL64"; then
9530   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9531 else
9532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9533 for as_dir in $PATH
9534 do
9535   IFS=$as_save_IFS
9536   test -z "$as_dir" && as_dir=.
9537     for ac_exec_ext in '' $ac_executable_extensions; do
9538   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9539     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9541     break 2
9542   fi
9543 done
9544   done
9545 IFS=$as_save_IFS
9546
9547 fi
9548 fi
9549 OTOOL64=$ac_cv_prog_OTOOL64
9550 if test -n "$OTOOL64"; then
9551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9552 $as_echo "$OTOOL64" >&6; }
9553 else
9554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9555 $as_echo "no" >&6; }
9556 fi
9557
9558
9559 fi
9560 if test -z "$ac_cv_prog_OTOOL64"; then
9561   ac_ct_OTOOL64=$OTOOL64
9562   # Extract the first word of "otool64", so it can be a program name with args.
9563 set dummy otool64; ac_word=$2
9564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9565 $as_echo_n "checking for $ac_word... " >&6; }
9566 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9567   $as_echo_n "(cached) " >&6
9568 else
9569   if test -n "$ac_ct_OTOOL64"; then
9570   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9571 else
9572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9573 for as_dir in $PATH
9574 do
9575   IFS=$as_save_IFS
9576   test -z "$as_dir" && as_dir=.
9577     for ac_exec_ext in '' $ac_executable_extensions; do
9578   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9579     ac_cv_prog_ac_ct_OTOOL64="otool64"
9580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9581     break 2
9582   fi
9583 done
9584   done
9585 IFS=$as_save_IFS
9586
9587 fi
9588 fi
9589 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9590 if test -n "$ac_ct_OTOOL64"; then
9591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9592 $as_echo "$ac_ct_OTOOL64" >&6; }
9593 else
9594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9595 $as_echo "no" >&6; }
9596 fi
9597
9598   if test "x$ac_ct_OTOOL64" = x; then
9599     OTOOL64=":"
9600   else
9601     case $cross_compiling:$ac_tool_warned in
9602 yes:)
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9605 ac_tool_warned=yes ;;
9606 esac
9607     OTOOL64=$ac_ct_OTOOL64
9608   fi
9609 else
9610   OTOOL64="$ac_cv_prog_OTOOL64"
9611 fi
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9640 $as_echo_n "checking for -single_module linker flag... " >&6; }
9641 if ${lt_cv_apple_cc_single_mod+:} false; then :
9642   $as_echo_n "(cached) " >&6
9643 else
9644   lt_cv_apple_cc_single_mod=no
9645       if test -z "${LT_MULTI_MODULE}"; then
9646         # By default we will add the -single_module flag. You can override
9647         # by either setting the environment variable LT_MULTI_MODULE
9648         # non-empty at configure time, or by adding -multi_module to the
9649         # link flags.
9650         rm -rf libconftest.dylib*
9651         echo "int foo(void){return 1;}" > conftest.c
9652         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9653 -dynamiclib -Wl,-single_module conftest.c" >&5
9654         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9655           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9656         _lt_result=$?
9657         # If there is a non-empty error log, and "single_module"
9658         # appears in it, assume the flag caused a linker warning
9659         if test -s conftest.err && $GREP single_module conftest.err; then
9660           cat conftest.err >&5
9661         # Otherwise, if the output was created with a 0 exit code from
9662         # the compiler, it worked.
9663         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9664           lt_cv_apple_cc_single_mod=yes
9665         else
9666           cat conftest.err >&5
9667         fi
9668         rm -rf libconftest.dylib*
9669         rm -f conftest.*
9670       fi
9671 fi
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9673 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9674
9675     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9676 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9677 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9678   $as_echo_n "(cached) " >&6
9679 else
9680   lt_cv_ld_exported_symbols_list=no
9681       save_LDFLAGS=$LDFLAGS
9682       echo "_main" > conftest.sym
9683       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9684       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9685 /* end confdefs.h.  */
9686
9687 int
9688 main ()
9689 {
9690
9691   ;
9692   return 0;
9693 }
9694 _ACEOF
9695 if ac_fn_c_try_link "$LINENO"; then :
9696   lt_cv_ld_exported_symbols_list=yes
9697 else
9698   lt_cv_ld_exported_symbols_list=no
9699 fi
9700 rm -f core conftest.err conftest.$ac_objext \
9701     conftest$ac_exeext conftest.$ac_ext
9702         LDFLAGS="$save_LDFLAGS"
9703
9704 fi
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9706 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9707
9708     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9709 $as_echo_n "checking for -force_load linker flag... " >&6; }
9710 if ${lt_cv_ld_force_load+:} false; then :
9711   $as_echo_n "(cached) " >&6
9712 else
9713   lt_cv_ld_force_load=no
9714       cat > conftest.c << _LT_EOF
9715 int forced_loaded() { return 2;}
9716 _LT_EOF
9717       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9718       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9719       echo "$AR cru libconftest.a conftest.o" >&5
9720       $AR cru libconftest.a conftest.o 2>&5
9721       echo "$RANLIB libconftest.a" >&5
9722       $RANLIB libconftest.a 2>&5
9723       cat > conftest.c << _LT_EOF
9724 int main() { return 0;}
9725 _LT_EOF
9726       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9727       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9728       _lt_result=$?
9729       if test -s conftest.err && $GREP force_load conftest.err; then
9730         cat conftest.err >&5
9731       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9732         lt_cv_ld_force_load=yes
9733       else
9734         cat conftest.err >&5
9735       fi
9736         rm -f conftest.err libconftest.a conftest conftest.c
9737         rm -rf conftest.dSYM
9738
9739 fi
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9741 $as_echo "$lt_cv_ld_force_load" >&6; }
9742     case $host_os in
9743     rhapsody* | darwin1.[012])
9744       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9745     darwin1.*)
9746       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9747     darwin*) # darwin 5.x on
9748       # if running on 10.5 or later, the deployment target defaults
9749       # to the OS version, if on x86, and 10.4, the deployment
9750       # target defaults to 10.4. Don't you love it?
9751       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9752         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9753           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9754         10.[012]*)
9755           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9756         10.*)
9757           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9758       esac
9759     ;;
9760   esac
9761     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9762       _lt_dar_single_mod='$single_module'
9763     fi
9764     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9765       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9766     else
9767       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9768     fi
9769     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9770       _lt_dsymutil='~$DSYMUTIL $lib || :'
9771     else
9772       _lt_dsymutil=
9773     fi
9774     ;;
9775   esac
9776
9777 for ac_header in dlfcn.h
9778 do :
9779   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9780 "
9781 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9782   cat >>confdefs.h <<_ACEOF
9783 #define HAVE_DLFCN_H 1
9784 _ACEOF
9785
9786 fi
9787
9788 done
9789
9790
9791
9792
9793
9794 # Set options
9795
9796
9797
9798         enable_dlopen=no
9799
9800
9801
9802             # Check whether --enable-shared was given.
9803 if test "${enable_shared+set}" = set; then :
9804   enableval=$enable_shared; p=${PACKAGE-default}
9805     case $enableval in
9806     yes) enable_shared=yes ;;
9807     no) enable_shared=no ;;
9808     *)
9809       enable_shared=no
9810       # Look at the argument we got.  We use all the common list separators.
9811       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9812       for pkg in $enableval; do
9813         IFS="$lt_save_ifs"
9814         if test "X$pkg" = "X$p"; then
9815           enable_shared=yes
9816         fi
9817       done
9818       IFS="$lt_save_ifs"
9819       ;;
9820     esac
9821 else
9822   enable_shared=yes
9823 fi
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833   # Check whether --enable-static was given.
9834 if test "${enable_static+set}" = set; then :
9835   enableval=$enable_static; p=${PACKAGE-default}
9836     case $enableval in
9837     yes) enable_static=yes ;;
9838     no) enable_static=no ;;
9839     *)
9840      enable_static=no
9841       # Look at the argument we got.  We use all the common list separators.
9842       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9843       for pkg in $enableval; do
9844         IFS="$lt_save_ifs"
9845         if test "X$pkg" = "X$p"; then
9846           enable_static=yes
9847         fi
9848       done
9849       IFS="$lt_save_ifs"
9850       ;;
9851     esac
9852 else
9853   enable_static=yes
9854 fi
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865 # Check whether --with-pic was given.
9866 if test "${with_pic+set}" = set; then :
9867   withval=$with_pic; lt_p=${PACKAGE-default}
9868     case $withval in
9869     yes|no) pic_mode=$withval ;;
9870     *)
9871       pic_mode=default
9872       # Look at the argument we got.  We use all the common list separators.
9873       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9874       for lt_pkg in $withval; do
9875         IFS="$lt_save_ifs"
9876         if test "X$lt_pkg" = "X$lt_p"; then
9877           pic_mode=yes
9878         fi
9879       done
9880       IFS="$lt_save_ifs"
9881       ;;
9882     esac
9883 else
9884   pic_mode=default
9885 fi
9886
9887
9888 test -z "$pic_mode" && pic_mode=default
9889
9890
9891
9892
9893
9894
9895
9896   # Check whether --enable-fast-install was given.
9897 if test "${enable_fast_install+set}" = set; then :
9898   enableval=$enable_fast_install; p=${PACKAGE-default}
9899     case $enableval in
9900     yes) enable_fast_install=yes ;;
9901     no) enable_fast_install=no ;;
9902     *)
9903       enable_fast_install=no
9904       # Look at the argument we got.  We use all the common list separators.
9905       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9906       for pkg in $enableval; do
9907         IFS="$lt_save_ifs"
9908         if test "X$pkg" = "X$p"; then
9909           enable_fast_install=yes
9910         fi
9911       done
9912       IFS="$lt_save_ifs"
9913       ;;
9914     esac
9915 else
9916   enable_fast_install=yes
9917 fi
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929 # This can be used to rebuild libtool when needed
9930 LIBTOOL_DEPS="$ltmain"
9931
9932 # Always use our own libtool.
9933 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964 test -z "$LN_S" && LN_S="ln -s"
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979 if test -n "${ZSH_VERSION+set}" ; then
9980    setopt NO_GLOB_SUBST
9981 fi
9982
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9984 $as_echo_n "checking for objdir... " >&6; }
9985 if ${lt_cv_objdir+:} false; then :
9986   $as_echo_n "(cached) " >&6
9987 else
9988   rm -f .libs 2>/dev/null
9989 mkdir .libs 2>/dev/null
9990 if test -d .libs; then
9991   lt_cv_objdir=.libs
9992 else
9993   # MS-DOS does not allow filenames that begin with a dot.
9994   lt_cv_objdir=_libs
9995 fi
9996 rmdir .libs 2>/dev/null
9997 fi
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9999 $as_echo "$lt_cv_objdir" >&6; }
10000 objdir=$lt_cv_objdir
10001
10002
10003
10004
10005
10006 cat >>confdefs.h <<_ACEOF
10007 #define LT_OBJDIR "$lt_cv_objdir/"
10008 _ACEOF
10009
10010
10011
10012
10013 case $host_os in
10014 aix3*)
10015   # AIX sometimes has problems with the GCC collect2 program.  For some
10016   # reason, if we set the COLLECT_NAMES environment variable, the problems
10017   # vanish in a puff of smoke.
10018   if test "X${COLLECT_NAMES+set}" != Xset; then
10019     COLLECT_NAMES=
10020     export COLLECT_NAMES
10021   fi
10022   ;;
10023 esac
10024
10025 # Global variables:
10026 ofile=libtool
10027 can_build_shared=yes
10028
10029 # All known linkers require a `.a' archive for static linking (except MSVC,
10030 # which needs '.lib').
10031 libext=a
10032
10033 with_gnu_ld="$lt_cv_prog_gnu_ld"
10034
10035 old_CC="$CC"
10036 old_CFLAGS="$CFLAGS"
10037
10038 # Set sane defaults for various variables
10039 test -z "$CC" && CC=cc
10040 test -z "$LTCC" && LTCC=$CC
10041 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10042 test -z "$LD" && LD=ld
10043 test -z "$ac_objext" && ac_objext=o
10044
10045 for cc_temp in $compiler""; do
10046   case $cc_temp in
10047     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10048     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10049     \-*) ;;
10050     *) break;;
10051   esac
10052 done
10053 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10054
10055
10056 # Only perform the check for file, if the check method requires it
10057 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10058 case $deplibs_check_method in
10059 file_magic*)
10060   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10061     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10062 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10063 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10064   $as_echo_n "(cached) " >&6
10065 else
10066   case $MAGIC_CMD in
10067 [\\/*] |  ?:[\\/]*)
10068   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10069   ;;
10070 *)
10071   lt_save_MAGIC_CMD="$MAGIC_CMD"
10072   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10073   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10074   for ac_dir in $ac_dummy; do
10075     IFS="$lt_save_ifs"
10076     test -z "$ac_dir" && ac_dir=.
10077     if test -f $ac_dir/${ac_tool_prefix}file; then
10078       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10079       if test -n "$file_magic_test_file"; then
10080         case $deplibs_check_method in
10081         "file_magic "*)
10082           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10083           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10084           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10085             $EGREP "$file_magic_regex" > /dev/null; then
10086             :
10087           else
10088             cat <<_LT_EOF 1>&2
10089
10090 *** Warning: the command libtool uses to detect shared libraries,
10091 *** $file_magic_cmd, produces output that libtool cannot recognize.
10092 *** The result is that libtool may fail to recognize shared libraries
10093 *** as such.  This will affect the creation of libtool libraries that
10094 *** depend on shared libraries, but programs linked with such libtool
10095 *** libraries will work regardless of this problem.  Nevertheless, you
10096 *** may want to report the problem to your system manager and/or to
10097 *** bug-libtool@gnu.org
10098
10099 _LT_EOF
10100           fi ;;
10101         esac
10102       fi
10103       break
10104     fi
10105   done
10106   IFS="$lt_save_ifs"
10107   MAGIC_CMD="$lt_save_MAGIC_CMD"
10108   ;;
10109 esac
10110 fi
10111
10112 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10113 if test -n "$MAGIC_CMD"; then
10114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10115 $as_echo "$MAGIC_CMD" >&6; }
10116 else
10117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10118 $as_echo "no" >&6; }
10119 fi
10120
10121
10122
10123
10124
10125 if test -z "$lt_cv_path_MAGIC_CMD"; then
10126   if test -n "$ac_tool_prefix"; then
10127     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10128 $as_echo_n "checking for file... " >&6; }
10129 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10130   $as_echo_n "(cached) " >&6
10131 else
10132   case $MAGIC_CMD in
10133 [\\/*] |  ?:[\\/]*)
10134   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10135   ;;
10136 *)
10137   lt_save_MAGIC_CMD="$MAGIC_CMD"
10138   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10139   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10140   for ac_dir in $ac_dummy; do
10141     IFS="$lt_save_ifs"
10142     test -z "$ac_dir" && ac_dir=.
10143     if test -f $ac_dir/file; then
10144       lt_cv_path_MAGIC_CMD="$ac_dir/file"
10145       if test -n "$file_magic_test_file"; then
10146         case $deplibs_check_method in
10147         "file_magic "*)
10148           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10149           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10150           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10151             $EGREP "$file_magic_regex" > /dev/null; then
10152             :
10153           else
10154             cat <<_LT_EOF 1>&2
10155
10156 *** Warning: the command libtool uses to detect shared libraries,
10157 *** $file_magic_cmd, produces output that libtool cannot recognize.
10158 *** The result is that libtool may fail to recognize shared libraries
10159 *** as such.  This will affect the creation of libtool libraries that
10160 *** depend on shared libraries, but programs linked with such libtool
10161 *** libraries will work regardless of this problem.  Nevertheless, you
10162 *** may want to report the problem to your system manager and/or to
10163 *** bug-libtool@gnu.org
10164
10165 _LT_EOF
10166           fi ;;
10167         esac
10168       fi
10169       break
10170     fi
10171   done
10172   IFS="$lt_save_ifs"
10173   MAGIC_CMD="$lt_save_MAGIC_CMD"
10174   ;;
10175 esac
10176 fi
10177
10178 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10179 if test -n "$MAGIC_CMD"; then
10180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10181 $as_echo "$MAGIC_CMD" >&6; }
10182 else
10183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 $as_echo "no" >&6; }
10185 fi
10186
10187
10188   else
10189     MAGIC_CMD=:
10190   fi
10191 fi
10192
10193   fi
10194   ;;
10195 esac
10196
10197 # Use C for the default configuration in the libtool script
10198
10199 lt_save_CC="$CC"
10200 ac_ext=c
10201 ac_cpp='$CPP $CPPFLAGS'
10202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10205
10206
10207 # Source file extension for C test sources.
10208 ac_ext=c
10209
10210 # Object file extension for compiled C test sources.
10211 objext=o
10212 objext=$objext
10213
10214 # Code to be used in simple compile tests
10215 lt_simple_compile_test_code="int some_variable = 0;"
10216
10217 # Code to be used in simple link tests
10218 lt_simple_link_test_code='int main(){return(0);}'
10219
10220
10221
10222
10223
10224
10225
10226 # If no C compiler was specified, use CC.
10227 LTCC=${LTCC-"$CC"}
10228
10229 # If no C compiler flags were specified, use CFLAGS.
10230 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10231
10232 # Allow CC to be a program name with arguments.
10233 compiler=$CC
10234
10235 # Save the default compiler, since it gets overwritten when the other
10236 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10237 compiler_DEFAULT=$CC
10238
10239 # save warnings/boilerplate of simple test code
10240 ac_outfile=conftest.$ac_objext
10241 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10242 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10243 _lt_compiler_boilerplate=`cat conftest.err`
10244 $RM conftest*
10245
10246 ac_outfile=conftest.$ac_objext
10247 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10248 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10249 _lt_linker_boilerplate=`cat conftest.err`
10250 $RM -r conftest*
10251
10252
10253 if test -n "$compiler"; then
10254
10255 lt_prog_compiler_no_builtin_flag=
10256
10257 if test "$GCC" = yes; then
10258   case $cc_basename in
10259   nvcc*)
10260     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10261   *)
10262     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10263   esac
10264
10265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10266 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10267 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10268   $as_echo_n "(cached) " >&6
10269 else
10270   lt_cv_prog_compiler_rtti_exceptions=no
10271    ac_outfile=conftest.$ac_objext
10272    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10273    lt_compiler_flag="-fno-rtti -fno-exceptions"
10274    # Insert the option either (1) after the last *FLAGS variable, or
10275    # (2) before a word containing "conftest.", or (3) at the end.
10276    # Note that $ac_compile itself does not contain backslashes and begins
10277    # with a dollar sign (not a hyphen), so the echo should work correctly.
10278    # The option is referenced via a variable to avoid confusing sed.
10279    lt_compile=`echo "$ac_compile" | $SED \
10280    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10281    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10282    -e 's:$: $lt_compiler_flag:'`
10283    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10284    (eval "$lt_compile" 2>conftest.err)
10285    ac_status=$?
10286    cat conftest.err >&5
10287    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10288    if (exit $ac_status) && test -s "$ac_outfile"; then
10289      # The compiler can only warn and ignore the option if not recognized
10290      # So say no if there are warnings other than the usual output.
10291      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10292      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10293      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10294        lt_cv_prog_compiler_rtti_exceptions=yes
10295      fi
10296    fi
10297    $RM conftest*
10298
10299 fi
10300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10301 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10302
10303 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10304     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10305 else
10306     :
10307 fi
10308
10309 fi
10310
10311
10312
10313
10314
10315
10316   lt_prog_compiler_wl=
10317 lt_prog_compiler_pic=
10318 lt_prog_compiler_static=
10319
10320
10321   if test "$GCC" = yes; then
10322     lt_prog_compiler_wl='-Wl,'
10323     lt_prog_compiler_static='-static'
10324
10325     case $host_os in
10326       aix*)
10327       # All AIX code is PIC.
10328       if test "$host_cpu" = ia64; then
10329         # AIX 5 now supports IA64 processor
10330         lt_prog_compiler_static='-Bstatic'
10331       fi
10332       ;;
10333
10334     amigaos*)
10335       case $host_cpu in
10336       powerpc)
10337             # see comment about AmigaOS4 .so support
10338             lt_prog_compiler_pic='-fPIC'
10339         ;;
10340       m68k)
10341             # FIXME: we need at least 68020 code to build shared libraries, but
10342             # adding the `-m68020' flag to GCC prevents building anything better,
10343             # like `-m68040'.
10344             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10345         ;;
10346       esac
10347       ;;
10348
10349     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10350       # PIC is the default for these OSes.
10351       ;;
10352
10353     mingw* | cygwin* | pw32* | os2* | cegcc*)
10354       # This hack is so that the source file can tell whether it is being
10355       # built for inclusion in a dll (and should export symbols for example).
10356       # Although the cygwin gcc ignores -fPIC, still need this for old-style
10357       # (--disable-auto-import) libraries
10358       lt_prog_compiler_pic='-DDLL_EXPORT'
10359       ;;
10360
10361     darwin* | rhapsody*)
10362       # PIC is the default on this platform
10363       # Common symbols not allowed in MH_DYLIB files
10364       lt_prog_compiler_pic='-fno-common'
10365       ;;
10366
10367     haiku*)
10368       # PIC is the default for Haiku.
10369       # The "-static" flag exists, but is broken.
10370       lt_prog_compiler_static=
10371       ;;
10372
10373     hpux*)
10374       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10375       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10376       # sets the default TLS model and affects inlining.
10377       case $host_cpu in
10378       hppa*64*)
10379         # +Z the default
10380         ;;
10381       *)
10382         lt_prog_compiler_pic='-fPIC'
10383         ;;
10384       esac
10385       ;;
10386
10387     interix[3-9]*)
10388       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10389       # Instead, we relocate shared libraries at runtime.
10390       ;;
10391
10392     msdosdjgpp*)
10393       # Just because we use GCC doesn't mean we suddenly get shared libraries
10394       # on systems that don't support them.
10395       lt_prog_compiler_can_build_shared=no
10396       enable_shared=no
10397       ;;
10398
10399     *nto* | *qnx*)
10400       # QNX uses GNU C++, but need to define -shared option too, otherwise
10401       # it will coredump.
10402       lt_prog_compiler_pic='-fPIC -shared'
10403       ;;
10404
10405     sysv4*MP*)
10406       if test -d /usr/nec; then
10407         lt_prog_compiler_pic=-Kconform_pic
10408       fi
10409       ;;
10410
10411     *)
10412       lt_prog_compiler_pic='-fPIC'
10413       ;;
10414     esac
10415
10416     case $cc_basename in
10417     nvcc*) # Cuda Compiler Driver 2.2
10418       lt_prog_compiler_wl='-Xlinker '
10419       if test -n "$lt_prog_compiler_pic"; then
10420         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10421       fi
10422       ;;
10423     esac
10424   else
10425     # PORTME Check for flag to pass linker flags through the system compiler.
10426     case $host_os in
10427     aix*)
10428       lt_prog_compiler_wl='-Wl,'
10429       if test "$host_cpu" = ia64; then
10430         # AIX 5 now supports IA64 processor
10431         lt_prog_compiler_static='-Bstatic'
10432       else
10433         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10434       fi
10435       ;;
10436
10437     mingw* | cygwin* | pw32* | os2* | cegcc*)
10438       # This hack is so that the source file can tell whether it is being
10439       # built for inclusion in a dll (and should export symbols for example).
10440       lt_prog_compiler_pic='-DDLL_EXPORT'
10441       ;;
10442
10443     hpux9* | hpux10* | hpux11*)
10444       lt_prog_compiler_wl='-Wl,'
10445       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10446       # not for PA HP-UX.
10447       case $host_cpu in
10448       hppa*64*|ia64*)
10449         # +Z the default
10450         ;;
10451       *)
10452         lt_prog_compiler_pic='+Z'
10453         ;;
10454       esac
10455       # Is there a better lt_prog_compiler_static that works with the bundled CC?
10456       lt_prog_compiler_static='${wl}-a ${wl}archive'
10457       ;;
10458
10459     irix5* | irix6* | nonstopux*)
10460       lt_prog_compiler_wl='-Wl,'
10461       # PIC (with -KPIC) is the default.
10462       lt_prog_compiler_static='-non_shared'
10463       ;;
10464
10465     linux* | k*bsd*-gnu | kopensolaris*-gnu)
10466       case $cc_basename in
10467       # old Intel for x86_64 which still supported -KPIC.
10468       ecc*)
10469         lt_prog_compiler_wl='-Wl,'
10470         lt_prog_compiler_pic='-KPIC'
10471         lt_prog_compiler_static='-static'
10472         ;;
10473       # icc used to be incompatible with GCC.
10474       # ICC 10 doesn't accept -KPIC any more.
10475       icc* | ifort*)
10476         lt_prog_compiler_wl='-Wl,'
10477         lt_prog_compiler_pic='-fPIC'
10478         lt_prog_compiler_static='-static'
10479         ;;
10480       # Lahey Fortran 8.1.
10481       lf95*)
10482         lt_prog_compiler_wl='-Wl,'
10483         lt_prog_compiler_pic='--shared'
10484         lt_prog_compiler_static='--static'
10485         ;;
10486       nagfor*)
10487         # NAG Fortran compiler
10488         lt_prog_compiler_wl='-Wl,-Wl,,'
10489         lt_prog_compiler_pic='-PIC'
10490         lt_prog_compiler_static='-Bstatic'
10491         ;;
10492       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10493         # Portland Group compilers (*not* the Pentium gcc compiler,
10494         # which looks to be a dead project)
10495         lt_prog_compiler_wl='-Wl,'
10496         lt_prog_compiler_pic='-fpic'
10497         lt_prog_compiler_static='-Bstatic'
10498         ;;
10499       ccc*)
10500         lt_prog_compiler_wl='-Wl,'
10501         # All Alpha code is PIC.
10502         lt_prog_compiler_static='-non_shared'
10503         ;;
10504       xl* | bgxl* | bgf* | mpixl*)
10505         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10506         lt_prog_compiler_wl='-Wl,'
10507         lt_prog_compiler_pic='-qpic'
10508         lt_prog_compiler_static='-qstaticlink'
10509         ;;
10510       *)
10511         case `$CC -V 2>&1 | sed 5q` in
10512         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10513           # Sun Fortran 8.3 passes all unrecognized flags to the linker
10514           lt_prog_compiler_pic='-KPIC'
10515           lt_prog_compiler_static='-Bstatic'
10516           lt_prog_compiler_wl=''
10517           ;;
10518         *Sun\ F* | *Sun*Fortran*)
10519           lt_prog_compiler_pic='-KPIC'
10520           lt_prog_compiler_static='-Bstatic'
10521           lt_prog_compiler_wl='-Qoption ld '
10522           ;;
10523         *Sun\ C*)
10524           # Sun C 5.9
10525           lt_prog_compiler_pic='-KPIC'
10526           lt_prog_compiler_static='-Bstatic'
10527           lt_prog_compiler_wl='-Wl,'
10528           ;;
10529         *Intel*\ [CF]*Compiler*)
10530           lt_prog_compiler_wl='-Wl,'
10531           lt_prog_compiler_pic='-fPIC'
10532           lt_prog_compiler_static='-static'
10533           ;;
10534         *Portland\ Group*)
10535           lt_prog_compiler_wl='-Wl,'
10536           lt_prog_compiler_pic='-fpic'
10537           lt_prog_compiler_static='-Bstatic'
10538           ;;
10539         esac
10540         ;;
10541       esac
10542       ;;
10543
10544     newsos6)
10545       lt_prog_compiler_pic='-KPIC'
10546       lt_prog_compiler_static='-Bstatic'
10547       ;;
10548
10549     *nto* | *qnx*)
10550       # QNX uses GNU C++, but need to define -shared option too, otherwise
10551       # it will coredump.
10552       lt_prog_compiler_pic='-fPIC -shared'
10553       ;;
10554
10555     osf3* | osf4* | osf5*)
10556       lt_prog_compiler_wl='-Wl,'
10557       # All OSF/1 code is PIC.
10558       lt_prog_compiler_static='-non_shared'
10559       ;;
10560
10561     rdos*)
10562       lt_prog_compiler_static='-non_shared'
10563       ;;
10564
10565     solaris*)
10566       lt_prog_compiler_pic='-KPIC'
10567       lt_prog_compiler_static='-Bstatic'
10568       case $cc_basename in
10569       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10570         lt_prog_compiler_wl='-Qoption ld ';;
10571       *)
10572         lt_prog_compiler_wl='-Wl,';;
10573       esac
10574       ;;
10575
10576     sunos4*)
10577       lt_prog_compiler_wl='-Qoption ld '
10578       lt_prog_compiler_pic='-PIC'
10579       lt_prog_compiler_static='-Bstatic'
10580       ;;
10581
10582     sysv4 | sysv4.2uw2* | sysv4.3*)
10583       lt_prog_compiler_wl='-Wl,'
10584       lt_prog_compiler_pic='-KPIC'
10585       lt_prog_compiler_static='-Bstatic'
10586       ;;
10587
10588     sysv4*MP*)
10589       if test -d /usr/nec ;then
10590         lt_prog_compiler_pic='-Kconform_pic'
10591         lt_prog_compiler_static='-Bstatic'
10592       fi
10593       ;;
10594
10595     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10596       lt_prog_compiler_wl='-Wl,'
10597       lt_prog_compiler_pic='-KPIC'
10598       lt_prog_compiler_static='-Bstatic'
10599       ;;
10600
10601     unicos*)
10602       lt_prog_compiler_wl='-Wl,'
10603       lt_prog_compiler_can_build_shared=no
10604       ;;
10605
10606     uts4*)
10607       lt_prog_compiler_pic='-pic'
10608       lt_prog_compiler_static='-Bstatic'
10609       ;;
10610
10611     *)
10612       lt_prog_compiler_can_build_shared=no
10613       ;;
10614     esac
10615   fi
10616
10617 case $host_os in
10618   # For platforms which do not support PIC, -DPIC is meaningless:
10619   *djgpp*)
10620     lt_prog_compiler_pic=
10621     ;;
10622   *)
10623     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10624     ;;
10625 esac
10626
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10628 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10629 if ${lt_cv_prog_compiler_pic+:} false; then :
10630   $as_echo_n "(cached) " >&6
10631 else
10632   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10633 fi
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10635 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10636 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10637
10638 #
10639 # Check to make sure the PIC flag actually works.
10640 #
10641 if test -n "$lt_prog_compiler_pic"; then
10642   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10643 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10644 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10645   $as_echo_n "(cached) " >&6
10646 else
10647   lt_cv_prog_compiler_pic_works=no
10648    ac_outfile=conftest.$ac_objext
10649    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10650    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10651    # Insert the option either (1) after the last *FLAGS variable, or
10652    # (2) before a word containing "conftest.", or (3) at the end.
10653    # Note that $ac_compile itself does not contain backslashes and begins
10654    # with a dollar sign (not a hyphen), so the echo should work correctly.
10655    # The option is referenced via a variable to avoid confusing sed.
10656    lt_compile=`echo "$ac_compile" | $SED \
10657    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10658    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10659    -e 's:$: $lt_compiler_flag:'`
10660    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10661    (eval "$lt_compile" 2>conftest.err)
10662    ac_status=$?
10663    cat conftest.err >&5
10664    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10665    if (exit $ac_status) && test -s "$ac_outfile"; then
10666      # The compiler can only warn and ignore the option if not recognized
10667      # So say no if there are warnings other than the usual output.
10668      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10669      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10670      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10671        lt_cv_prog_compiler_pic_works=yes
10672      fi
10673    fi
10674    $RM conftest*
10675
10676 fi
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10678 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10679
10680 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10681     case $lt_prog_compiler_pic in
10682      "" | " "*) ;;
10683      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10684      esac
10685 else
10686     lt_prog_compiler_pic=
10687      lt_prog_compiler_can_build_shared=no
10688 fi
10689
10690 fi
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702 #
10703 # Check to make sure the static flag actually works.
10704 #
10705 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10707 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10708 if ${lt_cv_prog_compiler_static_works+:} false; then :
10709   $as_echo_n "(cached) " >&6
10710 else
10711   lt_cv_prog_compiler_static_works=no
10712    save_LDFLAGS="$LDFLAGS"
10713    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10714    echo "$lt_simple_link_test_code" > conftest.$ac_ext
10715    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10716      # The linker can only warn and ignore the option if not recognized
10717      # So say no if there are warnings
10718      if test -s conftest.err; then
10719        # Append any errors to the config.log.
10720        cat conftest.err 1>&5
10721        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10722        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10723        if diff conftest.exp conftest.er2 >/dev/null; then
10724          lt_cv_prog_compiler_static_works=yes
10725        fi
10726      else
10727        lt_cv_prog_compiler_static_works=yes
10728      fi
10729    fi
10730    $RM -r conftest*
10731    LDFLAGS="$save_LDFLAGS"
10732
10733 fi
10734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10735 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10736
10737 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10738     :
10739 else
10740     lt_prog_compiler_static=
10741 fi
10742
10743
10744
10745
10746
10747
10748
10749   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10750 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10751 if ${lt_cv_prog_compiler_c_o+:} false; then :
10752   $as_echo_n "(cached) " >&6
10753 else
10754   lt_cv_prog_compiler_c_o=no
10755    $RM -r conftest 2>/dev/null
10756    mkdir conftest
10757    cd conftest
10758    mkdir out
10759    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10760
10761    lt_compiler_flag="-o out/conftest2.$ac_objext"
10762    # Insert the option either (1) after the last *FLAGS variable, or
10763    # (2) before a word containing "conftest.", or (3) at the end.
10764    # Note that $ac_compile itself does not contain backslashes and begins
10765    # with a dollar sign (not a hyphen), so the echo should work correctly.
10766    lt_compile=`echo "$ac_compile" | $SED \
10767    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10768    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10769    -e 's:$: $lt_compiler_flag:'`
10770    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10771    (eval "$lt_compile" 2>out/conftest.err)
10772    ac_status=$?
10773    cat out/conftest.err >&5
10774    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10775    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10776    then
10777      # The compiler can only warn and ignore the option if not recognized
10778      # So say no if there are warnings
10779      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10780      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10781      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10782        lt_cv_prog_compiler_c_o=yes
10783      fi
10784    fi
10785    chmod u+w . 2>&5
10786    $RM conftest*
10787    # SGI C++ compiler will create directory out/ii_files/ for
10788    # template instantiation
10789    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10790    $RM out/* && rmdir out
10791    cd ..
10792    $RM -r conftest
10793    $RM conftest*
10794
10795 fi
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10797 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10798
10799
10800
10801
10802
10803
10804   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10805 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10806 if ${lt_cv_prog_compiler_c_o+:} false; then :
10807   $as_echo_n "(cached) " >&6
10808 else
10809   lt_cv_prog_compiler_c_o=no
10810    $RM -r conftest 2>/dev/null
10811    mkdir conftest
10812    cd conftest
10813    mkdir out
10814    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10815
10816    lt_compiler_flag="-o out/conftest2.$ac_objext"
10817    # Insert the option either (1) after the last *FLAGS variable, or
10818    # (2) before a word containing "conftest.", or (3) at the end.
10819    # Note that $ac_compile itself does not contain backslashes and begins
10820    # with a dollar sign (not a hyphen), so the echo should work correctly.
10821    lt_compile=`echo "$ac_compile" | $SED \
10822    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10823    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10824    -e 's:$: $lt_compiler_flag:'`
10825    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10826    (eval "$lt_compile" 2>out/conftest.err)
10827    ac_status=$?
10828    cat out/conftest.err >&5
10829    echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10831    then
10832      # The compiler can only warn and ignore the option if not recognized
10833      # So say no if there are warnings
10834      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10835      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10836      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10837        lt_cv_prog_compiler_c_o=yes
10838      fi
10839    fi
10840    chmod u+w . 2>&5
10841    $RM conftest*
10842    # SGI C++ compiler will create directory out/ii_files/ for
10843    # template instantiation
10844    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10845    $RM out/* && rmdir out
10846    cd ..
10847    $RM -r conftest
10848    $RM conftest*
10849
10850 fi
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10852 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10853
10854
10855
10856
10857 hard_links="nottested"
10858 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10859   # do not overwrite the value of need_locks provided by the user
10860   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10861 $as_echo_n "checking if we can lock with hard links... " >&6; }
10862   hard_links=yes
10863   $RM conftest*
10864   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10865   touch conftest.a
10866   ln conftest.a conftest.b 2>&5 || hard_links=no
10867   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10869 $as_echo "$hard_links" >&6; }
10870   if test "$hard_links" = no; then
10871     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10872 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10873     need_locks=warn
10874   fi
10875 else
10876   need_locks=no
10877 fi
10878
10879
10880
10881
10882
10883
10884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10885 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10886
10887   runpath_var=
10888   allow_undefined_flag=
10889   always_export_symbols=no
10890   archive_cmds=
10891   archive_expsym_cmds=
10892   compiler_needs_object=no
10893   enable_shared_with_static_runtimes=no
10894   export_dynamic_flag_spec=
10895   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10896   hardcode_automatic=no
10897   hardcode_direct=no
10898   hardcode_direct_absolute=no
10899   hardcode_libdir_flag_spec=
10900   hardcode_libdir_separator=
10901   hardcode_minus_L=no
10902   hardcode_shlibpath_var=unsupported
10903   inherit_rpath=no
10904   link_all_deplibs=unknown
10905   module_cmds=
10906   module_expsym_cmds=
10907   old_archive_from_new_cmds=
10908   old_archive_from_expsyms_cmds=
10909   thread_safe_flag_spec=
10910   whole_archive_flag_spec=
10911   # include_expsyms should be a list of space-separated symbols to be *always*
10912   # included in the symbol list
10913   include_expsyms=
10914   # exclude_expsyms can be an extended regexp of symbols to exclude
10915   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10916   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10917   # as well as any symbol that contains `d'.
10918   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10919   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10920   # platforms (ab)use it in PIC code, but their linkers get confused if
10921   # the symbol is explicitly referenced.  Since portable code cannot
10922   # rely on this symbol name, it's probably fine to never include it in
10923   # preloaded symbol tables.
10924   # Exclude shared library initialization/finalization symbols.
10925   extract_expsyms_cmds=
10926
10927   case $host_os in
10928   cygwin* | mingw* | pw32* | cegcc*)
10929     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10930     # When not using gcc, we currently assume that we are using
10931     # Microsoft Visual C++.
10932     if test "$GCC" != yes; then
10933       with_gnu_ld=no
10934     fi
10935     ;;
10936   interix*)
10937     # we just hope/assume this is gcc and not c89 (= MSVC++)
10938     with_gnu_ld=yes
10939     ;;
10940   openbsd*)
10941     with_gnu_ld=no
10942     ;;
10943   esac
10944
10945   ld_shlibs=yes
10946
10947   # On some targets, GNU ld is compatible enough with the native linker
10948   # that we're better off using the native interface for both.
10949   lt_use_gnu_ld_interface=no
10950   if test "$with_gnu_ld" = yes; then
10951     case $host_os in
10952       aix*)
10953         # The AIX port of GNU ld has always aspired to compatibility
10954         # with the native linker.  However, as the warning in the GNU ld
10955         # block says, versions before 2.19.5* couldn't really create working
10956         # shared libraries, regardless of the interface used.
10957         case `$LD -v 2>&1` in
10958           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10959           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10960           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10961           *)
10962             lt_use_gnu_ld_interface=yes
10963             ;;
10964         esac
10965         ;;
10966       *)
10967         lt_use_gnu_ld_interface=yes
10968         ;;
10969     esac
10970   fi
10971
10972   if test "$lt_use_gnu_ld_interface" = yes; then
10973     # If archive_cmds runs LD, not CC, wlarc should be empty
10974     wlarc='${wl}'
10975
10976     # Set some defaults for GNU ld with shared library support. These
10977     # are reset later if shared libraries are not supported. Putting them
10978     # here allows them to be overridden if necessary.
10979     runpath_var=LD_RUN_PATH
10980     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10981     export_dynamic_flag_spec='${wl}--export-dynamic'
10982     # ancient GNU ld didn't support --whole-archive et. al.
10983     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10984       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10985     else
10986       whole_archive_flag_spec=
10987     fi
10988     supports_anon_versioning=no
10989     case `$LD -v 2>&1` in
10990       *GNU\ gold*) supports_anon_versioning=yes ;;
10991       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10992       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10993       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10994       *\ 2.11.*) ;; # other 2.11 versions
10995       *) supports_anon_versioning=yes ;;
10996     esac
10997
10998     # See if GNU ld supports shared libraries.
10999     case $host_os in
11000     aix[3-9]*)
11001       # On AIX/PPC, the GNU linker is very broken
11002       if test "$host_cpu" != ia64; then
11003         ld_shlibs=no
11004         cat <<_LT_EOF 1>&2
11005
11006 *** Warning: the GNU linker, at least up to release 2.19, is reported
11007 *** to be unable to reliably create shared libraries on AIX.
11008 *** Therefore, libtool is disabling shared libraries support.  If you
11009 *** really care for shared libraries, you may want to install binutils
11010 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11011 *** You will then need to restart the configuration process.
11012
11013 _LT_EOF
11014       fi
11015       ;;
11016
11017     amigaos*)
11018       case $host_cpu in
11019       powerpc)
11020             # see comment about AmigaOS4 .so support
11021             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11022             archive_expsym_cmds=''
11023         ;;
11024       m68k)
11025             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)'
11026             hardcode_libdir_flag_spec='-L$libdir'
11027             hardcode_minus_L=yes
11028         ;;
11029       esac
11030       ;;
11031
11032     beos*)
11033       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11034         allow_undefined_flag=unsupported
11035         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11036         # support --undefined.  This deserves some investigation.  FIXME
11037         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11038       else
11039         ld_shlibs=no
11040       fi
11041       ;;
11042
11043     cygwin* | mingw* | pw32* | cegcc*)
11044       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11045       # as there is no search path for DLLs.
11046       hardcode_libdir_flag_spec='-L$libdir'
11047       export_dynamic_flag_spec='${wl}--export-all-symbols'
11048       allow_undefined_flag=unsupported
11049       always_export_symbols=no
11050       enable_shared_with_static_runtimes=yes
11051       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
11052       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11053
11054       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11055         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11056         # If the export-symbols file already is a .def file (1st line
11057         # is EXPORTS), use it as is; otherwise, prepend...
11058         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11059           cp $export_symbols $output_objdir/$soname.def;
11060         else
11061           echo EXPORTS > $output_objdir/$soname.def;
11062           cat $export_symbols >> $output_objdir/$soname.def;
11063         fi~
11064         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11065       else
11066         ld_shlibs=no
11067       fi
11068       ;;
11069
11070     haiku*)
11071       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11072       link_all_deplibs=yes
11073       ;;
11074
11075     interix[3-9]*)
11076       hardcode_direct=no
11077       hardcode_shlibpath_var=no
11078       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11079       export_dynamic_flag_spec='${wl}-E'
11080       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11081       # Instead, shared libraries are loaded at an image base (0x10000000 by
11082       # default) and relocated if they conflict, which is a slow very memory
11083       # consuming and fragmenting process.  To avoid this, we pick a random,
11084       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11085       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11086       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11087       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'
11088       ;;
11089
11090     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11091       tmp_diet=no
11092       if test "$host_os" = linux-dietlibc; then
11093         case $cc_basename in
11094           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
11095         esac
11096       fi
11097       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11098          && test "$tmp_diet" = no
11099       then
11100         tmp_addflag=' $pic_flag'
11101         tmp_sharedflag='-shared'
11102         case $cc_basename,$host_cpu in
11103         pgcc*)                          # Portland Group C compiler
11104           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11105           tmp_addflag=' $pic_flag'
11106           ;;
11107         pgf77* | pgf90* | pgf95* | pgfortran*)
11108                                         # Portland Group f77 and f90 compilers
11109           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11110           tmp_addflag=' $pic_flag -Mnomain' ;;
11111         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
11112           tmp_addflag=' -i_dynamic' ;;
11113         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
11114           tmp_addflag=' -i_dynamic -nofor_main' ;;
11115         ifc* | ifort*)                  # Intel Fortran compiler
11116           tmp_addflag=' -nofor_main' ;;
11117         lf95*)                          # Lahey Fortran 8.1
11118           whole_archive_flag_spec=
11119           tmp_sharedflag='--shared' ;;
11120         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11121           tmp_sharedflag='-qmkshrobj'
11122           tmp_addflag= ;;
11123         nvcc*)  # Cuda Compiler Driver 2.2
11124           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11125           compiler_needs_object=yes
11126           ;;
11127         esac
11128         case `$CC -V 2>&1 | sed 5q` in
11129         *Sun\ C*)                       # Sun C 5.9
11130           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11131           compiler_needs_object=yes
11132           tmp_sharedflag='-G' ;;
11133         *Sun\ F*)                       # Sun Fortran 8.3
11134           tmp_sharedflag='-G' ;;
11135         esac
11136         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11137
11138         if test "x$supports_anon_versioning" = xyes; then
11139           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11140             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11141             echo "local: *; };" >> $output_objdir/$libname.ver~
11142             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11143         fi
11144
11145         case $cc_basename in
11146         xlf* | bgf* | bgxlf* | mpixlf*)
11147           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11148           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11149           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11150           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11151           if test "x$supports_anon_versioning" = xyes; then
11152             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11153               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11154               echo "local: *; };" >> $output_objdir/$libname.ver~
11155               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11156           fi
11157           ;;
11158         esac
11159       else
11160         ld_shlibs=no
11161       fi
11162       ;;
11163
11164     netbsd*)
11165       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11166         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11167         wlarc=
11168       else
11169         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11170         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11171       fi
11172       ;;
11173
11174     solaris*)
11175       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11176         ld_shlibs=no
11177         cat <<_LT_EOF 1>&2
11178
11179 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11180 *** create shared libraries on Solaris systems.  Therefore, libtool
11181 *** is disabling shared libraries support.  We urge you to upgrade GNU
11182 *** binutils to release 2.9.1 or newer.  Another option is to modify
11183 *** your PATH or compiler configuration so that the native linker is
11184 *** used, and then restart.
11185
11186 _LT_EOF
11187       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11188         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11189         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11190       else
11191         ld_shlibs=no
11192       fi
11193       ;;
11194
11195     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11196       case `$LD -v 2>&1` in
11197         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11198         ld_shlibs=no
11199         cat <<_LT_EOF 1>&2
11200
11201 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11202 *** reliably create shared libraries on SCO systems.  Therefore, libtool
11203 *** is disabling shared libraries support.  We urge you to upgrade GNU
11204 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11205 *** your PATH or compiler configuration so that the native linker is
11206 *** used, and then restart.
11207
11208 _LT_EOF
11209         ;;
11210         *)
11211           # For security reasons, it is highly recommended that you always
11212           # use absolute paths for naming shared libraries, and exclude the
11213           # DT_RUNPATH tag from executables and libraries.  But doing so
11214           # requires that you compile everything twice, which is a pain.
11215           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11216             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11217             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11218             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11219           else
11220             ld_shlibs=no
11221           fi
11222         ;;
11223       esac
11224       ;;
11225
11226     sunos4*)
11227       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11228       wlarc=
11229       hardcode_direct=yes
11230       hardcode_shlibpath_var=no
11231       ;;
11232
11233     *)
11234       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11235         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11236         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11237       else
11238         ld_shlibs=no
11239       fi
11240       ;;
11241     esac
11242
11243     if test "$ld_shlibs" = no; then
11244       runpath_var=
11245       hardcode_libdir_flag_spec=
11246       export_dynamic_flag_spec=
11247       whole_archive_flag_spec=
11248     fi
11249   else
11250     # PORTME fill in a description of your system's linker (not GNU ld)
11251     case $host_os in
11252     aix3*)
11253       allow_undefined_flag=unsupported
11254       always_export_symbols=yes
11255       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'
11256       # Note: this linker hardcodes the directories in LIBPATH if there
11257       # are no directories specified by -L.
11258       hardcode_minus_L=yes
11259       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11260         # Neither direct hardcoding nor static linking is supported with a
11261         # broken collect2.
11262         hardcode_direct=unsupported
11263       fi
11264       ;;
11265
11266     aix[4-9]*)
11267       if test "$host_cpu" = ia64; then
11268         # On IA64, the linker does run time linking by default, so we don't
11269         # have to do anything special.
11270         aix_use_runtimelinking=no
11271         exp_sym_flag='-Bexport'
11272         no_entry_flag=""
11273       else
11274         # If we're using GNU nm, then we don't want the "-C" option.
11275         # -C means demangle to AIX nm, but means don't demangle with GNU nm
11276         # Also, AIX nm treats weak defined symbols like other global
11277         # defined symbols, whereas GNU nm marks them as "W".
11278         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11279           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11280         else
11281           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'
11282         fi
11283         aix_use_runtimelinking=no
11284
11285         # Test if we are trying to use run time linking or normal
11286         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11287         # need to do runtime linking.
11288         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11289           for ld_flag in $LDFLAGS; do
11290           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11291             aix_use_runtimelinking=yes
11292             break
11293           fi
11294           done
11295           ;;
11296         esac
11297
11298         exp_sym_flag='-bexport'
11299         no_entry_flag='-bnoentry'
11300       fi
11301
11302       # When large executables or shared objects are built, AIX ld can
11303       # have problems creating the table of contents.  If linking a library
11304       # or program results in "error TOC overflow" add -mminimal-toc to
11305       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11306       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11307
11308       archive_cmds=''
11309       hardcode_direct=yes
11310       hardcode_direct_absolute=yes
11311       hardcode_libdir_separator=':'
11312       link_all_deplibs=yes
11313       file_list_spec='${wl}-f,'
11314
11315       if test "$GCC" = yes; then
11316         case $host_os in aix4.[012]|aix4.[012].*)
11317         # We only want to do this on AIX 4.2 and lower, the check
11318         # below for broken collect2 doesn't work under 4.3+
11319           collect2name=`${CC} -print-prog-name=collect2`
11320           if test -f "$collect2name" &&
11321            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11322           then
11323           # We have reworked collect2
11324           :
11325           else
11326           # We have old collect2
11327           hardcode_direct=unsupported
11328           # It fails to find uninstalled libraries when the uninstalled
11329           # path is not listed in the libpath.  Setting hardcode_minus_L
11330           # to unsupported forces relinking
11331           hardcode_minus_L=yes
11332           hardcode_libdir_flag_spec='-L$libdir'
11333           hardcode_libdir_separator=
11334           fi
11335           ;;
11336         esac
11337         shared_flag='-shared'
11338         if test "$aix_use_runtimelinking" = yes; then
11339           shared_flag="$shared_flag "'${wl}-G'
11340         fi
11341       else
11342         # not using gcc
11343         if test "$host_cpu" = ia64; then
11344         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11345         # chokes on -Wl,-G. The following line is correct:
11346           shared_flag='-G'
11347         else
11348           if test "$aix_use_runtimelinking" = yes; then
11349             shared_flag='${wl}-G'
11350           else
11351             shared_flag='${wl}-bM:SRE'
11352           fi
11353         fi
11354       fi
11355
11356       export_dynamic_flag_spec='${wl}-bexpall'
11357       # It seems that -bexpall does not export symbols beginning with
11358       # underscore (_), so it is better to generate a list of symbols to export.
11359       always_export_symbols=yes
11360       if test "$aix_use_runtimelinking" = yes; then
11361         # Warning - without using the other runtime loading flags (-brtl),
11362         # -berok will link without error, but may produce a broken library.
11363         allow_undefined_flag='-berok'
11364         # Determine the default libpath from the value encoded in an
11365         # empty executable.
11366         if test "${lt_cv_aix_libpath+set}" = set; then
11367   aix_libpath=$lt_cv_aix_libpath
11368 else
11369   if ${lt_cv_aix_libpath_+:} false; then :
11370   $as_echo_n "(cached) " >&6
11371 else
11372   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11373 /* end confdefs.h.  */
11374
11375 int
11376 main ()
11377 {
11378
11379   ;
11380   return 0;
11381 }
11382 _ACEOF
11383 if ac_fn_c_try_link "$LINENO"; then :
11384
11385   lt_aix_libpath_sed='
11386       /Import File Strings/,/^$/ {
11387           /^0/ {
11388               s/^0  *\([^ ]*\) *$/\1/
11389               p
11390           }
11391       }'
11392   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11393   # Check for a 64-bit object if we didn't find anything.
11394   if test -z "$lt_cv_aix_libpath_"; then
11395     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11396   fi
11397 fi
11398 rm -f core conftest.err conftest.$ac_objext \
11399     conftest$ac_exeext conftest.$ac_ext
11400   if test -z "$lt_cv_aix_libpath_"; then
11401     lt_cv_aix_libpath_="/usr/lib:/lib"
11402   fi
11403
11404 fi
11405
11406   aix_libpath=$lt_cv_aix_libpath_
11407 fi
11408
11409         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11410         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11411       else
11412         if test "$host_cpu" = ia64; then
11413           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11414           allow_undefined_flag="-z nodefs"
11415           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"
11416         else
11417          # Determine the default libpath from the value encoded in an
11418          # empty executable.
11419          if test "${lt_cv_aix_libpath+set}" = set; then
11420   aix_libpath=$lt_cv_aix_libpath
11421 else
11422   if ${lt_cv_aix_libpath_+:} false; then :
11423   $as_echo_n "(cached) " >&6
11424 else
11425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h.  */
11427
11428 int
11429 main ()
11430 {
11431
11432   ;
11433   return 0;
11434 }
11435 _ACEOF
11436 if ac_fn_c_try_link "$LINENO"; then :
11437
11438   lt_aix_libpath_sed='
11439       /Import File Strings/,/^$/ {
11440           /^0/ {
11441               s/^0  *\([^ ]*\) *$/\1/
11442               p
11443           }
11444       }'
11445   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11446   # Check for a 64-bit object if we didn't find anything.
11447   if test -z "$lt_cv_aix_libpath_"; then
11448     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11449   fi
11450 fi
11451 rm -f core conftest.err conftest.$ac_objext \
11452     conftest$ac_exeext conftest.$ac_ext
11453   if test -z "$lt_cv_aix_libpath_"; then
11454     lt_cv_aix_libpath_="/usr/lib:/lib"
11455   fi
11456
11457 fi
11458
11459   aix_libpath=$lt_cv_aix_libpath_
11460 fi
11461
11462          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11463           # Warning - without using the other run time loading flags,
11464           # -berok will link without error, but may produce a broken library.
11465           no_undefined_flag=' ${wl}-bernotok'
11466           allow_undefined_flag=' ${wl}-berok'
11467           if test "$with_gnu_ld" = yes; then
11468             # We only use this code for GNU lds that support --whole-archive.
11469             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11470           else
11471             # Exported symbols can be pulled into shared objects from archives
11472             whole_archive_flag_spec='$convenience'
11473           fi
11474           archive_cmds_need_lc=yes
11475           # This is similar to how AIX traditionally builds its shared libraries.
11476           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'
11477         fi
11478       fi
11479       ;;
11480
11481     amigaos*)
11482       case $host_cpu in
11483       powerpc)
11484             # see comment about AmigaOS4 .so support
11485             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11486             archive_expsym_cmds=''
11487         ;;
11488       m68k)
11489             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)'
11490             hardcode_libdir_flag_spec='-L$libdir'
11491             hardcode_minus_L=yes
11492         ;;
11493       esac
11494       ;;
11495
11496     bsdi[45]*)
11497       export_dynamic_flag_spec=-rdynamic
11498       ;;
11499
11500     cygwin* | mingw* | pw32* | cegcc*)
11501       # When not using gcc, we currently assume that we are using
11502       # Microsoft Visual C++.
11503       # hardcode_libdir_flag_spec is actually meaningless, as there is
11504       # no search path for DLLs.
11505       case $cc_basename in
11506       cl*)
11507         # Native MSVC
11508         hardcode_libdir_flag_spec=' '
11509         allow_undefined_flag=unsupported
11510         always_export_symbols=yes
11511         file_list_spec='@'
11512         # Tell ltmain to make .lib files, not .a files.
11513         libext=lib
11514         # Tell ltmain to make .dll files, not .so files.
11515         shrext_cmds=".dll"
11516         # FIXME: Setting linknames here is a bad hack.
11517         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11518         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11519             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11520           else
11521             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11522           fi~
11523           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11524           linknames='
11525         # The linker will not automatically build a static lib if we build a DLL.
11526         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11527         enable_shared_with_static_runtimes=yes
11528         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11529         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11530         # Don't use ranlib
11531         old_postinstall_cmds='chmod 644 $oldlib'
11532         postlink_cmds='lt_outputfile="@OUTPUT@"~
11533           lt_tool_outputfile="@TOOL_OUTPUT@"~
11534           case $lt_outputfile in
11535             *.exe|*.EXE) ;;
11536             *)
11537               lt_outputfile="$lt_outputfile.exe"
11538               lt_tool_outputfile="$lt_tool_outputfile.exe"
11539               ;;
11540           esac~
11541           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11542             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11543             $RM "$lt_outputfile.manifest";
11544           fi'
11545         ;;
11546       *)
11547         # Assume MSVC wrapper
11548         hardcode_libdir_flag_spec=' '
11549         allow_undefined_flag=unsupported
11550         # Tell ltmain to make .lib files, not .a files.
11551         libext=lib
11552         # Tell ltmain to make .dll files, not .so files.
11553         shrext_cmds=".dll"
11554         # FIXME: Setting linknames here is a bad hack.
11555         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11556         # The linker will automatically build a .lib file if we build a DLL.
11557         old_archive_from_new_cmds='true'
11558         # FIXME: Should let the user specify the lib program.
11559         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11560         enable_shared_with_static_runtimes=yes
11561         ;;
11562       esac
11563       ;;
11564
11565     darwin* | rhapsody*)
11566
11567
11568   archive_cmds_need_lc=no
11569   hardcode_direct=no
11570   hardcode_automatic=yes
11571   hardcode_shlibpath_var=unsupported
11572   if test "$lt_cv_ld_force_load" = "yes"; then
11573     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11574
11575   else
11576     whole_archive_flag_spec=''
11577   fi
11578   link_all_deplibs=yes
11579   allow_undefined_flag="$_lt_dar_allow_undefined"
11580   case $cc_basename in
11581      ifort*) _lt_dar_can_shared=yes ;;
11582      *) _lt_dar_can_shared=$GCC ;;
11583   esac
11584   if test "$_lt_dar_can_shared" = "yes"; then
11585     output_verbose_link_cmd=func_echo_all
11586     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11587     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11588     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}"
11589     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}"
11590
11591   else
11592   ld_shlibs=no
11593   fi
11594
11595       ;;
11596
11597     dgux*)
11598       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11599       hardcode_libdir_flag_spec='-L$libdir'
11600       hardcode_shlibpath_var=no
11601       ;;
11602
11603     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11604     # support.  Future versions do this automatically, but an explicit c++rt0.o
11605     # does not break anything, and helps significantly (at the cost of a little
11606     # extra space).
11607     freebsd2.2*)
11608       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11609       hardcode_libdir_flag_spec='-R$libdir'
11610       hardcode_direct=yes
11611       hardcode_shlibpath_var=no
11612       ;;
11613
11614     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11615     freebsd2.*)
11616       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11617       hardcode_direct=yes
11618       hardcode_minus_L=yes
11619       hardcode_shlibpath_var=no
11620       ;;
11621
11622     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11623     freebsd* | dragonfly*)
11624       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11625       hardcode_libdir_flag_spec='-R$libdir'
11626       hardcode_direct=yes
11627       hardcode_shlibpath_var=no
11628       ;;
11629
11630     hpux9*)
11631       if test "$GCC" = yes; then
11632         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11633       else
11634         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'
11635       fi
11636       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11637       hardcode_libdir_separator=:
11638       hardcode_direct=yes
11639
11640       # hardcode_minus_L: Not really in the search PATH,
11641       # but as the default location of the library.
11642       hardcode_minus_L=yes
11643       export_dynamic_flag_spec='${wl}-E'
11644       ;;
11645
11646     hpux10*)
11647       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11648         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11649       else
11650         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11651       fi
11652       if test "$with_gnu_ld" = no; then
11653         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11654         hardcode_libdir_separator=:
11655         hardcode_direct=yes
11656         hardcode_direct_absolute=yes
11657         export_dynamic_flag_spec='${wl}-E'
11658         # hardcode_minus_L: Not really in the search PATH,
11659         # but as the default location of the library.
11660         hardcode_minus_L=yes
11661       fi
11662       ;;
11663
11664     hpux11*)
11665       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11666         case $host_cpu in
11667         hppa*64*)
11668           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11669           ;;
11670         ia64*)
11671           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11672           ;;
11673         *)
11674           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11675           ;;
11676         esac
11677       else
11678         case $host_cpu in
11679         hppa*64*)
11680           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11681           ;;
11682         ia64*)
11683           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11684           ;;
11685         *)
11686
11687           # Older versions of the 11.00 compiler do not understand -b yet
11688           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11689           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11690 $as_echo_n "checking if $CC understands -b... " >&6; }
11691 if ${lt_cv_prog_compiler__b+:} false; then :
11692   $as_echo_n "(cached) " >&6
11693 else
11694   lt_cv_prog_compiler__b=no
11695    save_LDFLAGS="$LDFLAGS"
11696    LDFLAGS="$LDFLAGS -b"
11697    echo "$lt_simple_link_test_code" > conftest.$ac_ext
11698    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11699      # The linker can only warn and ignore the option if not recognized
11700      # So say no if there are warnings
11701      if test -s conftest.err; then
11702        # Append any errors to the config.log.
11703        cat conftest.err 1>&5
11704        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11705        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11706        if diff conftest.exp conftest.er2 >/dev/null; then
11707          lt_cv_prog_compiler__b=yes
11708        fi
11709      else
11710        lt_cv_prog_compiler__b=yes
11711      fi
11712    fi
11713    $RM -r conftest*
11714    LDFLAGS="$save_LDFLAGS"
11715
11716 fi
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11718 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11719
11720 if test x"$lt_cv_prog_compiler__b" = xyes; then
11721     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11722 else
11723     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11724 fi
11725
11726           ;;
11727         esac
11728       fi
11729       if test "$with_gnu_ld" = no; then
11730         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11731         hardcode_libdir_separator=:
11732
11733         case $host_cpu in
11734         hppa*64*|ia64*)
11735           hardcode_direct=no
11736           hardcode_shlibpath_var=no
11737           ;;
11738         *)
11739           hardcode_direct=yes
11740           hardcode_direct_absolute=yes
11741           export_dynamic_flag_spec='${wl}-E'
11742
11743           # hardcode_minus_L: Not really in the search PATH,
11744           # but as the default location of the library.
11745           hardcode_minus_L=yes
11746           ;;
11747         esac
11748       fi
11749       ;;
11750
11751     irix5* | irix6* | nonstopux*)
11752       if test "$GCC" = yes; then
11753         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11754         # Try to use the -exported_symbol ld option, if it does not
11755         # work, assume that -exports_file does not work either and
11756         # implicitly export all symbols.
11757         # This should be the same for all languages, so no per-tag cache variable.
11758         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11759 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11760 if ${lt_cv_irix_exported_symbol+:} false; then :
11761   $as_echo_n "(cached) " >&6
11762 else
11763   save_LDFLAGS="$LDFLAGS"
11764            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11765            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h.  */
11767 int foo (void) { return 0; }
11768 _ACEOF
11769 if ac_fn_c_try_link "$LINENO"; then :
11770   lt_cv_irix_exported_symbol=yes
11771 else
11772   lt_cv_irix_exported_symbol=no
11773 fi
11774 rm -f core conftest.err conftest.$ac_objext \
11775     conftest$ac_exeext conftest.$ac_ext
11776            LDFLAGS="$save_LDFLAGS"
11777 fi
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11779 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11780         if test "$lt_cv_irix_exported_symbol" = yes; then
11781           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11782         fi
11783       else
11784         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11785         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11786       fi
11787       archive_cmds_need_lc='no'
11788       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11789       hardcode_libdir_separator=:
11790       inherit_rpath=yes
11791       link_all_deplibs=yes
11792       ;;
11793
11794     netbsd*)
11795       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11796         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11797       else
11798         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11799       fi
11800       hardcode_libdir_flag_spec='-R$libdir'
11801       hardcode_direct=yes
11802       hardcode_shlibpath_var=no
11803       ;;
11804
11805     newsos6)
11806       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11807       hardcode_direct=yes
11808       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11809       hardcode_libdir_separator=:
11810       hardcode_shlibpath_var=no
11811       ;;
11812
11813     *nto* | *qnx*)
11814       ;;
11815
11816     openbsd*)
11817       if test -f /usr/libexec/ld.so; then
11818         hardcode_direct=yes
11819         hardcode_shlibpath_var=no
11820         hardcode_direct_absolute=yes
11821         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11822           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11823           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11824           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11825           export_dynamic_flag_spec='${wl}-E'
11826         else
11827           case $host_os in
11828            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11829              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11830              hardcode_libdir_flag_spec='-R$libdir'
11831              ;;
11832            *)
11833              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11834              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11835              ;;
11836           esac
11837         fi
11838       else
11839         ld_shlibs=no
11840       fi
11841       ;;
11842
11843     os2*)
11844       hardcode_libdir_flag_spec='-L$libdir'
11845       hardcode_minus_L=yes
11846       allow_undefined_flag=unsupported
11847       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'
11848       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11849       ;;
11850
11851     osf3*)
11852       if test "$GCC" = yes; then
11853         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11854         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11855       else
11856         allow_undefined_flag=' -expect_unresolved \*'
11857         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11858       fi
11859       archive_cmds_need_lc='no'
11860       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11861       hardcode_libdir_separator=:
11862       ;;
11863
11864     osf4* | osf5*)      # as osf3* with the addition of -msym flag
11865       if test "$GCC" = yes; then
11866         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11867         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11868         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11869       else
11870         allow_undefined_flag=' -expect_unresolved \*'
11871         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11872         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~
11873         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11874
11875         # Both c and cxx compiler support -rpath directly
11876         hardcode_libdir_flag_spec='-rpath $libdir'
11877       fi
11878       archive_cmds_need_lc='no'
11879       hardcode_libdir_separator=:
11880       ;;
11881
11882     solaris*)
11883       no_undefined_flag=' -z defs'
11884       if test "$GCC" = yes; then
11885         wlarc='${wl}'
11886         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11887         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11888           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11889       else
11890         case `$CC -V 2>&1` in
11891         *"Compilers 5.0"*)
11892           wlarc=''
11893           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11894           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11895           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11896           ;;
11897         *)
11898           wlarc='${wl}'
11899           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11900           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11901           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11902           ;;
11903         esac
11904       fi
11905       hardcode_libdir_flag_spec='-R$libdir'
11906       hardcode_shlibpath_var=no
11907       case $host_os in
11908       solaris2.[0-5] | solaris2.[0-5].*) ;;
11909       *)
11910         # The compiler driver will combine and reorder linker options,
11911         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11912         # but is careful enough not to reorder.
11913         # Supported since Solaris 2.6 (maybe 2.5.1?)
11914         if test "$GCC" = yes; then
11915           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11916         else
11917           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11918         fi
11919         ;;
11920       esac
11921       link_all_deplibs=yes
11922       ;;
11923
11924     sunos4*)
11925       if test "x$host_vendor" = xsequent; then
11926         # Use $CC to link under sequent, because it throws in some extra .o
11927         # files that make .init and .fini sections work.
11928         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11929       else
11930         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11931       fi
11932       hardcode_libdir_flag_spec='-L$libdir'
11933       hardcode_direct=yes
11934       hardcode_minus_L=yes
11935       hardcode_shlibpath_var=no
11936       ;;
11937
11938     sysv4)
11939       case $host_vendor in
11940         sni)
11941           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11942           hardcode_direct=yes # is this really true???
11943         ;;
11944         siemens)
11945           ## LD is ld it makes a PLAMLIB
11946           ## CC just makes a GrossModule.
11947           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11948           reload_cmds='$CC -r -o $output$reload_objs'
11949           hardcode_direct=no
11950         ;;
11951         motorola)
11952           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11953           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11954         ;;
11955       esac
11956       runpath_var='LD_RUN_PATH'
11957       hardcode_shlibpath_var=no
11958       ;;
11959
11960     sysv4.3*)
11961       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11962       hardcode_shlibpath_var=no
11963       export_dynamic_flag_spec='-Bexport'
11964       ;;
11965
11966     sysv4*MP*)
11967       if test -d /usr/nec; then
11968         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11969         hardcode_shlibpath_var=no
11970         runpath_var=LD_RUN_PATH
11971         hardcode_runpath_var=yes
11972         ld_shlibs=yes
11973       fi
11974       ;;
11975
11976     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11977       no_undefined_flag='${wl}-z,text'
11978       archive_cmds_need_lc=no
11979       hardcode_shlibpath_var=no
11980       runpath_var='LD_RUN_PATH'
11981
11982       if test "$GCC" = yes; then
11983         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11984         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11985       else
11986         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11987         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11988       fi
11989       ;;
11990
11991     sysv5* | sco3.2v5* | sco5v6*)
11992       # Note: We can NOT use -z defs as we might desire, because we do not
11993       # link with -lc, and that would cause any symbols used from libc to
11994       # always be unresolved, which means just about no library would
11995       # ever link correctly.  If we're not using GNU ld we use -z text
11996       # though, which does catch some bad symbols but isn't as heavy-handed
11997       # as -z defs.
11998       no_undefined_flag='${wl}-z,text'
11999       allow_undefined_flag='${wl}-z,nodefs'
12000       archive_cmds_need_lc=no
12001       hardcode_shlibpath_var=no
12002       hardcode_libdir_flag_spec='${wl}-R,$libdir'
12003       hardcode_libdir_separator=':'
12004       link_all_deplibs=yes
12005       export_dynamic_flag_spec='${wl}-Bexport'
12006       runpath_var='LD_RUN_PATH'
12007
12008       if test "$GCC" = yes; then
12009         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12010         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12011       else
12012         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12013         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12014       fi
12015       ;;
12016
12017     uts4*)
12018       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12019       hardcode_libdir_flag_spec='-L$libdir'
12020       hardcode_shlibpath_var=no
12021       ;;
12022
12023     *)
12024       ld_shlibs=no
12025       ;;
12026     esac
12027
12028     if test x$host_vendor = xsni; then
12029       case $host in
12030       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12031         export_dynamic_flag_spec='${wl}-Blargedynsym'
12032         ;;
12033       esac
12034     fi
12035   fi
12036
12037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12038 $as_echo "$ld_shlibs" >&6; }
12039 test "$ld_shlibs" = no && can_build_shared=no
12040
12041 with_gnu_ld=$with_gnu_ld
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057 #
12058 # Do we need to explicitly link libc?
12059 #
12060 case "x$archive_cmds_need_lc" in
12061 x|xyes)
12062   # Assume -lc should be added
12063   archive_cmds_need_lc=yes
12064
12065   if test "$enable_shared" = yes && test "$GCC" = yes; then
12066     case $archive_cmds in
12067     *'~'*)
12068       # FIXME: we may have to deal with multi-command sequences.
12069       ;;
12070     '$CC '*)
12071       # Test whether the compiler implicitly links with -lc since on some
12072       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12073       # to ld, don't add -lc before -lgcc.
12074       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12075 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12076 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12077   $as_echo_n "(cached) " >&6
12078 else
12079   $RM conftest*
12080         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12081
12082         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12083   (eval $ac_compile) 2>&5
12084   ac_status=$?
12085   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12086   test $ac_status = 0; } 2>conftest.err; then
12087           soname=conftest
12088           lib=conftest
12089           libobjs=conftest.$ac_objext
12090           deplibs=
12091           wl=$lt_prog_compiler_wl
12092           pic_flag=$lt_prog_compiler_pic
12093           compiler_flags=-v
12094           linker_flags=-v
12095           verstring=
12096           output_objdir=.
12097           libname=conftest
12098           lt_save_allow_undefined_flag=$allow_undefined_flag
12099           allow_undefined_flag=
12100           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12101   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12102   ac_status=$?
12103   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12104   test $ac_status = 0; }
12105           then
12106             lt_cv_archive_cmds_need_lc=no
12107           else
12108             lt_cv_archive_cmds_need_lc=yes
12109           fi
12110           allow_undefined_flag=$lt_save_allow_undefined_flag
12111         else
12112           cat conftest.err 1>&5
12113         fi
12114         $RM conftest*
12115
12116 fi
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12118 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12119       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12120       ;;
12121     esac
12122   fi
12123   ;;
12124 esac
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12278 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12279
12280 if test "$GCC" = yes; then
12281   case $host_os in
12282     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12283     *) lt_awk_arg="/^libraries:/" ;;
12284   esac
12285   case $host_os in
12286     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12287     *) lt_sed_strip_eq="s,=/,/,g" ;;
12288   esac
12289   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12290   case $lt_search_path_spec in
12291   *\;*)
12292     # if the path contains ";" then we assume it to be the separator
12293     # otherwise default to the standard path separator (i.e. ":") - it is
12294     # assumed that no part of a normal pathname contains ";" but that should
12295     # okay in the real world where ";" in dirpaths is itself problematic.
12296     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12297     ;;
12298   *)
12299     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12300     ;;
12301   esac
12302   # Ok, now we have the path, separated by spaces, we can step through it
12303   # and add multilib dir if necessary.
12304   lt_tmp_lt_search_path_spec=
12305   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12306   for lt_sys_path in $lt_search_path_spec; do
12307     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12308       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12309     else
12310       test -d "$lt_sys_path" && \
12311         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12312     fi
12313   done
12314   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12315 BEGIN {RS=" "; FS="/|\n";} {
12316   lt_foo="";
12317   lt_count=0;
12318   for (lt_i = NF; lt_i > 0; lt_i--) {
12319     if ($lt_i != "" && $lt_i != ".") {
12320       if ($lt_i == "..") {
12321         lt_count++;
12322       } else {
12323         if (lt_count == 0) {
12324           lt_foo="/" $lt_i lt_foo;
12325         } else {
12326           lt_count--;
12327         }
12328       }
12329     }
12330   }
12331   if (lt_foo != "") { lt_freq[lt_foo]++; }
12332   if (lt_freq[lt_foo] == 1) { print lt_foo; }
12333 }'`
12334   # AWK program above erroneously prepends '/' to C:/dos/paths
12335   # for these hosts.
12336   case $host_os in
12337     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12338       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12339   esac
12340   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12341 else
12342   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12343 fi
12344 library_names_spec=
12345 libname_spec='lib$name'
12346 soname_spec=
12347 shrext_cmds=".so"
12348 postinstall_cmds=
12349 postuninstall_cmds=
12350 finish_cmds=
12351 finish_eval=
12352 shlibpath_var=
12353 shlibpath_overrides_runpath=unknown
12354 version_type=none
12355 dynamic_linker="$host_os ld.so"
12356 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12357 need_lib_prefix=unknown
12358 hardcode_into_libs=no
12359
12360 # when you set need_version to no, make sure it does not cause -set_version
12361 # flags to be left without arguments
12362 need_version=unknown
12363
12364 case $host_os in
12365 aix3*)
12366   version_type=linux # correct to gnu/linux during the next big refactor
12367   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12368   shlibpath_var=LIBPATH
12369
12370   # AIX 3 has no versioning support, so we append a major version to the name.
12371   soname_spec='${libname}${release}${shared_ext}$major'
12372   ;;
12373
12374 aix[4-9]*)
12375   version_type=linux # correct to gnu/linux during the next big refactor
12376   need_lib_prefix=no
12377   need_version=no
12378   hardcode_into_libs=yes
12379   if test "$host_cpu" = ia64; then
12380     # AIX 5 supports IA64
12381     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12382     shlibpath_var=LD_LIBRARY_PATH
12383   else
12384     # With GCC up to 2.95.x, collect2 would create an import file
12385     # for dependence libraries.  The import file would start with
12386     # the line `#! .'.  This would cause the generated library to
12387     # depend on `.', always an invalid library.  This was fixed in
12388     # development snapshots of GCC prior to 3.0.
12389     case $host_os in
12390       aix4 | aix4.[01] | aix4.[01].*)
12391       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12392            echo ' yes '
12393            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12394         :
12395       else
12396         can_build_shared=no
12397       fi
12398       ;;
12399     esac
12400     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12401     # soname into executable. Probably we can add versioning support to
12402     # collect2, so additional links can be useful in future.
12403     if test "$aix_use_runtimelinking" = yes; then
12404       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12405       # instead of lib<name>.a to let people know that these are not
12406       # typical AIX shared libraries.
12407       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12408     else
12409       # We preserve .a as extension for shared libraries through AIX4.2
12410       # and later when we are not doing run time linking.
12411       library_names_spec='${libname}${release}.a $libname.a'
12412       soname_spec='${libname}${release}${shared_ext}$major'
12413     fi
12414     shlibpath_var=LIBPATH
12415   fi
12416   ;;
12417
12418 amigaos*)
12419   case $host_cpu in
12420   powerpc)
12421     # Since July 2007 AmigaOS4 officially supports .so libraries.
12422     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12423     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12424     ;;
12425   m68k)
12426     library_names_spec='$libname.ixlibrary $libname.a'
12427     # Create ${libname}_ixlibrary.a entries in /sys/libs.
12428     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
12429     ;;
12430   esac
12431   ;;
12432
12433 beos*)
12434   library_names_spec='${libname}${shared_ext}'
12435   dynamic_linker="$host_os ld.so"
12436   shlibpath_var=LIBRARY_PATH
12437   ;;
12438
12439 bsdi[45]*)
12440   version_type=linux # correct to gnu/linux during the next big refactor
12441   need_version=no
12442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12443   soname_spec='${libname}${release}${shared_ext}$major'
12444   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12445   shlibpath_var=LD_LIBRARY_PATH
12446   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12447   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12448   # the default ld.so.conf also contains /usr/contrib/lib and
12449   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12450   # libtool to hard-code these into programs
12451   ;;
12452
12453 cygwin* | mingw* | pw32* | cegcc*)
12454   version_type=windows
12455   shrext_cmds=".dll"
12456   need_version=no
12457   need_lib_prefix=no
12458
12459   case $GCC,$cc_basename in
12460   yes,*)
12461     # gcc
12462     library_names_spec='$libname.dll.a'
12463     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12464     postinstall_cmds='base_file=`basename \${file}`~
12465       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12466       dldir=$destdir/`dirname \$dlpath`~
12467       test -d \$dldir || mkdir -p \$dldir~
12468       $install_prog $dir/$dlname \$dldir/$dlname~
12469       chmod a+x \$dldir/$dlname~
12470       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12471         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12472       fi'
12473     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12474       dlpath=$dir/\$dldll~
12475        $RM \$dlpath'
12476     shlibpath_overrides_runpath=yes
12477
12478     case $host_os in
12479     cygwin*)
12480       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12481       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12482
12483       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12484       ;;
12485     mingw* | cegcc*)
12486       # MinGW DLLs use traditional 'lib' prefix
12487       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12488       ;;
12489     pw32*)
12490       # pw32 DLLs use 'pw' prefix rather than 'lib'
12491       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12492       ;;
12493     esac
12494     dynamic_linker='Win32 ld.exe'
12495     ;;
12496
12497   *,cl*)
12498     # Native MSVC
12499     libname_spec='$name'
12500     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12501     library_names_spec='${libname}.dll.lib'
12502
12503     case $build_os in
12504     mingw*)
12505       sys_lib_search_path_spec=
12506       lt_save_ifs=$IFS
12507       IFS=';'
12508       for lt_path in $LIB
12509       do
12510         IFS=$lt_save_ifs
12511         # Let DOS variable expansion print the short 8.3 style file name.
12512         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12513         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12514       done
12515       IFS=$lt_save_ifs
12516       # Convert to MSYS style.
12517       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12518       ;;
12519     cygwin*)
12520       # Convert to unix form, then to dos form, then back to unix form
12521       # but this time dos style (no spaces!) so that the unix form looks
12522       # like /cygdrive/c/PROGRA~1:/cygdr...
12523       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12524       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12525       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12526       ;;
12527     *)
12528       sys_lib_search_path_spec="$LIB"
12529       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12530         # It is most probably a Windows format PATH.
12531         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12532       else
12533         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12534       fi
12535       # FIXME: find the short name or the path components, as spaces are
12536       # common. (e.g. "Program Files" -> "PROGRA~1")
12537       ;;
12538     esac
12539
12540     # DLL is installed to $(libdir)/../bin by postinstall_cmds
12541     postinstall_cmds='base_file=`basename \${file}`~
12542       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12543       dldir=$destdir/`dirname \$dlpath`~
12544       test -d \$dldir || mkdir -p \$dldir~
12545       $install_prog $dir/$dlname \$dldir/$dlname'
12546     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12547       dlpath=$dir/\$dldll~
12548        $RM \$dlpath'
12549     shlibpath_overrides_runpath=yes
12550     dynamic_linker='Win32 link.exe'
12551     ;;
12552
12553   *)
12554     # Assume MSVC wrapper
12555     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12556     dynamic_linker='Win32 ld.exe'
12557     ;;
12558   esac
12559   # FIXME: first we should search . and the directory the executable is in
12560   shlibpath_var=PATH
12561   ;;
12562
12563 darwin* | rhapsody*)
12564   dynamic_linker="$host_os dyld"
12565   version_type=darwin
12566   need_lib_prefix=no
12567   need_version=no
12568   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12569   soname_spec='${libname}${release}${major}$shared_ext'
12570   shlibpath_overrides_runpath=yes
12571   shlibpath_var=DYLD_LIBRARY_PATH
12572   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12573
12574   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12575   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12576   ;;
12577
12578 dgux*)
12579   version_type=linux # correct to gnu/linux during the next big refactor
12580   need_lib_prefix=no
12581   need_version=no
12582   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12583   soname_spec='${libname}${release}${shared_ext}$major'
12584   shlibpath_var=LD_LIBRARY_PATH
12585   ;;
12586
12587 freebsd* | dragonfly*)
12588   # DragonFly does not have aout.  When/if they implement a new
12589   # versioning mechanism, adjust this.
12590   if test -x /usr/bin/objformat; then
12591     objformat=`/usr/bin/objformat`
12592   else
12593     case $host_os in
12594     freebsd[23].*) objformat=aout ;;
12595     *) objformat=elf ;;
12596     esac
12597   fi
12598   version_type=freebsd-$objformat
12599   case $version_type in
12600     freebsd-elf*)
12601       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12602       need_version=no
12603       need_lib_prefix=no
12604       ;;
12605     freebsd-*)
12606       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12607       need_version=yes
12608       ;;
12609   esac
12610   shlibpath_var=LD_LIBRARY_PATH
12611   case $host_os in
12612   freebsd2.*)
12613     shlibpath_overrides_runpath=yes
12614     ;;
12615   freebsd3.[01]* | freebsdelf3.[01]*)
12616     shlibpath_overrides_runpath=yes
12617     hardcode_into_libs=yes
12618     ;;
12619   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12620   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12621     shlibpath_overrides_runpath=no
12622     hardcode_into_libs=yes
12623     ;;
12624   *) # from 4.6 on, and DragonFly
12625     shlibpath_overrides_runpath=yes
12626     hardcode_into_libs=yes
12627     ;;
12628   esac
12629   ;;
12630
12631 gnu*)
12632   version_type=linux # correct to gnu/linux during the next big refactor
12633   need_lib_prefix=no
12634   need_version=no
12635   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12636   soname_spec='${libname}${release}${shared_ext}$major'
12637   shlibpath_var=LD_LIBRARY_PATH
12638   shlibpath_overrides_runpath=no
12639   hardcode_into_libs=yes
12640   ;;
12641
12642 haiku*)
12643   version_type=linux # correct to gnu/linux during the next big refactor
12644   need_lib_prefix=no
12645   need_version=no
12646   dynamic_linker="$host_os runtime_loader"
12647   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12648   soname_spec='${libname}${release}${shared_ext}$major'
12649   shlibpath_var=LIBRARY_PATH
12650   shlibpath_overrides_runpath=yes
12651   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12652   hardcode_into_libs=yes
12653   ;;
12654
12655 hpux9* | hpux10* | hpux11*)
12656   # Give a soname corresponding to the major version so that dld.sl refuses to
12657   # link against other versions.
12658   version_type=sunos
12659   need_lib_prefix=no
12660   need_version=no
12661   case $host_cpu in
12662   ia64*)
12663     shrext_cmds='.so'
12664     hardcode_into_libs=yes
12665     dynamic_linker="$host_os dld.so"
12666     shlibpath_var=LD_LIBRARY_PATH
12667     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12668     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12669     soname_spec='${libname}${release}${shared_ext}$major'
12670     if test "X$HPUX_IA64_MODE" = X32; then
12671       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12672     else
12673       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12674     fi
12675     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12676     ;;
12677   hppa*64*)
12678     shrext_cmds='.sl'
12679     hardcode_into_libs=yes
12680     dynamic_linker="$host_os dld.sl"
12681     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12682     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12683     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12684     soname_spec='${libname}${release}${shared_ext}$major'
12685     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12686     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12687     ;;
12688   *)
12689     shrext_cmds='.sl'
12690     dynamic_linker="$host_os dld.sl"
12691     shlibpath_var=SHLIB_PATH
12692     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12693     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12694     soname_spec='${libname}${release}${shared_ext}$major'
12695     ;;
12696   esac
12697   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12698   postinstall_cmds='chmod 555 $lib'
12699   # or fails outright, so override atomically:
12700   install_override_mode=555
12701   ;;
12702
12703 interix[3-9]*)
12704   version_type=linux # correct to gnu/linux during the next big refactor
12705   need_lib_prefix=no
12706   need_version=no
12707   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12708   soname_spec='${libname}${release}${shared_ext}$major'
12709   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12710   shlibpath_var=LD_LIBRARY_PATH
12711   shlibpath_overrides_runpath=no
12712   hardcode_into_libs=yes
12713   ;;
12714
12715 irix5* | irix6* | nonstopux*)
12716   case $host_os in
12717     nonstopux*) version_type=nonstopux ;;
12718     *)
12719         if test "$lt_cv_prog_gnu_ld" = yes; then
12720                 version_type=linux # correct to gnu/linux during the next big refactor
12721         else
12722                 version_type=irix
12723         fi ;;
12724   esac
12725   need_lib_prefix=no
12726   need_version=no
12727   soname_spec='${libname}${release}${shared_ext}$major'
12728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12729   case $host_os in
12730   irix5* | nonstopux*)
12731     libsuff= shlibsuff=
12732     ;;
12733   *)
12734     case $LD in # libtool.m4 will add one of these switches to LD
12735     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12736       libsuff= shlibsuff= libmagic=32-bit;;
12737     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12738       libsuff=32 shlibsuff=N32 libmagic=N32;;
12739     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12740       libsuff=64 shlibsuff=64 libmagic=64-bit;;
12741     *) libsuff= shlibsuff= libmagic=never-match;;
12742     esac
12743     ;;
12744   esac
12745   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12746   shlibpath_overrides_runpath=no
12747   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12748   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12749   hardcode_into_libs=yes
12750   ;;
12751
12752 # No shared lib support for Linux oldld, aout, or coff.
12753 linux*oldld* | linux*aout* | linux*coff*)
12754   dynamic_linker=no
12755   ;;
12756
12757 # This must be glibc/ELF.
12758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12759   version_type=linux # correct to gnu/linux during the next big refactor
12760   need_lib_prefix=no
12761   need_version=no
12762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12763   soname_spec='${libname}${release}${shared_ext}$major'
12764   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12765   shlibpath_var=LD_LIBRARY_PATH
12766   shlibpath_overrides_runpath=no
12767
12768   # Some binutils ld are patched to set DT_RUNPATH
12769   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12770   $as_echo_n "(cached) " >&6
12771 else
12772   lt_cv_shlibpath_overrides_runpath=no
12773     save_LDFLAGS=$LDFLAGS
12774     save_libdir=$libdir
12775     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12776          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12777     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h.  */
12779
12780 int
12781 main ()
12782 {
12783
12784   ;
12785   return 0;
12786 }
12787 _ACEOF
12788 if ac_fn_c_try_link "$LINENO"; then :
12789   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12790   lt_cv_shlibpath_overrides_runpath=yes
12791 fi
12792 fi
12793 rm -f core conftest.err conftest.$ac_objext \
12794     conftest$ac_exeext conftest.$ac_ext
12795     LDFLAGS=$save_LDFLAGS
12796     libdir=$save_libdir
12797
12798 fi
12799
12800   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12801
12802   # This implies no fast_install, which is unacceptable.
12803   # Some rework will be needed to allow for fast_install
12804   # before this can be enabled.
12805   hardcode_into_libs=yes
12806
12807   # Add ABI-specific directories to the system library path.
12808   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12809
12810   # Append ld.so.conf contents to the search path
12811   if test -f /etc/ld.so.conf; then
12812     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;s/"//g;/^$/d' | tr '\n' ' '`
12813     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12814
12815   fi
12816
12817   # We used to test for /lib/ld.so.1 and disable shared libraries on
12818   # powerpc, because MkLinux only supported shared libraries with the
12819   # GNU dynamic linker.  Since this was broken with cross compilers,
12820   # most powerpc-linux boxes support dynamic linking these days and
12821   # people can always --disable-shared, the test was removed, and we
12822   # assume the GNU/Linux dynamic linker is in use.
12823   dynamic_linker='GNU/Linux ld.so'
12824   ;;
12825
12826 netbsd*)
12827   version_type=sunos
12828   need_lib_prefix=no
12829   need_version=no
12830   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12831     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12832     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12833     dynamic_linker='NetBSD (a.out) ld.so'
12834   else
12835     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12836     soname_spec='${libname}${release}${shared_ext}$major'
12837     dynamic_linker='NetBSD ld.elf_so'
12838   fi
12839   shlibpath_var=LD_LIBRARY_PATH
12840   shlibpath_overrides_runpath=yes
12841   hardcode_into_libs=yes
12842   ;;
12843
12844 newsos6)
12845   version_type=linux # correct to gnu/linux during the next big refactor
12846   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12847   shlibpath_var=LD_LIBRARY_PATH
12848   shlibpath_overrides_runpath=yes
12849   ;;
12850
12851 *nto* | *qnx*)
12852   version_type=qnx
12853   need_lib_prefix=no
12854   need_version=no
12855   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12856   soname_spec='${libname}${release}${shared_ext}$major'
12857   shlibpath_var=LD_LIBRARY_PATH
12858   shlibpath_overrides_runpath=no
12859   hardcode_into_libs=yes
12860   dynamic_linker='ldqnx.so'
12861   ;;
12862
12863 openbsd*)
12864   version_type=sunos
12865   sys_lib_dlsearch_path_spec="/usr/lib"
12866   need_lib_prefix=no
12867   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12868   case $host_os in
12869     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
12870     *)                          need_version=no  ;;
12871   esac
12872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12873   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12874   shlibpath_var=LD_LIBRARY_PATH
12875   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12876     case $host_os in
12877       openbsd2.[89] | openbsd2.[89].*)
12878         shlibpath_overrides_runpath=no
12879         ;;
12880       *)
12881         shlibpath_overrides_runpath=yes
12882         ;;
12883       esac
12884   else
12885     shlibpath_overrides_runpath=yes
12886   fi
12887   ;;
12888
12889 os2*)
12890   libname_spec='$name'
12891   shrext_cmds=".dll"
12892   need_lib_prefix=no
12893   library_names_spec='$libname${shared_ext} $libname.a'
12894   dynamic_linker='OS/2 ld.exe'
12895   shlibpath_var=LIBPATH
12896   ;;
12897
12898 osf3* | osf4* | osf5*)
12899   version_type=osf
12900   need_lib_prefix=no
12901   need_version=no
12902   soname_spec='${libname}${release}${shared_ext}$major'
12903   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12904   shlibpath_var=LD_LIBRARY_PATH
12905   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12906   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12907   ;;
12908
12909 rdos*)
12910   dynamic_linker=no
12911   ;;
12912
12913 solaris*)
12914   version_type=linux # correct to gnu/linux during the next big refactor
12915   need_lib_prefix=no
12916   need_version=no
12917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12918   soname_spec='${libname}${release}${shared_ext}$major'
12919   shlibpath_var=LD_LIBRARY_PATH
12920   shlibpath_overrides_runpath=yes
12921   hardcode_into_libs=yes
12922   # ldd complains unless libraries are executable
12923   postinstall_cmds='chmod +x $lib'
12924   ;;
12925
12926 sunos4*)
12927   version_type=sunos
12928   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12929   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12930   shlibpath_var=LD_LIBRARY_PATH
12931   shlibpath_overrides_runpath=yes
12932   if test "$with_gnu_ld" = yes; then
12933     need_lib_prefix=no
12934   fi
12935   need_version=yes
12936   ;;
12937
12938 sysv4 | sysv4.3*)
12939   version_type=linux # correct to gnu/linux during the next big refactor
12940   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12941   soname_spec='${libname}${release}${shared_ext}$major'
12942   shlibpath_var=LD_LIBRARY_PATH
12943   case $host_vendor in
12944     sni)
12945       shlibpath_overrides_runpath=no
12946       need_lib_prefix=no
12947       runpath_var=LD_RUN_PATH
12948       ;;
12949     siemens)
12950       need_lib_prefix=no
12951       ;;
12952     motorola)
12953       need_lib_prefix=no
12954       need_version=no
12955       shlibpath_overrides_runpath=no
12956       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12957       ;;
12958   esac
12959   ;;
12960
12961 sysv4*MP*)
12962   if test -d /usr/nec ;then
12963     version_type=linux # correct to gnu/linux during the next big refactor
12964     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12965     soname_spec='$libname${shared_ext}.$major'
12966     shlibpath_var=LD_LIBRARY_PATH
12967   fi
12968   ;;
12969
12970 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12971   version_type=freebsd-elf
12972   need_lib_prefix=no
12973   need_version=no
12974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12975   soname_spec='${libname}${release}${shared_ext}$major'
12976   shlibpath_var=LD_LIBRARY_PATH
12977   shlibpath_overrides_runpath=yes
12978   hardcode_into_libs=yes
12979   if test "$with_gnu_ld" = yes; then
12980     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12981   else
12982     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12983     case $host_os in
12984       sco3.2v5*)
12985         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12986         ;;
12987     esac
12988   fi
12989   sys_lib_dlsearch_path_spec='/usr/lib'
12990   ;;
12991
12992 tpf*)
12993   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12994   version_type=linux # correct to gnu/linux during the next big refactor
12995   need_lib_prefix=no
12996   need_version=no
12997   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12998   shlibpath_var=LD_LIBRARY_PATH
12999   shlibpath_overrides_runpath=no
13000   hardcode_into_libs=yes
13001   ;;
13002
13003 uts4*)
13004   version_type=linux # correct to gnu/linux during the next big refactor
13005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13006   soname_spec='${libname}${release}${shared_ext}$major'
13007   shlibpath_var=LD_LIBRARY_PATH
13008   ;;
13009
13010 *)
13011   dynamic_linker=no
13012   ;;
13013 esac
13014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13015 $as_echo "$dynamic_linker" >&6; }
13016 test "$dynamic_linker" = no && can_build_shared=no
13017
13018 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13019 if test "$GCC" = yes; then
13020   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13021 fi
13022
13023 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13024   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13025 fi
13026 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13027   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13028 fi
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13122 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13123 hardcode_action=
13124 if test -n "$hardcode_libdir_flag_spec" ||
13125    test -n "$runpath_var" ||
13126    test "X$hardcode_automatic" = "Xyes" ; then
13127
13128   # We can hardcode non-existent directories.
13129   if test "$hardcode_direct" != no &&
13130      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13131      # have to relink, otherwise we might link with an installed library
13132      # when we should be linking with a yet-to-be-installed one
13133      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13134      test "$hardcode_minus_L" != no; then
13135     # Linking always hardcodes the temporary library directory.
13136     hardcode_action=relink
13137   else
13138     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13139     hardcode_action=immediate
13140   fi
13141 else
13142   # We cannot hardcode anything, or else we can only hardcode existing
13143   # directories.
13144   hardcode_action=unsupported
13145 fi
13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13147 $as_echo "$hardcode_action" >&6; }
13148
13149 if test "$hardcode_action" = relink ||
13150    test "$inherit_rpath" = yes; then
13151   # Fast installation is not supported
13152   enable_fast_install=no
13153 elif test "$shlibpath_overrides_runpath" = yes ||
13154      test "$enable_shared" = no; then
13155   # Fast installation is not necessary
13156   enable_fast_install=needless
13157 fi
13158
13159
13160
13161
13162
13163
13164   if test "x$enable_dlopen" != xyes; then
13165   enable_dlopen=unknown
13166   enable_dlopen_self=unknown
13167   enable_dlopen_self_static=unknown
13168 else
13169   lt_cv_dlopen=no
13170   lt_cv_dlopen_libs=
13171
13172   case $host_os in
13173   beos*)
13174     lt_cv_dlopen="load_add_on"
13175     lt_cv_dlopen_libs=
13176     lt_cv_dlopen_self=yes
13177     ;;
13178
13179   mingw* | pw32* | cegcc*)
13180     lt_cv_dlopen="LoadLibrary"
13181     lt_cv_dlopen_libs=
13182     ;;
13183
13184   cygwin*)
13185     lt_cv_dlopen="dlopen"
13186     lt_cv_dlopen_libs=
13187     ;;
13188
13189   darwin*)
13190   # if libdl is installed we need to link against it
13191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13192 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13193 if ${ac_cv_lib_dl_dlopen+:} false; then :
13194   $as_echo_n "(cached) " >&6
13195 else
13196   ac_check_lib_save_LIBS=$LIBS
13197 LIBS="-ldl  $LIBS"
13198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13199 /* end confdefs.h.  */
13200
13201 /* Override any GCC internal prototype to avoid an error.
13202    Use char because int might match the return type of a GCC
13203    builtin and then its argument prototype would still apply.  */
13204 #ifdef __cplusplus
13205 extern "C"
13206 #endif
13207 char dlopen ();
13208 int
13209 main ()
13210 {
13211 return dlopen ();
13212   ;
13213   return 0;
13214 }
13215 _ACEOF
13216 if ac_fn_c_try_link "$LINENO"; then :
13217   ac_cv_lib_dl_dlopen=yes
13218 else
13219   ac_cv_lib_dl_dlopen=no
13220 fi
13221 rm -f core conftest.err conftest.$ac_objext \
13222     conftest$ac_exeext conftest.$ac_ext
13223 LIBS=$ac_check_lib_save_LIBS
13224 fi
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13226 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13227 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13228   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13229 else
13230
13231     lt_cv_dlopen="dyld"
13232     lt_cv_dlopen_libs=
13233     lt_cv_dlopen_self=yes
13234
13235 fi
13236
13237     ;;
13238
13239   *)
13240     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13241 if test "x$ac_cv_func_shl_load" = xyes; then :
13242   lt_cv_dlopen="shl_load"
13243 else
13244   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13245 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13246 if ${ac_cv_lib_dld_shl_load+:} false; then :
13247   $as_echo_n "(cached) " >&6
13248 else
13249   ac_check_lib_save_LIBS=$LIBS
13250 LIBS="-ldld  $LIBS"
13251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13252 /* end confdefs.h.  */
13253
13254 /* Override any GCC internal prototype to avoid an error.
13255    Use char because int might match the return type of a GCC
13256    builtin and then its argument prototype would still apply.  */
13257 #ifdef __cplusplus
13258 extern "C"
13259 #endif
13260 char shl_load ();
13261 int
13262 main ()
13263 {
13264 return shl_load ();
13265   ;
13266   return 0;
13267 }
13268 _ACEOF
13269 if ac_fn_c_try_link "$LINENO"; then :
13270   ac_cv_lib_dld_shl_load=yes
13271 else
13272   ac_cv_lib_dld_shl_load=no
13273 fi
13274 rm -f core conftest.err conftest.$ac_objext \
13275     conftest$ac_exeext conftest.$ac_ext
13276 LIBS=$ac_check_lib_save_LIBS
13277 fi
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13279 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13280 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13281   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13282 else
13283   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13284 if test "x$ac_cv_func_dlopen" = xyes; then :
13285   lt_cv_dlopen="dlopen"
13286 else
13287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13288 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13289 if ${ac_cv_lib_dl_dlopen+:} false; then :
13290   $as_echo_n "(cached) " >&6
13291 else
13292   ac_check_lib_save_LIBS=$LIBS
13293 LIBS="-ldl  $LIBS"
13294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13295 /* end confdefs.h.  */
13296
13297 /* Override any GCC internal prototype to avoid an error.
13298    Use char because int might match the return type of a GCC
13299    builtin and then its argument prototype would still apply.  */
13300 #ifdef __cplusplus
13301 extern "C"
13302 #endif
13303 char dlopen ();
13304 int
13305 main ()
13306 {
13307 return dlopen ();
13308   ;
13309   return 0;
13310 }
13311 _ACEOF
13312 if ac_fn_c_try_link "$LINENO"; then :
13313   ac_cv_lib_dl_dlopen=yes
13314 else
13315   ac_cv_lib_dl_dlopen=no
13316 fi
13317 rm -f core conftest.err conftest.$ac_objext \
13318     conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_lib_save_LIBS
13320 fi
13321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13323 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13324   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13325 else
13326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13327 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13328 if ${ac_cv_lib_svld_dlopen+:} false; then :
13329   $as_echo_n "(cached) " >&6
13330 else
13331   ac_check_lib_save_LIBS=$LIBS
13332 LIBS="-lsvld  $LIBS"
13333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13334 /* end confdefs.h.  */
13335
13336 /* Override any GCC internal prototype to avoid an error.
13337    Use char because int might match the return type of a GCC
13338    builtin and then its argument prototype would still apply.  */
13339 #ifdef __cplusplus
13340 extern "C"
13341 #endif
13342 char dlopen ();
13343 int
13344 main ()
13345 {
13346 return dlopen ();
13347   ;
13348   return 0;
13349 }
13350 _ACEOF
13351 if ac_fn_c_try_link "$LINENO"; then :
13352   ac_cv_lib_svld_dlopen=yes
13353 else
13354   ac_cv_lib_svld_dlopen=no
13355 fi
13356 rm -f core conftest.err conftest.$ac_objext \
13357     conftest$ac_exeext conftest.$ac_ext
13358 LIBS=$ac_check_lib_save_LIBS
13359 fi
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13361 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13362 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13363   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13364 else
13365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13366 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13367 if ${ac_cv_lib_dld_dld_link+:} false; then :
13368   $as_echo_n "(cached) " >&6
13369 else
13370   ac_check_lib_save_LIBS=$LIBS
13371 LIBS="-ldld  $LIBS"
13372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h.  */
13374
13375 /* Override any GCC internal prototype to avoid an error.
13376    Use char because int might match the return type of a GCC
13377    builtin and then its argument prototype would still apply.  */
13378 #ifdef __cplusplus
13379 extern "C"
13380 #endif
13381 char dld_link ();
13382 int
13383 main ()
13384 {
13385 return dld_link ();
13386   ;
13387   return 0;
13388 }
13389 _ACEOF
13390 if ac_fn_c_try_link "$LINENO"; then :
13391   ac_cv_lib_dld_dld_link=yes
13392 else
13393   ac_cv_lib_dld_dld_link=no
13394 fi
13395 rm -f core conftest.err conftest.$ac_objext \
13396     conftest$ac_exeext conftest.$ac_ext
13397 LIBS=$ac_check_lib_save_LIBS
13398 fi
13399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13400 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13401 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13402   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13403 fi
13404
13405
13406 fi
13407
13408
13409 fi
13410
13411
13412 fi
13413
13414
13415 fi
13416
13417
13418 fi
13419
13420     ;;
13421   esac
13422
13423   if test "x$lt_cv_dlopen" != xno; then
13424     enable_dlopen=yes
13425   else
13426     enable_dlopen=no
13427   fi
13428
13429   case $lt_cv_dlopen in
13430   dlopen)
13431     save_CPPFLAGS="$CPPFLAGS"
13432     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13433
13434     save_LDFLAGS="$LDFLAGS"
13435     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13436
13437     save_LIBS="$LIBS"
13438     LIBS="$lt_cv_dlopen_libs $LIBS"
13439
13440     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13441 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13442 if ${lt_cv_dlopen_self+:} false; then :
13443   $as_echo_n "(cached) " >&6
13444 else
13445           if test "$cross_compiling" = yes; then :
13446   lt_cv_dlopen_self=cross
13447 else
13448   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13449   lt_status=$lt_dlunknown
13450   cat > conftest.$ac_ext <<_LT_EOF
13451 #line $LINENO "configure"
13452 #include "confdefs.h"
13453
13454 #if HAVE_DLFCN_H
13455 #include <dlfcn.h>
13456 #endif
13457
13458 #include <stdio.h>
13459
13460 #ifdef RTLD_GLOBAL
13461 #  define LT_DLGLOBAL           RTLD_GLOBAL
13462 #else
13463 #  ifdef DL_GLOBAL
13464 #    define LT_DLGLOBAL         DL_GLOBAL
13465 #  else
13466 #    define LT_DLGLOBAL         0
13467 #  endif
13468 #endif
13469
13470 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13471    find out it does not work in some platform. */
13472 #ifndef LT_DLLAZY_OR_NOW
13473 #  ifdef RTLD_LAZY
13474 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13475 #  else
13476 #    ifdef DL_LAZY
13477 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13478 #    else
13479 #      ifdef RTLD_NOW
13480 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13481 #      else
13482 #        ifdef DL_NOW
13483 #          define LT_DLLAZY_OR_NOW      DL_NOW
13484 #        else
13485 #          define LT_DLLAZY_OR_NOW      0
13486 #        endif
13487 #      endif
13488 #    endif
13489 #  endif
13490 #endif
13491
13492 /* When -fvisbility=hidden is used, assume the code has been annotated
13493    correspondingly for the symbols needed.  */
13494 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13495 int fnord () __attribute__((visibility("default")));
13496 #endif
13497
13498 int fnord () { return 42; }
13499 int main ()
13500 {
13501   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13502   int status = $lt_dlunknown;
13503
13504   if (self)
13505     {
13506       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13507       else
13508         {
13509           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13510           else puts (dlerror ());
13511         }
13512       /* dlclose (self); */
13513     }
13514   else
13515     puts (dlerror ());
13516
13517   return status;
13518 }
13519 _LT_EOF
13520   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13521   (eval $ac_link) 2>&5
13522   ac_status=$?
13523   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13524   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13525     (./conftest; exit; ) >&5 2>/dev/null
13526     lt_status=$?
13527     case x$lt_status in
13528       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13529       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13530       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13531     esac
13532   else :
13533     # compilation failed
13534     lt_cv_dlopen_self=no
13535   fi
13536 fi
13537 rm -fr conftest*
13538
13539
13540 fi
13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13542 $as_echo "$lt_cv_dlopen_self" >&6; }
13543
13544     if test "x$lt_cv_dlopen_self" = xyes; then
13545       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13546       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13547 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13548 if ${lt_cv_dlopen_self_static+:} false; then :
13549   $as_echo_n "(cached) " >&6
13550 else
13551           if test "$cross_compiling" = yes; then :
13552   lt_cv_dlopen_self_static=cross
13553 else
13554   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13555   lt_status=$lt_dlunknown
13556   cat > conftest.$ac_ext <<_LT_EOF
13557 #line $LINENO "configure"
13558 #include "confdefs.h"
13559
13560 #if HAVE_DLFCN_H
13561 #include <dlfcn.h>
13562 #endif
13563
13564 #include <stdio.h>
13565
13566 #ifdef RTLD_GLOBAL
13567 #  define LT_DLGLOBAL           RTLD_GLOBAL
13568 #else
13569 #  ifdef DL_GLOBAL
13570 #    define LT_DLGLOBAL         DL_GLOBAL
13571 #  else
13572 #    define LT_DLGLOBAL         0
13573 #  endif
13574 #endif
13575
13576 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13577    find out it does not work in some platform. */
13578 #ifndef LT_DLLAZY_OR_NOW
13579 #  ifdef RTLD_LAZY
13580 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
13581 #  else
13582 #    ifdef DL_LAZY
13583 #      define LT_DLLAZY_OR_NOW          DL_LAZY
13584 #    else
13585 #      ifdef RTLD_NOW
13586 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
13587 #      else
13588 #        ifdef DL_NOW
13589 #          define LT_DLLAZY_OR_NOW      DL_NOW
13590 #        else
13591 #          define LT_DLLAZY_OR_NOW      0
13592 #        endif
13593 #      endif
13594 #    endif
13595 #  endif
13596 #endif
13597
13598 /* When -fvisbility=hidden is used, assume the code has been annotated
13599    correspondingly for the symbols needed.  */
13600 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13601 int fnord () __attribute__((visibility("default")));
13602 #endif
13603
13604 int fnord () { return 42; }
13605 int main ()
13606 {
13607   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13608   int status = $lt_dlunknown;
13609
13610   if (self)
13611     {
13612       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13613       else
13614         {
13615           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13616           else puts (dlerror ());
13617         }
13618       /* dlclose (self); */
13619     }
13620   else
13621     puts (dlerror ());
13622
13623   return status;
13624 }
13625 _LT_EOF
13626   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13627   (eval $ac_link) 2>&5
13628   ac_status=$?
13629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13630   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13631     (./conftest; exit; ) >&5 2>/dev/null
13632     lt_status=$?
13633     case x$lt_status in
13634       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13635       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13636       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13637     esac
13638   else :
13639     # compilation failed
13640     lt_cv_dlopen_self_static=no
13641   fi
13642 fi
13643 rm -fr conftest*
13644
13645
13646 fi
13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13648 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13649     fi
13650
13651     CPPFLAGS="$save_CPPFLAGS"
13652     LDFLAGS="$save_LDFLAGS"
13653     LIBS="$save_LIBS"
13654     ;;
13655   esac
13656
13657   case $lt_cv_dlopen_self in
13658   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13659   *) enable_dlopen_self=unknown ;;
13660   esac
13661
13662   case $lt_cv_dlopen_self_static in
13663   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13664   *) enable_dlopen_self_static=unknown ;;
13665   esac
13666 fi
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684 striplib=
13685 old_striplib=
13686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13687 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13688 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13689   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13690   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13692 $as_echo "yes" >&6; }
13693 else
13694 # FIXME - insert some real tests, host_os isn't really good enough
13695   case $host_os in
13696   darwin*)
13697     if test -n "$STRIP" ; then
13698       striplib="$STRIP -x"
13699       old_striplib="$STRIP -S"
13700       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13701 $as_echo "yes" >&6; }
13702     else
13703       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13704 $as_echo "no" >&6; }
13705     fi
13706     ;;
13707   *)
13708     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13709 $as_echo "no" >&6; }
13710     ;;
13711   esac
13712 fi
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725   # Report which library types will actually be built
13726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13727 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13729 $as_echo "$can_build_shared" >&6; }
13730
13731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13732 $as_echo_n "checking whether to build shared libraries... " >&6; }
13733   test "$can_build_shared" = "no" && enable_shared=no
13734
13735   # On AIX, shared libraries and static libraries use the same namespace, and
13736   # are all built from PIC.
13737   case $host_os in
13738   aix3*)
13739     test "$enable_shared" = yes && enable_static=no
13740     if test -n "$RANLIB"; then
13741       archive_cmds="$archive_cmds~\$RANLIB \$lib"
13742       postinstall_cmds='$RANLIB $lib'
13743     fi
13744     ;;
13745
13746   aix[4-9]*)
13747     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13748       test "$enable_shared" = yes && enable_static=no
13749     fi
13750     ;;
13751   esac
13752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13753 $as_echo "$enable_shared" >&6; }
13754
13755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13756 $as_echo_n "checking whether to build static libraries... " >&6; }
13757   # Make sure either enable_shared or enable_static is yes.
13758   test "$enable_shared" = yes || enable_static=yes
13759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13760 $as_echo "$enable_static" >&6; }
13761
13762
13763
13764
13765 fi
13766 ac_ext=c
13767 ac_cpp='$CPP $CPPFLAGS'
13768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13771
13772 CC="$lt_save_CC"
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788         ac_config_commands="$ac_config_commands libtool"
13789
13790
13791
13792
13793 # Only expand once:
13794
13795
13796
13797 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13798 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13799
13800
13801
13802 cat >>confdefs.h <<_ACEOF
13803 #define VMAJ 1
13804 _ACEOF
13805
13806
13807 cat >>confdefs.h <<_ACEOF
13808 #define VMIN 7
13809 _ACEOF
13810
13811
13812 cat >>confdefs.h <<_ACEOF
13813 #define VMIC 8
13814 _ACEOF
13815
13816
13817 cat >>confdefs.h <<_ACEOF
13818 #define VREV 0
13819 _ACEOF
13820
13821 version_info="8:8:7"
13822 release_info=""
13823
13824
13825 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13826 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
13827 VMAJ=1
13828 VMIN=7
13829
13830
13831
13832 # pkg-config
13833
13834
13835
13836
13837
13838
13839
13840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13841         if test -n "$ac_tool_prefix"; then
13842   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13845 $as_echo_n "checking for $ac_word... " >&6; }
13846 if ${ac_cv_path_PKG_CONFIG+:} false; then :
13847   $as_echo_n "(cached) " >&6
13848 else
13849   case $PKG_CONFIG in
13850   [\\/]* | ?:[\\/]*)
13851   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13852   ;;
13853   *)
13854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13855 for as_dir in $PATH
13856 do
13857   IFS=$as_save_IFS
13858   test -z "$as_dir" && as_dir=.
13859     for ac_exec_ext in '' $ac_executable_extensions; do
13860   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13861     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13862     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13863     break 2
13864   fi
13865 done
13866   done
13867 IFS=$as_save_IFS
13868
13869   ;;
13870 esac
13871 fi
13872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13873 if test -n "$PKG_CONFIG"; then
13874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13875 $as_echo "$PKG_CONFIG" >&6; }
13876 else
13877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13878 $as_echo "no" >&6; }
13879 fi
13880
13881
13882 fi
13883 if test -z "$ac_cv_path_PKG_CONFIG"; then
13884   ac_pt_PKG_CONFIG=$PKG_CONFIG
13885   # Extract the first word of "pkg-config", so it can be a program name with args.
13886 set dummy pkg-config; ac_word=$2
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13888 $as_echo_n "checking for $ac_word... " >&6; }
13889 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13890   $as_echo_n "(cached) " >&6
13891 else
13892   case $ac_pt_PKG_CONFIG in
13893   [\\/]* | ?:[\\/]*)
13894   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13895   ;;
13896   *)
13897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13898 for as_dir in $PATH
13899 do
13900   IFS=$as_save_IFS
13901   test -z "$as_dir" && as_dir=.
13902     for ac_exec_ext in '' $ac_executable_extensions; do
13903   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13904     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13905     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13906     break 2
13907   fi
13908 done
13909   done
13910 IFS=$as_save_IFS
13911
13912   ;;
13913 esac
13914 fi
13915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13916 if test -n "$ac_pt_PKG_CONFIG"; then
13917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13918 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13919 else
13920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13921 $as_echo "no" >&6; }
13922 fi
13923
13924   if test "x$ac_pt_PKG_CONFIG" = x; then
13925     PKG_CONFIG=""
13926   else
13927     case $cross_compiling:$ac_tool_warned in
13928 yes:)
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13930 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13931 ac_tool_warned=yes ;;
13932 esac
13933     PKG_CONFIG=$ac_pt_PKG_CONFIG
13934   fi
13935 else
13936   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13937 fi
13938
13939 fi
13940 if test -n "$PKG_CONFIG"; then
13941         _pkg_min_version=0.9.0
13942         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13943 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13944         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13945                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13946 $as_echo "yes" >&6; }
13947         else
13948                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13949 $as_echo "no" >&6; }
13950                 PKG_CONFIG=""
13951         fi
13952 fi
13953 EDJE_VERSION=`$PKG_CONFIG edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
13954
13955 case "$host_os" in
13956   mingw32ce* | cegcc*)
13957     MODULE_ARCH="$host_os-$host_cpu"
13958     MODULE_EDJE="$host_os-$host_cpu"
13959     ;;
13960   *)
13961     MODULE_ARCH="$host_os-$host_cpu-1.7.8"
13962     MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
13963     ;;
13964 esac
13965
13966
13967
13968 cat >>confdefs.h <<_ACEOF
13969 #define MODULE_ARCH "$MODULE_ARCH"
13970 _ACEOF
13971
13972
13973
13974 cat >>confdefs.h <<_ACEOF
13975 #define MODULE_EDJE "$MODULE_EDJE"
13976 _ACEOF
13977
13978
13979 EFL_SHARED_EXTENSION="${shrext_cmds}"
13980
13981 cat >>confdefs.h <<_ACEOF
13982 #define EFL_SHARED_EXTENSION "${EFL_SHARED_EXTENSION}"
13983 _ACEOF
13984
13985
13986 requirement_elm=""
13987
13988
13989
13990
13991
13992
13993
13994
13995 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13996         if test -n "$ac_tool_prefix"; then
13997   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13998 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14000 $as_echo_n "checking for $ac_word... " >&6; }
14001 if ${ac_cv_path_PKG_CONFIG+:} false; then :
14002   $as_echo_n "(cached) " >&6
14003 else
14004   case $PKG_CONFIG in
14005   [\\/]* | ?:[\\/]*)
14006   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14007   ;;
14008   *)
14009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14011 do
14012   IFS=$as_save_IFS
14013   test -z "$as_dir" && as_dir=.
14014     for ac_exec_ext in '' $ac_executable_extensions; do
14015   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14016     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14018     break 2
14019   fi
14020 done
14021   done
14022 IFS=$as_save_IFS
14023
14024   ;;
14025 esac
14026 fi
14027 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14028 if test -n "$PKG_CONFIG"; then
14029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14030 $as_echo "$PKG_CONFIG" >&6; }
14031 else
14032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14033 $as_echo "no" >&6; }
14034 fi
14035
14036
14037 fi
14038 if test -z "$ac_cv_path_PKG_CONFIG"; then
14039   ac_pt_PKG_CONFIG=$PKG_CONFIG
14040   # Extract the first word of "pkg-config", so it can be a program name with args.
14041 set dummy pkg-config; ac_word=$2
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14043 $as_echo_n "checking for $ac_word... " >&6; }
14044 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14045   $as_echo_n "(cached) " >&6
14046 else
14047   case $ac_pt_PKG_CONFIG in
14048   [\\/]* | ?:[\\/]*)
14049   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14050   ;;
14051   *)
14052   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14053 for as_dir in $PATH
14054 do
14055   IFS=$as_save_IFS
14056   test -z "$as_dir" && as_dir=.
14057     for ac_exec_ext in '' $ac_executable_extensions; do
14058   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14059     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14061     break 2
14062   fi
14063 done
14064   done
14065 IFS=$as_save_IFS
14066
14067   ;;
14068 esac
14069 fi
14070 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14071 if test -n "$ac_pt_PKG_CONFIG"; then
14072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14073 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
14074 else
14075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14076 $as_echo "no" >&6; }
14077 fi
14078
14079   if test "x$ac_pt_PKG_CONFIG" = x; then
14080     PKG_CONFIG=""
14081   else
14082     case $cross_compiling:$ac_tool_warned in
14083 yes:)
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14085 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14086 ac_tool_warned=yes ;;
14087 esac
14088     PKG_CONFIG=$ac_pt_PKG_CONFIG
14089   fi
14090 else
14091   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14092 fi
14093
14094 fi
14095 if test -n "$PKG_CONFIG"; then
14096         _pkg_min_version=0.9.0
14097         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14098 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14099         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14100                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14101 $as_echo "yes" >&6; }
14102         else
14103                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14104 $as_echo "no" >&6; }
14105                 PKG_CONFIG=""
14106         fi
14107 fi
14108
14109 # Check whether pkg-config supports Requires.private
14110 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
14111    pkgconfig_requires_private="Requires.private"
14112 else
14113    pkgconfig_requires_private="Requires"
14114 fi
14115
14116
14117 #================================================
14118 if test "x${prefix}" = "xNONE"; then
14119   LOCALE_DIR="${ac_default_prefix}/share/locale"
14120 else
14121   LOCALE_DIR="${prefix}/share/locale"
14122 fi
14123
14124 #================================================
14125
14126 lt_enable_auto_import=""
14127 ELM_UNIX_DEF="#undef"
14128 ELM_WIN32_DEF="#undef"
14129 ELM_WINCE_DEF="#undef"
14130 have_windows="no"
14131 have_dlopen="no"
14132 case "$host_os" in
14133    mingw32ce*)
14134
14135 pkg_failed=no
14136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
14137 $as_echo_n "checking for EVIL... " >&6; }
14138
14139 if test -n "$EVIL_CFLAGS"; then
14140     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
14141  elif test -n "$PKG_CONFIG"; then
14142     if test -n "$PKG_CONFIG" && \
14143     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14144   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14145   ac_status=$?
14146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14147   test $ac_status = 0; }; then
14148   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
14149                       test "x$?" != "x0" && pkg_failed=yes
14150 else
14151   pkg_failed=yes
14152 fi
14153  else
14154     pkg_failed=untried
14155 fi
14156 if test -n "$EVIL_LIBS"; then
14157     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
14158  elif test -n "$PKG_CONFIG"; then
14159     if test -n "$PKG_CONFIG" && \
14160     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14161   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14162   ac_status=$?
14163   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14164   test $ac_status = 0; }; then
14165   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
14166                       test "x$?" != "x0" && pkg_failed=yes
14167 else
14168   pkg_failed=yes
14169 fi
14170  else
14171     pkg_failed=untried
14172 fi
14173
14174
14175
14176 if test $pkg_failed = yes; then
14177         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14178 $as_echo "no" >&6; }
14179
14180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14181         _pkg_short_errors_supported=yes
14182 else
14183         _pkg_short_errors_supported=no
14184 fi
14185         if test $_pkg_short_errors_supported = yes; then
14186                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil" 2>&1`
14187         else
14188                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil" 2>&1`
14189         fi
14190         # Put the nasty error message in config.log where it belongs
14191         echo "$EVIL_PKG_ERRORS" >&5
14192
14193         as_fn_error $? "Package requirements (evil) were not met:
14194
14195 $EVIL_PKG_ERRORS
14196
14197 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14198 installed software in a non-standard prefix.
14199
14200 Alternatively, you may set the environment variables EVIL_CFLAGS
14201 and EVIL_LIBS to avoid the need to call pkg-config.
14202 See the pkg-config man page for more details." "$LINENO" 5
14203 elif test $pkg_failed = untried; then
14204         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14205 $as_echo "no" >&6; }
14206         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14208 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14209 is in your PATH or set the PKG_CONFIG environment variable to the full
14210 path to pkg-config.
14211
14212 Alternatively, you may set the environment variables EVIL_CFLAGS
14213 and EVIL_LIBS to avoid the need to call pkg-config.
14214 See the pkg-config man page for more details.
14215
14216 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14217 See \`config.log' for more details" "$LINENO" 5; }
14218 else
14219         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
14220         EVIL_LIBS=$pkg_cv_EVIL_LIBS
14221         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14222 $as_echo "yes" >&6; }
14223
14224 fi
14225
14226 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
14227
14228       lt_enable_auto_import="-Wl,--enable-auto-import"
14229       ELM_WINCE_DEF="#define"
14230       have_windows="yes"
14231       $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14232
14233       have_dlopen="yes"
14234       dlopen_libs=-ldl
14235       requirement_elm="evil"
14236       have_socket="no"
14237     ;;
14238    mingw*)
14239
14240 pkg_failed=no
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
14242 $as_echo_n "checking for EVIL... " >&6; }
14243
14244 if test -n "$EVIL_CFLAGS"; then
14245     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
14246  elif test -n "$PKG_CONFIG"; then
14247     if test -n "$PKG_CONFIG" && \
14248     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14249   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14250   ac_status=$?
14251   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14252   test $ac_status = 0; }; then
14253   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
14254                       test "x$?" != "x0" && pkg_failed=yes
14255 else
14256   pkg_failed=yes
14257 fi
14258  else
14259     pkg_failed=untried
14260 fi
14261 if test -n "$EVIL_LIBS"; then
14262     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
14263  elif test -n "$PKG_CONFIG"; then
14264     if test -n "$PKG_CONFIG" && \
14265     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
14266   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
14267   ac_status=$?
14268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14269   test $ac_status = 0; }; then
14270   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
14271                       test "x$?" != "x0" && pkg_failed=yes
14272 else
14273   pkg_failed=yes
14274 fi
14275  else
14276     pkg_failed=untried
14277 fi
14278
14279
14280
14281 if test $pkg_failed = yes; then
14282         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14283 $as_echo "no" >&6; }
14284
14285 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14286         _pkg_short_errors_supported=yes
14287 else
14288         _pkg_short_errors_supported=no
14289 fi
14290         if test $_pkg_short_errors_supported = yes; then
14291                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "evil" 2>&1`
14292         else
14293                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "evil" 2>&1`
14294         fi
14295         # Put the nasty error message in config.log where it belongs
14296         echo "$EVIL_PKG_ERRORS" >&5
14297
14298         as_fn_error $? "Package requirements (evil) were not met:
14299
14300 $EVIL_PKG_ERRORS
14301
14302 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14303 installed software in a non-standard prefix.
14304
14305 Alternatively, you may set the environment variables EVIL_CFLAGS
14306 and EVIL_LIBS to avoid the need to call pkg-config.
14307 See the pkg-config man page for more details." "$LINENO" 5
14308 elif test $pkg_failed = untried; then
14309         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14310 $as_echo "no" >&6; }
14311         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14312 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14313 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14314 is in your PATH or set the PKG_CONFIG environment variable to the full
14315 path to pkg-config.
14316
14317 Alternatively, you may set the environment variables EVIL_CFLAGS
14318 and EVIL_LIBS to avoid the need to call pkg-config.
14319 See the pkg-config man page for more details.
14320
14321 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14322 See \`config.log' for more details" "$LINENO" 5; }
14323 else
14324         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
14325         EVIL_LIBS=$pkg_cv_EVIL_LIBS
14326         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14327 $as_echo "yes" >&6; }
14328
14329 fi
14330
14331 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
14332
14333       lt_enable_auto_import="-Wl,--enable-auto-import"
14334       ELM_WIN32_DEF="#define"
14335       have_windows="yes"
14336       $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14337
14338       have_dlopen="yes"
14339       dlopen_libs=-ldl
14340       requirement_elm="evil"
14341       have_socket="no"
14342       ;;
14343    *solaris*)
14344       ELM_UNIX_DEF="#define"
14345       have_socket="yes"
14346       have_dlopen="yes"
14347       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14348 $as_echo_n "checking for connect in -lsocket... " >&6; }
14349 if ${ac_cv_lib_socket_connect+:} false; then :
14350   $as_echo_n "(cached) " >&6
14351 else
14352   ac_check_lib_save_LIBS=$LIBS
14353 LIBS="-lsocket  $LIBS"
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h.  */
14356
14357 /* Override any GCC internal prototype to avoid an error.
14358    Use char because int might match the return type of a GCC
14359    builtin and then its argument prototype would still apply.  */
14360 #ifdef __cplusplus
14361 extern "C"
14362 #endif
14363 char connect ();
14364 int
14365 main ()
14366 {
14367 return connect ();
14368   ;
14369   return 0;
14370 }
14371 _ACEOF
14372 if ac_fn_c_try_link "$LINENO"; then :
14373   ac_cv_lib_socket_connect=yes
14374 else
14375   ac_cv_lib_socket_connect=no
14376 fi
14377 rm -f core conftest.err conftest.$ac_objext \
14378     conftest$ac_exeext conftest.$ac_ext
14379 LIBS=$ac_check_lib_save_LIBS
14380 fi
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14382 $as_echo "$ac_cv_lib_socket_connect" >&6; }
14383 if test "x$ac_cv_lib_socket_connect" = xyes; then :
14384   cat >>confdefs.h <<_ACEOF
14385 #define HAVE_LIBSOCKET 1
14386 _ACEOF
14387
14388   LIBS="-lsocket $LIBS"
14389
14390 else
14391   have_socket="no"
14392 fi
14393
14394       ;;
14395    darwin*)
14396       ELM_UNIX_DEF="#define"
14397       have_socket="yes"
14398       have_dlopen="yes"
14399       for ac_header in crt_externs.h
14400 do :
14401   ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
14402 if test "x$ac_cv_header_crt_externs_h" = xyes; then :
14403   cat >>confdefs.h <<_ACEOF
14404 #define HAVE_CRT_EXTERNS_H 1
14405 _ACEOF
14406
14407 fi
14408
14409 done
14410
14411
14412 $as_echo "#define environ (*_NSGetEnviron())" >>confdefs.h
14413
14414       ;;
14415    *)
14416       ELM_UNIX_DEF="#define"
14417       for ac_func in dlopen
14418 do :
14419   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14420 if test "x$ac_cv_func_dlopen" = xyes; then :
14421   cat >>confdefs.h <<_ACEOF
14422 #define HAVE_DLOPEN 1
14423 _ACEOF
14424  res=yes
14425 else
14426   res=no
14427 fi
14428 done
14429
14430       if test "x$res" = "xyes"; then
14431         for ac_func in dladdr
14432 do :
14433   ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
14434 if test "x$ac_cv_func_dladdr" = xyes; then :
14435   cat >>confdefs.h <<_ACEOF
14436 #define HAVE_DLADDR 1
14437 _ACEOF
14438  $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14439
14440 fi
14441 done
14442
14443         have_dlopen="yes"
14444       else
14445         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14446 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14447 if ${ac_cv_lib_dl_dlopen+:} false; then :
14448   $as_echo_n "(cached) " >&6
14449 else
14450   ac_check_lib_save_LIBS=$LIBS
14451 LIBS="-ldl  $LIBS"
14452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14453 /* end confdefs.h.  */
14454
14455 /* Override any GCC internal prototype to avoid an error.
14456    Use char because int might match the return type of a GCC
14457    builtin and then its argument prototype would still apply.  */
14458 #ifdef __cplusplus
14459 extern "C"
14460 #endif
14461 char dlopen ();
14462 int
14463 main ()
14464 {
14465 return dlopen ();
14466   ;
14467   return 0;
14468 }
14469 _ACEOF
14470 if ac_fn_c_try_link "$LINENO"; then :
14471   ac_cv_lib_dl_dlopen=yes
14472 else
14473   ac_cv_lib_dl_dlopen=no
14474 fi
14475 rm -f core conftest.err conftest.$ac_objext \
14476     conftest$ac_exeext conftest.$ac_ext
14477 LIBS=$ac_check_lib_save_LIBS
14478 fi
14479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14480 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14481 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14482   res=yes
14483 else
14484   res=no
14485 fi
14486
14487         if test "x$res" = "xyes"; then
14488           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
14489 $as_echo_n "checking for dladdr in -ldl... " >&6; }
14490 if ${ac_cv_lib_dl_dladdr+:} false; then :
14491   $as_echo_n "(cached) " >&6
14492 else
14493   ac_check_lib_save_LIBS=$LIBS
14494 LIBS="-ldl  $LIBS"
14495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14496 /* end confdefs.h.  */
14497
14498 /* Override any GCC internal prototype to avoid an error.
14499    Use char because int might match the return type of a GCC
14500    builtin and then its argument prototype would still apply.  */
14501 #ifdef __cplusplus
14502 extern "C"
14503 #endif
14504 char dladdr ();
14505 int
14506 main ()
14507 {
14508 return dladdr ();
14509   ;
14510   return 0;
14511 }
14512 _ACEOF
14513 if ac_fn_c_try_link "$LINENO"; then :
14514   ac_cv_lib_dl_dladdr=yes
14515 else
14516   ac_cv_lib_dl_dladdr=no
14517 fi
14518 rm -f core conftest.err conftest.$ac_objext \
14519     conftest$ac_exeext conftest.$ac_ext
14520 LIBS=$ac_check_lib_save_LIBS
14521 fi
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
14523 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
14524 if test "x$ac_cv_lib_dl_dladdr" = xyes; then :
14525   $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
14526
14527 fi
14528
14529           dlopen_libs=-ldl
14530           have_dlopen="yes"
14531         fi
14532       fi
14533       have_socket="yes"
14534       ;;
14535 esac
14536  if test "x$have_socket" = "xyes"; then
14537   BUILD_RUN_TRUE=
14538   BUILD_RUN_FALSE='#'
14539 else
14540   BUILD_RUN_TRUE='#'
14541   BUILD_RUN_FALSE=
14542 fi
14543
14544  if test "x$have_dlopen" = "xyes"; then
14545   BUILD_MODULES_TRUE=
14546   BUILD_MODULES_FALSE='#'
14547 else
14548   BUILD_MODULES_TRUE='#'
14549   BUILD_MODULES_FALSE=
14550 fi
14551
14552
14553
14554
14555
14556 CFLAGS_save="${CFLAGS}"
14557 CFLAGS="${CFLAGS} -Wshadow"
14558
14559 ac_ext=c
14560 ac_cpp='$CPP $CPPFLAGS'
14561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14564
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshadow" >&5
14566 $as_echo_n "checking whether the compiler supports -Wshadow... " >&6; }
14567
14568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14569 /* end confdefs.h.  */
14570
14571 int
14572 main ()
14573 {
14574
14575   ;
14576   return 0;
14577 }
14578 _ACEOF
14579 if ac_fn_c_try_compile "$LINENO"; then :
14580   have_flag="yes"
14581 else
14582   have_flag="no"
14583 fi
14584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14586 $as_echo "${have_flag}" >&6; }
14587
14588 if test "x${have_flag}" = "xno" ; then
14589    CFLAGS="${CFLAGS_save}"
14590 fi
14591 ac_ext=c
14592 ac_cpp='$CPP $CPPFLAGS'
14593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14596
14597
14598
14599
14600
14601 CFLAGS_save="${CFLAGS}"
14602 CFLAGS="${CFLAGS} -Wall"
14603
14604 ac_ext=c
14605 ac_cpp='$CPP $CPPFLAGS'
14606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14609
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
14611 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
14612
14613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14614 /* end confdefs.h.  */
14615
14616 int
14617 main ()
14618 {
14619
14620   ;
14621   return 0;
14622 }
14623 _ACEOF
14624 if ac_fn_c_try_compile "$LINENO"; then :
14625   have_flag="yes"
14626 else
14627   have_flag="no"
14628 fi
14629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14631 $as_echo "${have_flag}" >&6; }
14632
14633 if test "x${have_flag}" = "xno" ; then
14634    CFLAGS="${CFLAGS_save}"
14635 fi
14636 ac_ext=c
14637 ac_cpp='$CPP $CPPFLAGS'
14638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14641
14642
14643
14644
14645
14646 CFLAGS_save="${CFLAGS}"
14647 CFLAGS="${CFLAGS} -W"
14648
14649 ac_ext=c
14650 ac_cpp='$CPP $CPPFLAGS'
14651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14654
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
14656 $as_echo_n "checking whether the compiler supports -W... " >&6; }
14657
14658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14659 /* end confdefs.h.  */
14660
14661 int
14662 main ()
14663 {
14664
14665   ;
14666   return 0;
14667 }
14668 _ACEOF
14669 if ac_fn_c_try_compile "$LINENO"; then :
14670   have_flag="yes"
14671 else
14672   have_flag="no"
14673 fi
14674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
14676 $as_echo "${have_flag}" >&6; }
14677
14678 if test "x${have_flag}" = "xno" ; then
14679    CFLAGS="${CFLAGS_save}"
14680 fi
14681 ac_ext=c
14682 ac_cpp='$CPP $CPPFLAGS'
14683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14686
14687
14688
14689
14690
14691 have_fork="no"
14692 want_quicklaunch="auto"
14693 # Check whether --enable-quick-launch was given.
14694 if test "${enable_quick_launch+set}" = set; then :
14695   enableval=$enable_quick_launch; want_quicklaunch=$enableval
14696 fi
14697
14698
14699 if test "x$want_quicklaunch" != "xno"; then
14700    for ac_func in fork
14701 do :
14702   ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
14703 if test "x$ac_cv_func_fork" = xyes; then :
14704   cat >>confdefs.h <<_ACEOF
14705 #define HAVE_FORK 1
14706 _ACEOF
14707
14708         have_fork="yes"
14709         $as_echo "#define HAVE_FORK 1" >>confdefs.h
14710
14711
14712 fi
14713 done
14714
14715 fi
14716  if test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"; then
14717   BUILD_QUICKLAUNCH_TRUE=
14718   BUILD_QUICKLAUNCH_FALSE='#'
14719 else
14720   BUILD_QUICKLAUNCH_TRUE='#'
14721   BUILD_QUICKLAUNCH_FALSE=
14722 fi
14723
14724
14725
14726
14727
14728
14729
14730
14731  if test "x${have_windows}" = "xyes"; then
14732   ELEMENTARY_WINDOWS_BUILD_TRUE=
14733   ELEMENTARY_WINDOWS_BUILD_FALSE='#'
14734 else
14735   ELEMENTARY_WINDOWS_BUILD_TRUE='#'
14736   ELEMENTARY_WINDOWS_BUILD_FALSE=
14737 fi
14738
14739
14740
14741 pkg_failed=no
14742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
14743 $as_echo_n "checking for ELEMENTARY... " >&6; }
14744
14745 if test -n "$ELEMENTARY_CFLAGS"; then
14746     pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
14747  elif test -n "$PKG_CONFIG"; then
14748     if test -n "$PKG_CONFIG" && \
14749     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14750     eina >= 1.7.8
14751     eet >= 1.7.8
14752     evas >= 1.7.8
14753     ecore >= 1.7.8
14754     ecore-evas >= 1.7.8
14755     ecore-file >= 1.7.8
14756     edje >= 1.7.8
14757
14758 \""; } >&5
14759   ($PKG_CONFIG --exists --print-errors "
14760     eina >= 1.7.8
14761     eet >= 1.7.8
14762     evas >= 1.7.8
14763     ecore >= 1.7.8
14764     ecore-evas >= 1.7.8
14765     ecore-file >= 1.7.8
14766     edje >= 1.7.8
14767
14768 ") 2>&5
14769   ac_status=$?
14770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14771   test $ac_status = 0; }; then
14772   pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "
14773     eina >= 1.7.8
14774     eet >= 1.7.8
14775     evas >= 1.7.8
14776     ecore >= 1.7.8
14777     ecore-evas >= 1.7.8
14778     ecore-file >= 1.7.8
14779     edje >= 1.7.8
14780
14781 " 2>/dev/null`
14782                       test "x$?" != "x0" && pkg_failed=yes
14783 else
14784   pkg_failed=yes
14785 fi
14786  else
14787     pkg_failed=untried
14788 fi
14789 if test -n "$ELEMENTARY_LIBS"; then
14790     pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
14791  elif test -n "$PKG_CONFIG"; then
14792     if test -n "$PKG_CONFIG" && \
14793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14794     eina >= 1.7.8
14795     eet >= 1.7.8
14796     evas >= 1.7.8
14797     ecore >= 1.7.8
14798     ecore-evas >= 1.7.8
14799     ecore-file >= 1.7.8
14800     edje >= 1.7.8
14801
14802 \""; } >&5
14803   ($PKG_CONFIG --exists --print-errors "
14804     eina >= 1.7.8
14805     eet >= 1.7.8
14806     evas >= 1.7.8
14807     ecore >= 1.7.8
14808     ecore-evas >= 1.7.8
14809     ecore-file >= 1.7.8
14810     edje >= 1.7.8
14811
14812 ") 2>&5
14813   ac_status=$?
14814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14815   test $ac_status = 0; }; then
14816   pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "
14817     eina >= 1.7.8
14818     eet >= 1.7.8
14819     evas >= 1.7.8
14820     ecore >= 1.7.8
14821     ecore-evas >= 1.7.8
14822     ecore-file >= 1.7.8
14823     edje >= 1.7.8
14824
14825 " 2>/dev/null`
14826                       test "x$?" != "x0" && pkg_failed=yes
14827 else
14828   pkg_failed=yes
14829 fi
14830  else
14831     pkg_failed=untried
14832 fi
14833
14834
14835
14836 if test $pkg_failed = yes; then
14837         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14838 $as_echo "no" >&6; }
14839
14840 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14841         _pkg_short_errors_supported=yes
14842 else
14843         _pkg_short_errors_supported=no
14844 fi
14845         if test $_pkg_short_errors_supported = yes; then
14846                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
14847     eina >= 1.7.8
14848     eet >= 1.7.8
14849     evas >= 1.7.8
14850     ecore >= 1.7.8
14851     ecore-evas >= 1.7.8
14852     ecore-file >= 1.7.8
14853     edje >= 1.7.8
14854
14855 " 2>&1`
14856         else
14857                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
14858     eina >= 1.7.8
14859     eet >= 1.7.8
14860     evas >= 1.7.8
14861     ecore >= 1.7.8
14862     ecore-evas >= 1.7.8
14863     ecore-file >= 1.7.8
14864     edje >= 1.7.8
14865
14866 " 2>&1`
14867         fi
14868         # Put the nasty error message in config.log where it belongs
14869         echo "$ELEMENTARY_PKG_ERRORS" >&5
14870
14871         as_fn_error $? "Package requirements (
14872     eina >= 1.7.8
14873     eet >= 1.7.8
14874     evas >= 1.7.8
14875     ecore >= 1.7.8
14876     ecore-evas >= 1.7.8
14877     ecore-file >= 1.7.8
14878     edje >= 1.7.8
14879
14880 ) were not met:
14881
14882 $ELEMENTARY_PKG_ERRORS
14883
14884 Consider adjusting the PKG_CONFIG_PATH environment variable if you
14885 installed software in a non-standard prefix.
14886
14887 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
14888 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
14889 See the pkg-config man page for more details." "$LINENO" 5
14890 elif test $pkg_failed = untried; then
14891         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14892 $as_echo "no" >&6; }
14893         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14895 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14896 is in your PATH or set the PKG_CONFIG environment variable to the full
14897 path to pkg-config.
14898
14899 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
14900 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
14901 See the pkg-config man page for more details.
14902
14903 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14904 See \`config.log' for more details" "$LINENO" 5; }
14905 else
14906         ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
14907         ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
14908         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14909 $as_echo "yes" >&6; }
14910
14911 fi
14912
14913 requirement_elm="edje >= 1.7.8 ecore-file >= 1.7.8 ecore-evas >= 1.7.8 ecore >= 1.7.8 evas >= 1.7.8 eet >= 1.7.8 eina >= 1.7.8 ${requirement_elm}"
14914
14915
14916 pkg_failed=no
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_IMF" >&5
14918 $as_echo_n "checking for ELEMENTARY_ECORE_IMF... " >&6; }
14919
14920 if test -n "$ELEMENTARY_ECORE_IMF_CFLAGS"; then
14921     pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS="$ELEMENTARY_ECORE_IMF_CFLAGS"
14922  elif test -n "$PKG_CONFIG"; then
14923     if test -n "$PKG_CONFIG" && \
14924     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.7.8\""; } >&5
14925   ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.7.8") 2>&5
14926   ac_status=$?
14927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14928   test $ac_status = 0; }; then
14929   pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "ecore-imf >= 1.7.8" 2>/dev/null`
14930                       test "x$?" != "x0" && pkg_failed=yes
14931 else
14932   pkg_failed=yes
14933 fi
14934  else
14935     pkg_failed=untried
14936 fi
14937 if test -n "$ELEMENTARY_ECORE_IMF_LIBS"; then
14938     pkg_cv_ELEMENTARY_ECORE_IMF_LIBS="$ELEMENTARY_ECORE_IMF_LIBS"
14939  elif test -n "$PKG_CONFIG"; then
14940     if test -n "$PKG_CONFIG" && \
14941     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.7.8\""; } >&5
14942   ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.7.8") 2>&5
14943   ac_status=$?
14944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14945   test $ac_status = 0; }; then
14946   pkg_cv_ELEMENTARY_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "ecore-imf >= 1.7.8" 2>/dev/null`
14947                       test "x$?" != "x0" && pkg_failed=yes
14948 else
14949   pkg_failed=yes
14950 fi
14951  else
14952     pkg_failed=untried
14953 fi
14954
14955
14956
14957 if test $pkg_failed = yes; then
14958         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14959 $as_echo "no" >&6; }
14960
14961 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14962         _pkg_short_errors_supported=yes
14963 else
14964         _pkg_short_errors_supported=no
14965 fi
14966         if test $_pkg_short_errors_supported = yes; then
14967                 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-imf >= 1.7.8" 2>&1`
14968         else
14969                 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-imf >= 1.7.8" 2>&1`
14970         fi
14971         # Put the nasty error message in config.log where it belongs
14972         echo "$ELEMENTARY_ECORE_IMF_PKG_ERRORS" >&5
14973
14974         have_ecore_imf="no"
14975 elif test $pkg_failed = untried; then
14976         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14977 $as_echo "no" >&6; }
14978         have_ecore_imf="no"
14979 else
14980         ELEMENTARY_ECORE_IMF_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS
14981         ELEMENTARY_ECORE_IMF_LIBS=$pkg_cv_ELEMENTARY_ECORE_IMF_LIBS
14982         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14983 $as_echo "yes" >&6; }
14984
14985     ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
14986
14987 $as_echo "#define HAVE_ELEMENTARY_ECORE_IMF 1" >>confdefs.h
14988
14989     have_ecore_imf="yes"
14990     requirement_elm="ecore-imf >= 1.7.8 ${requirement_elm}"
14991
14992 fi
14993
14994
14995  if test "x${have_ecore_imf}" = "xyes"; then
14996   HAVE_ECORE_IMF_TRUE=
14997   HAVE_ECORE_IMF_FALSE='#'
14998 else
14999   HAVE_ECORE_IMF_TRUE='#'
15000   HAVE_ECORE_IMF_FALSE=
15001 fi
15002
15003
15004
15005 pkg_failed=no
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_CON" >&5
15007 $as_echo_n "checking for ELEMENTARY_ECORE_CON... " >&6; }
15008
15009 if test -n "$ELEMENTARY_ECORE_CON_CFLAGS"; then
15010     pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS="$ELEMENTARY_ECORE_CON_CFLAGS"
15011  elif test -n "$PKG_CONFIG"; then
15012     if test -n "$PKG_CONFIG" && \
15013     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.8\""; } >&5
15014   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.8") 2>&5
15015   ac_status=$?
15016   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15017   test $ac_status = 0; }; then
15018   pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.7.8" 2>/dev/null`
15019                       test "x$?" != "x0" && pkg_failed=yes
15020 else
15021   pkg_failed=yes
15022 fi
15023  else
15024     pkg_failed=untried
15025 fi
15026 if test -n "$ELEMENTARY_ECORE_CON_LIBS"; then
15027     pkg_cv_ELEMENTARY_ECORE_CON_LIBS="$ELEMENTARY_ECORE_CON_LIBS"
15028  elif test -n "$PKG_CONFIG"; then
15029     if test -n "$PKG_CONFIG" && \
15030     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.7.8\""; } >&5
15031   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.7.8") 2>&5
15032   ac_status=$?
15033   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15034   test $ac_status = 0; }; then
15035   pkg_cv_ELEMENTARY_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.7.8" 2>/dev/null`
15036                       test "x$?" != "x0" && pkg_failed=yes
15037 else
15038   pkg_failed=yes
15039 fi
15040  else
15041     pkg_failed=untried
15042 fi
15043
15044
15045
15046 if test $pkg_failed = yes; then
15047         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15048 $as_echo "no" >&6; }
15049
15050 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15051         _pkg_short_errors_supported=yes
15052 else
15053         _pkg_short_errors_supported=no
15054 fi
15055         if test $_pkg_short_errors_supported = yes; then
15056                 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-con >= 1.7.8" 2>&1`
15057         else
15058                 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-con >= 1.7.8" 2>&1`
15059         fi
15060         # Put the nasty error message in config.log where it belongs
15061         echo "$ELEMENTARY_ECORE_CON_PKG_ERRORS" >&5
15062
15063         have_ecore_con="no"
15064 elif test $pkg_failed = untried; then
15065         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15066 $as_echo "no" >&6; }
15067         have_ecore_con="no"
15068 else
15069         ELEMENTARY_ECORE_CON_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS
15070         ELEMENTARY_ECORE_CON_LIBS=$pkg_cv_ELEMENTARY_ECORE_CON_LIBS
15071         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15072 $as_echo "yes" >&6; }
15073
15074     ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
15075
15076 $as_echo "#define HAVE_ELEMENTARY_ECORE_CON 1" >>confdefs.h
15077
15078     have_ecore_con="yes"
15079     requirement_elm="ecore-con >= 1.7.8 ${requirement_elm}"
15080
15081 fi
15082
15083
15084  if test "x${have_ecore_con}" = "xyes"; then
15085   HAVE_ECORE_CON_TRUE=
15086   HAVE_ECORE_CON_FALSE='#'
15087 else
15088   HAVE_ECORE_CON_TRUE='#'
15089   HAVE_ECORE_CON_FALSE=
15090 fi
15091
15092
15093
15094 pkg_failed=no
15095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
15096 $as_echo_n "checking for EIO... " >&6; }
15097
15098 if test -n "$EIO_CFLAGS"; then
15099     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
15100  elif test -n "$PKG_CONFIG"; then
15101     if test -n "$PKG_CONFIG" && \
15102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
15103   ($PKG_CONFIG --exists --print-errors "eio") 2>&5
15104   ac_status=$?
15105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15106   test $ac_status = 0; }; then
15107   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio" 2>/dev/null`
15108                       test "x$?" != "x0" && pkg_failed=yes
15109 else
15110   pkg_failed=yes
15111 fi
15112  else
15113     pkg_failed=untried
15114 fi
15115 if test -n "$EIO_LIBS"; then
15116     pkg_cv_EIO_LIBS="$EIO_LIBS"
15117  elif test -n "$PKG_CONFIG"; then
15118     if test -n "$PKG_CONFIG" && \
15119     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
15120   ($PKG_CONFIG --exists --print-errors "eio") 2>&5
15121   ac_status=$?
15122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15123   test $ac_status = 0; }; then
15124   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio" 2>/dev/null`
15125                       test "x$?" != "x0" && pkg_failed=yes
15126 else
15127   pkg_failed=yes
15128 fi
15129  else
15130     pkg_failed=untried
15131 fi
15132
15133
15134
15135 if test $pkg_failed = yes; then
15136         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15137 $as_echo "no" >&6; }
15138
15139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15140         _pkg_short_errors_supported=yes
15141 else
15142         _pkg_short_errors_supported=no
15143 fi
15144         if test $_pkg_short_errors_supported = yes; then
15145                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "eio" 2>&1`
15146         else
15147                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "eio" 2>&1`
15148         fi
15149         # Put the nasty error message in config.log where it belongs
15150         echo "$EIO_PKG_ERRORS" >&5
15151
15152         have_eio="no"
15153 elif test $pkg_failed = untried; then
15154         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15155 $as_echo "no" >&6; }
15156         have_eio="no"
15157 else
15158         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
15159         EIO_LIBS=$pkg_cv_EIO_LIBS
15160         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15161 $as_echo "yes" >&6; }
15162
15163          have_eio="yes"
15164
15165 $as_echo "#define HAVE_EIO 1" >>confdefs.h
15166
15167          requirement_elm="eio ${requirement_elm}"
15168
15169 fi
15170
15171  if test "x${have_eio}" = "xyes"; then
15172   HAVE_EIO_TRUE=
15173   HAVE_EIO_FALSE='#'
15174 else
15175   HAVE_EIO_TRUE='#'
15176   HAVE_EIO_FALSE=
15177 fi
15178
15179
15180 have_emotion="no"
15181 want_elementary_emotion="yes"
15182 # Check whether --enable-emotion was given.
15183 if test "${enable_emotion+set}" = set; then :
15184   enableval=$enable_emotion; want_elementary_emotion=$enableval
15185 fi
15186
15187
15188 if test "x$want_elementary_emotion" != "xno"; then
15189
15190 pkg_failed=no
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
15192 $as_echo_n "checking for EMOTION... " >&6; }
15193
15194 if test -n "$EMOTION_CFLAGS"; then
15195     pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
15196  elif test -n "$PKG_CONFIG"; then
15197     if test -n "$PKG_CONFIG" && \
15198     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
15199   ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
15200   ac_status=$?
15201   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15202   test $ac_status = 0; }; then
15203   pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "emotion" 2>/dev/null`
15204                       test "x$?" != "x0" && pkg_failed=yes
15205 else
15206   pkg_failed=yes
15207 fi
15208  else
15209     pkg_failed=untried
15210 fi
15211 if test -n "$EMOTION_LIBS"; then
15212     pkg_cv_EMOTION_LIBS="$EMOTION_LIBS"
15213  elif test -n "$PKG_CONFIG"; then
15214     if test -n "$PKG_CONFIG" && \
15215     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
15216   ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
15217   ac_status=$?
15218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15219   test $ac_status = 0; }; then
15220   pkg_cv_EMOTION_LIBS=`$PKG_CONFIG --libs "emotion" 2>/dev/null`
15221                       test "x$?" != "x0" && pkg_failed=yes
15222 else
15223   pkg_failed=yes
15224 fi
15225  else
15226     pkg_failed=untried
15227 fi
15228
15229
15230
15231 if test $pkg_failed = yes; then
15232         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15233 $as_echo "no" >&6; }
15234
15235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15236         _pkg_short_errors_supported=yes
15237 else
15238         _pkg_short_errors_supported=no
15239 fi
15240         if test $_pkg_short_errors_supported = yes; then
15241                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "emotion" 2>&1`
15242         else
15243                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "emotion" 2>&1`
15244         fi
15245         # Put the nasty error message in config.log where it belongs
15246         echo "$EMOTION_PKG_ERRORS" >&5
15247
15248         have_emotion="no"
15249 elif test $pkg_failed = untried; then
15250         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15251 $as_echo "no" >&6; }
15252         have_emotion="no"
15253 else
15254         EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
15255         EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
15256         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15257 $as_echo "yes" >&6; }
15258
15259          have_emotion="yes"
15260
15261 $as_echo "#define HAVE_EMOTION 1" >>confdefs.h
15262
15263          requirement_elm="emotion ${requirement_elm}"
15264
15265 fi
15266 fi
15267
15268  if test "x${have_emotion}" = "xyes"; then
15269   HAVE_EMOTION_TRUE=
15270   HAVE_EMOTION_FALSE='#'
15271 else
15272   HAVE_EMOTION_TRUE='#'
15273   HAVE_EMOTION_FALSE=
15274 fi
15275
15276
15277 have_elementary_x="no"
15278 want_elementary_x="auto"
15279 # Check whether --enable-ecore-x was given.
15280 if test "${enable_ecore_x+set}" = set; then :
15281   enableval=$enable_ecore_x; want_elementary_x=$enableval
15282 fi
15283
15284
15285 if test "x$want_elementary_x" != "xno"; then
15286
15287 pkg_failed=no
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_X" >&5
15289 $as_echo_n "checking for ELEMENTARY_X... " >&6; }
15290
15291 if test -n "$ELEMENTARY_X_CFLAGS"; then
15292     pkg_cv_ELEMENTARY_X_CFLAGS="$ELEMENTARY_X_CFLAGS"
15293  elif test -n "$PKG_CONFIG"; then
15294     if test -n "$PKG_CONFIG" && \
15295     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
15296   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
15297   ac_status=$?
15298   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15299   test $ac_status = 0; }; then
15300   pkg_cv_ELEMENTARY_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.7.8" 2>/dev/null`
15301                       test "x$?" != "x0" && pkg_failed=yes
15302 else
15303   pkg_failed=yes
15304 fi
15305  else
15306     pkg_failed=untried
15307 fi
15308 if test -n "$ELEMENTARY_X_LIBS"; then
15309     pkg_cv_ELEMENTARY_X_LIBS="$ELEMENTARY_X_LIBS"
15310  elif test -n "$PKG_CONFIG"; then
15311     if test -n "$PKG_CONFIG" && \
15312     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.7.8\""; } >&5
15313   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.7.8") 2>&5
15314   ac_status=$?
15315   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15316   test $ac_status = 0; }; then
15317   pkg_cv_ELEMENTARY_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.7.8" 2>/dev/null`
15318                       test "x$?" != "x0" && pkg_failed=yes
15319 else
15320   pkg_failed=yes
15321 fi
15322  else
15323     pkg_failed=untried
15324 fi
15325
15326
15327
15328 if test $pkg_failed = yes; then
15329         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15330 $as_echo "no" >&6; }
15331
15332 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15333         _pkg_short_errors_supported=yes
15334 else
15335         _pkg_short_errors_supported=no
15336 fi
15337         if test $_pkg_short_errors_supported = yes; then
15338                 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
15339         else
15340                 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-x >= 1.7.8" 2>&1`
15341         fi
15342         # Put the nasty error message in config.log where it belongs
15343         echo "$ELEMENTARY_X_PKG_ERRORS" >&5
15344
15345         have_elementary_x="no"
15346
15347 elif test $pkg_failed = untried; then
15348         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15349 $as_echo "no" >&6; }
15350         have_elementary_x="no"
15351
15352 else
15353         ELEMENTARY_X_CFLAGS=$pkg_cv_ELEMENTARY_X_CFLAGS
15354         ELEMENTARY_X_LIBS=$pkg_cv_ELEMENTARY_X_LIBS
15355         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15356 $as_echo "yes" >&6; }
15357
15358
15359 $as_echo "#define HAVE_ELEMENTARY_X 1" >>confdefs.h
15360
15361        have_elementary_x="yes"
15362        requirement_elm="ecore-x >= 1.7.8 ${requirement_elm}"
15363
15364 fi
15365 else
15366     have_elementary_x="no"
15367 fi
15368 if test "x$want_elementary_x" = "xyes" -a "x$have_elementary_x" = "xno"; then
15369     as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
15370 fi
15371
15372
15373 have_elementary_fb="no"
15374 want_elementary_fb="auto"
15375 # Check whether --enable-ecore-fb was given.
15376 if test "${enable_ecore_fb+set}" = set; then :
15377   enableval=$enable_ecore_fb; want_elementary_fb=$enableval
15378 fi
15379
15380
15381 if test "x$want_elementary_fb" != "xno"; then
15382
15383 pkg_failed=no
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_FB" >&5
15385 $as_echo_n "checking for ELEMENTARY_FB... " >&6; }
15386
15387 if test -n "$ELEMENTARY_FB_CFLAGS"; then
15388     pkg_cv_ELEMENTARY_FB_CFLAGS="$ELEMENTARY_FB_CFLAGS"
15389  elif test -n "$PKG_CONFIG"; then
15390     if test -n "$PKG_CONFIG" && \
15391     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
15392   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
15393   ac_status=$?
15394   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15395   test $ac_status = 0; }; then
15396   pkg_cv_ELEMENTARY_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.7.8" 2>/dev/null`
15397                       test "x$?" != "x0" && pkg_failed=yes
15398 else
15399   pkg_failed=yes
15400 fi
15401  else
15402     pkg_failed=untried
15403 fi
15404 if test -n "$ELEMENTARY_FB_LIBS"; then
15405     pkg_cv_ELEMENTARY_FB_LIBS="$ELEMENTARY_FB_LIBS"
15406  elif test -n "$PKG_CONFIG"; then
15407     if test -n "$PKG_CONFIG" && \
15408     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.7.8\""; } >&5
15409   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.7.8") 2>&5
15410   ac_status=$?
15411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412   test $ac_status = 0; }; then
15413   pkg_cv_ELEMENTARY_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.7.8" 2>/dev/null`
15414                       test "x$?" != "x0" && pkg_failed=yes
15415 else
15416   pkg_failed=yes
15417 fi
15418  else
15419     pkg_failed=untried
15420 fi
15421
15422
15423
15424 if test $pkg_failed = yes; then
15425         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15426 $as_echo "no" >&6; }
15427
15428 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15429         _pkg_short_errors_supported=yes
15430 else
15431         _pkg_short_errors_supported=no
15432 fi
15433         if test $_pkg_short_errors_supported = yes; then
15434                 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
15435         else
15436                 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-fb >= 1.7.8" 2>&1`
15437         fi
15438         # Put the nasty error message in config.log where it belongs
15439         echo "$ELEMENTARY_FB_PKG_ERRORS" >&5
15440
15441         have_elementary_fb="no"
15442
15443 elif test $pkg_failed = untried; then
15444         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15445 $as_echo "no" >&6; }
15446         have_elementary_fb="no"
15447
15448 else
15449         ELEMENTARY_FB_CFLAGS=$pkg_cv_ELEMENTARY_FB_CFLAGS
15450         ELEMENTARY_FB_LIBS=$pkg_cv_ELEMENTARY_FB_LIBS
15451         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15452 $as_echo "yes" >&6; }
15453
15454
15455 $as_echo "#define HAVE_ELEMENTARY_FB 1" >>confdefs.h
15456
15457        have_elementary_fb="yes"
15458        requirement_elm="ecore-fb >= 1.7.8 ${requirement_elm}"
15459
15460 fi
15461 else
15462     have_elementary_fb="no"
15463 fi
15464 if test "x$want_elementary_fb" = "xyes" -a "x$have_elementary_fb" = "xno"; then
15465     as_fn_error $? "ecore-fb support requested, but not found by pkg-config." "$LINENO" 5
15466 fi
15467
15468 have_elementary_psl1ght="no"
15469 want_elementary_psl1ght="auto"
15470 # Check whether --enable-ecore-psl1ght was given.
15471 if test "${enable_ecore_psl1ght+set}" = set; then :
15472   enableval=$enable_ecore_psl1ght; want_elementary_psl1ght=$enableval
15473 fi
15474
15475
15476 if test "x$want_elementary_psl1ght" != "xno"; then
15477
15478 pkg_failed=no
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_PSL1GHT" >&5
15480 $as_echo_n "checking for ELEMENTARY_PSL1GHT... " >&6; }
15481
15482 if test -n "$ELEMENTARY_PSL1GHT_CFLAGS"; then
15483     pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS="$ELEMENTARY_PSL1GHT_CFLAGS"
15484  elif test -n "$PKG_CONFIG"; then
15485     if test -n "$PKG_CONFIG" && \
15486     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.7.8\""; } >&5
15487   ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.7.8") 2>&5
15488   ac_status=$?
15489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15490   test $ac_status = 0; }; then
15491   pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS=`$PKG_CONFIG --cflags "ecore-psl1ght >= 1.7.8" 2>/dev/null`
15492                       test "x$?" != "x0" && pkg_failed=yes
15493 else
15494   pkg_failed=yes
15495 fi
15496  else
15497     pkg_failed=untried
15498 fi
15499 if test -n "$ELEMENTARY_PSL1GHT_LIBS"; then
15500     pkg_cv_ELEMENTARY_PSL1GHT_LIBS="$ELEMENTARY_PSL1GHT_LIBS"
15501  elif test -n "$PKG_CONFIG"; then
15502     if test -n "$PKG_CONFIG" && \
15503     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.7.8\""; } >&5
15504   ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.7.8") 2>&5
15505   ac_status=$?
15506   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15507   test $ac_status = 0; }; then
15508   pkg_cv_ELEMENTARY_PSL1GHT_LIBS=`$PKG_CONFIG --libs "ecore-psl1ght >= 1.7.8" 2>/dev/null`
15509                       test "x$?" != "x0" && pkg_failed=yes
15510 else
15511   pkg_failed=yes
15512 fi
15513  else
15514     pkg_failed=untried
15515 fi
15516
15517
15518
15519 if test $pkg_failed = yes; then
15520         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15521 $as_echo "no" >&6; }
15522
15523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15524         _pkg_short_errors_supported=yes
15525 else
15526         _pkg_short_errors_supported=no
15527 fi
15528         if test $_pkg_short_errors_supported = yes; then
15529                 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-psl1ght >= 1.7.8" 2>&1`
15530         else
15531                 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-psl1ght >= 1.7.8" 2>&1`
15532         fi
15533         # Put the nasty error message in config.log where it belongs
15534         echo "$ELEMENTARY_PSL1GHT_PKG_ERRORS" >&5
15535
15536         have_elementary_psl1ght="no"
15537
15538 elif test $pkg_failed = untried; then
15539         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15540 $as_echo "no" >&6; }
15541         have_elementary_psl1ght="no"
15542
15543 else
15544         ELEMENTARY_PSL1GHT_CFLAGS=$pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS
15545         ELEMENTARY_PSL1GHT_LIBS=$pkg_cv_ELEMENTARY_PSL1GHT_LIBS
15546         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15547 $as_echo "yes" >&6; }
15548
15549
15550 $as_echo "#define HAVE_ELEMENTARY_PSL1GHT 1" >>confdefs.h
15551
15552        have_elementary_psl1ght="yes"
15553        requirement_elm="ecore-psl1ght >= 1.7.8 ${requirement_elm}"
15554
15555 fi
15556 else
15557     have_elementary_psl1ght="no"
15558 fi
15559 if test "x$want_elementary_psl1ght" = "xyes" -a "x$have_elementary_psl1ght" = "xno"; then
15560     as_fn_error $? "ecore-psl1ght support requested, but not found by pkg-config." "$LINENO" 5
15561 fi
15562
15563 have_elementary_sdl="no"
15564 want_elementary_sdl="auto"
15565 # Check whether --enable-ecore-sdl was given.
15566 if test "${enable_ecore_sdl+set}" = set; then :
15567   enableval=$enable_ecore_sdl; want_elementary_sdl=$enableval
15568 fi
15569
15570
15571 if test "x$want_elementary_sdl" != "xno"; then
15572
15573 pkg_failed=no
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_SDL" >&5
15575 $as_echo_n "checking for ELEMENTARY_SDL... " >&6; }
15576
15577 if test -n "$ELEMENTARY_SDL_CFLAGS"; then
15578     pkg_cv_ELEMENTARY_SDL_CFLAGS="$ELEMENTARY_SDL_CFLAGS"
15579  elif test -n "$PKG_CONFIG"; then
15580     if test -n "$PKG_CONFIG" && \
15581     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.7.8\""; } >&5
15582   ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.7.8") 2>&5
15583   ac_status=$?
15584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15585   test $ac_status = 0; }; then
15586   pkg_cv_ELEMENTARY_SDL_CFLAGS=`$PKG_CONFIG --cflags "ecore-sdl >= 1.7.8" 2>/dev/null`
15587                       test "x$?" != "x0" && pkg_failed=yes
15588 else
15589   pkg_failed=yes
15590 fi
15591  else
15592     pkg_failed=untried
15593 fi
15594 if test -n "$ELEMENTARY_SDL_LIBS"; then
15595     pkg_cv_ELEMENTARY_SDL_LIBS="$ELEMENTARY_SDL_LIBS"
15596  elif test -n "$PKG_CONFIG"; then
15597     if test -n "$PKG_CONFIG" && \
15598     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.7.8\""; } >&5
15599   ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.7.8") 2>&5
15600   ac_status=$?
15601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15602   test $ac_status = 0; }; then
15603   pkg_cv_ELEMENTARY_SDL_LIBS=`$PKG_CONFIG --libs "ecore-sdl >= 1.7.8" 2>/dev/null`
15604                       test "x$?" != "x0" && pkg_failed=yes
15605 else
15606   pkg_failed=yes
15607 fi
15608  else
15609     pkg_failed=untried
15610 fi
15611
15612
15613
15614 if test $pkg_failed = yes; then
15615         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15616 $as_echo "no" >&6; }
15617
15618 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15619         _pkg_short_errors_supported=yes
15620 else
15621         _pkg_short_errors_supported=no
15622 fi
15623         if test $_pkg_short_errors_supported = yes; then
15624                 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-sdl >= 1.7.8" 2>&1`
15625         else
15626                 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-sdl >= 1.7.8" 2>&1`
15627         fi
15628         # Put the nasty error message in config.log where it belongs
15629         echo "$ELEMENTARY_SDL_PKG_ERRORS" >&5
15630
15631         have_elementary_sdl="no"
15632
15633 elif test $pkg_failed = untried; then
15634         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15635 $as_echo "no" >&6; }
15636         have_elementary_sdl="no"
15637
15638 else
15639         ELEMENTARY_SDL_CFLAGS=$pkg_cv_ELEMENTARY_SDL_CFLAGS
15640         ELEMENTARY_SDL_LIBS=$pkg_cv_ELEMENTARY_SDL_LIBS
15641         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15642 $as_echo "yes" >&6; }
15643
15644
15645 $as_echo "#define HAVE_ELEMENTARY_SDL 1" >>confdefs.h
15646
15647        have_elementary_sdl="yes"
15648        requirement_elm="ecore-sdl >= 1.7.8 ${requirement_elm}"
15649
15650 fi
15651 else
15652     have_elementary_sdl="no"
15653 fi
15654 if test "x$want_elementary_sdl" = "xyes" -a "x$have_elementary_sdl" = "xno"; then
15655     as_fn_error $? "ecore-sdl support requested, but not found by pkg-config." "$LINENO" 5
15656 fi
15657
15658 have_elementary_cocoa="no"
15659 want_elementary_cocoa="auto"
15660 # Check whether --enable-ecore-cocoa was given.
15661 if test "${enable_ecore_cocoa+set}" = set; then :
15662   enableval=$enable_ecore_cocoa; want_elementary_cocoa=$enableval
15663 fi
15664
15665
15666 if test "x$want_elementary_cocoa" != "xno"; then
15667
15668 pkg_failed=no
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_COCOA" >&5
15670 $as_echo_n "checking for ELEMENTARY_COCOA... " >&6; }
15671
15672 if test -n "$ELEMENTARY_COCOA_CFLAGS"; then
15673     pkg_cv_ELEMENTARY_COCOA_CFLAGS="$ELEMENTARY_COCOA_CFLAGS"
15674  elif test -n "$PKG_CONFIG"; then
15675     if test -n "$PKG_CONFIG" && \
15676     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.7.8\""; } >&5
15677   ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.7.8") 2>&5
15678   ac_status=$?
15679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15680   test $ac_status = 0; }; then
15681   pkg_cv_ELEMENTARY_COCOA_CFLAGS=`$PKG_CONFIG --cflags "ecore-cocoa >= 1.7.8" 2>/dev/null`
15682                       test "x$?" != "x0" && pkg_failed=yes
15683 else
15684   pkg_failed=yes
15685 fi
15686  else
15687     pkg_failed=untried
15688 fi
15689 if test -n "$ELEMENTARY_COCOA_LIBS"; then
15690     pkg_cv_ELEMENTARY_COCOA_LIBS="$ELEMENTARY_COCOA_LIBS"
15691  elif test -n "$PKG_CONFIG"; then
15692     if test -n "$PKG_CONFIG" && \
15693     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.7.8\""; } >&5
15694   ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.7.8") 2>&5
15695   ac_status=$?
15696   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15697   test $ac_status = 0; }; then
15698   pkg_cv_ELEMENTARY_COCOA_LIBS=`$PKG_CONFIG --libs "ecore-cocoa >= 1.7.8" 2>/dev/null`
15699                       test "x$?" != "x0" && pkg_failed=yes
15700 else
15701   pkg_failed=yes
15702 fi
15703  else
15704     pkg_failed=untried
15705 fi
15706
15707
15708
15709 if test $pkg_failed = yes; then
15710         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15711 $as_echo "no" >&6; }
15712
15713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15714         _pkg_short_errors_supported=yes
15715 else
15716         _pkg_short_errors_supported=no
15717 fi
15718         if test $_pkg_short_errors_supported = yes; then
15719                 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-cocoa >= 1.7.8" 2>&1`
15720         else
15721                 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-cocoa >= 1.7.8" 2>&1`
15722         fi
15723         # Put the nasty error message in config.log where it belongs
15724         echo "$ELEMENTARY_COCOA_PKG_ERRORS" >&5
15725
15726         have_elementary_cocoa="no"
15727
15728 elif test $pkg_failed = untried; then
15729         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15730 $as_echo "no" >&6; }
15731         have_elementary_cocoa="no"
15732
15733 else
15734         ELEMENTARY_COCOA_CFLAGS=$pkg_cv_ELEMENTARY_COCOA_CFLAGS
15735         ELEMENTARY_COCOA_LIBS=$pkg_cv_ELEMENTARY_COCOA_LIBS
15736         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15737 $as_echo "yes" >&6; }
15738
15739
15740 $as_echo "#define HAVE_ELEMENTARY_COCOA 1" >>confdefs.h
15741
15742        have_elementary_cocoa="yes"
15743        requirement_elm="ecore-cocoa >= 1.7.8 ${requirement_elm}"
15744
15745 fi
15746 else
15747     have_elementary_cocoa="no"
15748 fi
15749 if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
15750     as_fn_error $? "ecore-cocoa support requested, but not found by pkg-config." "$LINENO" 5
15751 fi
15752
15753 have_elementary_win32="no"
15754 want_elementary_win32="auto"
15755 # Check whether --enable-ecore-win32 was given.
15756 if test "${enable_ecore_win32+set}" = set; then :
15757   enableval=$enable_ecore_win32; want_elementary_win32=$enableval
15758 fi
15759
15760
15761 if test "x$want_elementary_win32" != "xno"; then
15762
15763 pkg_failed=no
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WIN32" >&5
15765 $as_echo_n "checking for ELEMENTARY_WIN32... " >&6; }
15766
15767 if test -n "$ELEMENTARY_WIN32_CFLAGS"; then
15768     pkg_cv_ELEMENTARY_WIN32_CFLAGS="$ELEMENTARY_WIN32_CFLAGS"
15769  elif test -n "$PKG_CONFIG"; then
15770     if test -n "$PKG_CONFIG" && \
15771     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.7.8\""; } >&5
15772   ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.7.8") 2>&5
15773   ac_status=$?
15774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15775   test $ac_status = 0; }; then
15776   pkg_cv_ELEMENTARY_WIN32_CFLAGS=`$PKG_CONFIG --cflags "ecore-win32 >= 1.7.8" 2>/dev/null`
15777                       test "x$?" != "x0" && pkg_failed=yes
15778 else
15779   pkg_failed=yes
15780 fi
15781  else
15782     pkg_failed=untried
15783 fi
15784 if test -n "$ELEMENTARY_WIN32_LIBS"; then
15785     pkg_cv_ELEMENTARY_WIN32_LIBS="$ELEMENTARY_WIN32_LIBS"
15786  elif test -n "$PKG_CONFIG"; then
15787     if test -n "$PKG_CONFIG" && \
15788     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.7.8\""; } >&5
15789   ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.7.8") 2>&5
15790   ac_status=$?
15791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15792   test $ac_status = 0; }; then
15793   pkg_cv_ELEMENTARY_WIN32_LIBS=`$PKG_CONFIG --libs "ecore-win32 >= 1.7.8" 2>/dev/null`
15794                       test "x$?" != "x0" && pkg_failed=yes
15795 else
15796   pkg_failed=yes
15797 fi
15798  else
15799     pkg_failed=untried
15800 fi
15801
15802
15803
15804 if test $pkg_failed = yes; then
15805         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15806 $as_echo "no" >&6; }
15807
15808 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15809         _pkg_short_errors_supported=yes
15810 else
15811         _pkg_short_errors_supported=no
15812 fi
15813         if test $_pkg_short_errors_supported = yes; then
15814                 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-win32 >= 1.7.8" 2>&1`
15815         else
15816                 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-win32 >= 1.7.8" 2>&1`
15817         fi
15818         # Put the nasty error message in config.log where it belongs
15819         echo "$ELEMENTARY_WIN32_PKG_ERRORS" >&5
15820
15821         have_elementary_win32="no"
15822
15823 elif test $pkg_failed = untried; then
15824         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15825 $as_echo "no" >&6; }
15826         have_elementary_win32="no"
15827
15828 else
15829         ELEMENTARY_WIN32_CFLAGS=$pkg_cv_ELEMENTARY_WIN32_CFLAGS
15830         ELEMENTARY_WIN32_LIBS=$pkg_cv_ELEMENTARY_WIN32_LIBS
15831         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15832 $as_echo "yes" >&6; }
15833
15834
15835 $as_echo "#define HAVE_ELEMENTARY_WIN32 1" >>confdefs.h
15836
15837        have_elementary_win32="yes"
15838        requirement_elm="ecore-win32 >= 1.7.8 ${requirement_elm}"
15839
15840 fi
15841 else
15842     have_elementary_win32="no"
15843 fi
15844 if test "x$want_elementary_win32" = "xyes" -a "x$have_elementary_win32" = "xno"; then
15845     as_fn_error $? "ecore-win32 support requested, but not found by pkg-config." "$LINENO" 5
15846 fi
15847
15848 have_elementary_wince="no"
15849 want_elementary_wince="auto"
15850 # Check whether --enable-ecore-wince was given.
15851 if test "${enable_ecore_wince+set}" = set; then :
15852   enableval=$enable_ecore_wince; want_elementary_wince=$enableval
15853 fi
15854
15855
15856 if test "x$want_elementary_wince" != "xno"; then
15857
15858 pkg_failed=no
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WINCE" >&5
15860 $as_echo_n "checking for ELEMENTARY_WINCE... " >&6; }
15861
15862 if test -n "$ELEMENTARY_WINCE_CFLAGS"; then
15863     pkg_cv_ELEMENTARY_WINCE_CFLAGS="$ELEMENTARY_WINCE_CFLAGS"
15864  elif test -n "$PKG_CONFIG"; then
15865     if test -n "$PKG_CONFIG" && \
15866     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.7.8\""; } >&5
15867   ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.7.8") 2>&5
15868   ac_status=$?
15869   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15870   test $ac_status = 0; }; then
15871   pkg_cv_ELEMENTARY_WINCE_CFLAGS=`$PKG_CONFIG --cflags "ecore-wince >= 1.7.8" 2>/dev/null`
15872                       test "x$?" != "x0" && pkg_failed=yes
15873 else
15874   pkg_failed=yes
15875 fi
15876  else
15877     pkg_failed=untried
15878 fi
15879 if test -n "$ELEMENTARY_WINCE_LIBS"; then
15880     pkg_cv_ELEMENTARY_WINCE_LIBS="$ELEMENTARY_WINCE_LIBS"
15881  elif test -n "$PKG_CONFIG"; then
15882     if test -n "$PKG_CONFIG" && \
15883     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.7.8\""; } >&5
15884   ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.7.8") 2>&5
15885   ac_status=$?
15886   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15887   test $ac_status = 0; }; then
15888   pkg_cv_ELEMENTARY_WINCE_LIBS=`$PKG_CONFIG --libs "ecore-wince >= 1.7.8" 2>/dev/null`
15889                       test "x$?" != "x0" && pkg_failed=yes
15890 else
15891   pkg_failed=yes
15892 fi
15893  else
15894     pkg_failed=untried
15895 fi
15896
15897
15898
15899 if test $pkg_failed = yes; then
15900         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15901 $as_echo "no" >&6; }
15902
15903 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15904         _pkg_short_errors_supported=yes
15905 else
15906         _pkg_short_errors_supported=no
15907 fi
15908         if test $_pkg_short_errors_supported = yes; then
15909                 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-wince >= 1.7.8" 2>&1`
15910         else
15911                 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-wince >= 1.7.8" 2>&1`
15912         fi
15913         # Put the nasty error message in config.log where it belongs
15914         echo "$ELEMENTARY_WINCE_PKG_ERRORS" >&5
15915
15916         have_elementary_wince="no"
15917
15918 elif test $pkg_failed = untried; then
15919         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15920 $as_echo "no" >&6; }
15921         have_elementary_wince="no"
15922
15923 else
15924         ELEMENTARY_WINCE_CFLAGS=$pkg_cv_ELEMENTARY_WINCE_CFLAGS
15925         ELEMENTARY_WINCE_LIBS=$pkg_cv_ELEMENTARY_WINCE_LIBS
15926         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15927 $as_echo "yes" >&6; }
15928
15929
15930 $as_echo "#define HAVE_ELEMENTARY_WINCE 1" >>confdefs.h
15931
15932        have_elementary_wince="yes"
15933        requirement_elm="ecore-wince >= 1.7.8 ${requirement_elm}"
15934
15935 fi
15936 else
15937     have_elementary_wince="no"
15938 fi
15939 if test "x$want_elementary_wince" = "xyes" -a "x$have_elementary_wince" = "xno"; then
15940     as_fn_error $? "ecore-wince support requested, but not found by pkg-config." "$LINENO" 5
15941 fi
15942
15943 have_elementary_wayland="no"
15944 want_elementary_wayland="auto"
15945 # Check whether --enable-ecore-wayland was given.
15946 if test "${enable_ecore_wayland+set}" = set; then :
15947   enableval=$enable_ecore_wayland; want_elementary_wayland=$enableval
15948 fi
15949
15950
15951 if test "x$want_elementary_wayland" != "xno"; then
15952
15953 pkg_failed=no
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WAYLAND" >&5
15955 $as_echo_n "checking for ELEMENTARY_WAYLAND... " >&6; }
15956
15957 if test -n "$ELEMENTARY_WAYLAND_CFLAGS"; then
15958     pkg_cv_ELEMENTARY_WAYLAND_CFLAGS="$ELEMENTARY_WAYLAND_CFLAGS"
15959  elif test -n "$PKG_CONFIG"; then
15960     if test -n "$PKG_CONFIG" && \
15961     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wayland\""; } >&5
15962   ($PKG_CONFIG --exists --print-errors "ecore-wayland") 2>&5
15963   ac_status=$?
15964   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15965   test $ac_status = 0; }; then
15966   pkg_cv_ELEMENTARY_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "ecore-wayland" 2>/dev/null`
15967                       test "x$?" != "x0" && pkg_failed=yes
15968 else
15969   pkg_failed=yes
15970 fi
15971  else
15972     pkg_failed=untried
15973 fi
15974 if test -n "$ELEMENTARY_WAYLAND_LIBS"; then
15975     pkg_cv_ELEMENTARY_WAYLAND_LIBS="$ELEMENTARY_WAYLAND_LIBS"
15976  elif test -n "$PKG_CONFIG"; then
15977     if test -n "$PKG_CONFIG" && \
15978     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wayland\""; } >&5
15979   ($PKG_CONFIG --exists --print-errors "ecore-wayland") 2>&5
15980   ac_status=$?
15981   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15982   test $ac_status = 0; }; then
15983   pkg_cv_ELEMENTARY_WAYLAND_LIBS=`$PKG_CONFIG --libs "ecore-wayland" 2>/dev/null`
15984                       test "x$?" != "x0" && pkg_failed=yes
15985 else
15986   pkg_failed=yes
15987 fi
15988  else
15989     pkg_failed=untried
15990 fi
15991
15992
15993
15994 if test $pkg_failed = yes; then
15995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15996 $as_echo "no" >&6; }
15997
15998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15999         _pkg_short_errors_supported=yes
16000 else
16001         _pkg_short_errors_supported=no
16002 fi
16003         if test $_pkg_short_errors_supported = yes; then
16004                 ELEMENTARY_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ecore-wayland" 2>&1`
16005         else
16006                 ELEMENTARY_WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ecore-wayland" 2>&1`
16007         fi
16008         # Put the nasty error message in config.log where it belongs
16009         echo "$ELEMENTARY_WAYLAND_PKG_ERRORS" >&5
16010
16011         have_elementary_wayland="no"
16012
16013 elif test $pkg_failed = untried; then
16014         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16015 $as_echo "no" >&6; }
16016         have_elementary_wayland="no"
16017
16018 else
16019         ELEMENTARY_WAYLAND_CFLAGS=$pkg_cv_ELEMENTARY_WAYLAND_CFLAGS
16020         ELEMENTARY_WAYLAND_LIBS=$pkg_cv_ELEMENTARY_WAYLAND_LIBS
16021         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16022 $as_echo "yes" >&6; }
16023
16024
16025 $as_echo "#define HAVE_ELEMENTARY_WAYLAND 1" >>confdefs.h
16026
16027        have_elementary_wayland="yes"
16028        requirement_elm="ecore-wayland ${requirement_elm}"
16029
16030 fi
16031 else
16032     have_elementary_wayland="no"
16033 fi
16034 if test "x$want_elementary_wayland" = "xyes" -a "x$have_elementary_wayland" = "xno"; then
16035     as_fn_error $? "ecore-wayland support requested, but not found by pkg-config." "$LINENO" 5
16036 fi
16037
16038 ELM_EDBUS_DEF="#undef"
16039 have_elementary_edbus="no"
16040 want_elementary_edbus="auto"
16041 # Check whether --enable-edbus was given.
16042 if test "${enable_edbus+set}" = set; then :
16043   enableval=$enable_edbus; want_elementary_edbus=$enableval
16044 fi
16045
16046
16047 if test "x$want_elementary_edbus" != "xno"; then
16048
16049 pkg_failed=no
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EDBUS" >&5
16051 $as_echo_n "checking for ELEMENTARY_EDBUS... " >&6; }
16052
16053 if test -n "$ELEMENTARY_EDBUS_CFLAGS"; then
16054     pkg_cv_ELEMENTARY_EDBUS_CFLAGS="$ELEMENTARY_EDBUS_CFLAGS"
16055  elif test -n "$PKG_CONFIG"; then
16056     if test -n "$PKG_CONFIG" && \
16057     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16058         edbus >= 1.7.8
16059        \""; } >&5
16060   ($PKG_CONFIG --exists --print-errors "
16061         edbus >= 1.7.8
16062        ") 2>&5
16063   ac_status=$?
16064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16065   test $ac_status = 0; }; then
16066   pkg_cv_ELEMENTARY_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "
16067         edbus >= 1.7.8
16068        " 2>/dev/null`
16069                       test "x$?" != "x0" && pkg_failed=yes
16070 else
16071   pkg_failed=yes
16072 fi
16073  else
16074     pkg_failed=untried
16075 fi
16076 if test -n "$ELEMENTARY_EDBUS_LIBS"; then
16077     pkg_cv_ELEMENTARY_EDBUS_LIBS="$ELEMENTARY_EDBUS_LIBS"
16078  elif test -n "$PKG_CONFIG"; then
16079     if test -n "$PKG_CONFIG" && \
16080     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16081         edbus >= 1.7.8
16082        \""; } >&5
16083   ($PKG_CONFIG --exists --print-errors "
16084         edbus >= 1.7.8
16085        ") 2>&5
16086   ac_status=$?
16087   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16088   test $ac_status = 0; }; then
16089   pkg_cv_ELEMENTARY_EDBUS_LIBS=`$PKG_CONFIG --libs "
16090         edbus >= 1.7.8
16091        " 2>/dev/null`
16092                       test "x$?" != "x0" && pkg_failed=yes
16093 else
16094   pkg_failed=yes
16095 fi
16096  else
16097     pkg_failed=untried
16098 fi
16099
16100
16101
16102 if test $pkg_failed = yes; then
16103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16104 $as_echo "no" >&6; }
16105
16106 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16107         _pkg_short_errors_supported=yes
16108 else
16109         _pkg_short_errors_supported=no
16110 fi
16111         if test $_pkg_short_errors_supported = yes; then
16112                 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16113         edbus >= 1.7.8
16114        " 2>&1`
16115         else
16116                 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16117         edbus >= 1.7.8
16118        " 2>&1`
16119         fi
16120         # Put the nasty error message in config.log where it belongs
16121         echo "$ELEMENTARY_EDBUS_PKG_ERRORS" >&5
16122
16123         have_elementary_edbus="no"
16124
16125 elif test $pkg_failed = untried; then
16126         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16127 $as_echo "no" >&6; }
16128         have_elementary_edbus="no"
16129
16130 else
16131         ELEMENTARY_EDBUS_CFLAGS=$pkg_cv_ELEMENTARY_EDBUS_CFLAGS
16132         ELEMENTARY_EDBUS_LIBS=$pkg_cv_ELEMENTARY_EDBUS_LIBS
16133         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16134 $as_echo "yes" >&6; }
16135
16136
16137 $as_echo "#define HAVE_ELEMENTARY_EDBUS 1" >>confdefs.h
16138
16139         have_elementary_edbus="yes"
16140         ELM_EDBUS_DEF="#define"
16141         requirement_elm="edbus >= 1.7.8 ${requirement_elm}"
16142
16143 fi
16144 else
16145     have_elementary_edbus="no"
16146 fi
16147 if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno"; then
16148     as_fn_error $? "E_DBus support requested, but no e_dbus found by pkg-config." "$LINENO" 5
16149 fi
16150
16151
16152 ELM_EFREET_DEF="#undef"
16153 have_elementary_efreet="no"
16154 want_elementary_efreet="auto"
16155 # Check whether --enable-efreet was given.
16156 if test "${enable_efreet+set}" = set; then :
16157   enableval=$enable_efreet; want_elementary_efreet=$enableval
16158 fi
16159
16160
16161 if test "x$want_elementary_efreet" != "xno"; then
16162
16163 pkg_failed=no
16164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EFREET" >&5
16165 $as_echo_n "checking for ELEMENTARY_EFREET... " >&6; }
16166
16167 if test -n "$ELEMENTARY_EFREET_CFLAGS"; then
16168     pkg_cv_ELEMENTARY_EFREET_CFLAGS="$ELEMENTARY_EFREET_CFLAGS"
16169  elif test -n "$PKG_CONFIG"; then
16170     if test -n "$PKG_CONFIG" && \
16171     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16172         efreet >= 1.7.8
16173         efreet-mime >= 1.7.8
16174         efreet-trash >= 1.7.8
16175        \""; } >&5
16176   ($PKG_CONFIG --exists --print-errors "
16177         efreet >= 1.7.8
16178         efreet-mime >= 1.7.8
16179         efreet-trash >= 1.7.8
16180        ") 2>&5
16181   ac_status=$?
16182   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16183   test $ac_status = 0; }; then
16184   pkg_cv_ELEMENTARY_EFREET_CFLAGS=`$PKG_CONFIG --cflags "
16185         efreet >= 1.7.8
16186         efreet-mime >= 1.7.8
16187         efreet-trash >= 1.7.8
16188        " 2>/dev/null`
16189                       test "x$?" != "x0" && pkg_failed=yes
16190 else
16191   pkg_failed=yes
16192 fi
16193  else
16194     pkg_failed=untried
16195 fi
16196 if test -n "$ELEMENTARY_EFREET_LIBS"; then
16197     pkg_cv_ELEMENTARY_EFREET_LIBS="$ELEMENTARY_EFREET_LIBS"
16198  elif test -n "$PKG_CONFIG"; then
16199     if test -n "$PKG_CONFIG" && \
16200     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16201         efreet >= 1.7.8
16202         efreet-mime >= 1.7.8
16203         efreet-trash >= 1.7.8
16204        \""; } >&5
16205   ($PKG_CONFIG --exists --print-errors "
16206         efreet >= 1.7.8
16207         efreet-mime >= 1.7.8
16208         efreet-trash >= 1.7.8
16209        ") 2>&5
16210   ac_status=$?
16211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16212   test $ac_status = 0; }; then
16213   pkg_cv_ELEMENTARY_EFREET_LIBS=`$PKG_CONFIG --libs "
16214         efreet >= 1.7.8
16215         efreet-mime >= 1.7.8
16216         efreet-trash >= 1.7.8
16217        " 2>/dev/null`
16218                       test "x$?" != "x0" && pkg_failed=yes
16219 else
16220   pkg_failed=yes
16221 fi
16222  else
16223     pkg_failed=untried
16224 fi
16225
16226
16227
16228 if test $pkg_failed = yes; then
16229         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16230 $as_echo "no" >&6; }
16231
16232 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16233         _pkg_short_errors_supported=yes
16234 else
16235         _pkg_short_errors_supported=no
16236 fi
16237         if test $_pkg_short_errors_supported = yes; then
16238                 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16239         efreet >= 1.7.8
16240         efreet-mime >= 1.7.8
16241         efreet-trash >= 1.7.8
16242        " 2>&1`
16243         else
16244                 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16245         efreet >= 1.7.8
16246         efreet-mime >= 1.7.8
16247         efreet-trash >= 1.7.8
16248        " 2>&1`
16249         fi
16250         # Put the nasty error message in config.log where it belongs
16251         echo "$ELEMENTARY_EFREET_PKG_ERRORS" >&5
16252
16253         have_elementary_efreet="no"
16254
16255 elif test $pkg_failed = untried; then
16256         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16257 $as_echo "no" >&6; }
16258         have_elementary_efreet="no"
16259
16260 else
16261         ELEMENTARY_EFREET_CFLAGS=$pkg_cv_ELEMENTARY_EFREET_CFLAGS
16262         ELEMENTARY_EFREET_LIBS=$pkg_cv_ELEMENTARY_EFREET_LIBS
16263         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16264 $as_echo "yes" >&6; }
16265
16266
16267 $as_echo "#define HAVE_ELEMENTARY_EFREET 1" >>confdefs.h
16268
16269         have_elementary_efreet="yes"
16270         ELM_EFREET_DEF="#define"
16271         requirement_elm="efreet >= 1.7.8 efreet-mime >= 1.7.8 efreet-trash >= 1.7.8 ${requirement_elm}"
16272
16273 fi
16274 else
16275     have_elementary_efreet="no"
16276 fi
16277 if test "x$want_elementary_efreet" = "xyes" -a "x$have_elementary_efreet" = "xno"; then
16278     as_fn_error $? "Efreet support requested, but no efreet/efreet-mime/efreet-trash found by pkg-config." "$LINENO" 5
16279 fi
16280
16281
16282 ELM_EWEATHER_DEF="#undef"
16283 have_elementary_eweather="no"
16284 want_elementary_eweather="auto"
16285 # Check whether --enable-eweather was given.
16286 if test "${enable_eweather+set}" = set; then :
16287   enableval=$enable_eweather; want_elementary_eweather=$enableval
16288 fi
16289
16290
16291 if test "x$want_elementary_eweather" != "xno"; then
16292
16293 pkg_failed=no
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EWEATHER" >&5
16295 $as_echo_n "checking for ELEMENTARY_EWEATHER... " >&6; }
16296
16297 if test -n "$ELEMENTARY_EWEATHER_CFLAGS"; then
16298     pkg_cv_ELEMENTARY_EWEATHER_CFLAGS="$ELEMENTARY_EWEATHER_CFLAGS"
16299  elif test -n "$PKG_CONFIG"; then
16300     if test -n "$PKG_CONFIG" && \
16301     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16302         eweather
16303        \""; } >&5
16304   ($PKG_CONFIG --exists --print-errors "
16305         eweather
16306        ") 2>&5
16307   ac_status=$?
16308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16309   test $ac_status = 0; }; then
16310   pkg_cv_ELEMENTARY_EWEATHER_CFLAGS=`$PKG_CONFIG --cflags "
16311         eweather
16312        " 2>/dev/null`
16313                       test "x$?" != "x0" && pkg_failed=yes
16314 else
16315   pkg_failed=yes
16316 fi
16317  else
16318     pkg_failed=untried
16319 fi
16320 if test -n "$ELEMENTARY_EWEATHER_LIBS"; then
16321     pkg_cv_ELEMENTARY_EWEATHER_LIBS="$ELEMENTARY_EWEATHER_LIBS"
16322  elif test -n "$PKG_CONFIG"; then
16323     if test -n "$PKG_CONFIG" && \
16324     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16325         eweather
16326        \""; } >&5
16327   ($PKG_CONFIG --exists --print-errors "
16328         eweather
16329        ") 2>&5
16330   ac_status=$?
16331   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16332   test $ac_status = 0; }; then
16333   pkg_cv_ELEMENTARY_EWEATHER_LIBS=`$PKG_CONFIG --libs "
16334         eweather
16335        " 2>/dev/null`
16336                       test "x$?" != "x0" && pkg_failed=yes
16337 else
16338   pkg_failed=yes
16339 fi
16340  else
16341     pkg_failed=untried
16342 fi
16343
16344
16345
16346 if test $pkg_failed = yes; then
16347         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16348 $as_echo "no" >&6; }
16349
16350 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16351         _pkg_short_errors_supported=yes
16352 else
16353         _pkg_short_errors_supported=no
16354 fi
16355         if test $_pkg_short_errors_supported = yes; then
16356                 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16357         eweather
16358        " 2>&1`
16359         else
16360                 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16361         eweather
16362        " 2>&1`
16363         fi
16364         # Put the nasty error message in config.log where it belongs
16365         echo "$ELEMENTARY_EWEATHER_PKG_ERRORS" >&5
16366
16367         have_elementary_eweather="no"
16368
16369 elif test $pkg_failed = untried; then
16370         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16371 $as_echo "no" >&6; }
16372         have_elementary_eweather="no"
16373
16374 else
16375         ELEMENTARY_EWEATHER_CFLAGS=$pkg_cv_ELEMENTARY_EWEATHER_CFLAGS
16376         ELEMENTARY_EWEATHER_LIBS=$pkg_cv_ELEMENTARY_EWEATHER_LIBS
16377         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16378 $as_echo "yes" >&6; }
16379
16380
16381 $as_echo "#define HAVE_ELEMENTARY_EWEATHER 1" >>confdefs.h
16382
16383         have_elementary_eweather="yes"
16384         ELM_EWEATHER_DEF="#define"
16385         requirement_elm="eweather ${requirement_elm}"
16386
16387 fi
16388 else
16389     have_elementary_eweather="no"
16390 fi
16391 if test "x$want_elementary_eweather" = "xyes" -a "x$have_elementary_eweather" = "xno"; then
16392     as_fn_error $? "Eweather support requested, but no eweather found by pkg-config." "$LINENO" 5
16393 fi
16394
16395
16396 ELM_EMAP_DEF="#undef"
16397 have_elementary_emap="no"
16398 want_elementary_emap="auto"
16399 # Check whether --enable-emap was given.
16400 if test "${enable_emap+set}" = set; then :
16401   enableval=$enable_emap; want_elementary_emap=$enableval
16402 fi
16403
16404
16405 if test "x$want_elementary_emap" != "xno"; then
16406
16407 pkg_failed=no
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EMAP" >&5
16409 $as_echo_n "checking for ELEMENTARY_EMAP... " >&6; }
16410
16411 if test -n "$ELEMENTARY_EMAP_CFLAGS"; then
16412     pkg_cv_ELEMENTARY_EMAP_CFLAGS="$ELEMENTARY_EMAP_CFLAGS"
16413  elif test -n "$PKG_CONFIG"; then
16414     if test -n "$PKG_CONFIG" && \
16415     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16416         emap
16417        \""; } >&5
16418   ($PKG_CONFIG --exists --print-errors "
16419         emap
16420        ") 2>&5
16421   ac_status=$?
16422   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16423   test $ac_status = 0; }; then
16424   pkg_cv_ELEMENTARY_EMAP_CFLAGS=`$PKG_CONFIG --cflags "
16425         emap
16426        " 2>/dev/null`
16427                       test "x$?" != "x0" && pkg_failed=yes
16428 else
16429   pkg_failed=yes
16430 fi
16431  else
16432     pkg_failed=untried
16433 fi
16434 if test -n "$ELEMENTARY_EMAP_LIBS"; then
16435     pkg_cv_ELEMENTARY_EMAP_LIBS="$ELEMENTARY_EMAP_LIBS"
16436  elif test -n "$PKG_CONFIG"; then
16437     if test -n "$PKG_CONFIG" && \
16438     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16439         emap
16440        \""; } >&5
16441   ($PKG_CONFIG --exists --print-errors "
16442         emap
16443        ") 2>&5
16444   ac_status=$?
16445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16446   test $ac_status = 0; }; then
16447   pkg_cv_ELEMENTARY_EMAP_LIBS=`$PKG_CONFIG --libs "
16448         emap
16449        " 2>/dev/null`
16450                       test "x$?" != "x0" && pkg_failed=yes
16451 else
16452   pkg_failed=yes
16453 fi
16454  else
16455     pkg_failed=untried
16456 fi
16457
16458
16459
16460 if test $pkg_failed = yes; then
16461         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16462 $as_echo "no" >&6; }
16463
16464 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16465         _pkg_short_errors_supported=yes
16466 else
16467         _pkg_short_errors_supported=no
16468 fi
16469         if test $_pkg_short_errors_supported = yes; then
16470                 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16471         emap
16472        " 2>&1`
16473         else
16474                 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16475         emap
16476        " 2>&1`
16477         fi
16478         # Put the nasty error message in config.log where it belongs
16479         echo "$ELEMENTARY_EMAP_PKG_ERRORS" >&5
16480
16481         have_elementary_emap="no"
16482
16483 elif test $pkg_failed = untried; then
16484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16485 $as_echo "no" >&6; }
16486         have_elementary_emap="no"
16487
16488 else
16489         ELEMENTARY_EMAP_CFLAGS=$pkg_cv_ELEMENTARY_EMAP_CFLAGS
16490         ELEMENTARY_EMAP_LIBS=$pkg_cv_ELEMENTARY_EMAP_LIBS
16491         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16492 $as_echo "yes" >&6; }
16493
16494
16495 $as_echo "#define HAVE_ELEMENTARY_EMAP 1" >>confdefs.h
16496
16497         have_elementary_emap="yes"
16498         ELM_EMAP_DEF="#define"
16499         requirement_elm="emap ${requirement_elm}"
16500
16501 fi
16502 else
16503     have_elementary_emap="no"
16504 fi
16505 if test "x$want_elementary_emap" = "xyes" -a "x$have_elementary_emap" = "xno"; then
16506     as_fn_error $? "Emap support requested, but no emap found by pkg-config." "$LINENO" 5
16507 fi
16508
16509
16510
16511
16512 ELM_ETHUMB_DEF="#undef"
16513 have_elementary_ethumb="no"
16514 want_elementary_ethumb="auto"
16515 # Check whether --enable-ethumb was given.
16516 if test "${enable_ethumb+set}" = set; then :
16517   enableval=$enable_ethumb; want_elementary_ethumb=$enableval
16518 fi
16519
16520
16521 if test "x$want_elementary_ethumb" != "xno"; then
16522
16523 pkg_failed=no
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ETHUMB" >&5
16525 $as_echo_n "checking for ELEMENTARY_ETHUMB... " >&6; }
16526
16527 if test -n "$ELEMENTARY_ETHUMB_CFLAGS"; then
16528     pkg_cv_ELEMENTARY_ETHUMB_CFLAGS="$ELEMENTARY_ETHUMB_CFLAGS"
16529  elif test -n "$PKG_CONFIG"; then
16530     if test -n "$PKG_CONFIG" && \
16531     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16532         ethumb_client
16533        \""; } >&5
16534   ($PKG_CONFIG --exists --print-errors "
16535         ethumb_client
16536        ") 2>&5
16537   ac_status=$?
16538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16539   test $ac_status = 0; }; then
16540   pkg_cv_ELEMENTARY_ETHUMB_CFLAGS=`$PKG_CONFIG --cflags "
16541         ethumb_client
16542        " 2>/dev/null`
16543                       test "x$?" != "x0" && pkg_failed=yes
16544 else
16545   pkg_failed=yes
16546 fi
16547  else
16548     pkg_failed=untried
16549 fi
16550 if test -n "$ELEMENTARY_ETHUMB_LIBS"; then
16551     pkg_cv_ELEMENTARY_ETHUMB_LIBS="$ELEMENTARY_ETHUMB_LIBS"
16552  elif test -n "$PKG_CONFIG"; then
16553     if test -n "$PKG_CONFIG" && \
16554     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16555         ethumb_client
16556        \""; } >&5
16557   ($PKG_CONFIG --exists --print-errors "
16558         ethumb_client
16559        ") 2>&5
16560   ac_status=$?
16561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16562   test $ac_status = 0; }; then
16563   pkg_cv_ELEMENTARY_ETHUMB_LIBS=`$PKG_CONFIG --libs "
16564         ethumb_client
16565        " 2>/dev/null`
16566                       test "x$?" != "x0" && pkg_failed=yes
16567 else
16568   pkg_failed=yes
16569 fi
16570  else
16571     pkg_failed=untried
16572 fi
16573
16574
16575
16576 if test $pkg_failed = yes; then
16577         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16578 $as_echo "no" >&6; }
16579
16580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16581         _pkg_short_errors_supported=yes
16582 else
16583         _pkg_short_errors_supported=no
16584 fi
16585         if test $_pkg_short_errors_supported = yes; then
16586                 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16587         ethumb_client
16588        " 2>&1`
16589         else
16590                 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16591         ethumb_client
16592        " 2>&1`
16593         fi
16594         # Put the nasty error message in config.log where it belongs
16595         echo "$ELEMENTARY_ETHUMB_PKG_ERRORS" >&5
16596
16597         have_elementary_ethumb="no"
16598
16599 elif test $pkg_failed = untried; then
16600         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16601 $as_echo "no" >&6; }
16602         have_elementary_ethumb="no"
16603
16604 else
16605         ELEMENTARY_ETHUMB_CFLAGS=$pkg_cv_ELEMENTARY_ETHUMB_CFLAGS
16606         ELEMENTARY_ETHUMB_LIBS=$pkg_cv_ELEMENTARY_ETHUMB_LIBS
16607         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16608 $as_echo "yes" >&6; }
16609
16610
16611 $as_echo "#define HAVE_ELEMENTARY_ETHUMB 1" >>confdefs.h
16612
16613         have_elementary_ethumb="yes"
16614         ELM_ETHUMB_DEF="#define"
16615         requirement_elm="ethumb_client ${requirement_elm}"
16616
16617 fi
16618 else
16619     have_elementary_ethumb="no"
16620 fi
16621 if test "x$want_elementary_ethumb" = "xyes" -a "x$have_elementary_ethumb" = "xno"; then
16622     as_fn_error $? "Ethumb support requested, but no ethumb found by pkg-config." "$LINENO" 5
16623 fi
16624
16625
16626 ELM_WEB_DEF="#undef"
16627 have_elementary_web="no"
16628 want_elementary_web="auto"
16629 # Check whether --enable-web was given.
16630 if test "${enable_web+set}" = set; then :
16631   enableval=$enable_web; want_elementary_web=$enableval
16632 fi
16633
16634
16635 if test "x$want_elementary_web" != "xno"; then
16636
16637 pkg_failed=no
16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WEB" >&5
16639 $as_echo_n "checking for ELEMENTARY_WEB... " >&6; }
16640
16641 if test -n "$ELEMENTARY_WEB_CFLAGS"; then
16642     pkg_cv_ELEMENTARY_WEB_CFLAGS="$ELEMENTARY_WEB_CFLAGS"
16643  elif test -n "$PKG_CONFIG"; then
16644     if test -n "$PKG_CONFIG" && \
16645     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16646         ewebkit
16647        \""; } >&5
16648   ($PKG_CONFIG --exists --print-errors "
16649         ewebkit
16650        ") 2>&5
16651   ac_status=$?
16652   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16653   test $ac_status = 0; }; then
16654   pkg_cv_ELEMENTARY_WEB_CFLAGS=`$PKG_CONFIG --cflags "
16655         ewebkit
16656        " 2>/dev/null`
16657                       test "x$?" != "x0" && pkg_failed=yes
16658 else
16659   pkg_failed=yes
16660 fi
16661  else
16662     pkg_failed=untried
16663 fi
16664 if test -n "$ELEMENTARY_WEB_LIBS"; then
16665     pkg_cv_ELEMENTARY_WEB_LIBS="$ELEMENTARY_WEB_LIBS"
16666  elif test -n "$PKG_CONFIG"; then
16667     if test -n "$PKG_CONFIG" && \
16668     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
16669         ewebkit
16670        \""; } >&5
16671   ($PKG_CONFIG --exists --print-errors "
16672         ewebkit
16673        ") 2>&5
16674   ac_status=$?
16675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16676   test $ac_status = 0; }; then
16677   pkg_cv_ELEMENTARY_WEB_LIBS=`$PKG_CONFIG --libs "
16678         ewebkit
16679        " 2>/dev/null`
16680                       test "x$?" != "x0" && pkg_failed=yes
16681 else
16682   pkg_failed=yes
16683 fi
16684  else
16685     pkg_failed=untried
16686 fi
16687
16688
16689
16690 if test $pkg_failed = yes; then
16691         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16692 $as_echo "no" >&6; }
16693
16694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16695         _pkg_short_errors_supported=yes
16696 else
16697         _pkg_short_errors_supported=no
16698 fi
16699         if test $_pkg_short_errors_supported = yes; then
16700                 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
16701         ewebkit
16702        " 2>&1`
16703         else
16704                 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
16705         ewebkit
16706        " 2>&1`
16707         fi
16708         # Put the nasty error message in config.log where it belongs
16709         echo "$ELEMENTARY_WEB_PKG_ERRORS" >&5
16710
16711         have_elementary_web="no"
16712
16713 elif test $pkg_failed = untried; then
16714         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16715 $as_echo "no" >&6; }
16716         have_elementary_web="no"
16717
16718 else
16719         ELEMENTARY_WEB_CFLAGS=$pkg_cv_ELEMENTARY_WEB_CFLAGS
16720         ELEMENTARY_WEB_LIBS=$pkg_cv_ELEMENTARY_WEB_LIBS
16721         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16722 $as_echo "yes" >&6; }
16723
16724
16725 $as_echo "#define HAVE_ELEMENTARY_WEB 1" >>confdefs.h
16726
16727         webkit_datadir=$($PKG_CONFIG ewebkit --variable=datadir)
16728
16729 cat >>confdefs.h <<_ACEOF
16730 #define WEBKIT_DATADIR "$webkit_datadir"
16731 _ACEOF
16732
16733         have_elementary_web="yes"
16734         ELM_WEB_DEF="#define"
16735 ## web_client? how about ewebkit? at least in current upstreak webkit
16736 ## there is no web_client.pc
16737 #        requirement_elm="web_client ${requirement_elm}"
16738         requirement_elm="ewebkit ${requirement_elm}"
16739
16740 fi
16741 else
16742     have_elementary_web="no"
16743 fi
16744 if test "x$want_elementary_web" = "xyes" -a "x$have_elementary_web" = "xno"; then
16745     as_fn_error $? "Web support requested, but no ewebkit found by pkg-config." "$LINENO" 5
16746 fi
16747
16748
16749 ELM_DEBUG_DEF="#undef"
16750 want_elementary_debug="no"
16751 # Check whether --enable-debug was given.
16752 if test "${enable_debug+set}" = set; then :
16753   enableval=$enable_debug; want_elementary_debug=$enableval
16754 fi
16755
16756
16757 if test "x$want_elementary_debug" = "xyes"; then
16758
16759 $as_echo "#define HAVE_ELEMENTARY_DEBUG 1" >>confdefs.h
16760
16761         ELM_DEBUG_DEF="#define"
16762 fi
16763
16764
16765 ELM_ALLOCA_H_DEF="#undef"
16766 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
16767 if test "x$ac_cv_header_alloca_h" = xyes; then :
16768   ELM_ALLOCA_H_DEF="#define"
16769 fi
16770
16771
16772
16773
16774 ELM_LIBINTL_H_DEF="#undef"
16775 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16776 if test "x$ac_cv_header_libintl_h" = xyes; then :
16777   ELM_LIBINTL_H_DEF="#define"
16778 fi
16779
16780
16781
16782
16783 ELM_DIRENT_H_DEF="#undef"
16784 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
16785 if test "x$ac_cv_header_dirent_h" = xyes; then :
16786   ELM_DIRENT_H_DEF="#define"
16787 fi
16788
16789
16790
16791
16792 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
16793 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
16794   have_mman="yes"
16795 else
16796   have_mman="no"
16797 fi
16798
16799
16800 if test "x${have_mman}" = "xyes"; then
16801
16802 $as_echo "#define HAVE_MMAN_H 1" >>confdefs.h
16803
16804 fi
16805
16806 for ac_header in locale.h langinfo.h sys/times.h
16807 do :
16808   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16809 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16810 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16811   cat >>confdefs.h <<_ACEOF
16812 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16813 _ACEOF
16814
16815 fi
16816
16817 done
16818
16819
16820 my_libs="-lm"
16821
16822
16823
16824
16825
16826
16827
16828
16829 # Check whether --with-eet-eet was given.
16830 if test "${with_eet_eet+set}" = set; then :
16831   withval=$with_eet_eet; _efl_with_binary=${withval}
16832 else
16833   _efl_with_binary=$(pkg-config --variable=prefix eet)/bin/eet
16834 fi
16835
16836
16837 eet_eet=${_efl_with_binary}
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: eet_eet set to ${_efl_with_binary}" >&5
16839 $as_echo "$as_me: eet_eet set to ${_efl_with_binary}" >&6;}
16840
16841 with_binary_eet_eet=${_efl_with_binary}
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851 # Check whether --with-edje-cc was given.
16852 if test "${with_edje_cc+set}" = set; then :
16853   withval=$with_edje_cc; _efl_with_binary=${withval}
16854 else
16855   _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
16856 fi
16857
16858
16859 edje_cc=${_efl_with_binary}
16860 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
16861 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
16862
16863 with_binary_edje_cc=${_efl_with_binary}
16864
16865
16866
16867
16868
16869
16870
16871 # Check whether --enable-doc was given.
16872 if test "${enable_doc+set}" = set; then :
16873   enableval=$enable_doc;
16874     if test "x${enableval}" = "xyes" ; then
16875        efl_enable_doc="yes"
16876     else
16877        efl_enable_doc="no"
16878     fi
16879
16880 else
16881   efl_enable_doc="yes"
16882 fi
16883
16884
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
16886 $as_echo_n "checking whether to build documentation... " >&6; }
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
16888 $as_echo "${efl_enable_doc}" >&6; }
16889
16890 if test "x${efl_enable_doc}" = "xyes" ; then
16891
16892
16893    efl_doxygen="doxygen"
16894
16895
16896 # Check whether --with-doxygen was given.
16897 if test "${with_doxygen+set}" = set; then :
16898   withval=$with_doxygen;       efl_doxygen=${withval}
16899        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
16900 set dummy ${efl_doxygen}; ac_word=$2
16901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16902 $as_echo_n "checking for $ac_word... " >&6; }
16903 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
16904   $as_echo_n "(cached) " >&6
16905 else
16906   if test -n "$efl_have_doxygen"; then
16907   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
16908 else
16909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16910 for as_dir in $PATH
16911 do
16912   IFS=$as_save_IFS
16913   test -z "$as_dir" && as_dir=.
16914     for ac_exec_ext in '' $ac_executable_extensions; do
16915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16916     ac_cv_prog_efl_have_doxygen="yes"
16917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16918     break 2
16919   fi
16920 done
16921   done
16922 IFS=$as_save_IFS
16923
16924   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
16925 fi
16926 fi
16927 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
16928 if test -n "$efl_have_doxygen"; then
16929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
16930 $as_echo "$efl_have_doxygen" >&6; }
16931 else
16932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16933 $as_echo "no" >&6; }
16934 fi
16935
16936
16937        if test "x${efl_have_doxygen}" = "xno" ; then
16938           echo "WARNING:"
16939           echo "The doxygen program you specified:"
16940           echo "${efl_doxygen}"
16941           echo "was not found.  Please check the path and make sure "
16942           echo "the program exists and is executable."
16943           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
16944 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
16945        fi
16946
16947 else
16948   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
16949 set dummy ${efl_doxygen}; ac_word=$2
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16951 $as_echo_n "checking for $ac_word... " >&6; }
16952 if ${ac_cv_prog_efl_have_doxygen+:} false; then :
16953   $as_echo_n "(cached) " >&6
16954 else
16955   if test -n "$efl_have_doxygen"; then
16956   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
16957 else
16958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16959 for as_dir in $PATH
16960 do
16961   IFS=$as_save_IFS
16962   test -z "$as_dir" && as_dir=.
16963     for ac_exec_ext in '' $ac_executable_extensions; do
16964   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16965     ac_cv_prog_efl_have_doxygen="yes"
16966     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16967     break 2
16968   fi
16969 done
16970   done
16971 IFS=$as_save_IFS
16972
16973   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
16974 fi
16975 fi
16976 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
16977 if test -n "$efl_have_doxygen"; then
16978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
16979 $as_echo "$efl_have_doxygen" >&6; }
16980 else
16981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16982 $as_echo "no" >&6; }
16983 fi
16984
16985
16986        if test "x${efl_have_doxygen}" = "xno" ; then
16987           echo "WARNING:"
16988           echo "The doxygen program was not found in your execute path."
16989           echo "You may have doxygen installed somewhere not covered by your path."
16990           echo ""
16991           echo "If this is the case make sure you have the packages installed, AND"
16992           echo "that the doxygen program is in your execute path (see your"
16993           echo "shell manual page on setting the \$PATH environment variable), OR"
16994           echo "alternatively, specify the program to use with --with-doxygen."
16995           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
16996 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
16997        fi
16998
16999 fi
17000
17001 fi
17002
17003
17004
17005 if ! test "x${efl_have_doxygen}" = "xyes" ; then
17006    efl_enable_doc="no"
17007 fi
17008
17009  if test "x${efl_enable_doc}" = "xyes"; then
17010   EFL_BUILD_DOC_TRUE=
17011   EFL_BUILD_DOC_FALSE='#'
17012 else
17013   EFL_BUILD_DOC_TRUE='#'
17014   EFL_BUILD_DOC_FALSE=
17015 fi
17016
17017
17018 if test "x${efl_enable_doc}" = "xyes" ; then
17019   build_doc="yes"
17020 else
17021   build_doc="no"
17022 fi
17023
17024
17025
17026
17027
17028
17029 have_elementary_test="yes"
17030
17031
17032 # Check whether --enable-elementary-test was given.
17033 if test "${enable_elementary_test+set}" = set; then :
17034   enableval=$enable_elementary_test;
17035     if test "x${enableval}" = "xyes" ; then
17036        have_elementary_test="yes"
17037     else
17038        have_elementary_test="no"
17039     fi
17040
17041 fi
17042
17043
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_test binary" >&5
17045 $as_echo_n "checking whether to build elementary_test binary... " >&6; }
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_test" >&5
17047 $as_echo "$have_elementary_test" >&6; }
17048
17049 if test "x$have_elementary_test" = "xyes"; then
17050    ELEMENTARY_TEST_PRG=elementary_test${EXEEXT}
17051 fi
17052
17053
17054
17055  if test "x$have_elementary_test" = "xyes"; then
17056   BUILD_ELEMENTARY_TEST_TRUE=
17057   BUILD_ELEMENTARY_TEST_FALSE='#'
17058 else
17059   BUILD_ELEMENTARY_TEST_TRUE='#'
17060   BUILD_ELEMENTARY_TEST_FALSE=
17061 fi
17062
17063
17064 if test "x$have_elementary_test" = "xyes"; then :
17065
17066 fi
17067
17068
17069
17070
17071
17072 have_elementary_config="yes"
17073
17074
17075 # Check whether --enable-elementary-config was given.
17076 if test "${enable_elementary_config+set}" = set; then :
17077   enableval=$enable_elementary_config;
17078     if test "x${enableval}" = "xyes" ; then
17079        have_elementary_config="yes"
17080     else
17081        have_elementary_config="no"
17082     fi
17083
17084 fi
17085
17086
17087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_config binary" >&5
17088 $as_echo_n "checking whether to build elementary_config binary... " >&6; }
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_config" >&5
17090 $as_echo "$have_elementary_config" >&6; }
17091
17092 if test "x$have_elementary_config" = "xyes"; then
17093    ELEMENTARY_CONFIG_PRG=elementary_config${EXEEXT}
17094 fi
17095
17096
17097
17098  if test "x$have_elementary_config" = "xyes"; then
17099   BUILD_ELEMENTARY_CONFIG_TRUE=
17100   BUILD_ELEMENTARY_CONFIG_FALSE='#'
17101 else
17102   BUILD_ELEMENTARY_CONFIG_TRUE='#'
17103   BUILD_ELEMENTARY_CONFIG_FALSE=
17104 fi
17105
17106
17107 if test "x$have_elementary_config" = "xyes"; then :
17108
17109 fi
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119 mkdir_p="$MKDIR_P"
17120 case $mkdir_p in
17121   [\\/$]* | ?:[\\/]*) ;;
17122   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
17123 esac
17124
17125
17126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17127 $as_echo_n "checking whether NLS is requested... " >&6; }
17128     # Check whether --enable-nls was given.
17129 if test "${enable_nls+set}" = set; then :
17130   enableval=$enable_nls; USE_NLS=$enableval
17131 else
17132   USE_NLS=yes
17133 fi
17134
17135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17136 $as_echo "$USE_NLS" >&6; }
17137
17138
17139
17140
17141       GETTEXT_MACRO_VERSION=0.17
17142
17143
17144
17145
17146 # Prepare PATH_SEPARATOR.
17147 # The user is always right.
17148 if test "${PATH_SEPARATOR+set}" != set; then
17149   echo "#! /bin/sh" >conf$$.sh
17150   echo  "exit 0"   >>conf$$.sh
17151   chmod +x conf$$.sh
17152   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17153     PATH_SEPARATOR=';'
17154   else
17155     PATH_SEPARATOR=:
17156   fi
17157   rm -f conf$$.sh
17158 fi
17159
17160 # Find out how to test for executable files. Don't use a zero-byte file,
17161 # as systems may use methods other than mode bits to determine executability.
17162 cat >conf$$.file <<_ASEOF
17163 #! /bin/sh
17164 exit 0
17165 _ASEOF
17166 chmod +x conf$$.file
17167 if test -x conf$$.file >/dev/null 2>&1; then
17168   ac_executable_p="test -x"
17169 else
17170   ac_executable_p="test -f"
17171 fi
17172 rm -f conf$$.file
17173
17174 # Extract the first word of "msgfmt", so it can be a program name with args.
17175 set dummy msgfmt; ac_word=$2
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17177 $as_echo_n "checking for $ac_word... " >&6; }
17178 if ${ac_cv_path_MSGFMT+:} false; then :
17179   $as_echo_n "(cached) " >&6
17180 else
17181   case "$MSGFMT" in
17182   [\\/]* | ?:[\\/]*)
17183     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17184     ;;
17185   *)
17186     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17187     for ac_dir in $PATH; do
17188       IFS="$ac_save_IFS"
17189       test -z "$ac_dir" && ac_dir=.
17190       for ac_exec_ext in '' $ac_executable_extensions; do
17191         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17192           echo "$as_me: trying $ac_dir/$ac_word..." >&5
17193           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
17194      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17195             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
17196             break 2
17197           fi
17198         fi
17199       done
17200     done
17201     IFS="$ac_save_IFS"
17202   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
17203     ;;
17204 esac
17205 fi
17206 MSGFMT="$ac_cv_path_MSGFMT"
17207 if test "$MSGFMT" != ":"; then
17208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17209 $as_echo "$MSGFMT" >&6; }
17210 else
17211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17212 $as_echo "no" >&6; }
17213 fi
17214
17215   # Extract the first word of "gmsgfmt", so it can be a program name with args.
17216 set dummy gmsgfmt; ac_word=$2
17217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17218 $as_echo_n "checking for $ac_word... " >&6; }
17219 if ${ac_cv_path_GMSGFMT+:} false; then :
17220   $as_echo_n "(cached) " >&6
17221 else
17222   case $GMSGFMT in
17223   [\\/]* | ?:[\\/]*)
17224   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17225   ;;
17226   *)
17227   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17228 for as_dir in $PATH
17229 do
17230   IFS=$as_save_IFS
17231   test -z "$as_dir" && as_dir=.
17232     for ac_exec_ext in '' $ac_executable_extensions; do
17233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17234     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17236     break 2
17237   fi
17238 done
17239   done
17240 IFS=$as_save_IFS
17241
17242   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17243   ;;
17244 esac
17245 fi
17246 GMSGFMT=$ac_cv_path_GMSGFMT
17247 if test -n "$GMSGFMT"; then
17248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17249 $as_echo "$GMSGFMT" >&6; }
17250 else
17251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17252 $as_echo "no" >&6; }
17253 fi
17254
17255
17256
17257     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17258     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
17259     *) MSGFMT_015=$MSGFMT ;;
17260   esac
17261
17262   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17263     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
17264     *) GMSGFMT_015=$GMSGFMT ;;
17265   esac
17266
17267
17268
17269 # Prepare PATH_SEPARATOR.
17270 # The user is always right.
17271 if test "${PATH_SEPARATOR+set}" != set; then
17272   echo "#! /bin/sh" >conf$$.sh
17273   echo  "exit 0"   >>conf$$.sh
17274   chmod +x conf$$.sh
17275   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17276     PATH_SEPARATOR=';'
17277   else
17278     PATH_SEPARATOR=:
17279   fi
17280   rm -f conf$$.sh
17281 fi
17282
17283 # Find out how to test for executable files. Don't use a zero-byte file,
17284 # as systems may use methods other than mode bits to determine executability.
17285 cat >conf$$.file <<_ASEOF
17286 #! /bin/sh
17287 exit 0
17288 _ASEOF
17289 chmod +x conf$$.file
17290 if test -x conf$$.file >/dev/null 2>&1; then
17291   ac_executable_p="test -x"
17292 else
17293   ac_executable_p="test -f"
17294 fi
17295 rm -f conf$$.file
17296
17297 # Extract the first word of "xgettext", so it can be a program name with args.
17298 set dummy xgettext; ac_word=$2
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17300 $as_echo_n "checking for $ac_word... " >&6; }
17301 if ${ac_cv_path_XGETTEXT+:} false; then :
17302   $as_echo_n "(cached) " >&6
17303 else
17304   case "$XGETTEXT" in
17305   [\\/]* | ?:[\\/]*)
17306     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17307     ;;
17308   *)
17309     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17310     for ac_dir in $PATH; do
17311       IFS="$ac_save_IFS"
17312       test -z "$ac_dir" && ac_dir=.
17313       for ac_exec_ext in '' $ac_executable_extensions; do
17314         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17315           echo "$as_me: trying $ac_dir/$ac_word..." >&5
17316           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
17317      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
17318             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
17319             break 2
17320           fi
17321         fi
17322       done
17323     done
17324     IFS="$ac_save_IFS"
17325   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
17326     ;;
17327 esac
17328 fi
17329 XGETTEXT="$ac_cv_path_XGETTEXT"
17330 if test "$XGETTEXT" != ":"; then
17331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17332 $as_echo "$XGETTEXT" >&6; }
17333 else
17334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17335 $as_echo "no" >&6; }
17336 fi
17337
17338     rm -f messages.po
17339
17340     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
17341     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
17342     *) XGETTEXT_015=$XGETTEXT ;;
17343   esac
17344
17345
17346
17347 # Prepare PATH_SEPARATOR.
17348 # The user is always right.
17349 if test "${PATH_SEPARATOR+set}" != set; then
17350   echo "#! /bin/sh" >conf$$.sh
17351   echo  "exit 0"   >>conf$$.sh
17352   chmod +x conf$$.sh
17353   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17354     PATH_SEPARATOR=';'
17355   else
17356     PATH_SEPARATOR=:
17357   fi
17358   rm -f conf$$.sh
17359 fi
17360
17361 # Find out how to test for executable files. Don't use a zero-byte file,
17362 # as systems may use methods other than mode bits to determine executability.
17363 cat >conf$$.file <<_ASEOF
17364 #! /bin/sh
17365 exit 0
17366 _ASEOF
17367 chmod +x conf$$.file
17368 if test -x conf$$.file >/dev/null 2>&1; then
17369   ac_executable_p="test -x"
17370 else
17371   ac_executable_p="test -f"
17372 fi
17373 rm -f conf$$.file
17374
17375 # Extract the first word of "msgmerge", so it can be a program name with args.
17376 set dummy msgmerge; ac_word=$2
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17378 $as_echo_n "checking for $ac_word... " >&6; }
17379 if ${ac_cv_path_MSGMERGE+:} false; then :
17380   $as_echo_n "(cached) " >&6
17381 else
17382   case "$MSGMERGE" in
17383   [\\/]* | ?:[\\/]*)
17384     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17385     ;;
17386   *)
17387     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
17388     for ac_dir in $PATH; do
17389       IFS="$ac_save_IFS"
17390       test -z "$ac_dir" && ac_dir=.
17391       for ac_exec_ext in '' $ac_executable_extensions; do
17392         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
17393           echo "$as_me: trying $ac_dir/$ac_word..." >&5
17394           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
17395             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
17396             break 2
17397           fi
17398         fi
17399       done
17400     done
17401     IFS="$ac_save_IFS"
17402   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
17403     ;;
17404 esac
17405 fi
17406 MSGMERGE="$ac_cv_path_MSGMERGE"
17407 if test "$MSGMERGE" != ":"; then
17408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17409 $as_echo "$MSGMERGE" >&6; }
17410 else
17411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17412 $as_echo "no" >&6; }
17413 fi
17414
17415
17416         test -n "$localedir" || localedir='${datadir}/locale'
17417
17418
17419     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
17420
17421
17422   ac_config_commands="$ac_config_commands po-directories"
17423
17424
17425
17426       if test "X$prefix" = "XNONE"; then
17427     acl_final_prefix="$ac_default_prefix"
17428   else
17429     acl_final_prefix="$prefix"
17430   fi
17431   if test "X$exec_prefix" = "XNONE"; then
17432     acl_final_exec_prefix='${prefix}'
17433   else
17434     acl_final_exec_prefix="$exec_prefix"
17435   fi
17436   acl_save_prefix="$prefix"
17437   prefix="$acl_final_prefix"
17438   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
17439   prefix="$acl_save_prefix"
17440
17441
17442 # Check whether --with-gnu-ld was given.
17443 if test "${with_gnu_ld+set}" = set; then :
17444   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
17445 else
17446   with_gnu_ld=no
17447 fi
17448
17449 # Prepare PATH_SEPARATOR.
17450 # The user is always right.
17451 if test "${PATH_SEPARATOR+set}" != set; then
17452   echo "#! /bin/sh" >conf$$.sh
17453   echo  "exit 0"   >>conf$$.sh
17454   chmod +x conf$$.sh
17455   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17456     PATH_SEPARATOR=';'
17457   else
17458     PATH_SEPARATOR=:
17459   fi
17460   rm -f conf$$.sh
17461 fi
17462 ac_prog=ld
17463 if test "$GCC" = yes; then
17464   # Check if gcc -print-prog-name=ld gives a path.
17465   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
17466 $as_echo_n "checking for ld used by GCC... " >&6; }
17467   case $host in
17468   *-*-mingw*)
17469     # gcc leaves a trailing carriage return which upsets mingw
17470     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17471   *)
17472     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17473   esac
17474   case $ac_prog in
17475     # Accept absolute paths.
17476     [\\/]* | [A-Za-z]:[\\/]*)
17477       re_direlt='/[^/][^/]*/\.\./'
17478       # Canonicalize the path of ld
17479       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
17480       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
17481         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
17482       done
17483       test -z "$LD" && LD="$ac_prog"
17484       ;;
17485   "")
17486     # If it fails, then pretend we aren't using GCC.
17487     ac_prog=ld
17488     ;;
17489   *)
17490     # If it is relative, then search for the first ld in PATH.
17491     with_gnu_ld=unknown
17492     ;;
17493   esac
17494 elif test "$with_gnu_ld" = yes; then
17495   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
17496 $as_echo_n "checking for GNU ld... " >&6; }
17497 else
17498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
17499 $as_echo_n "checking for non-GNU ld... " >&6; }
17500 fi
17501 if ${acl_cv_path_LD+:} false; then :
17502   $as_echo_n "(cached) " >&6
17503 else
17504   if test -z "$LD"; then
17505   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
17506   for ac_dir in $PATH; do
17507     test -z "$ac_dir" && ac_dir=.
17508     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17509       acl_cv_path_LD="$ac_dir/$ac_prog"
17510       # Check to see if the program is GNU ld.  I'd rather use --version,
17511       # but apparently some GNU ld's only accept -v.
17512       # Break only if it was the GNU/non-GNU ld that we prefer.
17513       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
17514       *GNU* | *'with BFD'*)
17515         test "$with_gnu_ld" != no && break ;;
17516       *)
17517         test "$with_gnu_ld" != yes && break ;;
17518       esac
17519     fi
17520   done
17521   IFS="$ac_save_ifs"
17522 else
17523   acl_cv_path_LD="$LD" # Let the user override the test with a path.
17524 fi
17525 fi
17526
17527 LD="$acl_cv_path_LD"
17528 if test -n "$LD"; then
17529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
17530 $as_echo "$LD" >&6; }
17531 else
17532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17533 $as_echo "no" >&6; }
17534 fi
17535 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
17536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
17537 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
17538 if ${acl_cv_prog_gnu_ld+:} false; then :
17539   $as_echo_n "(cached) " >&6
17540 else
17541   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
17542 case `$LD -v 2>&1 </dev/null` in
17543 *GNU* | *'with BFD'*)
17544   acl_cv_prog_gnu_ld=yes ;;
17545 *)
17546   acl_cv_prog_gnu_ld=no ;;
17547 esac
17548 fi
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
17550 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
17551 with_gnu_ld=$acl_cv_prog_gnu_ld
17552
17553
17554
17555
17556                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
17557 $as_echo_n "checking for shared library run path origin... " >&6; }
17558 if ${acl_cv_rpath+:} false; then :
17559   $as_echo_n "(cached) " >&6
17560 else
17561
17562     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
17563     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
17564     . ./conftest.sh
17565     rm -f ./conftest.sh
17566     acl_cv_rpath=done
17567
17568 fi
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
17570 $as_echo "$acl_cv_rpath" >&6; }
17571   wl="$acl_cv_wl"
17572   acl_libext="$acl_cv_libext"
17573   acl_shlibext="$acl_cv_shlibext"
17574   acl_libname_spec="$acl_cv_libname_spec"
17575   acl_library_names_spec="$acl_cv_library_names_spec"
17576   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
17577   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
17578   acl_hardcode_direct="$acl_cv_hardcode_direct"
17579   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
17580     # Check whether --enable-rpath was given.
17581 if test "${enable_rpath+set}" = set; then :
17582   enableval=$enable_rpath; :
17583 else
17584   enable_rpath=yes
17585 fi
17586
17587
17588
17589                   acl_libdirstem=lib
17590   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
17591   if test -n "$searchpath"; then
17592     acl_save_IFS="${IFS=        }"; IFS=":"
17593     for searchdir in $searchpath; do
17594       if test -d "$searchdir"; then
17595         case "$searchdir" in
17596           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
17597           *) searchdir=`cd "$searchdir" && pwd`
17598              case "$searchdir" in
17599                */lib64 ) acl_libdirstem=lib64 ;;
17600              esac ;;
17601         esac
17602       fi
17603     done
17604     IFS="$acl_save_IFS"
17605   fi
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615     use_additional=yes
17616
17617   acl_save_prefix="$prefix"
17618   prefix="$acl_final_prefix"
17619   acl_save_exec_prefix="$exec_prefix"
17620   exec_prefix="$acl_final_exec_prefix"
17621
17622     eval additional_includedir=\"$includedir\"
17623     eval additional_libdir=\"$libdir\"
17624
17625   exec_prefix="$acl_save_exec_prefix"
17626   prefix="$acl_save_prefix"
17627
17628
17629 # Check whether --with-libiconv-prefix was given.
17630 if test "${with_libiconv_prefix+set}" = set; then :
17631   withval=$with_libiconv_prefix;
17632     if test "X$withval" = "Xno"; then
17633       use_additional=no
17634     else
17635       if test "X$withval" = "X"; then
17636
17637   acl_save_prefix="$prefix"
17638   prefix="$acl_final_prefix"
17639   acl_save_exec_prefix="$exec_prefix"
17640   exec_prefix="$acl_final_exec_prefix"
17641
17642           eval additional_includedir=\"$includedir\"
17643           eval additional_libdir=\"$libdir\"
17644
17645   exec_prefix="$acl_save_exec_prefix"
17646   prefix="$acl_save_prefix"
17647
17648       else
17649         additional_includedir="$withval/include"
17650         additional_libdir="$withval/$acl_libdirstem"
17651       fi
17652     fi
17653
17654 fi
17655
17656       LIBICONV=
17657   LTLIBICONV=
17658   INCICONV=
17659   LIBICONV_PREFIX=
17660   rpathdirs=
17661   ltrpathdirs=
17662   names_already_handled=
17663   names_next_round='iconv '
17664   while test -n "$names_next_round"; do
17665     names_this_round="$names_next_round"
17666     names_next_round=
17667     for name in $names_this_round; do
17668       already_handled=
17669       for n in $names_already_handled; do
17670         if test "$n" = "$name"; then
17671           already_handled=yes
17672           break
17673         fi
17674       done
17675       if test -z "$already_handled"; then
17676         names_already_handled="$names_already_handled $name"
17677                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17678         eval value=\"\$HAVE_LIB$uppername\"
17679         if test -n "$value"; then
17680           if test "$value" = yes; then
17681             eval value=\"\$LIB$uppername\"
17682             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
17683             eval value=\"\$LTLIB$uppername\"
17684             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
17685           else
17686                                     :
17687           fi
17688         else
17689                               found_dir=
17690           found_la=
17691           found_so=
17692           found_a=
17693           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17694           if test -n "$acl_shlibext"; then
17695             shrext=".$acl_shlibext"             # typically: shrext=.so
17696           else
17697             shrext=
17698           fi
17699           if test $use_additional = yes; then
17700             dir="$additional_libdir"
17701                                     if test -n "$acl_shlibext"; then
17702               if test -f "$dir/$libname$shrext"; then
17703                 found_dir="$dir"
17704                 found_so="$dir/$libname$shrext"
17705               else
17706                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17707                   ver=`(cd "$dir" && \
17708                         for f in "$libname$shrext".*; do echo "$f"; done \
17709                         | sed -e "s,^$libname$shrext\\\\.,," \
17710                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17711                         | sed 1q ) 2>/dev/null`
17712                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17713                     found_dir="$dir"
17714                     found_so="$dir/$libname$shrext.$ver"
17715                   fi
17716                 else
17717                   eval library_names=\"$acl_library_names_spec\"
17718                   for f in $library_names; do
17719                     if test -f "$dir/$f"; then
17720                       found_dir="$dir"
17721                       found_so="$dir/$f"
17722                       break
17723                     fi
17724                   done
17725                 fi
17726               fi
17727             fi
17728                         if test "X$found_dir" = "X"; then
17729               if test -f "$dir/$libname.$acl_libext"; then
17730                 found_dir="$dir"
17731                 found_a="$dir/$libname.$acl_libext"
17732               fi
17733             fi
17734             if test "X$found_dir" != "X"; then
17735               if test -f "$dir/$libname.la"; then
17736                 found_la="$dir/$libname.la"
17737               fi
17738             fi
17739           fi
17740           if test "X$found_dir" = "X"; then
17741             for x in $LDFLAGS $LTLIBICONV; do
17742
17743   acl_save_prefix="$prefix"
17744   prefix="$acl_final_prefix"
17745   acl_save_exec_prefix="$exec_prefix"
17746   exec_prefix="$acl_final_exec_prefix"
17747   eval x=\"$x\"
17748   exec_prefix="$acl_save_exec_prefix"
17749   prefix="$acl_save_prefix"
17750
17751               case "$x" in
17752                 -L*)
17753                   dir=`echo "X$x" | sed -e 's/^X-L//'`
17754                                     if test -n "$acl_shlibext"; then
17755                     if test -f "$dir/$libname$shrext"; then
17756                       found_dir="$dir"
17757                       found_so="$dir/$libname$shrext"
17758                     else
17759                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17760                         ver=`(cd "$dir" && \
17761                               for f in "$libname$shrext".*; do echo "$f"; done \
17762                               | sed -e "s,^$libname$shrext\\\\.,," \
17763                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17764                               | sed 1q ) 2>/dev/null`
17765                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17766                           found_dir="$dir"
17767                           found_so="$dir/$libname$shrext.$ver"
17768                         fi
17769                       else
17770                         eval library_names=\"$acl_library_names_spec\"
17771                         for f in $library_names; do
17772                           if test -f "$dir/$f"; then
17773                             found_dir="$dir"
17774                             found_so="$dir/$f"
17775                             break
17776                           fi
17777                         done
17778                       fi
17779                     fi
17780                   fi
17781                                     if test "X$found_dir" = "X"; then
17782                     if test -f "$dir/$libname.$acl_libext"; then
17783                       found_dir="$dir"
17784                       found_a="$dir/$libname.$acl_libext"
17785                     fi
17786                   fi
17787                   if test "X$found_dir" != "X"; then
17788                     if test -f "$dir/$libname.la"; then
17789                       found_la="$dir/$libname.la"
17790                     fi
17791                   fi
17792                   ;;
17793               esac
17794               if test "X$found_dir" != "X"; then
17795                 break
17796               fi
17797             done
17798           fi
17799           if test "X$found_dir" != "X"; then
17800                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
17801             if test "X$found_so" != "X"; then
17802                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17803                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17804               else
17805                                                                                 haveit=
17806                 for x in $ltrpathdirs; do
17807                   if test "X$x" = "X$found_dir"; then
17808                     haveit=yes
17809                     break
17810                   fi
17811                 done
17812                 if test -z "$haveit"; then
17813                   ltrpathdirs="$ltrpathdirs $found_dir"
17814                 fi
17815                                 if test "$acl_hardcode_direct" = yes; then
17816                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17817                 else
17818                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17819                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17820                                                             haveit=
17821                     for x in $rpathdirs; do
17822                       if test "X$x" = "X$found_dir"; then
17823                         haveit=yes
17824                         break
17825                       fi
17826                     done
17827                     if test -z "$haveit"; then
17828                       rpathdirs="$rpathdirs $found_dir"
17829                     fi
17830                   else
17831                                                                                 haveit=
17832                     for x in $LDFLAGS $LIBICONV; do
17833
17834   acl_save_prefix="$prefix"
17835   prefix="$acl_final_prefix"
17836   acl_save_exec_prefix="$exec_prefix"
17837   exec_prefix="$acl_final_exec_prefix"
17838   eval x=\"$x\"
17839   exec_prefix="$acl_save_exec_prefix"
17840   prefix="$acl_save_prefix"
17841
17842                       if test "X$x" = "X-L$found_dir"; then
17843                         haveit=yes
17844                         break
17845                       fi
17846                     done
17847                     if test -z "$haveit"; then
17848                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
17849                     fi
17850                     if test "$acl_hardcode_minus_L" != no; then
17851                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
17852                     else
17853                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
17854                     fi
17855                   fi
17856                 fi
17857               fi
17858             else
17859               if test "X$found_a" != "X"; then
17860                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
17861               else
17862                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
17863               fi
17864             fi
17865                         additional_includedir=
17866             case "$found_dir" in
17867               */$acl_libdirstem | */$acl_libdirstem/)
17868                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17869                 LIBICONV_PREFIX="$basedir"
17870                 additional_includedir="$basedir/include"
17871                 ;;
17872             esac
17873             if test "X$additional_includedir" != "X"; then
17874                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
17875                 haveit=
17876                 if test "X$additional_includedir" = "X/usr/local/include"; then
17877                   if test -n "$GCC"; then
17878                     case $host_os in
17879                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17880                     esac
17881                   fi
17882                 fi
17883                 if test -z "$haveit"; then
17884                   for x in $CPPFLAGS $INCICONV; do
17885
17886   acl_save_prefix="$prefix"
17887   prefix="$acl_final_prefix"
17888   acl_save_exec_prefix="$exec_prefix"
17889   exec_prefix="$acl_final_exec_prefix"
17890   eval x=\"$x\"
17891   exec_prefix="$acl_save_exec_prefix"
17892   prefix="$acl_save_prefix"
17893
17894                     if test "X$x" = "X-I$additional_includedir"; then
17895                       haveit=yes
17896                       break
17897                     fi
17898                   done
17899                   if test -z "$haveit"; then
17900                     if test -d "$additional_includedir"; then
17901                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
17902                     fi
17903                   fi
17904                 fi
17905               fi
17906             fi
17907                         if test -n "$found_la"; then
17908                                                         save_libdir="$libdir"
17909               case "$found_la" in
17910                 */* | *\\*) . "$found_la" ;;
17911                 *) . "./$found_la" ;;
17912               esac
17913               libdir="$save_libdir"
17914                             for dep in $dependency_libs; do
17915                 case "$dep" in
17916                   -L*)
17917                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17918                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17919                       haveit=
17920                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17921                         if test -n "$GCC"; then
17922                           case $host_os in
17923                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17924                           esac
17925                         fi
17926                       fi
17927                       if test -z "$haveit"; then
17928                         haveit=
17929                         for x in $LDFLAGS $LIBICONV; do
17930
17931   acl_save_prefix="$prefix"
17932   prefix="$acl_final_prefix"
17933   acl_save_exec_prefix="$exec_prefix"
17934   exec_prefix="$acl_final_exec_prefix"
17935   eval x=\"$x\"
17936   exec_prefix="$acl_save_exec_prefix"
17937   prefix="$acl_save_prefix"
17938
17939                           if test "X$x" = "X-L$additional_libdir"; then
17940                             haveit=yes
17941                             break
17942                           fi
17943                         done
17944                         if test -z "$haveit"; then
17945                           if test -d "$additional_libdir"; then
17946                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
17947                           fi
17948                         fi
17949                         haveit=
17950                         for x in $LDFLAGS $LTLIBICONV; do
17951
17952   acl_save_prefix="$prefix"
17953   prefix="$acl_final_prefix"
17954   acl_save_exec_prefix="$exec_prefix"
17955   exec_prefix="$acl_final_exec_prefix"
17956   eval x=\"$x\"
17957   exec_prefix="$acl_save_exec_prefix"
17958   prefix="$acl_save_prefix"
17959
17960                           if test "X$x" = "X-L$additional_libdir"; then
17961                             haveit=yes
17962                             break
17963                           fi
17964                         done
17965                         if test -z "$haveit"; then
17966                           if test -d "$additional_libdir"; then
17967                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
17968                           fi
17969                         fi
17970                       fi
17971                     fi
17972                     ;;
17973                   -R*)
17974                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
17975                     if test "$enable_rpath" != no; then
17976                                                                   haveit=
17977                       for x in $rpathdirs; do
17978                         if test "X$x" = "X$dir"; then
17979                           haveit=yes
17980                           break
17981                         fi
17982                       done
17983                       if test -z "$haveit"; then
17984                         rpathdirs="$rpathdirs $dir"
17985                       fi
17986                                                                   haveit=
17987                       for x in $ltrpathdirs; do
17988                         if test "X$x" = "X$dir"; then
17989                           haveit=yes
17990                           break
17991                         fi
17992                       done
17993                       if test -z "$haveit"; then
17994                         ltrpathdirs="$ltrpathdirs $dir"
17995                       fi
17996                     fi
17997                     ;;
17998                   -l*)
17999                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18000                     ;;
18001                   *.la)
18002                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18003                     ;;
18004                   *)
18005                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18006                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18007                     ;;
18008                 esac
18009               done
18010             fi
18011           else
18012                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18013             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18014           fi
18015         fi
18016       fi
18017     done
18018   done
18019   if test "X$rpathdirs" != "X"; then
18020     if test -n "$acl_hardcode_libdir_separator"; then
18021                         alldirs=
18022       for found_dir in $rpathdirs; do
18023         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18024       done
18025             acl_save_libdir="$libdir"
18026       libdir="$alldirs"
18027       eval flag=\"$acl_hardcode_libdir_flag_spec\"
18028       libdir="$acl_save_libdir"
18029       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18030     else
18031             for found_dir in $rpathdirs; do
18032         acl_save_libdir="$libdir"
18033         libdir="$found_dir"
18034         eval flag=\"$acl_hardcode_libdir_flag_spec\"
18035         libdir="$acl_save_libdir"
18036         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18037       done
18038     fi
18039   fi
18040   if test "X$ltrpathdirs" != "X"; then
18041             for found_dir in $ltrpathdirs; do
18042       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
18043     done
18044   fi
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
18071 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
18072 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
18073   $as_echo_n "(cached) " >&6
18074 else
18075   gt_save_LIBS="$LIBS"
18076      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18077      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h.  */
18079 #include <CoreFoundation/CFPreferences.h>
18080 int
18081 main ()
18082 {
18083 CFPreferencesCopyAppValue(NULL, NULL)
18084   ;
18085   return 0;
18086 }
18087 _ACEOF
18088 if ac_fn_c_try_link "$LINENO"; then :
18089   gt_cv_func_CFPreferencesCopyAppValue=yes
18090 else
18091   gt_cv_func_CFPreferencesCopyAppValue=no
18092 fi
18093 rm -f core conftest.err conftest.$ac_objext \
18094     conftest$ac_exeext conftest.$ac_ext
18095      LIBS="$gt_save_LIBS"
18096 fi
18097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
18098 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
18099   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
18100
18101 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
18102
18103   fi
18104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
18105 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
18106 if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
18107   $as_echo_n "(cached) " >&6
18108 else
18109   gt_save_LIBS="$LIBS"
18110      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
18111      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18112 /* end confdefs.h.  */
18113 #include <CoreFoundation/CFLocale.h>
18114 int
18115 main ()
18116 {
18117 CFLocaleCopyCurrent();
18118   ;
18119   return 0;
18120 }
18121 _ACEOF
18122 if ac_fn_c_try_link "$LINENO"; then :
18123   gt_cv_func_CFLocaleCopyCurrent=yes
18124 else
18125   gt_cv_func_CFLocaleCopyCurrent=no
18126 fi
18127 rm -f core conftest.err conftest.$ac_objext \
18128     conftest$ac_exeext conftest.$ac_ext
18129      LIBS="$gt_save_LIBS"
18130 fi
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
18132 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
18133   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18134
18135 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
18136
18137   fi
18138   INTL_MACOSX_LIBS=
18139   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
18140     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
18141   fi
18142
18143
18144
18145
18146
18147
18148   LIBINTL=
18149   LTLIBINTL=
18150   POSUB=
18151
18152     case " $gt_needs " in
18153     *" need-formatstring-macros "*) gt_api_version=3 ;;
18154     *" need-ngettext "*) gt_api_version=2 ;;
18155     *) gt_api_version=1 ;;
18156   esac
18157   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
18158   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
18159
18160     if test "$USE_NLS" = "yes"; then
18161     gt_use_preinstalled_gnugettext=no
18162
18163
18164         if test $gt_api_version -ge 3; then
18165           gt_revision_test_code='
18166 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
18167 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
18168 #endif
18169 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
18170 '
18171         else
18172           gt_revision_test_code=
18173         fi
18174         if test $gt_api_version -ge 2; then
18175           gt_expression_test_code=' + * ngettext ("", "", 0)'
18176         else
18177           gt_expression_test_code=
18178         fi
18179
18180         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
18181 $as_echo_n "checking for GNU gettext in libc... " >&6; }
18182 if eval \${$gt_func_gnugettext_libc+:} false; then :
18183   $as_echo_n "(cached) " >&6
18184 else
18185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h.  */
18187 #include <libintl.h>
18188 $gt_revision_test_code
18189 extern int _nl_msg_cat_cntr;
18190 extern int *_nl_domain_bindings;
18191 int
18192 main ()
18193 {
18194 bindtextdomain ("", "");
18195 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
18196   ;
18197   return 0;
18198 }
18199 _ACEOF
18200 if ac_fn_c_try_link "$LINENO"; then :
18201   eval "$gt_func_gnugettext_libc=yes"
18202 else
18203   eval "$gt_func_gnugettext_libc=no"
18204 fi
18205 rm -f core conftest.err conftest.$ac_objext \
18206     conftest$ac_exeext conftest.$ac_ext
18207 fi
18208 eval ac_res=\$$gt_func_gnugettext_libc
18209                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18210 $as_echo "$ac_res" >&6; }
18211
18212         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
18213
18214
18215
18216
18217
18218           am_save_CPPFLAGS="$CPPFLAGS"
18219
18220   for element in $INCICONV; do
18221     haveit=
18222     for x in $CPPFLAGS; do
18223
18224   acl_save_prefix="$prefix"
18225   prefix="$acl_final_prefix"
18226   acl_save_exec_prefix="$exec_prefix"
18227   exec_prefix="$acl_final_exec_prefix"
18228   eval x=\"$x\"
18229   exec_prefix="$acl_save_exec_prefix"
18230   prefix="$acl_save_prefix"
18231
18232       if test "X$x" = "X$element"; then
18233         haveit=yes
18234         break
18235       fi
18236     done
18237     if test -z "$haveit"; then
18238       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
18239     fi
18240   done
18241
18242
18243   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
18244 $as_echo_n "checking for iconv... " >&6; }
18245 if ${am_cv_func_iconv+:} false; then :
18246   $as_echo_n "(cached) " >&6
18247 else
18248
18249     am_cv_func_iconv="no, consider installing GNU libiconv"
18250     am_cv_lib_iconv=no
18251     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18252 /* end confdefs.h.  */
18253 #include <stdlib.h>
18254 #include <iconv.h>
18255 int
18256 main ()
18257 {
18258 iconv_t cd = iconv_open("","");
18259        iconv(cd,NULL,NULL,NULL,NULL);
18260        iconv_close(cd);
18261   ;
18262   return 0;
18263 }
18264 _ACEOF
18265 if ac_fn_c_try_link "$LINENO"; then :
18266   am_cv_func_iconv=yes
18267 fi
18268 rm -f core conftest.err conftest.$ac_objext \
18269     conftest$ac_exeext conftest.$ac_ext
18270     if test "$am_cv_func_iconv" != yes; then
18271       am_save_LIBS="$LIBS"
18272       LIBS="$LIBS $LIBICONV"
18273       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h.  */
18275 #include <stdlib.h>
18276 #include <iconv.h>
18277 int
18278 main ()
18279 {
18280 iconv_t cd = iconv_open("","");
18281          iconv(cd,NULL,NULL,NULL,NULL);
18282          iconv_close(cd);
18283   ;
18284   return 0;
18285 }
18286 _ACEOF
18287 if ac_fn_c_try_link "$LINENO"; then :
18288   am_cv_lib_iconv=yes
18289         am_cv_func_iconv=yes
18290 fi
18291 rm -f core conftest.err conftest.$ac_objext \
18292     conftest$ac_exeext conftest.$ac_ext
18293       LIBS="$am_save_LIBS"
18294     fi
18295
18296 fi
18297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
18298 $as_echo "$am_cv_func_iconv" >&6; }
18299   if test "$am_cv_func_iconv" = yes; then
18300     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
18301 $as_echo_n "checking for working iconv... " >&6; }
18302 if ${am_cv_func_iconv_works+:} false; then :
18303   $as_echo_n "(cached) " >&6
18304 else
18305
18306             am_save_LIBS="$LIBS"
18307       if test $am_cv_lib_iconv = yes; then
18308         LIBS="$LIBS $LIBICONV"
18309       fi
18310       if test "$cross_compiling" = yes; then :
18311   case "$host_os" in
18312            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
18313            *)            am_cv_func_iconv_works="guessing yes" ;;
18314          esac
18315 else
18316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18317 /* end confdefs.h.  */
18318
18319 #include <iconv.h>
18320 #include <string.h>
18321 int main ()
18322 {
18323   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
18324      returns.  */
18325   {
18326     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
18327     if (cd_utf8_to_88591 != (iconv_t)(-1))
18328       {
18329         static const char input[] = "\342\202\254"; /* EURO SIGN */
18330         char buf[10];
18331         const char *inptr = input;
18332         size_t inbytesleft = strlen (input);
18333         char *outptr = buf;
18334         size_t outbytesleft = sizeof (buf);
18335         size_t res = iconv (cd_utf8_to_88591,
18336                             (char **) &inptr, &inbytesleft,
18337                             &outptr, &outbytesleft);
18338         if (res == 0)
18339           return 1;
18340       }
18341   }
18342 #if 0 /* This bug could be worked around by the caller.  */
18343   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
18344   {
18345     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
18346     if (cd_88591_to_utf8 != (iconv_t)(-1))
18347       {
18348         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
18349         char buf[50];
18350         const char *inptr = input;
18351         size_t inbytesleft = strlen (input);
18352         char *outptr = buf;
18353         size_t outbytesleft = sizeof (buf);
18354         size_t res = iconv (cd_88591_to_utf8,
18355                             (char **) &inptr, &inbytesleft,
18356                             &outptr, &outbytesleft);
18357         if ((int)res > 0)
18358           return 1;
18359       }
18360   }
18361 #endif
18362   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
18363      provided.  */
18364   if (/* Try standardized names.  */
18365       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
18366       /* Try IRIX, OSF/1 names.  */
18367       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
18368       /* Try AIX names.  */
18369       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
18370       /* Try HP-UX names.  */
18371       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
18372     return 1;
18373   return 0;
18374 }
18375 _ACEOF
18376 if ac_fn_c_try_run "$LINENO"; then :
18377   am_cv_func_iconv_works=yes
18378 else
18379   am_cv_func_iconv_works=no
18380 fi
18381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18382   conftest.$ac_objext conftest.beam conftest.$ac_ext
18383 fi
18384
18385       LIBS="$am_save_LIBS"
18386
18387 fi
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
18389 $as_echo "$am_cv_func_iconv_works" >&6; }
18390     case "$am_cv_func_iconv_works" in
18391       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
18392       *)   am_func_iconv=yes ;;
18393     esac
18394   else
18395     am_func_iconv=no am_cv_lib_iconv=no
18396   fi
18397   if test "$am_func_iconv" = yes; then
18398
18399 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
18400
18401   fi
18402   if test "$am_cv_lib_iconv" = yes; then
18403     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
18404 $as_echo_n "checking how to link with libiconv... " >&6; }
18405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
18406 $as_echo "$LIBICONV" >&6; }
18407   else
18408             CPPFLAGS="$am_save_CPPFLAGS"
18409     LIBICONV=
18410     LTLIBICONV=
18411   fi
18412
18413
18414
18415
18416
18417
18418
18419
18420     use_additional=yes
18421
18422   acl_save_prefix="$prefix"
18423   prefix="$acl_final_prefix"
18424   acl_save_exec_prefix="$exec_prefix"
18425   exec_prefix="$acl_final_exec_prefix"
18426
18427     eval additional_includedir=\"$includedir\"
18428     eval additional_libdir=\"$libdir\"
18429
18430   exec_prefix="$acl_save_exec_prefix"
18431   prefix="$acl_save_prefix"
18432
18433
18434 # Check whether --with-libintl-prefix was given.
18435 if test "${with_libintl_prefix+set}" = set; then :
18436   withval=$with_libintl_prefix;
18437     if test "X$withval" = "Xno"; then
18438       use_additional=no
18439     else
18440       if test "X$withval" = "X"; then
18441
18442   acl_save_prefix="$prefix"
18443   prefix="$acl_final_prefix"
18444   acl_save_exec_prefix="$exec_prefix"
18445   exec_prefix="$acl_final_exec_prefix"
18446
18447           eval additional_includedir=\"$includedir\"
18448           eval additional_libdir=\"$libdir\"
18449
18450   exec_prefix="$acl_save_exec_prefix"
18451   prefix="$acl_save_prefix"
18452
18453       else
18454         additional_includedir="$withval/include"
18455         additional_libdir="$withval/$acl_libdirstem"
18456       fi
18457     fi
18458
18459 fi
18460
18461       LIBINTL=
18462   LTLIBINTL=
18463   INCINTL=
18464   LIBINTL_PREFIX=
18465   rpathdirs=
18466   ltrpathdirs=
18467   names_already_handled=
18468   names_next_round='intl '
18469   while test -n "$names_next_round"; do
18470     names_this_round="$names_next_round"
18471     names_next_round=
18472     for name in $names_this_round; do
18473       already_handled=
18474       for n in $names_already_handled; do
18475         if test "$n" = "$name"; then
18476           already_handled=yes
18477           break
18478         fi
18479       done
18480       if test -z "$already_handled"; then
18481         names_already_handled="$names_already_handled $name"
18482                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18483         eval value=\"\$HAVE_LIB$uppername\"
18484         if test -n "$value"; then
18485           if test "$value" = yes; then
18486             eval value=\"\$LIB$uppername\"
18487             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
18488             eval value=\"\$LTLIB$uppername\"
18489             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
18490           else
18491                                     :
18492           fi
18493         else
18494                               found_dir=
18495           found_la=
18496           found_so=
18497           found_a=
18498           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
18499           if test -n "$acl_shlibext"; then
18500             shrext=".$acl_shlibext"             # typically: shrext=.so
18501           else
18502             shrext=
18503           fi
18504           if test $use_additional = yes; then
18505             dir="$additional_libdir"
18506                                     if test -n "$acl_shlibext"; then
18507               if test -f "$dir/$libname$shrext"; then
18508                 found_dir="$dir"
18509                 found_so="$dir/$libname$shrext"
18510               else
18511                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18512                   ver=`(cd "$dir" && \
18513                         for f in "$libname$shrext".*; do echo "$f"; done \
18514                         | sed -e "s,^$libname$shrext\\\\.,," \
18515                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18516                         | sed 1q ) 2>/dev/null`
18517                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18518                     found_dir="$dir"
18519                     found_so="$dir/$libname$shrext.$ver"
18520                   fi
18521                 else
18522                   eval library_names=\"$acl_library_names_spec\"
18523                   for f in $library_names; do
18524                     if test -f "$dir/$f"; then
18525                       found_dir="$dir"
18526                       found_so="$dir/$f"
18527                       break
18528                     fi
18529                   done
18530                 fi
18531               fi
18532             fi
18533                         if test "X$found_dir" = "X"; then
18534               if test -f "$dir/$libname.$acl_libext"; then
18535                 found_dir="$dir"
18536                 found_a="$dir/$libname.$acl_libext"
18537               fi
18538             fi
18539             if test "X$found_dir" != "X"; then
18540               if test -f "$dir/$libname.la"; then
18541                 found_la="$dir/$libname.la"
18542               fi
18543             fi
18544           fi
18545           if test "X$found_dir" = "X"; then
18546             for x in $LDFLAGS $LTLIBINTL; do
18547
18548   acl_save_prefix="$prefix"
18549   prefix="$acl_final_prefix"
18550   acl_save_exec_prefix="$exec_prefix"
18551   exec_prefix="$acl_final_exec_prefix"
18552   eval x=\"$x\"
18553   exec_prefix="$acl_save_exec_prefix"
18554   prefix="$acl_save_prefix"
18555
18556               case "$x" in
18557                 -L*)
18558                   dir=`echo "X$x" | sed -e 's/^X-L//'`
18559                                     if test -n "$acl_shlibext"; then
18560                     if test -f "$dir/$libname$shrext"; then
18561                       found_dir="$dir"
18562                       found_so="$dir/$libname$shrext"
18563                     else
18564                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18565                         ver=`(cd "$dir" && \
18566                               for f in "$libname$shrext".*; do echo "$f"; done \
18567                               | sed -e "s,^$libname$shrext\\\\.,," \
18568                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18569                               | sed 1q ) 2>/dev/null`
18570                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18571                           found_dir="$dir"
18572                           found_so="$dir/$libname$shrext.$ver"
18573                         fi
18574                       else
18575                         eval library_names=\"$acl_library_names_spec\"
18576                         for f in $library_names; do
18577                           if test -f "$dir/$f"; then
18578                             found_dir="$dir"
18579                             found_so="$dir/$f"
18580                             break
18581                           fi
18582                         done
18583                       fi
18584                     fi
18585                   fi
18586                                     if test "X$found_dir" = "X"; then
18587                     if test -f "$dir/$libname.$acl_libext"; then
18588                       found_dir="$dir"
18589                       found_a="$dir/$libname.$acl_libext"
18590                     fi
18591                   fi
18592                   if test "X$found_dir" != "X"; then
18593                     if test -f "$dir/$libname.la"; then
18594                       found_la="$dir/$libname.la"
18595                     fi
18596                   fi
18597                   ;;
18598               esac
18599               if test "X$found_dir" != "X"; then
18600                 break
18601               fi
18602             done
18603           fi
18604           if test "X$found_dir" != "X"; then
18605                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
18606             if test "X$found_so" != "X"; then
18607                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
18608                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18609               else
18610                                                                                 haveit=
18611                 for x in $ltrpathdirs; do
18612                   if test "X$x" = "X$found_dir"; then
18613                     haveit=yes
18614                     break
18615                   fi
18616                 done
18617                 if test -z "$haveit"; then
18618                   ltrpathdirs="$ltrpathdirs $found_dir"
18619                 fi
18620                                 if test "$acl_hardcode_direct" = yes; then
18621                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18622                 else
18623                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18624                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18625                                                             haveit=
18626                     for x in $rpathdirs; do
18627                       if test "X$x" = "X$found_dir"; then
18628                         haveit=yes
18629                         break
18630                       fi
18631                     done
18632                     if test -z "$haveit"; then
18633                       rpathdirs="$rpathdirs $found_dir"
18634                     fi
18635                   else
18636                                                                                 haveit=
18637                     for x in $LDFLAGS $LIBINTL; do
18638
18639   acl_save_prefix="$prefix"
18640   prefix="$acl_final_prefix"
18641   acl_save_exec_prefix="$exec_prefix"
18642   exec_prefix="$acl_final_exec_prefix"
18643   eval x=\"$x\"
18644   exec_prefix="$acl_save_exec_prefix"
18645   prefix="$acl_save_prefix"
18646
18647                       if test "X$x" = "X-L$found_dir"; then
18648                         haveit=yes
18649                         break
18650                       fi
18651                     done
18652                     if test -z "$haveit"; then
18653                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
18654                     fi
18655                     if test "$acl_hardcode_minus_L" != no; then
18656                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
18657                     else
18658                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18659                     fi
18660                   fi
18661                 fi
18662               fi
18663             else
18664               if test "X$found_a" != "X"; then
18665                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
18666               else
18667                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
18668               fi
18669             fi
18670                         additional_includedir=
18671             case "$found_dir" in
18672               */$acl_libdirstem | */$acl_libdirstem/)
18673                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18674                 LIBINTL_PREFIX="$basedir"
18675                 additional_includedir="$basedir/include"
18676                 ;;
18677             esac
18678             if test "X$additional_includedir" != "X"; then
18679                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
18680                 haveit=
18681                 if test "X$additional_includedir" = "X/usr/local/include"; then
18682                   if test -n "$GCC"; then
18683                     case $host_os in
18684                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18685                     esac
18686                   fi
18687                 fi
18688                 if test -z "$haveit"; then
18689                   for x in $CPPFLAGS $INCINTL; do
18690
18691   acl_save_prefix="$prefix"
18692   prefix="$acl_final_prefix"
18693   acl_save_exec_prefix="$exec_prefix"
18694   exec_prefix="$acl_final_exec_prefix"
18695   eval x=\"$x\"
18696   exec_prefix="$acl_save_exec_prefix"
18697   prefix="$acl_save_prefix"
18698
18699                     if test "X$x" = "X-I$additional_includedir"; then
18700                       haveit=yes
18701                       break
18702                     fi
18703                   done
18704                   if test -z "$haveit"; then
18705                     if test -d "$additional_includedir"; then
18706                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
18707                     fi
18708                   fi
18709                 fi
18710               fi
18711             fi
18712                         if test -n "$found_la"; then
18713                                                         save_libdir="$libdir"
18714               case "$found_la" in
18715                 */* | *\\*) . "$found_la" ;;
18716                 *) . "./$found_la" ;;
18717               esac
18718               libdir="$save_libdir"
18719                             for dep in $dependency_libs; do
18720                 case "$dep" in
18721                   -L*)
18722                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18723                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
18724                       haveit=
18725                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
18726                         if test -n "$GCC"; then
18727                           case $host_os in
18728                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18729                           esac
18730                         fi
18731                       fi
18732                       if test -z "$haveit"; then
18733                         haveit=
18734                         for x in $LDFLAGS $LIBINTL; do
18735
18736   acl_save_prefix="$prefix"
18737   prefix="$acl_final_prefix"
18738   acl_save_exec_prefix="$exec_prefix"
18739   exec_prefix="$acl_final_exec_prefix"
18740   eval x=\"$x\"
18741   exec_prefix="$acl_save_exec_prefix"
18742   prefix="$acl_save_prefix"
18743
18744                           if test "X$x" = "X-L$additional_libdir"; then
18745                             haveit=yes
18746                             break
18747                           fi
18748                         done
18749                         if test -z "$haveit"; then
18750                           if test -d "$additional_libdir"; then
18751                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
18752                           fi
18753                         fi
18754                         haveit=
18755                         for x in $LDFLAGS $LTLIBINTL; do
18756
18757   acl_save_prefix="$prefix"
18758   prefix="$acl_final_prefix"
18759   acl_save_exec_prefix="$exec_prefix"
18760   exec_prefix="$acl_final_exec_prefix"
18761   eval x=\"$x\"
18762   exec_prefix="$acl_save_exec_prefix"
18763   prefix="$acl_save_prefix"
18764
18765                           if test "X$x" = "X-L$additional_libdir"; then
18766                             haveit=yes
18767                             break
18768                           fi
18769                         done
18770                         if test -z "$haveit"; then
18771                           if test -d "$additional_libdir"; then
18772                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
18773                           fi
18774                         fi
18775                       fi
18776                     fi
18777                     ;;
18778                   -R*)
18779                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
18780                     if test "$enable_rpath" != no; then
18781                                                                   haveit=
18782                       for x in $rpathdirs; do
18783                         if test "X$x" = "X$dir"; then
18784                           haveit=yes
18785                           break
18786                         fi
18787                       done
18788                       if test -z "$haveit"; then
18789                         rpathdirs="$rpathdirs $dir"
18790                       fi
18791                                                                   haveit=
18792                       for x in $ltrpathdirs; do
18793                         if test "X$x" = "X$dir"; then
18794                           haveit=yes
18795                           break
18796                         fi
18797                       done
18798                       if test -z "$haveit"; then
18799                         ltrpathdirs="$ltrpathdirs $dir"
18800                       fi
18801                     fi
18802                     ;;
18803                   -l*)
18804                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18805                     ;;
18806                   *.la)
18807                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18808                     ;;
18809                   *)
18810                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
18811                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
18812                     ;;
18813                 esac
18814               done
18815             fi
18816           else
18817                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
18818             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
18819           fi
18820         fi
18821       fi
18822     done
18823   done
18824   if test "X$rpathdirs" != "X"; then
18825     if test -n "$acl_hardcode_libdir_separator"; then
18826                         alldirs=
18827       for found_dir in $rpathdirs; do
18828         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18829       done
18830             acl_save_libdir="$libdir"
18831       libdir="$alldirs"
18832       eval flag=\"$acl_hardcode_libdir_flag_spec\"
18833       libdir="$acl_save_libdir"
18834       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18835     else
18836             for found_dir in $rpathdirs; do
18837         acl_save_libdir="$libdir"
18838         libdir="$found_dir"
18839         eval flag=\"$acl_hardcode_libdir_flag_spec\"
18840         libdir="$acl_save_libdir"
18841         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
18842       done
18843     fi
18844   fi
18845   if test "X$ltrpathdirs" != "X"; then
18846             for found_dir in $ltrpathdirs; do
18847       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
18848     done
18849   fi
18850
18851           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
18852 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
18853 if eval \${$gt_func_gnugettext_libintl+:} false; then :
18854   $as_echo_n "(cached) " >&6
18855 else
18856   gt_save_CPPFLAGS="$CPPFLAGS"
18857             CPPFLAGS="$CPPFLAGS $INCINTL"
18858             gt_save_LIBS="$LIBS"
18859             LIBS="$LIBS $LIBINTL"
18860                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h.  */
18862 #include <libintl.h>
18863 $gt_revision_test_code
18864 extern int _nl_msg_cat_cntr;
18865 extern
18866 #ifdef __cplusplus
18867 "C"
18868 #endif
18869 const char *_nl_expand_alias (const char *);
18870 int
18871 main ()
18872 {
18873 bindtextdomain ("", "");
18874 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18875   ;
18876   return 0;
18877 }
18878 _ACEOF
18879 if ac_fn_c_try_link "$LINENO"; then :
18880   eval "$gt_func_gnugettext_libintl=yes"
18881 else
18882   eval "$gt_func_gnugettext_libintl=no"
18883 fi
18884 rm -f core conftest.err conftest.$ac_objext \
18885     conftest$ac_exeext conftest.$ac_ext
18886                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
18887               LIBS="$LIBS $LIBICONV"
18888               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h.  */
18890 #include <libintl.h>
18891 $gt_revision_test_code
18892 extern int _nl_msg_cat_cntr;
18893 extern
18894 #ifdef __cplusplus
18895 "C"
18896 #endif
18897 const char *_nl_expand_alias (const char *);
18898 int
18899 main ()
18900 {
18901 bindtextdomain ("", "");
18902 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
18903   ;
18904   return 0;
18905 }
18906 _ACEOF
18907 if ac_fn_c_try_link "$LINENO"; then :
18908   LIBINTL="$LIBINTL $LIBICONV"
18909                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
18910                 eval "$gt_func_gnugettext_libintl=yes"
18911
18912 fi
18913 rm -f core conftest.err conftest.$ac_objext \
18914     conftest$ac_exeext conftest.$ac_ext
18915             fi
18916             CPPFLAGS="$gt_save_CPPFLAGS"
18917             LIBS="$gt_save_LIBS"
18918 fi
18919 eval ac_res=\$$gt_func_gnugettext_libintl
18920                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18921 $as_echo "$ac_res" >&6; }
18922         fi
18923
18924                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
18925            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
18926                 && test "$PACKAGE" != gettext-runtime \
18927                 && test "$PACKAGE" != gettext-tools; }; then
18928           gt_use_preinstalled_gnugettext=yes
18929         else
18930                     LIBINTL=
18931           LTLIBINTL=
18932           INCINTL=
18933         fi
18934
18935
18936
18937     if test -n "$INTL_MACOSX_LIBS"; then
18938       if test "$gt_use_preinstalled_gnugettext" = "yes" \
18939          || test "$nls_cv_use_gnu_gettext" = "yes"; then
18940                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
18941         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
18942       fi
18943     fi
18944
18945     if test "$gt_use_preinstalled_gnugettext" = "yes" \
18946        || test "$nls_cv_use_gnu_gettext" = "yes"; then
18947
18948 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
18949
18950     else
18951       USE_NLS=no
18952     fi
18953   fi
18954
18955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
18956 $as_echo_n "checking whether to use NLS... " >&6; }
18957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
18958 $as_echo "$USE_NLS" >&6; }
18959   if test "$USE_NLS" = "yes"; then
18960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
18961 $as_echo_n "checking where the gettext function comes from... " >&6; }
18962     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18963       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18964         gt_source="external libintl"
18965       else
18966         gt_source="libc"
18967       fi
18968     else
18969       gt_source="included intl directory"
18970     fi
18971     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
18972 $as_echo "$gt_source" >&6; }
18973   fi
18974
18975   if test "$USE_NLS" = "yes"; then
18976
18977     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
18978       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
18979         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
18980 $as_echo_n "checking how to link with libintl... " >&6; }
18981         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
18982 $as_echo "$LIBINTL" >&6; }
18983
18984   for element in $INCINTL; do
18985     haveit=
18986     for x in $CPPFLAGS; do
18987
18988   acl_save_prefix="$prefix"
18989   prefix="$acl_final_prefix"
18990   acl_save_exec_prefix="$exec_prefix"
18991   exec_prefix="$acl_final_exec_prefix"
18992   eval x=\"$x\"
18993   exec_prefix="$acl_save_exec_prefix"
18994   prefix="$acl_save_prefix"
18995
18996       if test "X$x" = "X$element"; then
18997         haveit=yes
18998         break
18999       fi
19000     done
19001     if test -z "$haveit"; then
19002       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19003     fi
19004   done
19005
19006       fi
19007
19008
19009 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19010
19011
19012 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
19013
19014     fi
19015
19016         POSUB=po
19017   fi
19018
19019
19020
19021     INTLLIBS="$LIBINTL"
19022
19023
19024
19025
19026
19027
19028 po_makefile_in=po/Makefile.in
19029 have_po="yes"
19030
19031
19032
19033 if test "x${POSUB}" = "x" ; then
19034    have_po="no"
19035 fi
19036
19037  if test "x${have_po}" = "xyes"; then
19038   HAVE_PO_TRUE=
19039   HAVE_PO_FALSE='#'
19040 else
19041   HAVE_PO_TRUE='#'
19042   HAVE_PO_FALSE=
19043 fi
19044
19045
19046
19047
19048 default_max="4096"
19049 ac_ext=c
19050 ac_cpp='$CPP $CPPFLAGS'
19051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19054
19055
19056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
19057 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
19058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19059 /* end confdefs.h.  */
19060
19061 #include <limits.h>
19062
19063 int
19064 main ()
19065 {
19066
19067 int i = PATH_MAX;
19068
19069   ;
19070   return 0;
19071 }
19072 _ACEOF
19073 if ac_fn_c_try_compile "$LINENO"; then :
19074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19075 $as_echo "yes" >&6; }
19076 else
19077
19078
19079 cat >>confdefs.h <<_ACEOF
19080 #define PATH_MAX ${default_max}
19081 _ACEOF
19082
19083     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
19084 $as_echo "no: using ${default_max}" >&6; }
19085
19086 fi
19087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19088
19089 ac_ext=c
19090 ac_cpp='$CPP $CPPFLAGS'
19091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19094
19095
19096
19097
19098 elementary_base_dir=".elementary"
19099
19100 # Check whether --with-elementary-base-dir was given.
19101 if test "${with_elementary_base_dir+set}" = set; then :
19102   withval=$with_elementary_base_dir; elementary_base_dir=${withval}
19103 else
19104   elementary_base_dir=".elementary"
19105 fi
19106
19107
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&5
19109 $as_echo "$as_me: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&6;}
19110
19111 cat >>confdefs.h <<_ACEOF
19112 #define ELEMENTARY_BASE_DIR "${elementary_base_dir}"
19113 _ACEOF
19114
19115
19116 ### Build and install examples
19117
19118
19119
19120 # Check whether --enable-build-examples was given.
19121 if test "${enable_build_examples+set}" = set; then :
19122   enableval=$enable_build_examples;
19123     if test "x${enableval}" = "xyes" ; then
19124        _efl_enable_build_examples="yes"
19125     else
19126        _efl_enable_build_examples="no"
19127     fi
19128
19129 else
19130   _efl_enable_build_examples="no"
19131 fi
19132
19133
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
19135 $as_echo_n "checking whether examples are built... " >&6; }
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
19137 $as_echo "${_efl_enable_build_examples}" >&6; }
19138
19139  if test "x${_efl_enable_build_examples}" = "xyes"; then
19140   EFL_BUILD_EXAMPLES_TRUE=
19141   EFL_BUILD_EXAMPLES_FALSE='#'
19142 else
19143   EFL_BUILD_EXAMPLES_TRUE='#'
19144   EFL_BUILD_EXAMPLES_FALSE=
19145 fi
19146
19147
19148 if test "x$_efl_enable_build_examples" = "xyes"; then :
19149   enable_build_examples="yes"
19150 else
19151   enable_build_examples="no"
19152 fi
19153
19154
19155
19156
19157 # Check whether --enable-install-examples was given.
19158 if test "${enable_install_examples+set}" = set; then :
19159   enableval=$enable_install_examples;
19160     if test "x${enableval}" = "xyes" ; then
19161        _efl_enable_install_examples="yes"
19162     else
19163        _efl_enable_install_examples="no"
19164     fi
19165
19166 else
19167   _efl_enable_install_examples="no"
19168 fi
19169
19170
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
19172 $as_echo_n "checking whether examples are installed... " >&6; }
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
19174 $as_echo "${_efl_enable_install_examples}" >&6; }
19175
19176  if test "x${_efl_enable_install_examples}" = "xyes"; then
19177   EFL_INSTALL_EXAMPLES_TRUE=
19178   EFL_INSTALL_EXAMPLES_FALSE='#'
19179 else
19180   EFL_INSTALL_EXAMPLES_TRUE='#'
19181   EFL_INSTALL_EXAMPLES_FALSE=
19182 fi
19183
19184
19185 if test "x$_efl_enable_install_examples" = "xyes"; then :
19186   enable_install_examples="yes"
19187 else
19188   enable_install_examples="no"
19189 fi
19190
19191
19192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19193 /* end confdefs.h.  */
19194
19195 # define _GNU_SOURCE 1
19196 #include <unistd.h>
19197
19198 int
19199 main ()
19200 {
19201
19202 extern char **environ;
19203
19204   ;
19205   return 0;
19206 }
19207 _ACEOF
19208 if ac_fn_c_try_compile "$LINENO"; then :
19209
19210
19211 $as_echo "#define HAVE_ENVIRON 1" >>confdefs.h
19212
19213
19214 fi
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h.  */
19219
19220 #include <stdlib.h>
19221
19222 int
19223 main ()
19224 {
19225
19226 clearenv();
19227
19228   ;
19229   return 0;
19230 }
19231 _ACEOF
19232 if ac_fn_c_try_compile "$LINENO"; then :
19233
19234
19235 $as_echo "#define HAVE_CLEARENV 1" >>confdefs.h
19236
19237
19238 fi
19239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19240
19241 ac_config_files="$ac_config_files Makefile elementary.spec elementary.pc doc/Makefile doc/Doxyfile doc/widgets/Makefile src/Makefile src/lib/Makefile src/lib/Elementary.h src/bin/Makefile src/modules/Makefile src/modules/access_output/Makefile src/modules/datetime_input_ctxpopup/Makefile src/modules/test_entry/Makefile src/modules/test_map/Makefile src/edje_externals/Makefile src/examples/Makefile data/Makefile data/themes/Makefile data/images/Makefile data/objects/Makefile data/desktop/Makefile data/edje_externals/Makefile config/Makefile config/default/Makefile config/standard/Makefile config/mobile/Makefile $po_makefile_in"
19242
19243 cat >confcache <<\_ACEOF
19244 # This file is a shell script that caches the results of configure
19245 # tests run on this system so they can be shared between configure
19246 # scripts and configure runs, see configure's option --config-cache.
19247 # It is not useful on other systems.  If it contains results you don't
19248 # want to keep, you may remove or edit it.
19249 #
19250 # config.status only pays attention to the cache file if you give it
19251 # the --recheck option to rerun configure.
19252 #
19253 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19254 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19255 # following values.
19256
19257 _ACEOF
19258
19259 # The following way of writing the cache mishandles newlines in values,
19260 # but we know of no workaround that is simple, portable, and efficient.
19261 # So, we kill variables containing newlines.
19262 # Ultrix sh set writes to stderr and can't be redirected directly,
19263 # and sets the high bit in the cache file unless we assign to the vars.
19264 (
19265   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19266     eval ac_val=\$$ac_var
19267     case $ac_val in #(
19268     *${as_nl}*)
19269       case $ac_var in #(
19270       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19271 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19272       esac
19273       case $ac_var in #(
19274       _ | IFS | as_nl) ;; #(
19275       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19276       *) { eval $ac_var=; unset $ac_var;} ;;
19277       esac ;;
19278     esac
19279   done
19280
19281   (set) 2>&1 |
19282     case $as_nl`(ac_space=' '; set) 2>&1` in #(
19283     *${as_nl}ac_space=\ *)
19284       # `set' does not quote correctly, so add quotes: double-quote
19285       # substitution turns \\\\ into \\, and sed turns \\ into \.
19286       sed -n \
19287         "s/'/'\\\\''/g;
19288           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19289       ;; #(
19290     *)
19291       # `set' quotes correctly as required by POSIX, so do not add quotes.
19292       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19293       ;;
19294     esac |
19295     sort
19296 ) |
19297   sed '
19298      /^ac_cv_env_/b end
19299      t clear
19300      :clear
19301      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19302      t end
19303      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19304      :end' >>confcache
19305 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19306   if test -w "$cache_file"; then
19307     if test "x$cache_file" != "x/dev/null"; then
19308       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19309 $as_echo "$as_me: updating cache $cache_file" >&6;}
19310       if test ! -f "$cache_file" || test -h "$cache_file"; then
19311         cat confcache >"$cache_file"
19312       else
19313         case $cache_file in #(
19314         */* | ?:*)
19315           mv -f confcache "$cache_file"$$ &&
19316           mv -f "$cache_file"$$ "$cache_file" ;; #(
19317         *)
19318           mv -f confcache "$cache_file" ;;
19319         esac
19320       fi
19321     fi
19322   else
19323     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19324 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19325   fi
19326 fi
19327 rm -f confcache
19328
19329 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19330 # Let make expand exec_prefix.
19331 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19332
19333 DEFS=-DHAVE_CONFIG_H
19334
19335 ac_libobjs=
19336 ac_ltlibobjs=
19337 U=
19338 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19339   # 1. Remove the extension, and $U if already installed.
19340   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19341   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19342   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
19343   #    will be set to the directory where LIBOBJS objects are built.
19344   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19345   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19346 done
19347 LIBOBJS=$ac_libobjs
19348
19349 LTLIBOBJS=$ac_ltlibobjs
19350
19351
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19353 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19354    if test -n "$am_sleep_pid"; then
19355      # Hide warnings about reused PIDs.
19356      wait $am_sleep_pid 2>/dev/null
19357    fi
19358    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19359 $as_echo "done" >&6; }
19360  if test -n "$EXEEXT"; then
19361   am__EXEEXT_TRUE=
19362   am__EXEEXT_FALSE='#'
19363 else
19364   am__EXEEXT_TRUE='#'
19365   am__EXEEXT_FALSE=
19366 fi
19367
19368 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19369   as_fn_error $? "conditional \"AMDEP\" was never defined.
19370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19371 fi
19372 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19373   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19374 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19375 fi
19376
19377 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19378   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19380 fi
19381 if test -z "${BUILD_RUN_TRUE}" && test -z "${BUILD_RUN_FALSE}"; then
19382   as_fn_error $? "conditional \"BUILD_RUN\" was never defined.
19383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19384 fi
19385 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
19386   as_fn_error $? "conditional \"BUILD_MODULES\" was never defined.
19387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19388 fi
19389 if test -z "${BUILD_QUICKLAUNCH_TRUE}" && test -z "${BUILD_QUICKLAUNCH_FALSE}"; then
19390   as_fn_error $? "conditional \"BUILD_QUICKLAUNCH\" was never defined.
19391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19392 fi
19393 if test -z "${ELEMENTARY_WINDOWS_BUILD_TRUE}" && test -z "${ELEMENTARY_WINDOWS_BUILD_FALSE}"; then
19394   as_fn_error $? "conditional \"ELEMENTARY_WINDOWS_BUILD\" was never defined.
19395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19396 fi
19397 if test -z "${HAVE_ECORE_IMF_TRUE}" && test -z "${HAVE_ECORE_IMF_FALSE}"; then
19398   as_fn_error $? "conditional \"HAVE_ECORE_IMF\" was never defined.
19399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19400 fi
19401 if test -z "${HAVE_ECORE_CON_TRUE}" && test -z "${HAVE_ECORE_CON_FALSE}"; then
19402   as_fn_error $? "conditional \"HAVE_ECORE_CON\" was never defined.
19403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19404 fi
19405 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
19406   as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
19407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19408 fi
19409 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
19410   as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
19411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19412 fi
19413 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
19414   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
19415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19416 fi
19417 if test -z "${BUILD_ELEMENTARY_TEST_TRUE}" && test -z "${BUILD_ELEMENTARY_TEST_FALSE}"; then
19418   as_fn_error $? "conditional \"BUILD_ELEMENTARY_TEST\" was never defined.
19419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19420 fi
19421 if test -z "${BUILD_ELEMENTARY_CONFIG_TRUE}" && test -z "${BUILD_ELEMENTARY_CONFIG_FALSE}"; then
19422   as_fn_error $? "conditional \"BUILD_ELEMENTARY_CONFIG\" was never defined.
19423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19424 fi
19425 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
19426   as_fn_error $? "conditional \"HAVE_PO\" was never defined.
19427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19428 fi
19429 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
19430   as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
19431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19432 fi
19433 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
19434   as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
19435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19436 fi
19437
19438 : "${CONFIG_STATUS=./config.status}"
19439 ac_write_fail=0
19440 ac_clean_files_save=$ac_clean_files
19441 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19442 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19443 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19444 as_write_fail=0
19445 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19446 #! $SHELL
19447 # Generated by $as_me.
19448 # Run this file to recreate the current configuration.
19449 # Compiler output produced by configure, useful for debugging
19450 # configure, is in config.log if it exists.
19451
19452 debug=false
19453 ac_cs_recheck=false
19454 ac_cs_silent=false
19455
19456 SHELL=\${CONFIG_SHELL-$SHELL}
19457 export SHELL
19458 _ASEOF
19459 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19460 ## -------------------- ##
19461 ## M4sh Initialization. ##
19462 ## -------------------- ##
19463
19464 # Be more Bourne compatible
19465 DUALCASE=1; export DUALCASE # for MKS sh
19466 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19467   emulate sh
19468   NULLCMD=:
19469   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19470   # is contrary to our usage.  Disable this feature.
19471   alias -g '${1+"$@"}'='"$@"'
19472   setopt NO_GLOB_SUBST
19473 else
19474   case `(set -o) 2>/dev/null` in #(
19475   *posix*) :
19476     set -o posix ;; #(
19477   *) :
19478      ;;
19479 esac
19480 fi
19481
19482
19483 as_nl='
19484 '
19485 export as_nl
19486 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19487 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19488 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19489 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19490 # Prefer a ksh shell builtin over an external printf program on Solaris,
19491 # but without wasting forks for bash or zsh.
19492 if test -z "$BASH_VERSION$ZSH_VERSION" \
19493     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19494   as_echo='print -r --'
19495   as_echo_n='print -rn --'
19496 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19497   as_echo='printf %s\n'
19498   as_echo_n='printf %s'
19499 else
19500   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19501     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19502     as_echo_n='/usr/ucb/echo -n'
19503   else
19504     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19505     as_echo_n_body='eval
19506       arg=$1;
19507       case $arg in #(
19508       *"$as_nl"*)
19509         expr "X$arg" : "X\\(.*\\)$as_nl";
19510         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19511       esac;
19512       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19513     '
19514     export as_echo_n_body
19515     as_echo_n='sh -c $as_echo_n_body as_echo'
19516   fi
19517   export as_echo_body
19518   as_echo='sh -c $as_echo_body as_echo'
19519 fi
19520
19521 # The user is always right.
19522 if test "${PATH_SEPARATOR+set}" != set; then
19523   PATH_SEPARATOR=:
19524   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19525     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19526       PATH_SEPARATOR=';'
19527   }
19528 fi
19529
19530
19531 # IFS
19532 # We need space, tab and new line, in precisely that order.  Quoting is
19533 # there to prevent editors from complaining about space-tab.
19534 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19535 # splitting by setting IFS to empty value.)
19536 IFS=" ""        $as_nl"
19537
19538 # Find who we are.  Look in the path if we contain no directory separator.
19539 as_myself=
19540 case $0 in #((
19541   *[\\/]* ) as_myself=$0 ;;
19542   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19543 for as_dir in $PATH
19544 do
19545   IFS=$as_save_IFS
19546   test -z "$as_dir" && as_dir=.
19547     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19548   done
19549 IFS=$as_save_IFS
19550
19551      ;;
19552 esac
19553 # We did not find ourselves, most probably we were run as `sh COMMAND'
19554 # in which case we are not to be found in the path.
19555 if test "x$as_myself" = x; then
19556   as_myself=$0
19557 fi
19558 if test ! -f "$as_myself"; then
19559   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19560   exit 1
19561 fi
19562
19563 # Unset variables that we do not need and which cause bugs (e.g. in
19564 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
19565 # suppresses any "Segmentation fault" message there.  '((' could
19566 # trigger a bug in pdksh 5.2.14.
19567 for as_var in BASH_ENV ENV MAIL MAILPATH
19568 do eval test x\${$as_var+set} = xset \
19569   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19570 done
19571 PS1='$ '
19572 PS2='> '
19573 PS4='+ '
19574
19575 # NLS nuisances.
19576 LC_ALL=C
19577 export LC_ALL
19578 LANGUAGE=C
19579 export LANGUAGE
19580
19581 # CDPATH.
19582 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19583
19584
19585 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19586 # ----------------------------------------
19587 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19588 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19589 # script with STATUS, using 1 if that was 0.
19590 as_fn_error ()
19591 {
19592   as_status=$1; test $as_status -eq 0 && as_status=1
19593   if test "$4"; then
19594     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19595     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19596   fi
19597   $as_echo "$as_me: error: $2" >&2
19598   as_fn_exit $as_status
19599 } # as_fn_error
19600
19601
19602 # as_fn_set_status STATUS
19603 # -----------------------
19604 # Set $? to STATUS, without forking.
19605 as_fn_set_status ()
19606 {
19607   return $1
19608 } # as_fn_set_status
19609
19610 # as_fn_exit STATUS
19611 # -----------------
19612 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19613 as_fn_exit ()
19614 {
19615   set +e
19616   as_fn_set_status $1
19617   exit $1
19618 } # as_fn_exit
19619
19620 # as_fn_unset VAR
19621 # ---------------
19622 # Portably unset VAR.
19623 as_fn_unset ()
19624 {
19625   { eval $1=; unset $1;}
19626 }
19627 as_unset=as_fn_unset
19628 # as_fn_append VAR VALUE
19629 # ----------------------
19630 # Append the text in VALUE to the end of the definition contained in VAR. Take
19631 # advantage of any shell optimizations that allow amortized linear growth over
19632 # repeated appends, instead of the typical quadratic growth present in naive
19633 # implementations.
19634 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19635   eval 'as_fn_append ()
19636   {
19637     eval $1+=\$2
19638   }'
19639 else
19640   as_fn_append ()
19641   {
19642     eval $1=\$$1\$2
19643   }
19644 fi # as_fn_append
19645
19646 # as_fn_arith ARG...
19647 # ------------------
19648 # Perform arithmetic evaluation on the ARGs, and store the result in the
19649 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19650 # must be portable across $(()) and expr.
19651 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19652   eval 'as_fn_arith ()
19653   {
19654     as_val=$(( $* ))
19655   }'
19656 else
19657   as_fn_arith ()
19658   {
19659     as_val=`expr "$@" || test $? -eq 1`
19660   }
19661 fi # as_fn_arith
19662
19663
19664 if expr a : '\(a\)' >/dev/null 2>&1 &&
19665    test "X`expr 00001 : '.*\(...\)'`" = X001; then
19666   as_expr=expr
19667 else
19668   as_expr=false
19669 fi
19670
19671 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19672   as_basename=basename
19673 else
19674   as_basename=false
19675 fi
19676
19677 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19678   as_dirname=dirname
19679 else
19680   as_dirname=false
19681 fi
19682
19683 as_me=`$as_basename -- "$0" ||
19684 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19685          X"$0" : 'X\(//\)$' \| \
19686          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19687 $as_echo X/"$0" |
19688     sed '/^.*\/\([^/][^/]*\)\/*$/{
19689             s//\1/
19690             q
19691           }
19692           /^X\/\(\/\/\)$/{
19693             s//\1/
19694             q
19695           }
19696           /^X\/\(\/\).*/{
19697             s//\1/
19698             q
19699           }
19700           s/.*/./; q'`
19701
19702 # Avoid depending upon Character Ranges.
19703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19706 as_cr_digits='0123456789'
19707 as_cr_alnum=$as_cr_Letters$as_cr_digits
19708
19709 ECHO_C= ECHO_N= ECHO_T=
19710 case `echo -n x` in #(((((
19711 -n*)
19712   case `echo 'xy\c'` in
19713   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
19714   xy)  ECHO_C='\c';;
19715   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19716        ECHO_T=' ';;
19717   esac;;
19718 *)
19719   ECHO_N='-n';;
19720 esac
19721
19722 rm -f conf$$ conf$$.exe conf$$.file
19723 if test -d conf$$.dir; then
19724   rm -f conf$$.dir/conf$$.file
19725 else
19726   rm -f conf$$.dir
19727   mkdir conf$$.dir 2>/dev/null
19728 fi
19729 if (echo >conf$$.file) 2>/dev/null; then
19730   if ln -s conf$$.file conf$$ 2>/dev/null; then
19731     as_ln_s='ln -s'
19732     # ... but there are two gotchas:
19733     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19734     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19735     # In both cases, we have to default to `cp -pR'.
19736     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19737       as_ln_s='cp -pR'
19738   elif ln conf$$.file conf$$ 2>/dev/null; then
19739     as_ln_s=ln
19740   else
19741     as_ln_s='cp -pR'
19742   fi
19743 else
19744   as_ln_s='cp -pR'
19745 fi
19746 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19747 rmdir conf$$.dir 2>/dev/null
19748
19749
19750 # as_fn_mkdir_p
19751 # -------------
19752 # Create "$as_dir" as a directory, including parents if necessary.
19753 as_fn_mkdir_p ()
19754 {
19755
19756   case $as_dir in #(
19757   -*) as_dir=./$as_dir;;
19758   esac
19759   test -d "$as_dir" || eval $as_mkdir_p || {
19760     as_dirs=
19761     while :; do
19762       case $as_dir in #(
19763       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19764       *) as_qdir=$as_dir;;
19765       esac
19766       as_dirs="'$as_qdir' $as_dirs"
19767       as_dir=`$as_dirname -- "$as_dir" ||
19768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19769          X"$as_dir" : 'X\(//\)[^/]' \| \
19770          X"$as_dir" : 'X\(//\)$' \| \
19771          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19772 $as_echo X"$as_dir" |
19773     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19774             s//\1/
19775             q
19776           }
19777           /^X\(\/\/\)[^/].*/{
19778             s//\1/
19779             q
19780           }
19781           /^X\(\/\/\)$/{
19782             s//\1/
19783             q
19784           }
19785           /^X\(\/\).*/{
19786             s//\1/
19787             q
19788           }
19789           s/.*/./; q'`
19790       test -d "$as_dir" && break
19791     done
19792     test -z "$as_dirs" || eval "mkdir $as_dirs"
19793   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19794
19795
19796 } # as_fn_mkdir_p
19797 if mkdir -p . 2>/dev/null; then
19798   as_mkdir_p='mkdir -p "$as_dir"'
19799 else
19800   test -d ./-p && rmdir ./-p
19801   as_mkdir_p=false
19802 fi
19803
19804
19805 # as_fn_executable_p FILE
19806 # -----------------------
19807 # Test if FILE is an executable regular file.
19808 as_fn_executable_p ()
19809 {
19810   test -f "$1" && test -x "$1"
19811 } # as_fn_executable_p
19812 as_test_x='test -x'
19813 as_executable_p=as_fn_executable_p
19814
19815 # Sed expression to map a string onto a valid CPP name.
19816 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19817
19818 # Sed expression to map a string onto a valid variable name.
19819 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19820
19821
19822 exec 6>&1
19823 ## ----------------------------------- ##
19824 ## Main body of $CONFIG_STATUS script. ##
19825 ## ----------------------------------- ##
19826 _ASEOF
19827 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19828
19829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19830 # Save the log message, to keep $0 and so on meaningful, and to
19831 # report actual input values of CONFIG_FILES etc. instead of their
19832 # values after options handling.
19833 ac_log="
19834 This file was extended by elementary $as_me 1.7.8, which was
19835 generated by GNU Autoconf 2.69.  Invocation command line was
19836
19837   CONFIG_FILES    = $CONFIG_FILES
19838   CONFIG_HEADERS  = $CONFIG_HEADERS
19839   CONFIG_LINKS    = $CONFIG_LINKS
19840   CONFIG_COMMANDS = $CONFIG_COMMANDS
19841   $ $0 $@
19842
19843 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19844 "
19845
19846 _ACEOF
19847
19848 case $ac_config_files in *"
19849 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19850 esac
19851
19852 case $ac_config_headers in *"
19853 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19854 esac
19855
19856
19857 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19858 # Files that config.status was made for.
19859 config_files="$ac_config_files"
19860 config_headers="$ac_config_headers"
19861 config_commands="$ac_config_commands"
19862
19863 _ACEOF
19864
19865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19866 ac_cs_usage="\
19867 \`$as_me' instantiates files and other configuration actions
19868 from templates according to the current configuration.  Unless the files
19869 and actions are specified as TAGs, all are instantiated by default.
19870
19871 Usage: $0 [OPTION]... [TAG]...
19872
19873   -h, --help       print this help, then exit
19874   -V, --version    print version number and configuration settings, then exit
19875       --config     print configuration, then exit
19876   -q, --quiet, --silent
19877                    do not print progress messages
19878   -d, --debug      don't remove temporary files
19879       --recheck    update $as_me by reconfiguring in the same conditions
19880       --file=FILE[:TEMPLATE]
19881                    instantiate the configuration file FILE
19882       --header=FILE[:TEMPLATE]
19883                    instantiate the configuration header FILE
19884
19885 Configuration files:
19886 $config_files
19887
19888 Configuration headers:
19889 $config_headers
19890
19891 Configuration commands:
19892 $config_commands
19893
19894 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
19895
19896 _ACEOF
19897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19898 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19899 ac_cs_version="\\
19900 elementary config.status 1.7.8
19901 configured by $0, generated by GNU Autoconf 2.69,
19902   with options \\"\$ac_cs_config\\"
19903
19904 Copyright (C) 2012 Free Software Foundation, Inc.
19905 This config.status script is free software; the Free Software Foundation
19906 gives unlimited permission to copy, distribute and modify it."
19907
19908 ac_pwd='$ac_pwd'
19909 srcdir='$srcdir'
19910 INSTALL='$INSTALL'
19911 MKDIR_P='$MKDIR_P'
19912 AWK='$AWK'
19913 test -n "\$AWK" || AWK=awk
19914 _ACEOF
19915
19916 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19917 # The default lists apply if the user does not specify any file.
19918 ac_need_defaults=:
19919 while test $# != 0
19920 do
19921   case $1 in
19922   --*=?*)
19923     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19924     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19925     ac_shift=:
19926     ;;
19927   --*=)
19928     ac_option=`expr "X$1" : 'X\([^=]*\)='`
19929     ac_optarg=
19930     ac_shift=:
19931     ;;
19932   *)
19933     ac_option=$1
19934     ac_optarg=$2
19935     ac_shift=shift
19936     ;;
19937   esac
19938
19939   case $ac_option in
19940   # Handling of the options.
19941   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19942     ac_cs_recheck=: ;;
19943   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19944     $as_echo "$ac_cs_version"; exit ;;
19945   --config | --confi | --conf | --con | --co | --c )
19946     $as_echo "$ac_cs_config"; exit ;;
19947   --debug | --debu | --deb | --de | --d | -d )
19948     debug=: ;;
19949   --file | --fil | --fi | --f )
19950     $ac_shift
19951     case $ac_optarg in
19952     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19953     '') as_fn_error $? "missing file argument" ;;
19954     esac
19955     as_fn_append CONFIG_FILES " '$ac_optarg'"
19956     ac_need_defaults=false;;
19957   --header | --heade | --head | --hea )
19958     $ac_shift
19959     case $ac_optarg in
19960     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19961     esac
19962     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19963     ac_need_defaults=false;;
19964   --he | --h)
19965     # Conflict between --help and --header
19966     as_fn_error $? "ambiguous option: \`$1'
19967 Try \`$0 --help' for more information.";;
19968   --help | --hel | -h )
19969     $as_echo "$ac_cs_usage"; exit ;;
19970   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19971   | -silent | --silent | --silen | --sile | --sil | --si | --s)
19972     ac_cs_silent=: ;;
19973
19974   # This is an error.
19975   -*) as_fn_error $? "unrecognized option: \`$1'
19976 Try \`$0 --help' for more information." ;;
19977
19978   *) as_fn_append ac_config_targets " $1"
19979      ac_need_defaults=false ;;
19980
19981   esac
19982   shift
19983 done
19984
19985 ac_configure_extra_args=
19986
19987 if $ac_cs_silent; then
19988   exec 6>/dev/null
19989   ac_configure_extra_args="$ac_configure_extra_args --silent"
19990 fi
19991
19992 _ACEOF
19993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19994 if \$ac_cs_recheck; then
19995   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19996   shift
19997   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19998   CONFIG_SHELL='$SHELL'
19999   export CONFIG_SHELL
20000   exec "\$@"
20001 fi
20002
20003 _ACEOF
20004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20005 exec 5>>config.log
20006 {
20007   echo
20008   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20009 ## Running $as_me. ##
20010 _ASBOX
20011   $as_echo "$ac_log"
20012 } >&5
20013
20014 _ACEOF
20015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20016 #
20017 # INIT-COMMANDS
20018 #
20019 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20020
20021
20022 # The HP-UX ksh and POSIX shell print the target directory to stdout
20023 # if CDPATH is set.
20024 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20025
20026 sed_quote_subst='$sed_quote_subst'
20027 double_quote_subst='$double_quote_subst'
20028 delay_variable_subst='$delay_variable_subst'
20029 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
20030 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20031 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20032 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20033 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20034 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20035 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20036 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20037 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20038 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20039 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20040 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20041 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20042 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20043 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20044 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20045 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20046 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20047 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20048 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20049 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20050 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20051 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20052 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20053 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20054 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20055 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20056 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20057 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20058 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20059 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20060 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20061 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20062 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20063 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20064 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20065 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20066 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20067 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20068 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20069 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20070 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20071 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20072 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20073 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20074 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20075 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20076 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20077 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20078 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20079 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20080 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20081 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20082 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20083 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20084 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20085 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20086 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
20087 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20088 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20089 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20090 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20091 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20092 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20093 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20094 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20095 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20096 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20097 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20098 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20099 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20100 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20101 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20102 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20103 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20104 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20105 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20106 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20107 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20108 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20109 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20110 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20111 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20112 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20113 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20114 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20115 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20116 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20117 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20118 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20119 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20120 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20121 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20122 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20123 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20124 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20125 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20126 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20127 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20128 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20129 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20130 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20131 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20132 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20133 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20134 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20135 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20136 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20137 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20138 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20139 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20140 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20141 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20142 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20143 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20144 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20145 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20146 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20147 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20148 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20149 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20150 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20151 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20152 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20153 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20154 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20155 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20156 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20157 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20158 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20159 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20160
20161 LTCC='$LTCC'
20162 LTCFLAGS='$LTCFLAGS'
20163 compiler='$compiler_DEFAULT'
20164
20165 # A function that is used when there is no print builtin or printf.
20166 func_fallback_echo ()
20167 {
20168   eval 'cat <<_LTECHO_EOF
20169 \$1
20170 _LTECHO_EOF'
20171 }
20172
20173 # Quote evaled strings.
20174 for var in AS \
20175 DLLTOOL \
20176 OBJDUMP \
20177 SHELL \
20178 ECHO \
20179 PATH_SEPARATOR \
20180 SED \
20181 GREP \
20182 EGREP \
20183 FGREP \
20184 LD \
20185 NM \
20186 LN_S \
20187 lt_SP2NL \
20188 lt_NL2SP \
20189 reload_flag \
20190 deplibs_check_method \
20191 file_magic_cmd \
20192 file_magic_glob \
20193 want_nocaseglob \
20194 sharedlib_from_linklib_cmd \
20195 AR \
20196 AR_FLAGS \
20197 archiver_list_spec \
20198 STRIP \
20199 RANLIB \
20200 CC \
20201 CFLAGS \
20202 compiler \
20203 lt_cv_sys_global_symbol_pipe \
20204 lt_cv_sys_global_symbol_to_cdecl \
20205 lt_cv_sys_global_symbol_to_c_name_address \
20206 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20207 nm_file_list_spec \
20208 lt_prog_compiler_no_builtin_flag \
20209 lt_prog_compiler_pic \
20210 lt_prog_compiler_wl \
20211 lt_prog_compiler_static \
20212 lt_cv_prog_compiler_c_o \
20213 need_locks \
20214 MANIFEST_TOOL \
20215 DSYMUTIL \
20216 NMEDIT \
20217 LIPO \
20218 OTOOL \
20219 OTOOL64 \
20220 shrext_cmds \
20221 export_dynamic_flag_spec \
20222 whole_archive_flag_spec \
20223 compiler_needs_object \
20224 with_gnu_ld \
20225 allow_undefined_flag \
20226 no_undefined_flag \
20227 hardcode_libdir_flag_spec \
20228 hardcode_libdir_separator \
20229 exclude_expsyms \
20230 include_expsyms \
20231 file_list_spec \
20232 variables_saved_for_relink \
20233 libname_spec \
20234 library_names_spec \
20235 soname_spec \
20236 install_override_mode \
20237 finish_eval \
20238 old_striplib \
20239 striplib; do
20240     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20241     *[\\\\\\\`\\"\\\$]*)
20242       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20243       ;;
20244     *)
20245       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20246       ;;
20247     esac
20248 done
20249
20250 # Double-quote double-evaled strings.
20251 for var in reload_cmds \
20252 old_postinstall_cmds \
20253 old_postuninstall_cmds \
20254 old_archive_cmds \
20255 extract_expsyms_cmds \
20256 old_archive_from_new_cmds \
20257 old_archive_from_expsyms_cmds \
20258 archive_cmds \
20259 archive_expsym_cmds \
20260 module_cmds \
20261 module_expsym_cmds \
20262 export_symbols_cmds \
20263 prelink_cmds \
20264 postlink_cmds \
20265 postinstall_cmds \
20266 postuninstall_cmds \
20267 finish_cmds \
20268 sys_lib_search_path_spec \
20269 sys_lib_dlsearch_path_spec; do
20270     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20271     *[\\\\\\\`\\"\\\$]*)
20272       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20273       ;;
20274     *)
20275       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20276       ;;
20277     esac
20278 done
20279
20280 ac_aux_dir='$ac_aux_dir'
20281 xsi_shell='$xsi_shell'
20282 lt_shell_append='$lt_shell_append'
20283
20284 # See if we are running on zsh, and set the options which allow our
20285 # commands through without removal of \ escapes INIT.
20286 if test -n "\${ZSH_VERSION+set}" ; then
20287    setopt NO_GLOB_SUBST
20288 fi
20289
20290
20291     PACKAGE='$PACKAGE'
20292     VERSION='$VERSION'
20293     TIMESTAMP='$TIMESTAMP'
20294     RM='$RM'
20295     ofile='$ofile'
20296
20297
20298
20299 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20300     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20301     # from automake < 1.5.
20302     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20303     # Capture the value of LINGUAS because we need it to compute CATALOGS.
20304     LINGUAS="${LINGUAS-%UNSET%}"
20305
20306
20307 _ACEOF
20308
20309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20310
20311 # Handling of arguments.
20312 for ac_config_target in $ac_config_targets
20313 do
20314   case $ac_config_target in
20315     "elementary_config.h") CONFIG_HEADERS="$CONFIG_HEADERS elementary_config.h" ;;
20316     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20317     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20318     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
20319     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20320     "elementary.spec") CONFIG_FILES="$CONFIG_FILES elementary.spec" ;;
20321     "elementary.pc") CONFIG_FILES="$CONFIG_FILES elementary.pc" ;;
20322     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20323     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
20324     "doc/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES doc/widgets/Makefile" ;;
20325     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20326     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
20327     "src/lib/Elementary.h") CONFIG_FILES="$CONFIG_FILES src/lib/Elementary.h" ;;
20328     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
20329     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
20330     "src/modules/access_output/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/access_output/Makefile" ;;
20331     "src/modules/datetime_input_ctxpopup/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/datetime_input_ctxpopup/Makefile" ;;
20332     "src/modules/test_entry/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_entry/Makefile" ;;
20333     "src/modules/test_map/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_map/Makefile" ;;
20334     "src/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_externals/Makefile" ;;
20335     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
20336     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
20337     "data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES data/themes/Makefile" ;;
20338     "data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;;
20339     "data/objects/Makefile") CONFIG_FILES="$CONFIG_FILES data/objects/Makefile" ;;
20340     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
20341     "data/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES data/edje_externals/Makefile" ;;
20342     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
20343     "config/default/Makefile") CONFIG_FILES="$CONFIG_FILES config/default/Makefile" ;;
20344     "config/standard/Makefile") CONFIG_FILES="$CONFIG_FILES config/standard/Makefile" ;;
20345     "config/mobile/Makefile") CONFIG_FILES="$CONFIG_FILES config/mobile/Makefile" ;;
20346     "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
20347
20348   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20349   esac
20350 done
20351
20352
20353 # If the user did not use the arguments to specify the items to instantiate,
20354 # then the envvar interface is used.  Set only those that are not.
20355 # We use the long form for the default assignment because of an extremely
20356 # bizarre bug on SunOS 4.1.3.
20357 if $ac_need_defaults; then
20358   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20359   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20360   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20361 fi
20362
20363 # Have a temporary directory for convenience.  Make it in the build tree
20364 # simply because there is no reason against having it here, and in addition,
20365 # creating and moving files from /tmp can sometimes cause problems.
20366 # Hook for its removal unless debugging.
20367 # Note that there is a small window in which the directory will not be cleaned:
20368 # after its creation but before its name has been assigned to `$tmp'.
20369 $debug ||
20370 {
20371   tmp= ac_tmp=
20372   trap 'exit_status=$?
20373   : "${ac_tmp:=$tmp}"
20374   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20375 ' 0
20376   trap 'as_fn_exit 1' 1 2 13 15
20377 }
20378 # Create a (secure) tmp directory for tmp files.
20379
20380 {
20381   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20382   test -d "$tmp"
20383 }  ||
20384 {
20385   tmp=./conf$$-$RANDOM
20386   (umask 077 && mkdir "$tmp")
20387 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20388 ac_tmp=$tmp
20389
20390 # Set up the scripts for CONFIG_FILES section.
20391 # No need to generate them if there are no CONFIG_FILES.
20392 # This happens for instance with `./config.status config.h'.
20393 if test -n "$CONFIG_FILES"; then
20394
20395
20396 ac_cr=`echo X | tr X '\015'`
20397 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20398 # But we know of no other shell where ac_cr would be empty at this
20399 # point, so we can use a bashism as a fallback.
20400 if test "x$ac_cr" = x; then
20401   eval ac_cr=\$\'\\r\'
20402 fi
20403 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20404 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20405   ac_cs_awk_cr='\\r'
20406 else
20407   ac_cs_awk_cr=$ac_cr
20408 fi
20409
20410 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20411 _ACEOF
20412
20413
20414 {
20415   echo "cat >conf$$subs.awk <<_ACEOF" &&
20416   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20417   echo "_ACEOF"
20418 } >conf$$subs.sh ||
20419   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20420 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20421 ac_delim='%!_!# '
20422 for ac_last_try in false false false false false :; do
20423   . ./conf$$subs.sh ||
20424     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20425
20426   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20427   if test $ac_delim_n = $ac_delim_num; then
20428     break
20429   elif $ac_last_try; then
20430     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20431   else
20432     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20433   fi
20434 done
20435 rm -f conf$$subs.sh
20436
20437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20438 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20439 _ACEOF
20440 sed -n '
20441 h
20442 s/^/S["/; s/!.*/"]=/
20443 p
20444 g
20445 s/^[^!]*!//
20446 :repl
20447 t repl
20448 s/'"$ac_delim"'$//
20449 t delim
20450 :nl
20451 h
20452 s/\(.\{148\}\)..*/\1/
20453 t more1
20454 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20455 p
20456 n
20457 b repl
20458 :more1
20459 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20460 p
20461 g
20462 s/.\{148\}//
20463 t nl
20464 :delim
20465 h
20466 s/\(.\{148\}\)..*/\1/
20467 t more2
20468 s/["\\]/\\&/g; s/^/"/; s/$/"/
20469 p
20470 b
20471 :more2
20472 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20473 p
20474 g
20475 s/.\{148\}//
20476 t delim
20477 ' <conf$$subs.awk | sed '
20478 /^[^""]/{
20479   N
20480   s/\n//
20481 }
20482 ' >>$CONFIG_STATUS || ac_write_fail=1
20483 rm -f conf$$subs.awk
20484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20485 _ACAWK
20486 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20487   for (key in S) S_is_set[key] = 1
20488   FS = "\a"
20489
20490 }
20491 {
20492   line = $ 0
20493   nfields = split(line, field, "@")
20494   substed = 0
20495   len = length(field[1])
20496   for (i = 2; i < nfields; i++) {
20497     key = field[i]
20498     keylen = length(key)
20499     if (S_is_set[key]) {
20500       value = S[key]
20501       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20502       len += length(value) + length(field[++i])
20503       substed = 1
20504     } else
20505       len += 1 + keylen
20506   }
20507
20508   print line
20509 }
20510
20511 _ACAWK
20512 _ACEOF
20513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20514 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20515   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20516 else
20517   cat
20518 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20519   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20520 _ACEOF
20521
20522 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20523 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20524 # trailing colons and then remove the whole line if VPATH becomes empty
20525 # (actually we leave an empty line to preserve line numbers).
20526 if test "x$srcdir" = x.; then
20527   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
20528 h
20529 s///
20530 s/^/:/
20531 s/[      ]*$/:/
20532 s/:\$(srcdir):/:/g
20533 s/:\${srcdir}:/:/g
20534 s/:@srcdir@:/:/g
20535 s/^:*//
20536 s/:*$//
20537 x
20538 s/\(=[   ]*\).*/\1/
20539 G
20540 s/\n//
20541 s/^[^=]*=[       ]*$//
20542 }'
20543 fi
20544
20545 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20546 fi # test -n "$CONFIG_FILES"
20547
20548 # Set up the scripts for CONFIG_HEADERS section.
20549 # No need to generate them if there are no CONFIG_HEADERS.
20550 # This happens for instance with `./config.status Makefile'.
20551 if test -n "$CONFIG_HEADERS"; then
20552 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20553 BEGIN {
20554 _ACEOF
20555
20556 # Transform confdefs.h into an awk script `defines.awk', embedded as
20557 # here-document in config.status, that substitutes the proper values into
20558 # config.h.in to produce config.h.
20559
20560 # Create a delimiter string that does not exist in confdefs.h, to ease
20561 # handling of long lines.
20562 ac_delim='%!_!# '
20563 for ac_last_try in false false :; do
20564   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20565   if test -z "$ac_tt"; then
20566     break
20567   elif $ac_last_try; then
20568     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20569   else
20570     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20571   fi
20572 done
20573
20574 # For the awk script, D is an array of macro values keyed by name,
20575 # likewise P contains macro parameters if any.  Preserve backslash
20576 # newline sequences.
20577
20578 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20579 sed -n '
20580 s/.\{148\}/&'"$ac_delim"'/g
20581 t rset
20582 :rset
20583 s/^[     ]*#[    ]*define[       ][      ]*/ /
20584 t def
20585 d
20586 :def
20587 s/\\$//
20588 t bsnl
20589 s/["\\]/\\&/g
20590 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20591 D["\1"]=" \3"/p
20592 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
20593 d
20594 :bsnl
20595 s/["\\]/\\&/g
20596 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
20597 D["\1"]=" \3\\\\\\n"\\/p
20598 t cont
20599 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20600 t cont
20601 d
20602 :cont
20603 n
20604 s/.\{148\}/&'"$ac_delim"'/g
20605 t clear
20606 :clear
20607 s/\\$//
20608 t bsnlc
20609 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20610 d
20611 :bsnlc
20612 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20613 b cont
20614 ' <confdefs.h | sed '
20615 s/'"$ac_delim"'/"\\\
20616 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20617
20618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20619   for (key in D) D_is_set[key] = 1
20620   FS = "\a"
20621 }
20622 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20623   line = \$ 0
20624   split(line, arg, " ")
20625   if (arg[1] == "#") {
20626     defundef = arg[2]
20627     mac1 = arg[3]
20628   } else {
20629     defundef = substr(arg[1], 2)
20630     mac1 = arg[2]
20631   }
20632   split(mac1, mac2, "(") #)
20633   macro = mac2[1]
20634   prefix = substr(line, 1, index(line, defundef) - 1)
20635   if (D_is_set[macro]) {
20636     # Preserve the white space surrounding the "#".
20637     print prefix "define", macro P[macro] D[macro]
20638     next
20639   } else {
20640     # Replace #undef with comments.  This is necessary, for example,
20641     # in the case of _POSIX_SOURCE, which is predefined and required
20642     # on some systems where configure will not decide to define it.
20643     if (defundef == "undef") {
20644       print "/*", prefix defundef, macro, "*/"
20645       next
20646     }
20647   }
20648 }
20649 { print }
20650 _ACAWK
20651 _ACEOF
20652 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20653   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20654 fi # test -n "$CONFIG_HEADERS"
20655
20656
20657 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20658 shift
20659 for ac_tag
20660 do
20661   case $ac_tag in
20662   :[FHLC]) ac_mode=$ac_tag; continue;;
20663   esac
20664   case $ac_mode$ac_tag in
20665   :[FHL]*:*);;
20666   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20667   :[FH]-) ac_tag=-:-;;
20668   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20669   esac
20670   ac_save_IFS=$IFS
20671   IFS=:
20672   set x $ac_tag
20673   IFS=$ac_save_IFS
20674   shift
20675   ac_file=$1
20676   shift
20677
20678   case $ac_mode in
20679   :L) ac_source=$1;;
20680   :[FH])
20681     ac_file_inputs=
20682     for ac_f
20683     do
20684       case $ac_f in
20685       -) ac_f="$ac_tmp/stdin";;
20686       *) # Look for the file first in the build tree, then in the source tree
20687          # (if the path is not absolute).  The absolute path cannot be DOS-style,
20688          # because $ac_f cannot contain `:'.
20689          test -f "$ac_f" ||
20690            case $ac_f in
20691            [\\/$]*) false;;
20692            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20693            esac ||
20694            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20695       esac
20696       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20697       as_fn_append ac_file_inputs " '$ac_f'"
20698     done
20699
20700     # Let's still pretend it is `configure' which instantiates (i.e., don't
20701     # use $as_me), people would be surprised to read:
20702     #    /* config.h.  Generated by config.status.  */
20703     configure_input='Generated from '`
20704           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20705         `' by configure.'
20706     if test x"$ac_file" != x-; then
20707       configure_input="$ac_file.  $configure_input"
20708       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20709 $as_echo "$as_me: creating $ac_file" >&6;}
20710     fi
20711     # Neutralize special characters interpreted by sed in replacement strings.
20712     case $configure_input in #(
20713     *\&* | *\|* | *\\* )
20714        ac_sed_conf_input=`$as_echo "$configure_input" |
20715        sed 's/[\\\\&|]/\\\\&/g'`;; #(
20716     *) ac_sed_conf_input=$configure_input;;
20717     esac
20718
20719     case $ac_tag in
20720     *:-:* | *:-) cat >"$ac_tmp/stdin" \
20721       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20722     esac
20723     ;;
20724   esac
20725
20726   ac_dir=`$as_dirname -- "$ac_file" ||
20727 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20728          X"$ac_file" : 'X\(//\)[^/]' \| \
20729          X"$ac_file" : 'X\(//\)$' \| \
20730          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20731 $as_echo X"$ac_file" |
20732     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20733             s//\1/
20734             q
20735           }
20736           /^X\(\/\/\)[^/].*/{
20737             s//\1/
20738             q
20739           }
20740           /^X\(\/\/\)$/{
20741             s//\1/
20742             q
20743           }
20744           /^X\(\/\).*/{
20745             s//\1/
20746             q
20747           }
20748           s/.*/./; q'`
20749   as_dir="$ac_dir"; as_fn_mkdir_p
20750   ac_builddir=.
20751
20752 case "$ac_dir" in
20753 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20754 *)
20755   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20756   # A ".." for each directory in $ac_dir_suffix.
20757   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20758   case $ac_top_builddir_sub in
20759   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20760   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20761   esac ;;
20762 esac
20763 ac_abs_top_builddir=$ac_pwd
20764 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20765 # for backward compatibility:
20766 ac_top_builddir=$ac_top_build_prefix
20767
20768 case $srcdir in
20769   .)  # We are building in place.
20770     ac_srcdir=.
20771     ac_top_srcdir=$ac_top_builddir_sub
20772     ac_abs_top_srcdir=$ac_pwd ;;
20773   [\\/]* | ?:[\\/]* )  # Absolute name.
20774     ac_srcdir=$srcdir$ac_dir_suffix;
20775     ac_top_srcdir=$srcdir
20776     ac_abs_top_srcdir=$srcdir ;;
20777   *) # Relative name.
20778     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20779     ac_top_srcdir=$ac_top_build_prefix$srcdir
20780     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20781 esac
20782 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20783
20784
20785   case $ac_mode in
20786   :F)
20787   #
20788   # CONFIG_FILE
20789   #
20790
20791   case $INSTALL in
20792   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20793   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20794   esac
20795   ac_MKDIR_P=$MKDIR_P
20796   case $MKDIR_P in
20797   [\\/$]* | ?:[\\/]* ) ;;
20798   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20799   esac
20800 _ACEOF
20801
20802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20803 # If the template does not know about datarootdir, expand it.
20804 # FIXME: This hack should be removed a few years after 2.60.
20805 ac_datarootdir_hack=; ac_datarootdir_seen=
20806 ac_sed_dataroot='
20807 /datarootdir/ {
20808   p
20809   q
20810 }
20811 /@datadir@/p
20812 /@docdir@/p
20813 /@infodir@/p
20814 /@localedir@/p
20815 /@mandir@/p'
20816 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20817 *datarootdir*) ac_datarootdir_seen=yes;;
20818 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20819   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20820 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20821 _ACEOF
20822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20823   ac_datarootdir_hack='
20824   s&@datadir@&$datadir&g
20825   s&@docdir@&$docdir&g
20826   s&@infodir@&$infodir&g
20827   s&@localedir@&$localedir&g
20828   s&@mandir@&$mandir&g
20829   s&\\\${datarootdir}&$datarootdir&g' ;;
20830 esac
20831 _ACEOF
20832
20833 # Neutralize VPATH when `$srcdir' = `.'.
20834 # Shell code in configure.ac might set extrasub.
20835 # FIXME: do we really want to maintain this feature?
20836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20837 ac_sed_extra="$ac_vpsub
20838 $extrasub
20839 _ACEOF
20840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20841 :t
20842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20843 s|@configure_input@|$ac_sed_conf_input|;t t
20844 s&@top_builddir@&$ac_top_builddir_sub&;t t
20845 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20846 s&@srcdir@&$ac_srcdir&;t t
20847 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20848 s&@top_srcdir@&$ac_top_srcdir&;t t
20849 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20850 s&@builddir@&$ac_builddir&;t t
20851 s&@abs_builddir@&$ac_abs_builddir&;t t
20852 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20853 s&@INSTALL@&$ac_INSTALL&;t t
20854 s&@MKDIR_P@&$ac_MKDIR_P&;t t
20855 $ac_datarootdir_hack
20856 "
20857 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20858   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20859
20860 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20861   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20862   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
20863       "$ac_tmp/out"`; test -z "$ac_out"; } &&
20864   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20865 which seems to be undefined.  Please make sure it is defined" >&5
20866 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20867 which seems to be undefined.  Please make sure it is defined" >&2;}
20868
20869   rm -f "$ac_tmp/stdin"
20870   case $ac_file in
20871   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20872   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20873   esac \
20874   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20875  ;;
20876   :H)
20877   #
20878   # CONFIG_HEADER
20879   #
20880   if test x"$ac_file" != x-; then
20881     {
20882       $as_echo "/* $configure_input  */" \
20883       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20884     } >"$ac_tmp/config.h" \
20885       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20886     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20887       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20888 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20889     else
20890       rm -f "$ac_file"
20891       mv "$ac_tmp/config.h" "$ac_file" \
20892         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20893     fi
20894   else
20895     $as_echo "/* $configure_input  */" \
20896       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20897       || as_fn_error $? "could not create -" "$LINENO" 5
20898   fi
20899 # Compute "$ac_file"'s index in $config_headers.
20900 _am_arg="$ac_file"
20901 _am_stamp_count=1
20902 for _am_header in $config_headers :; do
20903   case $_am_header in
20904     $_am_arg | $_am_arg:* )
20905       break ;;
20906     * )
20907       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20908   esac
20909 done
20910 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20911 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20912          X"$_am_arg" : 'X\(//\)[^/]' \| \
20913          X"$_am_arg" : 'X\(//\)$' \| \
20914          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20915 $as_echo X"$_am_arg" |
20916     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20917             s//\1/
20918             q
20919           }
20920           /^X\(\/\/\)[^/].*/{
20921             s//\1/
20922             q
20923           }
20924           /^X\(\/\/\)$/{
20925             s//\1/
20926             q
20927           }
20928           /^X\(\/\).*/{
20929             s//\1/
20930             q
20931           }
20932           s/.*/./; q'`/stamp-h$_am_stamp_count
20933  ;;
20934
20935   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20936 $as_echo "$as_me: executing $ac_file commands" >&6;}
20937  ;;
20938   esac
20939
20940
20941   case $ac_file$ac_mode in
20942     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20943   # Older Autoconf quotes --file arguments for eval, but not when files
20944   # are listed without --file.  Let's play safe and only enable the eval
20945   # if we detect the quoting.
20946   case $CONFIG_FILES in
20947   *\'*) eval set x "$CONFIG_FILES" ;;
20948   *)   set x $CONFIG_FILES ;;
20949   esac
20950   shift
20951   for mf
20952   do
20953     # Strip MF so we end up with the name of the file.
20954     mf=`echo "$mf" | sed -e 's/:.*$//'`
20955     # Check whether this is an Automake generated Makefile or not.
20956     # We used to match only the files named 'Makefile.in', but
20957     # some people rename them; so instead we look at the file content.
20958     # Grep'ing the first line is not enough: some people post-process
20959     # each Makefile.in and add a new line on top of each file to say so.
20960     # Grep'ing the whole file is not good either: AIX grep has a line
20961     # limit of 2048, but all sed's we know have understand at least 4000.
20962     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20963       dirpart=`$as_dirname -- "$mf" ||
20964 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20965          X"$mf" : 'X\(//\)[^/]' \| \
20966          X"$mf" : 'X\(//\)$' \| \
20967          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20968 $as_echo X"$mf" |
20969     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20970             s//\1/
20971             q
20972           }
20973           /^X\(\/\/\)[^/].*/{
20974             s//\1/
20975             q
20976           }
20977           /^X\(\/\/\)$/{
20978             s//\1/
20979             q
20980           }
20981           /^X\(\/\).*/{
20982             s//\1/
20983             q
20984           }
20985           s/.*/./; q'`
20986     else
20987       continue
20988     fi
20989     # Extract the definition of DEPDIR, am__include, and am__quote
20990     # from the Makefile without running 'make'.
20991     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20992     test -z "$DEPDIR" && continue
20993     am__include=`sed -n 's/^am__include = //p' < "$mf"`
20994     test -z "$am__include" && continue
20995     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20996     # Find all dependency output files, they are included files with
20997     # $(DEPDIR) in their names.  We invoke sed twice because it is the
20998     # simplest approach to changing $(DEPDIR) to its actual value in the
20999     # expansion.
21000     for file in `sed -n "
21001       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21002          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21003       # Make sure the directory exists.
21004       test -f "$dirpart/$file" && continue
21005       fdir=`$as_dirname -- "$file" ||
21006 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21007          X"$file" : 'X\(//\)[^/]' \| \
21008          X"$file" : 'X\(//\)$' \| \
21009          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21010 $as_echo X"$file" |
21011     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21012             s//\1/
21013             q
21014           }
21015           /^X\(\/\/\)[^/].*/{
21016             s//\1/
21017             q
21018           }
21019           /^X\(\/\/\)$/{
21020             s//\1/
21021             q
21022           }
21023           /^X\(\/\).*/{
21024             s//\1/
21025             q
21026           }
21027           s/.*/./; q'`
21028       as_dir=$dirpart/$fdir; as_fn_mkdir_p
21029       # echo "creating $dirpart/$file"
21030       echo '# dummy' > "$dirpart/$file"
21031     done
21032   done
21033 }
21034  ;;
21035     "libtool":C)
21036
21037     # See if we are running on zsh, and set the options which allow our
21038     # commands through without removal of \ escapes.
21039     if test -n "${ZSH_VERSION+set}" ; then
21040       setopt NO_GLOB_SUBST
21041     fi
21042
21043     cfgfile="${ofile}T"
21044     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21045     $RM "$cfgfile"
21046
21047     cat <<_LT_EOF >> "$cfgfile"
21048 #! $SHELL
21049
21050 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21051 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21052 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21053 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21054 #
21055 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21056 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21057 #                 Foundation, Inc.
21058 #   Written by Gordon Matzigkeit, 1996
21059 #
21060 #   This file is part of GNU Libtool.
21061 #
21062 # GNU Libtool is free software; you can redistribute it and/or
21063 # modify it under the terms of the GNU General Public License as
21064 # published by the Free Software Foundation; either version 2 of
21065 # the License, or (at your option) any later version.
21066 #
21067 # As a special exception to the GNU General Public License,
21068 # if you distribute this file as part of a program or library that
21069 # is built using GNU Libtool, you may include this file under the
21070 # same distribution terms that you use for the rest of that program.
21071 #
21072 # GNU Libtool is distributed in the hope that it will be useful,
21073 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21074 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21075 # GNU General Public License for more details.
21076 #
21077 # You should have received a copy of the GNU General Public License
21078 # along with GNU Libtool; see the file COPYING.  If not, a copy
21079 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21080 # obtained by writing to the Free Software Foundation, Inc.,
21081 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21082
21083
21084 # The names of the tagged configurations supported by this script.
21085 available_tags=""
21086
21087 # ### BEGIN LIBTOOL CONFIG
21088
21089 # Assembler program.
21090 AS=$lt_AS
21091
21092 # DLL creation program.
21093 DLLTOOL=$lt_DLLTOOL
21094
21095 # Object dumper program.
21096 OBJDUMP=$lt_OBJDUMP
21097
21098 # Which release of libtool.m4 was used?
21099 macro_version=$macro_version
21100 macro_revision=$macro_revision
21101
21102 # Whether or not to build shared libraries.
21103 build_libtool_libs=$enable_shared
21104
21105 # Whether or not to build static libraries.
21106 build_old_libs=$enable_static
21107
21108 # What type of objects to build.
21109 pic_mode=$pic_mode
21110
21111 # Whether or not to optimize for fast installation.
21112 fast_install=$enable_fast_install
21113
21114 # Shell to use when invoking shell scripts.
21115 SHELL=$lt_SHELL
21116
21117 # An echo program that protects backslashes.
21118 ECHO=$lt_ECHO
21119
21120 # The PATH separator for the build system.
21121 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21122
21123 # The host system.
21124 host_alias=$host_alias
21125 host=$host
21126 host_os=$host_os
21127
21128 # The build system.
21129 build_alias=$build_alias
21130 build=$build
21131 build_os=$build_os
21132
21133 # A sed program that does not truncate output.
21134 SED=$lt_SED
21135
21136 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21137 Xsed="\$SED -e 1s/^X//"
21138
21139 # A grep program that handles long lines.
21140 GREP=$lt_GREP
21141
21142 # An ERE matcher.
21143 EGREP=$lt_EGREP
21144
21145 # A literal string matcher.
21146 FGREP=$lt_FGREP
21147
21148 # A BSD- or MS-compatible name lister.
21149 NM=$lt_NM
21150
21151 # Whether we need soft or hard links.
21152 LN_S=$lt_LN_S
21153
21154 # What is the maximum length of a command?
21155 max_cmd_len=$max_cmd_len
21156
21157 # Object file suffix (normally "o").
21158 objext=$ac_objext
21159
21160 # Executable file suffix (normally "").
21161 exeext=$exeext
21162
21163 # whether the shell understands "unset".
21164 lt_unset=$lt_unset
21165
21166 # turn spaces into newlines.
21167 SP2NL=$lt_lt_SP2NL
21168
21169 # turn newlines into spaces.
21170 NL2SP=$lt_lt_NL2SP
21171
21172 # convert \$build file names to \$host format.
21173 to_host_file_cmd=$lt_cv_to_host_file_cmd
21174
21175 # convert \$build files to toolchain format.
21176 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21177
21178 # Method to check whether dependent libraries are shared objects.
21179 deplibs_check_method=$lt_deplibs_check_method
21180
21181 # Command to use when deplibs_check_method = "file_magic".
21182 file_magic_cmd=$lt_file_magic_cmd
21183
21184 # How to find potential files when deplibs_check_method = "file_magic".
21185 file_magic_glob=$lt_file_magic_glob
21186
21187 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21188 want_nocaseglob=$lt_want_nocaseglob
21189
21190 # Command to associate shared and link libraries.
21191 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21192
21193 # The archiver.
21194 AR=$lt_AR
21195
21196 # Flags to create an archive.
21197 AR_FLAGS=$lt_AR_FLAGS
21198
21199 # How to feed a file listing to the archiver.
21200 archiver_list_spec=$lt_archiver_list_spec
21201
21202 # A symbol stripping program.
21203 STRIP=$lt_STRIP
21204
21205 # Commands used to install an old-style archive.
21206 RANLIB=$lt_RANLIB
21207 old_postinstall_cmds=$lt_old_postinstall_cmds
21208 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21209
21210 # Whether to use a lock for old archive extraction.
21211 lock_old_archive_extraction=$lock_old_archive_extraction
21212
21213 # A C compiler.
21214 LTCC=$lt_CC
21215
21216 # LTCC compiler flags.
21217 LTCFLAGS=$lt_CFLAGS
21218
21219 # Take the output of nm and produce a listing of raw symbols and C names.
21220 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21221
21222 # Transform the output of nm in a proper C declaration.
21223 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21224
21225 # Transform the output of nm in a C name address pair.
21226 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21227
21228 # Transform the output of nm in a C name address pair when lib prefix is needed.
21229 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21230
21231 # Specify filename containing input files for \$NM.
21232 nm_file_list_spec=$lt_nm_file_list_spec
21233
21234 # The root where to search for dependent libraries,and in which our libraries should be installed.
21235 lt_sysroot=$lt_sysroot
21236
21237 # The name of the directory that contains temporary libtool files.
21238 objdir=$objdir
21239
21240 # Used to examine libraries when file_magic_cmd begins with "file".
21241 MAGIC_CMD=$MAGIC_CMD
21242
21243 # Must we lock files when doing compilation?
21244 need_locks=$lt_need_locks
21245
21246 # Manifest tool.
21247 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21248
21249 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21250 DSYMUTIL=$lt_DSYMUTIL
21251
21252 # Tool to change global to local symbols on Mac OS X.
21253 NMEDIT=$lt_NMEDIT
21254
21255 # Tool to manipulate fat objects and archives on Mac OS X.
21256 LIPO=$lt_LIPO
21257
21258 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21259 OTOOL=$lt_OTOOL
21260
21261 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21262 OTOOL64=$lt_OTOOL64
21263
21264 # Old archive suffix (normally "a").
21265 libext=$libext
21266
21267 # Shared library suffix (normally ".so").
21268 shrext_cmds=$lt_shrext_cmds
21269
21270 # The commands to extract the exported symbol list from a shared archive.
21271 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21272
21273 # Variables whose values should be saved in libtool wrapper scripts and
21274 # restored at link time.
21275 variables_saved_for_relink=$lt_variables_saved_for_relink
21276
21277 # Do we need the "lib" prefix for modules?
21278 need_lib_prefix=$need_lib_prefix
21279
21280 # Do we need a version for libraries?
21281 need_version=$need_version
21282
21283 # Library versioning type.
21284 version_type=$version_type
21285
21286 # Shared library runtime path variable.
21287 runpath_var=$runpath_var
21288
21289 # Shared library path variable.
21290 shlibpath_var=$shlibpath_var
21291
21292 # Is shlibpath searched before the hard-coded library search path?
21293 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21294
21295 # Format of library name prefix.
21296 libname_spec=$lt_libname_spec
21297
21298 # List of archive names.  First name is the real one, the rest are links.
21299 # The last name is the one that the linker finds with -lNAME
21300 library_names_spec=$lt_library_names_spec
21301
21302 # The coded name of the library, if different from the real name.
21303 soname_spec=$lt_soname_spec
21304
21305 # Permission mode override for installation of shared libraries.
21306 install_override_mode=$lt_install_override_mode
21307
21308 # Command to use after installation of a shared archive.
21309 postinstall_cmds=$lt_postinstall_cmds
21310
21311 # Command to use after uninstallation of a shared archive.
21312 postuninstall_cmds=$lt_postuninstall_cmds
21313
21314 # Commands used to finish a libtool library installation in a directory.
21315 finish_cmds=$lt_finish_cmds
21316
21317 # As "finish_cmds", except a single script fragment to be evaled but
21318 # not shown.
21319 finish_eval=$lt_finish_eval
21320
21321 # Whether we should hardcode library paths into libraries.
21322 hardcode_into_libs=$hardcode_into_libs
21323
21324 # Compile-time system search path for libraries.
21325 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21326
21327 # Run-time system search path for libraries.
21328 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21329
21330 # Whether dlopen is supported.
21331 dlopen_support=$enable_dlopen
21332
21333 # Whether dlopen of programs is supported.
21334 dlopen_self=$enable_dlopen_self
21335
21336 # Whether dlopen of statically linked programs is supported.
21337 dlopen_self_static=$enable_dlopen_self_static
21338
21339 # Commands to strip libraries.
21340 old_striplib=$lt_old_striplib
21341 striplib=$lt_striplib
21342
21343
21344 # The linker used to build libraries.
21345 LD=$lt_LD
21346
21347 # How to create reloadable object files.
21348 reload_flag=$lt_reload_flag
21349 reload_cmds=$lt_reload_cmds
21350
21351 # Commands used to build an old-style archive.
21352 old_archive_cmds=$lt_old_archive_cmds
21353
21354 # A language specific compiler.
21355 CC=$lt_compiler
21356
21357 # Is the compiler the GNU compiler?
21358 with_gcc=$GCC
21359
21360 # Compiler flag to turn off builtin functions.
21361 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21362
21363 # Additional compiler flags for building library objects.
21364 pic_flag=$lt_lt_prog_compiler_pic
21365
21366 # How to pass a linker flag through the compiler.
21367 wl=$lt_lt_prog_compiler_wl
21368
21369 # Compiler flag to prevent dynamic linking.
21370 link_static_flag=$lt_lt_prog_compiler_static
21371
21372 # Does compiler simultaneously support -c and -o options?
21373 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21374
21375 # Whether or not to add -lc for building shared libraries.
21376 build_libtool_need_lc=$archive_cmds_need_lc
21377
21378 # Whether or not to disallow shared libs when runtime libs are static.
21379 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21380
21381 # Compiler flag to allow reflexive dlopens.
21382 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21383
21384 # Compiler flag to generate shared objects directly from archives.
21385 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21386
21387 # Whether the compiler copes with passing no objects directly.
21388 compiler_needs_object=$lt_compiler_needs_object
21389
21390 # Create an old-style archive from a shared archive.
21391 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21392
21393 # Create a temporary old-style archive to link instead of a shared archive.
21394 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21395
21396 # Commands used to build a shared archive.
21397 archive_cmds=$lt_archive_cmds
21398 archive_expsym_cmds=$lt_archive_expsym_cmds
21399
21400 # Commands used to build a loadable module if different from building
21401 # a shared archive.
21402 module_cmds=$lt_module_cmds
21403 module_expsym_cmds=$lt_module_expsym_cmds
21404
21405 # Whether we are building with GNU ld or not.
21406 with_gnu_ld=$lt_with_gnu_ld
21407
21408 # Flag that allows shared libraries with undefined symbols to be built.
21409 allow_undefined_flag=$lt_allow_undefined_flag
21410
21411 # Flag that enforces no undefined symbols.
21412 no_undefined_flag=$lt_no_undefined_flag
21413
21414 # Flag to hardcode \$libdir into a binary during linking.
21415 # This must work even if \$libdir does not exist
21416 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21417
21418 # Whether we need a single "-rpath" flag with a separated argument.
21419 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21420
21421 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21422 # DIR into the resulting binary.
21423 hardcode_direct=$hardcode_direct
21424
21425 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21426 # DIR into the resulting binary and the resulting library dependency is
21427 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21428 # library is relocated.
21429 hardcode_direct_absolute=$hardcode_direct_absolute
21430
21431 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21432 # into the resulting binary.
21433 hardcode_minus_L=$hardcode_minus_L
21434
21435 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21436 # into the resulting binary.
21437 hardcode_shlibpath_var=$hardcode_shlibpath_var
21438
21439 # Set to "yes" if building a shared library automatically hardcodes DIR
21440 # into the library and all subsequent libraries and executables linked
21441 # against it.
21442 hardcode_automatic=$hardcode_automatic
21443
21444 # Set to yes if linker adds runtime paths of dependent libraries
21445 # to runtime path list.
21446 inherit_rpath=$inherit_rpath
21447
21448 # Whether libtool must link a program against all its dependency libraries.
21449 link_all_deplibs=$link_all_deplibs
21450
21451 # Set to "yes" if exported symbols are required.
21452 always_export_symbols=$always_export_symbols
21453
21454 # The commands to list exported symbols.
21455 export_symbols_cmds=$lt_export_symbols_cmds
21456
21457 # Symbols that should not be listed in the preloaded symbols.
21458 exclude_expsyms=$lt_exclude_expsyms
21459
21460 # Symbols that must always be exported.
21461 include_expsyms=$lt_include_expsyms
21462
21463 # Commands necessary for linking programs (against libraries) with templates.
21464 prelink_cmds=$lt_prelink_cmds
21465
21466 # Commands necessary for finishing linking programs.
21467 postlink_cmds=$lt_postlink_cmds
21468
21469 # Specify filename containing input files.
21470 file_list_spec=$lt_file_list_spec
21471
21472 # How to hardcode a shared library path into an executable.
21473 hardcode_action=$hardcode_action
21474
21475 # ### END LIBTOOL CONFIG
21476
21477 _LT_EOF
21478
21479   case $host_os in
21480   aix3*)
21481     cat <<\_LT_EOF >> "$cfgfile"
21482 # AIX sometimes has problems with the GCC collect2 program.  For some
21483 # reason, if we set the COLLECT_NAMES environment variable, the problems
21484 # vanish in a puff of smoke.
21485 if test "X${COLLECT_NAMES+set}" != Xset; then
21486   COLLECT_NAMES=
21487   export COLLECT_NAMES
21488 fi
21489 _LT_EOF
21490     ;;
21491   esac
21492
21493
21494 ltmain="$ac_aux_dir/ltmain.sh"
21495
21496
21497   # We use sed instead of cat because bash on DJGPP gets confused if
21498   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21499   # text mode, it properly converts lines to CR/LF.  This bash problem
21500   # is reportedly fixed, but why not run on old versions too?
21501   sed '$q' "$ltmain" >> "$cfgfile" \
21502      || (rm -f "$cfgfile"; exit 1)
21503
21504   if test x"$xsi_shell" = xyes; then
21505   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21506 func_dirname ()\
21507 {\
21508 \    case ${1} in\
21509 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21510 \      *  ) func_dirname_result="${3}" ;;\
21511 \    esac\
21512 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21513   && mv -f "$cfgfile.tmp" "$cfgfile" \
21514     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21515 test 0 -eq $? || _lt_function_replace_fail=:
21516
21517
21518   sed -e '/^func_basename ()$/,/^} # func_basename /c\
21519 func_basename ()\
21520 {\
21521 \    func_basename_result="${1##*/}"\
21522 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21523   && mv -f "$cfgfile.tmp" "$cfgfile" \
21524     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21525 test 0 -eq $? || _lt_function_replace_fail=:
21526
21527
21528   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21529 func_dirname_and_basename ()\
21530 {\
21531 \    case ${1} in\
21532 \      */*) func_dirname_result="${1%/*}${2}" ;;\
21533 \      *  ) func_dirname_result="${3}" ;;\
21534 \    esac\
21535 \    func_basename_result="${1##*/}"\
21536 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21537   && mv -f "$cfgfile.tmp" "$cfgfile" \
21538     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21539 test 0 -eq $? || _lt_function_replace_fail=:
21540
21541
21542   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21543 func_stripname ()\
21544 {\
21545 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21546 \    # positional parameters, so assign one to ordinary parameter first.\
21547 \    func_stripname_result=${3}\
21548 \    func_stripname_result=${func_stripname_result#"${1}"}\
21549 \    func_stripname_result=${func_stripname_result%"${2}"}\
21550 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21551   && mv -f "$cfgfile.tmp" "$cfgfile" \
21552     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21553 test 0 -eq $? || _lt_function_replace_fail=:
21554
21555
21556   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21557 func_split_long_opt ()\
21558 {\
21559 \    func_split_long_opt_name=${1%%=*}\
21560 \    func_split_long_opt_arg=${1#*=}\
21561 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21562   && mv -f "$cfgfile.tmp" "$cfgfile" \
21563     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21564 test 0 -eq $? || _lt_function_replace_fail=:
21565
21566
21567   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21568 func_split_short_opt ()\
21569 {\
21570 \    func_split_short_opt_arg=${1#??}\
21571 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21572 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21573   && mv -f "$cfgfile.tmp" "$cfgfile" \
21574     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21575 test 0 -eq $? || _lt_function_replace_fail=:
21576
21577
21578   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21579 func_lo2o ()\
21580 {\
21581 \    case ${1} in\
21582 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21583 \      *)    func_lo2o_result=${1} ;;\
21584 \    esac\
21585 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21586   && mv -f "$cfgfile.tmp" "$cfgfile" \
21587     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21588 test 0 -eq $? || _lt_function_replace_fail=:
21589
21590
21591   sed -e '/^func_xform ()$/,/^} # func_xform /c\
21592 func_xform ()\
21593 {\
21594     func_xform_result=${1%.*}.lo\
21595 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21596   && mv -f "$cfgfile.tmp" "$cfgfile" \
21597     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21598 test 0 -eq $? || _lt_function_replace_fail=:
21599
21600
21601   sed -e '/^func_arith ()$/,/^} # func_arith /c\
21602 func_arith ()\
21603 {\
21604     func_arith_result=$(( $* ))\
21605 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21606   && mv -f "$cfgfile.tmp" "$cfgfile" \
21607     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21608 test 0 -eq $? || _lt_function_replace_fail=:
21609
21610
21611   sed -e '/^func_len ()$/,/^} # func_len /c\
21612 func_len ()\
21613 {\
21614     func_len_result=${#1}\
21615 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21616   && mv -f "$cfgfile.tmp" "$cfgfile" \
21617     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21618 test 0 -eq $? || _lt_function_replace_fail=:
21619
21620 fi
21621
21622 if test x"$lt_shell_append" = xyes; then
21623   sed -e '/^func_append ()$/,/^} # func_append /c\
21624 func_append ()\
21625 {\
21626     eval "${1}+=\\${2}"\
21627 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21628   && mv -f "$cfgfile.tmp" "$cfgfile" \
21629     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21630 test 0 -eq $? || _lt_function_replace_fail=:
21631
21632
21633   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21634 func_append_quoted ()\
21635 {\
21636 \    func_quote_for_eval "${2}"\
21637 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21638 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21639   && mv -f "$cfgfile.tmp" "$cfgfile" \
21640     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21641 test 0 -eq $? || _lt_function_replace_fail=:
21642
21643
21644   # Save a `func_append' function call where possible by direct use of '+='
21645   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21646     && mv -f "$cfgfile.tmp" "$cfgfile" \
21647       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21648   test 0 -eq $? || _lt_function_replace_fail=:
21649 else
21650   # Save a `func_append' function call even when '+=' is not available
21651   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21652     && mv -f "$cfgfile.tmp" "$cfgfile" \
21653       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21654   test 0 -eq $? || _lt_function_replace_fail=:
21655 fi
21656
21657 if test x"$_lt_function_replace_fail" = x":"; then
21658   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21659 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21660 fi
21661
21662
21663    mv -f "$cfgfile" "$ofile" ||
21664     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21665   chmod +x "$ofile"
21666
21667  ;;
21668     "po-directories":C)
21669     for ac_file in $CONFIG_FILES; do
21670       # Support "outfile[:infile[:infile...]]"
21671       case "$ac_file" in
21672         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
21673       esac
21674       # PO directories have a Makefile.in generated from Makefile.in.in.
21675       case "$ac_file" in */Makefile.in)
21676         # Adjust a relative srcdir.
21677         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
21678         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
21679         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
21680         # In autoconf-2.13 it is called $ac_given_srcdir.
21681         # In autoconf-2.50 it is called $srcdir.
21682         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
21683         case "$ac_given_srcdir" in
21684           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
21685           /*) top_srcdir="$ac_given_srcdir" ;;
21686           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
21687         esac
21688         # Treat a directory as a PO directory if and only if it has a
21689         # POTFILES.in file. This allows packages to have multiple PO
21690         # directories under different names or in different locations.
21691         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
21692           rm -f "$ac_dir/POTFILES"
21693           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
21694           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
21695           POMAKEFILEDEPS="POTFILES.in"
21696           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
21697           # on $ac_dir but don't depend on user-specified configuration
21698           # parameters.
21699           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
21700             # The LINGUAS file contains the set of available languages.
21701             if test -n "$OBSOLETE_ALL_LINGUAS"; then
21702               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
21703             fi
21704             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
21705             # Hide the ALL_LINGUAS assigment from automake < 1.5.
21706             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
21707             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
21708           else
21709             # The set of available languages was given in configure.in.
21710             # Hide the ALL_LINGUAS assigment from automake < 1.5.
21711             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
21712           fi
21713           # Compute POFILES
21714           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
21715           # Compute UPDATEPOFILES
21716           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
21717           # Compute DUMMYPOFILES
21718           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
21719           # Compute GMOFILES
21720           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
21721           case "$ac_given_srcdir" in
21722             .) srcdirpre= ;;
21723             *) srcdirpre='$(srcdir)/' ;;
21724           esac
21725           POFILES=
21726           UPDATEPOFILES=
21727           DUMMYPOFILES=
21728           GMOFILES=
21729           for lang in $ALL_LINGUAS; do
21730             POFILES="$POFILES $srcdirpre$lang.po"
21731             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
21732             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
21733             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
21734           done
21735           # CATALOGS depends on both $ac_dir and the user's LINGUAS
21736           # environment variable.
21737           INST_LINGUAS=
21738           if test -n "$ALL_LINGUAS"; then
21739             for presentlang in $ALL_LINGUAS; do
21740               useit=no
21741               if test "%UNSET%" != "$LINGUAS"; then
21742                 desiredlanguages="$LINGUAS"
21743               else
21744                 desiredlanguages="$ALL_LINGUAS"
21745               fi
21746               for desiredlang in $desiredlanguages; do
21747                 # Use the presentlang catalog if desiredlang is
21748                 #   a. equal to presentlang, or
21749                 #   b. a variant of presentlang (because in this case,
21750                 #      presentlang can be used as a fallback for messages
21751                 #      which are not translated in the desiredlang catalog).
21752                 case "$desiredlang" in
21753                   "$presentlang"*) useit=yes;;
21754                 esac
21755               done
21756               if test $useit = yes; then
21757                 INST_LINGUAS="$INST_LINGUAS $presentlang"
21758               fi
21759             done
21760           fi
21761           CATALOGS=
21762           if test -n "$INST_LINGUAS"; then
21763             for lang in $INST_LINGUAS; do
21764               CATALOGS="$CATALOGS $lang.gmo"
21765             done
21766           fi
21767           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
21768           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
21769           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
21770             if test -f "$f"; then
21771               case "$f" in
21772                 *.orig | *.bak | *~) ;;
21773                 *) cat "$f" >> "$ac_dir/Makefile" ;;
21774               esac
21775             fi
21776           done
21777         fi
21778         ;;
21779       esac
21780     done ;;
21781
21782   esac
21783 done # for ac_tag
21784
21785
21786 as_fn_exit 0
21787 _ACEOF
21788 ac_clean_files=$ac_clean_files_save
21789
21790 test $ac_write_fail = 0 ||
21791   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21792
21793
21794 # configure is writing to config.log, and then calls config.status.
21795 # config.status does its own redirection, appending to config.log.
21796 # Unfortunately, on DOS this fails, as config.log is still kept open
21797 # by configure, so config.status won't be able to write to it; its
21798 # output is simply discarded.  So we exec the FD to /dev/null,
21799 # effectively closing config.log, so it can be properly (re)opened and
21800 # appended to by config.status.  When coming back to configure, we
21801 # need to make the FD available again.
21802 if test "$no_create" != yes; then
21803   ac_cs_success=:
21804   ac_config_status_args=
21805   test "$silent" = yes &&
21806     ac_config_status_args="$ac_config_status_args --quiet"
21807   exec 5>/dev/null
21808   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21809   exec 5>>config.log
21810   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21811   # would make configure fail if this is the last instruction.
21812   $ac_cs_success || as_fn_exit 1
21813 fi
21814 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21815   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21816 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21817 fi
21818
21819
21820 #####################################################################
21821 ## Info
21822
21823 echo
21824 echo
21825 echo
21826 echo "------------------------------------------------------------------------"
21827 echo "$PACKAGE $VERSION"
21828 echo "------------------------------------------------------------------------"
21829 echo
21830 echo "Configuration Options Summary:"
21831 echo
21832 echo "  Engines:"
21833 echo "    X11....................: ${have_elementary_x}"
21834 echo "    Framebuffer............: ${have_elementary_fb}"
21835 echo "    PSL1GHT................: ${have_elementary_psl1ght}"
21836 echo "    SDL....................: ${have_elementary_sdl}"
21837 echo "    Cocoa..................: ${have_elementary_cocoa}"
21838 echo "    Windows XP.............: ${have_elementary_win32}"
21839 echo "    Windows CE.............: ${have_elementary_wince}"
21840 echo "    Wayland...............:. ${have_elementary_wayland}"
21841 echo
21842 echo "  Features:"
21843 echo "    Ecore_IMF..............: ${have_ecore_imf}"
21844 echo "    Ecore_Con..............: ${have_ecore_con}"
21845 echo "    EDBus..................: ${have_elementary_edbus}"
21846 echo "    EFreet.................: ${have_elementary_efreet}"
21847 echo "    EWeather...............: ${have_elementary_eweather}"
21848 echo "    EMap...................: ${have_elementary_emap}"
21849 echo "    Ethumb.................: ${have_elementary_ethumb}"
21850 echo "    Web (WebKit)...........: ${have_elementary_web}"
21851 echo "    Quick Launch...........: ${have_fork}"
21852 echo "    EIO....................: ${have_eio}"
21853 echo "    Emotion................: ${have_emotion}"
21854 echo
21855 echo "  eet......................: ${eet_eet}"
21856 echo "  edje_cc..................: ${edje_cc}"
21857 echo
21858 echo "  Build elementary_test....: ${have_elementary_test}"
21859 echo "  Examples.................: ${enable_build_examples}"
21860 echo "  Examples installed.......: ${enable_install_examples}"
21861 echo "  Build elementary_config..: ${have_elementary_config}"
21862 echo "  Documentation............: ${build_doc}"
21863 if test "x${build_doc}" = "xyes" ; then
21864 echo "    Installation...........: make install-doc"
21865 fi
21866 echo
21867 echo "Compilation................: make (or gmake)"
21868 echo "  CPPFLAGS.................: $CPPFLAGS"
21869 echo "  CFLAGS...................: $CFLAGS"
21870 echo "  LDFLAGS..................: $LDFLAGS"
21871 echo
21872 echo "Installation...............: make install (as root if needed, with 'su' or 'sudo')"
21873 echo "  prefix...................: $prefix"
21874 echo