EFL migration revision 67547
[framework/uifw/elementary.git] / tests / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for elementary 0.8.0.67547.
4 #
5 # Report bugs to <enlightenment-devel@lists.sourceforge.net>.
6 #
7 #
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10 # Foundation, Inc.
11 #
12 #
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
18
19 # Be more Bourne compatible
20 DUALCASE=1; export DUALCASE # for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22   emulate sh
23   NULLCMD=:
24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25   # is contrary to our usage.  Disable this feature.
26   alias -g '${1+"$@"}'='"$@"'
27   setopt NO_GLOB_SUBST
28 else
29   case `(set -o) 2>/dev/null` in #(
30   *posix*) :
31     set -o posix ;; #(
32   *) :
33      ;;
34 esac
35 fi
36
37
38 as_nl='
39 '
40 export as_nl
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49   as_echo='print -r --'
50   as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52   as_echo='printf %s\n'
53   as_echo_n='printf %s'
54 else
55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57     as_echo_n='/usr/ucb/echo -n'
58   else
59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60     as_echo_n_body='eval
61       arg=$1;
62       case $arg in #(
63       *"$as_nl"*)
64         expr "X$arg" : "X\\(.*\\)$as_nl";
65         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66       esac;
67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68     '
69     export as_echo_n_body
70     as_echo_n='sh -c $as_echo_n_body as_echo'
71   fi
72   export as_echo_body
73   as_echo='sh -c $as_echo_body as_echo'
74 fi
75
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78   PATH_SEPARATOR=:
79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81       PATH_SEPARATOR=';'
82   }
83 fi
84
85
86 # IFS
87 # We need space, tab and new line, in precisely that order.  Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
91 IFS=" ""        $as_nl"
92
93 # Find who we are.  Look in the path if we contain no directory separator.
94 case $0 in #((
95   *[\\/]* ) as_myself=$0 ;;
96   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
98 do
99   IFS=$as_save_IFS
100   test -z "$as_dir" && as_dir=.
101     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102   done
103 IFS=$as_save_IFS
104
105      ;;
106 esac
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x; then
110   as_myself=$0
111 fi
112 if test ! -f "$as_myself"; then
113   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114   exit 1
115 fi
116
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there.  '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\${$as_var+set} = xset \
123   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
128
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
134
135 # CDPATH.
136 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138 if test "x$CONFIG_SHELL" = x; then
139   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140   emulate sh
141   NULLCMD=:
142   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143   # is contrary to our usage.  Disable this feature.
144   alias -g '\${1+\"\$@\"}'='\"\$@\"'
145   setopt NO_GLOB_SUBST
146 else
147   case \`(set -o) 2>/dev/null\` in #(
148   *posix*) :
149     set -o posix ;; #(
150   *) :
151      ;;
152 esac
153 fi
154 "
155   as_required="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
160
161 exitcode=0
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168 else
169   exitcode=1; echo positional parameters were not saved.
170 fi
171 test x\$exitcode = x0 || exit 1"
172   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177   if (eval "$as_required") 2>/dev/null; then :
178   as_have_required=yes
179 else
180   as_have_required=no
181 fi
182   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184 else
185   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188 do
189   IFS=$as_save_IFS
190   test -z "$as_dir" && as_dir=.
191   as_found=:
192   case $as_dir in #(
193          /*)
194            for as_base in sh bash ksh sh5; do
195              # Try only shells that exist, to save several forks.
196              as_shell=$as_dir/$as_base
197              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199   CONFIG_SHELL=$as_shell as_have_required=yes
200                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
201   break 2
202 fi
203 fi
204            done;;
205        esac
206   as_found=false
207 done
208 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210   CONFIG_SHELL=$SHELL as_have_required=yes
211 fi; }
212 IFS=$as_save_IFS
213
214
215       if test "x$CONFIG_SHELL" != x; then :
216   # We cannot yet assume a decent shell, so we have to provide a
217         # neutralization value for shells without unset; and this also
218         # works around shells that cannot unset nonexistent variables.
219         BASH_ENV=/dev/null
220         ENV=/dev/null
221         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222         export CONFIG_SHELL
223         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 fi
225
226     if test x$as_have_required = xno; then :
227   $as_echo "$0: This script requires a shell more modern than all"
228   $as_echo "$0: the shells that I found on your system."
229   if test x${ZSH_VERSION+set} = xset ; then
230     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
232   else
233     $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: enlightenment-devel@lists.sourceforge.net about your
235 $0: system, including any error possibly output before this
236 $0: message. Then install a modern shell, or manually run
237 $0: the script under such a shell if you do have one."
238   fi
239   exit 1
240 fi
241 fi
242 fi
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE= GREP_OPTIONS=
247 unset CLICOLOR_FORCE GREP_OPTIONS
248
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
256 {
257   { eval $1=; unset $1;}
258 }
259 as_unset=as_fn_unset
260
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
265 {
266   return $1
267 } # as_fn_set_status
268
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
273 {
274   set +e
275   as_fn_set_status $1
276   exit $1
277 } # as_fn_exit
278
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
283 {
284
285   case $as_dir in #(
286   -*) as_dir=./$as_dir;;
287   esac
288   test -d "$as_dir" || eval $as_mkdir_p || {
289     as_dirs=
290     while :; do
291       case $as_dir in #(
292       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293       *) as_qdir=$as_dir;;
294       esac
295       as_dirs="'$as_qdir' $as_dirs"
296       as_dir=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298          X"$as_dir" : 'X\(//\)[^/]' \| \
299          X"$as_dir" : 'X\(//\)$' \| \
300          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303             s//\1/
304             q
305           }
306           /^X\(\/\/\)[^/].*/{
307             s//\1/
308             q
309           }
310           /^X\(\/\/\)$/{
311             s//\1/
312             q
313           }
314           /^X\(\/\).*/{
315             s//\1/
316             q
317           }
318           s/.*/./; q'`
319       test -d "$as_dir" && break
320     done
321     test -z "$as_dirs" || eval "mkdir $as_dirs"
322   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
324
325 } # as_fn_mkdir_p
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333   eval 'as_fn_append ()
334   {
335     eval $1+=\$2
336   }'
337 else
338   as_fn_append ()
339   {
340     eval $1=\$$1\$2
341   }
342 fi # as_fn_append
343
344 # as_fn_arith ARG...
345 # ------------------
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350   eval 'as_fn_arith ()
351   {
352     as_val=$(( $* ))
353   }'
354 else
355   as_fn_arith ()
356   {
357     as_val=`expr "$@" || test $? -eq 1`
358   }
359 fi # as_fn_arith
360
361
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
367 as_fn_error ()
368 {
369   as_status=$1; test $as_status -eq 0 && as_status=1
370   if test "$4"; then
371     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373   fi
374   $as_echo "$as_me: error: $2" >&2
375   as_fn_exit $as_status
376 } # as_fn_error
377
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379    test "X`expr 00001 : '.*\(...\)'`" = X001; then
380   as_expr=expr
381 else
382   as_expr=false
383 fi
384
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386   as_basename=basename
387 else
388   as_basename=false
389 fi
390
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392   as_dirname=dirname
393 else
394   as_dirname=false
395 fi
396
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399          X"$0" : 'X\(//\)$' \| \
400          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402     sed '/^.*\/\([^/][^/]*\)\/*$/{
403             s//\1/
404             q
405           }
406           /^X\/\(\/\/\)$/{
407             s//\1/
408             q
409           }
410           /^X\/\(\/\).*/{
411             s//\1/
412             q
413           }
414           s/.*/./; q'`
415
416 # Avoid depending upon Character Ranges.
417 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits='0123456789'
421 as_cr_alnum=$as_cr_Letters$as_cr_digits
422
423
424   as_lineno_1=$LINENO as_lineno_1a=$LINENO
425   as_lineno_2=$LINENO as_lineno_2a=$LINENO
426   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
429   sed -n '
430     p
431     /[$]LINENO/=
432   ' <$as_myself |
433     sed '
434       s/[$]LINENO.*/&-/
435       t lineno
436       b
437       :lineno
438       N
439       :loop
440       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441       t loop
442       s/-\n.*//
443     ' >$as_me.lineno &&
444   chmod +x "$as_me.lineno" ||
445     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
446
447   # Don't try to exec as it changes $[0], causing all sort of problems
448   # (the dirname of $[0] is not the place where we might find the
449   # original and so on.  Autoconf is especially sensitive to this).
450   . "./$as_me.lineno"
451   # Exit status is that of the last command.
452   exit
453 }
454
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458   case `echo 'xy\c'` in
459   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
460   xy)  ECHO_C='\c';;
461   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
462        ECHO_T=' ';;
463   esac;;
464 *)
465   ECHO_N='-n';;
466 esac
467
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470   rm -f conf$$.dir/conf$$.file
471 else
472   rm -f conf$$.dir
473   mkdir conf$$.dir 2>/dev/null
474 fi
475 if (echo >conf$$.file) 2>/dev/null; then
476   if ln -s conf$$.file conf$$ 2>/dev/null; then
477     as_ln_s='ln -s'
478     # ... but there are two gotchas:
479     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481     # In both cases, we have to default to `cp -p'.
482     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
483       as_ln_s='cp -p'
484   elif ln conf$$.file conf$$ 2>/dev/null; then
485     as_ln_s=ln
486   else
487     as_ln_s='cp -p'
488   fi
489 else
490   as_ln_s='cp -p'
491 fi
492 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493 rmdir conf$$.dir 2>/dev/null
494
495 if mkdir -p . 2>/dev/null; then
496   as_mkdir_p='mkdir -p "$as_dir"'
497 else
498   test -d ./-p && rmdir ./-p
499   as_mkdir_p=false
500 fi
501
502 if test -x / >/dev/null 2>&1; then
503   as_test_x='test -x'
504 else
505   if ls -dL / >/dev/null 2>&1; then
506     as_ls_L_option=L
507   else
508     as_ls_L_option=
509   fi
510   as_test_x='
511     eval sh -c '\''
512       if test -d "$1"; then
513         test -d "$1/.";
514       else
515         case $1 in #(
516         -*)set "./$1";;
517         esac;
518         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519         ???[sx]*):;;*)false;;esac;fi
520     '\'' sh
521   '
522 fi
523 as_executable_p=$as_test_x
524
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
527
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533 # Check that we are running under the correct shell.
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536 case X$lt_ECHO in
537 X*--fallback-echo)
538   # Remove one level of quotation (which was required for Make).
539   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540   ;;
541 esac
542
543 ECHO=${lt_ECHO-echo}
544 if test "X$1" = X--no-reexec; then
545   # Discard the --no-reexec flag, and continue.
546   shift
547 elif test "X$1" = X--fallback-echo; then
548   # Avoid inline document here, it may be left over
549   :
550 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551   # Yippee, $ECHO works!
552   :
553 else
554   # Restart under the correct shell.
555   exec $SHELL "$0" --no-reexec ${1+"$@"}
556 fi
557
558 if test "X$1" = X--fallback-echo; then
559   # used as fallback echo
560   shift
561   cat <<_LT_EOF
562 $*
563 _LT_EOF
564   exit 0
565 fi
566
567 # The HP-UX ksh and POSIX shell print the target directory to stdout
568 # if CDPATH is set.
569 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
570
571 if test -z "$lt_ECHO"; then
572   if test "X${echo_test_string+set}" != Xset; then
573     # find a string as large as possible, as long as the shell can cope with it
574     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
578       then
579         break
580       fi
581     done
582   fi
583
584   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586      test "X$echo_testing_string" = "X$echo_test_string"; then
587     :
588   else
589     # The Solaris, AIX, and Digital Unix default echo programs unquote
590     # backslashes.  This makes it impossible to quote backslashes using
591     #   echo "$something" | sed 's/\\/\\\\/g'
592     #
593     # So, first we look for a working echo in the user's PATH.
594
595     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596     for dir in $PATH /usr/ucb; do
597       IFS="$lt_save_ifs"
598       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601          test "X$echo_testing_string" = "X$echo_test_string"; then
602         ECHO="$dir/echo"
603         break
604       fi
605     done
606     IFS="$lt_save_ifs"
607
608     if test "X$ECHO" = Xecho; then
609       # We didn't find a better echo, so look for alternatives.
610       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612          test "X$echo_testing_string" = "X$echo_test_string"; then
613         # This shell has a builtin print -r that does the trick.
614         ECHO='print -r'
615       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616            test "X$CONFIG_SHELL" != X/bin/ksh; then
617         # If we have ksh, try running configure again with it.
618         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619         export ORIGINAL_CONFIG_SHELL
620         CONFIG_SHELL=/bin/ksh
621         export CONFIG_SHELL
622         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623       else
624         # Try using printf.
625         ECHO='printf %s\n'
626         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628            test "X$echo_testing_string" = "X$echo_test_string"; then
629           # Cool, printf works
630           :
631         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632              test "X$echo_testing_string" = 'X\t' &&
633              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634              test "X$echo_testing_string" = "X$echo_test_string"; then
635           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
636           export CONFIG_SHELL
637           SHELL="$CONFIG_SHELL"
638           export SHELL
639           ECHO="$CONFIG_SHELL $0 --fallback-echo"
640         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641              test "X$echo_testing_string" = 'X\t' &&
642              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643              test "X$echo_testing_string" = "X$echo_test_string"; then
644           ECHO="$CONFIG_SHELL $0 --fallback-echo"
645         else
646           # maybe with a smaller string...
647           prev=:
648
649           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
651             then
652               break
653             fi
654             prev="$cmd"
655           done
656
657           if test "$prev" != 'sed 50q "$0"'; then
658             echo_test_string=`eval $prev`
659             export echo_test_string
660             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
661           else
662             # Oops.  We lost completely, so just stick with echo.
663             ECHO=echo
664           fi
665         fi
666       fi
667     fi
668   fi
669 fi
670
671 # Copy echo and quote the copy suitably for passing to libtool from
672 # the Makefile, instead of quoting the original, which is used later.
673 lt_ECHO=$ECHO
674 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676 fi
677
678
679
680
681 test -n "$DJDIR" || exec 7<&0 </dev/null
682 exec 6>&1
683
684 # Name of the host.
685 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
686 # so uname gets run too.
687 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689 #
690 # Initializations.
691 #
692 ac_default_prefix=/usr/local
693 ac_clean_files=
694 ac_config_libobj_dir=.
695 LIBOBJS=
696 cross_compiling=no
697 subdirs=
698 MFLAGS=
699 MAKEFLAGS=
700
701 # Identity of this package.
702 PACKAGE_NAME='elementary'
703 PACKAGE_TARNAME='elementary'
704 PACKAGE_VERSION='0.8.0.67547'
705 PACKAGE_STRING='elementary 0.8.0.67547'
706 PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707 PACKAGE_URL=''
708
709 ac_unique_file="configure.ac"
710 # Factoring default headers for most tests.
711 ac_includes_default="\
712 #include <stdio.h>
713 #ifdef HAVE_SYS_TYPES_H
714 # include <sys/types.h>
715 #endif
716 #ifdef HAVE_SYS_STAT_H
717 # include <sys/stat.h>
718 #endif
719 #ifdef STDC_HEADERS
720 # include <stdlib.h>
721 # include <stddef.h>
722 #else
723 # ifdef HAVE_STDLIB_H
724 #  include <stdlib.h>
725 # endif
726 #endif
727 #ifdef HAVE_STRING_H
728 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
729 #  include <memory.h>
730 # endif
731 # include <string.h>
732 #endif
733 #ifdef HAVE_STRINGS_H
734 # include <strings.h>
735 #endif
736 #ifdef HAVE_INTTYPES_H
737 # include <inttypes.h>
738 #endif
739 #ifdef HAVE_STDINT_H
740 # include <stdint.h>
741 #endif
742 #ifdef HAVE_UNISTD_H
743 # include <unistd.h>
744 #endif"
745
746 gt_needs=
747 ac_subst_vars='am__EXEEXT_FALSE
748 am__EXEEXT_TRUE
749 LTLIBOBJS
750 LIBOBJS
751 EFL_INSTALL_EXAMPLES_FALSE
752 EFL_INSTALL_EXAMPLES_TRUE
753 EFL_BUILD_EXAMPLES_FALSE
754 EFL_BUILD_EXAMPLES_TRUE
755 HAVE_PO_FALSE
756 HAVE_PO_TRUE
757 POSUB
758 LTLIBINTL
759 LIBINTL
760 INTLLIBS
761 LTLIBICONV
762 LIBICONV
763 INTL_MACOSX_LIBS
764 XGETTEXT_EXTRA_OPTIONS
765 MSGMERGE
766 XGETTEXT_015
767 XGETTEXT
768 GMSGFMT_015
769 MSGFMT_015
770 GMSGFMT
771 MSGFMT
772 GETTEXT_MACRO_VERSION
773 USE_NLS
774 BUILD_ELEMENTARY_CONFIG_FALSE
775 BUILD_ELEMENTARY_CONFIG_TRUE
776 ELEMENTARY_CONFIG_PRG
777 BUILD_ELEMENTARY_TEST_FALSE
778 BUILD_ELEMENTARY_TEST_TRUE
779 ELEMENTARY_TEST_PRG
780 EFL_BUILD_DOC_FALSE
781 EFL_BUILD_DOC_TRUE
782 efl_doxygen
783 efl_have_doxygen
784 edje_cc
785 eet_eet
786 requirement_elm
787 my_libs
788 ELM_DIRENT_H_DEF
789 ELM_LIBINTL_H_DEF
790 ELM_ALLOCA_H_DEF
791 ELM_DEBUG_DEF
792 ELM_WEB_DEF
793 ELEMENTARY_WEB_LIBS
794 ELEMENTARY_WEB_CFLAGS
795 ELM_ETHUMB_DEF
796 ELEMENTARY_ETHUMB_LIBS
797 ELEMENTARY_ETHUMB_CFLAGS
798 ELM_EMAP_DEF
799 ELEMENTARY_EMAP_LIBS
800 ELEMENTARY_EMAP_CFLAGS
801 ELM_EWEATHER_DEF
802 ELEMENTARY_EWEATHER_LIBS
803 ELEMENTARY_EWEATHER_CFLAGS
804 ELM_EFREET_DEF
805 ELEMENTARY_EFREET_LIBS
806 ELEMENTARY_EFREET_CFLAGS
807 ELM_EDBUS_DEF
808 ELEMENTARY_EDBUS_LIBS
809 ELEMENTARY_EDBUS_CFLAGS
810 ELEMENTARY_WINCE_LIBS
811 ELEMENTARY_WINCE_CFLAGS
812 ELEMENTARY_WIN32_LIBS
813 ELEMENTARY_WIN32_CFLAGS
814 ELEMENTARY_COCOA_LIBS
815 ELEMENTARY_COCOA_CFLAGS
816 ELEMENTARY_SDL_LIBS
817 ELEMENTARY_SDL_CFLAGS
818 ELEMENTARY_PSL1GHT_LIBS
819 ELEMENTARY_PSL1GHT_CFLAGS
820 ELEMENTARY_FB_LIBS
821 ELEMENTARY_FB_CFLAGS
822 ELEMENTARY_X_LIBS
823 ELEMENTARY_X_CFLAGS
824 HAVE_EMOTION_FALSE
825 HAVE_EMOTION_TRUE
826 EMOTION_LIBS
827 EMOTION_CFLAGS
828 HAVE_EIO_FALSE
829 HAVE_EIO_TRUE
830 EIO_LIBS
831 EIO_CFLAGS
832 HAVE_ECORE_CON_FALSE
833 HAVE_ECORE_CON_TRUE
834 ELEMENTARY_ECORE_CON_INC
835 ELEMENTARY_ECORE_CON_LIBS
836 ELEMENTARY_ECORE_CON_CFLAGS
837 HAVE_ECORE_IMF_FALSE
838 HAVE_ECORE_IMF_TRUE
839 ELEMENTARY_ECORE_IMF_INC
840 ELEMENTARY_ECORE_IMF_LIBS
841 ELEMENTARY_ECORE_IMF_CFLAGS
842 ELEMENTARY_LIBS
843 ELEMENTARY_CFLAGS
844 ELEMENTARY_WINDOWS_BUILD_FALSE
845 ELEMENTARY_WINDOWS_BUILD_TRUE
846 ELM_WINCE_DEF
847 ELM_WIN32_DEF
848 ELM_UNIX_DEF
849 lt_enable_auto_import
850 dlopen_libs
851 BUILD_QUICKLAUNCH_FALSE
852 BUILD_QUICKLAUNCH_TRUE
853 BUILD_MODULES_FALSE
854 BUILD_MODULES_TRUE
855 BUILD_RUN_FALSE
856 BUILD_RUN_TRUE
857 EVIL_LIBS
858 EVIL_CFLAGS
859 LOCALE_DIR
860 pkgconfig_requires_private
861 MODULE_EDJE
862 MODULE_ARCH
863 PKG_CONFIG_LIBDIR
864 PKG_CONFIG_PATH
865 PKG_CONFIG
866 VMIN
867 VMAJ
868 release_info
869 version_info
870 OTOOL64
871 OTOOL
872 LIPO
873 NMEDIT
874 DSYMUTIL
875 lt_ECHO
876 RANLIB
877 AR
878 LN_S
879 NM
880 ac_ct_DUMPBIN
881 DUMPBIN
882 LD
883 FGREP
884 SED
885 LIBTOOL
886 OBJDUMP
887 DLLTOOL
888 AS
889 ALLOCA
890 EGREP
891 GREP
892 CPP
893 am__fastdepCC_FALSE
894 am__fastdepCC_TRUE
895 CCDEPMODE
896 AMDEPBACKSLASH
897 AMDEP_FALSE
898 AMDEP_TRUE
899 am__quote
900 am__include
901 DEPDIR
902 OBJEXT
903 EXEEXT
904 ac_ct_CC
905 CPPFLAGS
906 LDFLAGS
907 CFLAGS
908 CC
909 AM_BACKSLASH
910 AM_DEFAULT_VERBOSITY
911 am__untar
912 am__tar
913 AMTAR
914 am__leading_dot
915 SET_MAKE
916 AWK
917 mkdir_p
918 MKDIR_P
919 INSTALL_STRIP_PROGRAM
920 STRIP
921 install_sh
922 MAKEINFO
923 AUTOHEADER
924 AUTOMAKE
925 AUTOCONF
926 ACLOCAL
927 VERSION
928 PACKAGE
929 CYGPATH_W
930 am__isrc
931 INSTALL_DATA
932 INSTALL_SCRIPT
933 INSTALL_PROGRAM
934 host_os
935 host_vendor
936 host_cpu
937 host
938 build_os
939 build_vendor
940 build_cpu
941 build
942 target_alias
943 host_alias
944 build_alias
945 LIBS
946 ECHO_T
947 ECHO_N
948 ECHO_C
949 DEFS
950 mandir
951 localedir
952 libdir
953 psdir
954 pdfdir
955 dvidir
956 htmldir
957 infodir
958 docdir
959 oldincludedir
960 includedir
961 localstatedir
962 sharedstatedir
963 sysconfdir
964 datadir
965 datarootdir
966 libexecdir
967 sbindir
968 bindir
969 program_transform_name
970 prefix
971 exec_prefix
972 PACKAGE_URL
973 PACKAGE_BUGREPORT
974 PACKAGE_STRING
975 PACKAGE_VERSION
976 PACKAGE_TARNAME
977 PACKAGE_NAME
978 PATH_SEPARATOR
979 SHELL'
980 ac_subst_files=''
981 ac_user_opts='
982 enable_option_checking
983 enable_silent_rules
984 enable_dependency_tracking
985 enable_shared
986 enable_static
987 with_pic
988 enable_fast_install
989 with_gnu_ld
990 enable_libtool_lock
991 enable_quick_launch
992 enable_emotion
993 enable_ecore_x
994 enable_ecore_fb
995 enable_ecore_psl1ght
996 enable_ecore_sdl
997 enable_ecore_cocoa
998 enable_ecore_win32
999 enable_ecore_wince
1000 enable_edbus
1001 enable_efreet
1002 enable_eweather
1003 enable_emap
1004 enable_ethumb
1005 enable_web
1006 enable_debug
1007 with_eet_eet
1008 with_edje_cc
1009 enable_doc
1010 with_doxygen
1011 enable_elementary_test
1012 enable_elementary_config
1013 enable_nls
1014 enable_rpath
1015 with_libiconv_prefix
1016 with_libintl_prefix
1017 with_elementary_base_dir
1018 enable_build_examples
1019 enable_install_examples
1020 '
1021       ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 PKG_CONFIG
1031 PKG_CONFIG_PATH
1032 PKG_CONFIG_LIBDIR
1033 EVIL_CFLAGS
1034 EVIL_LIBS
1035 ELEMENTARY_CFLAGS
1036 ELEMENTARY_LIBS
1037 ELEMENTARY_ECORE_IMF_CFLAGS
1038 ELEMENTARY_ECORE_IMF_LIBS
1039 ELEMENTARY_ECORE_CON_CFLAGS
1040 ELEMENTARY_ECORE_CON_LIBS
1041 EIO_CFLAGS
1042 EIO_LIBS
1043 EMOTION_CFLAGS
1044 EMOTION_LIBS
1045 ELEMENTARY_X_CFLAGS
1046 ELEMENTARY_X_LIBS
1047 ELEMENTARY_FB_CFLAGS
1048 ELEMENTARY_FB_LIBS
1049 ELEMENTARY_PSL1GHT_CFLAGS
1050 ELEMENTARY_PSL1GHT_LIBS
1051 ELEMENTARY_SDL_CFLAGS
1052 ELEMENTARY_SDL_LIBS
1053 ELEMENTARY_COCOA_CFLAGS
1054 ELEMENTARY_COCOA_LIBS
1055 ELEMENTARY_WIN32_CFLAGS
1056 ELEMENTARY_WIN32_LIBS
1057 ELEMENTARY_WINCE_CFLAGS
1058 ELEMENTARY_WINCE_LIBS
1059 ELEMENTARY_EDBUS_CFLAGS
1060 ELEMENTARY_EDBUS_LIBS
1061 ELEMENTARY_EFREET_CFLAGS
1062 ELEMENTARY_EFREET_LIBS
1063 ELEMENTARY_EWEATHER_CFLAGS
1064 ELEMENTARY_EWEATHER_LIBS
1065 ELEMENTARY_EMAP_CFLAGS
1066 ELEMENTARY_EMAP_LIBS
1067 ELEMENTARY_ETHUMB_CFLAGS
1068 ELEMENTARY_ETHUMB_LIBS
1069 ELEMENTARY_WEB_CFLAGS
1070 ELEMENTARY_WEB_LIBS'
1071
1072
1073 # Initialize some variables set by options.
1074 ac_init_help=
1075 ac_init_version=false
1076 ac_unrecognized_opts=
1077 ac_unrecognized_sep=
1078 # The variables have the same names as the options, with
1079 # dashes changed to underlines.
1080 cache_file=/dev/null
1081 exec_prefix=NONE
1082 no_create=
1083 no_recursion=
1084 prefix=NONE
1085 program_prefix=NONE
1086 program_suffix=NONE
1087 program_transform_name=s,x,x,
1088 silent=
1089 site=
1090 srcdir=
1091 verbose=
1092 x_includes=NONE
1093 x_libraries=NONE
1094
1095 # Installation directory options.
1096 # These are left unexpanded so users can "make install exec_prefix=/foo"
1097 # and all the variables that are supposed to be based on exec_prefix
1098 # by default will actually change.
1099 # Use braces instead of parens because sh, perl, etc. also accept them.
1100 # (The list follows the same order as the GNU Coding Standards.)
1101 bindir='${exec_prefix}/bin'
1102 sbindir='${exec_prefix}/sbin'
1103 libexecdir='${exec_prefix}/libexec'
1104 datarootdir='${prefix}/share'
1105 datadir='${datarootdir}'
1106 sysconfdir='${prefix}/etc'
1107 sharedstatedir='${prefix}/com'
1108 localstatedir='${prefix}/var'
1109 includedir='${prefix}/include'
1110 oldincludedir='/usr/include'
1111 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1112 infodir='${datarootdir}/info'
1113 htmldir='${docdir}'
1114 dvidir='${docdir}'
1115 pdfdir='${docdir}'
1116 psdir='${docdir}'
1117 libdir='${exec_prefix}/lib'
1118 localedir='${datarootdir}/locale'
1119 mandir='${datarootdir}/man'
1120
1121 ac_prev=
1122 ac_dashdash=
1123 for ac_option
1124 do
1125   # If the previous option needs an argument, assign it.
1126   if test -n "$ac_prev"; then
1127     eval $ac_prev=\$ac_option
1128     ac_prev=
1129     continue
1130   fi
1131
1132   case $ac_option in
1133   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1134   *=)   ac_optarg= ;;
1135   *)    ac_optarg=yes ;;
1136   esac
1137
1138   # Accept the important Cygnus configure options, so we can diagnose typos.
1139
1140   case $ac_dashdash$ac_option in
1141   --)
1142     ac_dashdash=yes ;;
1143
1144   -bindir | --bindir | --bindi | --bind | --bin | --bi)
1145     ac_prev=bindir ;;
1146   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1147     bindir=$ac_optarg ;;
1148
1149   -build | --build | --buil | --bui | --bu)
1150     ac_prev=build_alias ;;
1151   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1152     build_alias=$ac_optarg ;;
1153
1154   -cache-file | --cache-file | --cache-fil | --cache-fi \
1155   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1156     ac_prev=cache_file ;;
1157   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1158   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1159     cache_file=$ac_optarg ;;
1160
1161   --config-cache | -C)
1162     cache_file=config.cache ;;
1163
1164   -datadir | --datadir | --datadi | --datad)
1165     ac_prev=datadir ;;
1166   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1167     datadir=$ac_optarg ;;
1168
1169   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1170   | --dataroo | --dataro | --datar)
1171     ac_prev=datarootdir ;;
1172   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1173   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1174     datarootdir=$ac_optarg ;;
1175
1176   -disable-* | --disable-*)
1177     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1178     # Reject names that are not valid shell variable names.
1179     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1180       as_fn_error $? "invalid feature name: $ac_useropt"
1181     ac_useropt_orig=$ac_useropt
1182     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183     case $ac_user_opts in
1184       *"
1185 "enable_$ac_useropt"
1186 "*) ;;
1187       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1188          ac_unrecognized_sep=', ';;
1189     esac
1190     eval enable_$ac_useropt=no ;;
1191
1192   -docdir | --docdir | --docdi | --doc | --do)
1193     ac_prev=docdir ;;
1194   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1195     docdir=$ac_optarg ;;
1196
1197   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1198     ac_prev=dvidir ;;
1199   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1200     dvidir=$ac_optarg ;;
1201
1202   -enable-* | --enable-*)
1203     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1204     # Reject names that are not valid shell variable names.
1205     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1206       as_fn_error $? "invalid feature name: $ac_useropt"
1207     ac_useropt_orig=$ac_useropt
1208     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1209     case $ac_user_opts in
1210       *"
1211 "enable_$ac_useropt"
1212 "*) ;;
1213       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1214          ac_unrecognized_sep=', ';;
1215     esac
1216     eval enable_$ac_useropt=\$ac_optarg ;;
1217
1218   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1219   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1220   | --exec | --exe | --ex)
1221     ac_prev=exec_prefix ;;
1222   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1223   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1224   | --exec=* | --exe=* | --ex=*)
1225     exec_prefix=$ac_optarg ;;
1226
1227   -gas | --gas | --ga | --g)
1228     # Obsolete; use --with-gas.
1229     with_gas=yes ;;
1230
1231   -help | --help | --hel | --he | -h)
1232     ac_init_help=long ;;
1233   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1234     ac_init_help=recursive ;;
1235   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1236     ac_init_help=short ;;
1237
1238   -host | --host | --hos | --ho)
1239     ac_prev=host_alias ;;
1240   -host=* | --host=* | --hos=* | --ho=*)
1241     host_alias=$ac_optarg ;;
1242
1243   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1244     ac_prev=htmldir ;;
1245   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1246   | --ht=*)
1247     htmldir=$ac_optarg ;;
1248
1249   -includedir | --includedir | --includedi | --included | --include \
1250   | --includ | --inclu | --incl | --inc)
1251     ac_prev=includedir ;;
1252   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1253   | --includ=* | --inclu=* | --incl=* | --inc=*)
1254     includedir=$ac_optarg ;;
1255
1256   -infodir | --infodir | --infodi | --infod | --info | --inf)
1257     ac_prev=infodir ;;
1258   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1259     infodir=$ac_optarg ;;
1260
1261   -libdir | --libdir | --libdi | --libd)
1262     ac_prev=libdir ;;
1263   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1264     libdir=$ac_optarg ;;
1265
1266   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1267   | --libexe | --libex | --libe)
1268     ac_prev=libexecdir ;;
1269   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1270   | --libexe=* | --libex=* | --libe=*)
1271     libexecdir=$ac_optarg ;;
1272
1273   -localedir | --localedir | --localedi | --localed | --locale)
1274     ac_prev=localedir ;;
1275   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1276     localedir=$ac_optarg ;;
1277
1278   -localstatedir | --localstatedir | --localstatedi | --localstated \
1279   | --localstate | --localstat | --localsta | --localst | --locals)
1280     ac_prev=localstatedir ;;
1281   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1282   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1283     localstatedir=$ac_optarg ;;
1284
1285   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1286     ac_prev=mandir ;;
1287   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1288     mandir=$ac_optarg ;;
1289
1290   -nfp | --nfp | --nf)
1291     # Obsolete; use --without-fp.
1292     with_fp=no ;;
1293
1294   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1295   | --no-cr | --no-c | -n)
1296     no_create=yes ;;
1297
1298   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1299   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1300     no_recursion=yes ;;
1301
1302   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1303   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1304   | --oldin | --oldi | --old | --ol | --o)
1305     ac_prev=oldincludedir ;;
1306   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1307   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1308   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1309     oldincludedir=$ac_optarg ;;
1310
1311   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1312     ac_prev=prefix ;;
1313   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1314     prefix=$ac_optarg ;;
1315
1316   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1317   | --program-pre | --program-pr | --program-p)
1318     ac_prev=program_prefix ;;
1319   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1320   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1321     program_prefix=$ac_optarg ;;
1322
1323   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1324   | --program-suf | --program-su | --program-s)
1325     ac_prev=program_suffix ;;
1326   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1327   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1328     program_suffix=$ac_optarg ;;
1329
1330   -program-transform-name | --program-transform-name \
1331   | --program-transform-nam | --program-transform-na \
1332   | --program-transform-n | --program-transform- \
1333   | --program-transform | --program-transfor \
1334   | --program-transfo | --program-transf \
1335   | --program-trans | --program-tran \
1336   | --progr-tra | --program-tr | --program-t)
1337     ac_prev=program_transform_name ;;
1338   -program-transform-name=* | --program-transform-name=* \
1339   | --program-transform-nam=* | --program-transform-na=* \
1340   | --program-transform-n=* | --program-transform-=* \
1341   | --program-transform=* | --program-transfor=* \
1342   | --program-transfo=* | --program-transf=* \
1343   | --program-trans=* | --program-tran=* \
1344   | --progr-tra=* | --program-tr=* | --program-t=*)
1345     program_transform_name=$ac_optarg ;;
1346
1347   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1348     ac_prev=pdfdir ;;
1349   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1350     pdfdir=$ac_optarg ;;
1351
1352   -psdir | --psdir | --psdi | --psd | --ps)
1353     ac_prev=psdir ;;
1354   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1355     psdir=$ac_optarg ;;
1356
1357   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1358   | -silent | --silent | --silen | --sile | --sil)
1359     silent=yes ;;
1360
1361   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1362     ac_prev=sbindir ;;
1363   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1364   | --sbi=* | --sb=*)
1365     sbindir=$ac_optarg ;;
1366
1367   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1368   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1369   | --sharedst | --shareds | --shared | --share | --shar \
1370   | --sha | --sh)
1371     ac_prev=sharedstatedir ;;
1372   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1373   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1374   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1375   | --sha=* | --sh=*)
1376     sharedstatedir=$ac_optarg ;;
1377
1378   -site | --site | --sit)
1379     ac_prev=site ;;
1380   -site=* | --site=* | --sit=*)
1381     site=$ac_optarg ;;
1382
1383   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1384     ac_prev=srcdir ;;
1385   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1386     srcdir=$ac_optarg ;;
1387
1388   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1389   | --syscon | --sysco | --sysc | --sys | --sy)
1390     ac_prev=sysconfdir ;;
1391   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1392   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1393     sysconfdir=$ac_optarg ;;
1394
1395   -target | --target | --targe | --targ | --tar | --ta | --t)
1396     ac_prev=target_alias ;;
1397   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1398     target_alias=$ac_optarg ;;
1399
1400   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1401     verbose=yes ;;
1402
1403   -version | --version | --versio | --versi | --vers | -V)
1404     ac_init_version=: ;;
1405
1406   -with-* | --with-*)
1407     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1408     # Reject names that are not valid shell variable names.
1409     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1410       as_fn_error $? "invalid package name: $ac_useropt"
1411     ac_useropt_orig=$ac_useropt
1412     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1413     case $ac_user_opts in
1414       *"
1415 "with_$ac_useropt"
1416 "*) ;;
1417       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1418          ac_unrecognized_sep=', ';;
1419     esac
1420     eval with_$ac_useropt=\$ac_optarg ;;
1421
1422   -without-* | --without-*)
1423     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1424     # Reject names that are not valid shell variable names.
1425     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1426       as_fn_error $? "invalid package name: $ac_useropt"
1427     ac_useropt_orig=$ac_useropt
1428     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1429     case $ac_user_opts in
1430       *"
1431 "with_$ac_useropt"
1432 "*) ;;
1433       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1434          ac_unrecognized_sep=', ';;
1435     esac
1436     eval with_$ac_useropt=no ;;
1437
1438   --x)
1439     # Obsolete; use --with-x.
1440     with_x=yes ;;
1441
1442   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1443   | --x-incl | --x-inc | --x-in | --x-i)
1444     ac_prev=x_includes ;;
1445   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1446   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1447     x_includes=$ac_optarg ;;
1448
1449   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1450   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1451     ac_prev=x_libraries ;;
1452   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1453   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1454     x_libraries=$ac_optarg ;;
1455
1456   -*) as_fn_error $? "unrecognized option: \`$ac_option'
1457 Try \`$0 --help' for more information"
1458     ;;
1459
1460   *=*)
1461     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1462     # Reject names that are not valid shell variable names.
1463     case $ac_envvar in #(
1464       '' | [0-9]* | *[!_$as_cr_alnum]* )
1465       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1466     esac
1467     eval $ac_envvar=\$ac_optarg
1468     export $ac_envvar ;;
1469
1470   *)
1471     # FIXME: should be removed in autoconf 3.0.
1472     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1473     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1474       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1475     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1476     ;;
1477
1478   esac
1479 done
1480
1481 if test -n "$ac_prev"; then
1482   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1483   as_fn_error $? "missing argument to $ac_option"
1484 fi
1485
1486 if test -n "$ac_unrecognized_opts"; then
1487   case $enable_option_checking in
1488     no) ;;
1489     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1490     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1491   esac
1492 fi
1493
1494 # Check all directory arguments for consistency.
1495 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1496                 datadir sysconfdir sharedstatedir localstatedir includedir \
1497                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1498                 libdir localedir mandir
1499 do
1500   eval ac_val=\$$ac_var
1501   # Remove trailing slashes.
1502   case $ac_val in
1503     */ )
1504       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1505       eval $ac_var=\$ac_val;;
1506   esac
1507   # Be sure to have absolute directory names.
1508   case $ac_val in
1509     [\\/$]* | ?:[\\/]* )  continue;;
1510     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1511   esac
1512   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1513 done
1514
1515 # There might be people who depend on the old broken behavior: `$host'
1516 # used to hold the argument of --host etc.
1517 # FIXME: To remove some day.
1518 build=$build_alias
1519 host=$host_alias
1520 target=$target_alias
1521
1522 # FIXME: To remove some day.
1523 if test "x$host_alias" != x; then
1524   if test "x$build_alias" = x; then
1525     cross_compiling=maybe
1526     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1527     If a cross compiler is detected then cross compile mode will be used" >&2
1528   elif test "x$build_alias" != "x$host_alias"; then
1529     cross_compiling=yes
1530   fi
1531 fi
1532
1533 ac_tool_prefix=
1534 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1535
1536 test "$silent" = yes && exec 6>/dev/null
1537
1538
1539 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1540 ac_ls_di=`ls -di .` &&
1541 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1542   as_fn_error $? "working directory cannot be determined"
1543 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1544   as_fn_error $? "pwd does not report name of working directory"
1545
1546
1547 # Find the source files, if location was not specified.
1548 if test -z "$srcdir"; then
1549   ac_srcdir_defaulted=yes
1550   # Try the directory containing this script, then the parent directory.
1551   ac_confdir=`$as_dirname -- "$as_myself" ||
1552 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1553          X"$as_myself" : 'X\(//\)[^/]' \| \
1554          X"$as_myself" : 'X\(//\)$' \| \
1555          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1556 $as_echo X"$as_myself" |
1557     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1558             s//\1/
1559             q
1560           }
1561           /^X\(\/\/\)[^/].*/{
1562             s//\1/
1563             q
1564           }
1565           /^X\(\/\/\)$/{
1566             s//\1/
1567             q
1568           }
1569           /^X\(\/\).*/{
1570             s//\1/
1571             q
1572           }
1573           s/.*/./; q'`
1574   srcdir=$ac_confdir
1575   if test ! -r "$srcdir/$ac_unique_file"; then
1576     srcdir=..
1577   fi
1578 else
1579   ac_srcdir_defaulted=no
1580 fi
1581 if test ! -r "$srcdir/$ac_unique_file"; then
1582   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1583   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1584 fi
1585 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1586 ac_abs_confdir=`(
1587         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1588         pwd)`
1589 # When building in place, set srcdir=.
1590 if test "$ac_abs_confdir" = "$ac_pwd"; then
1591   srcdir=.
1592 fi
1593 # Remove unnecessary trailing slashes from srcdir.
1594 # Double slashes in file names in object file debugging info
1595 # mess up M-x gdb in Emacs.
1596 case $srcdir in
1597 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1598 esac
1599 for ac_var in $ac_precious_vars; do
1600   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1601   eval ac_env_${ac_var}_value=\$${ac_var}
1602   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1603   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1604 done
1605
1606 #
1607 # Report the --help message.
1608 #
1609 if test "$ac_init_help" = "long"; then
1610   # Omit some internal or obsolete options to make the list less imposing.
1611   # This message is too long to be a string in the A/UX 3.1 sh.
1612   cat <<_ACEOF
1613 \`configure' configures elementary 0.8.0.67547 to adapt to many kinds of systems.
1614
1615 Usage: $0 [OPTION]... [VAR=VALUE]...
1616
1617 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1618 VAR=VALUE.  See below for descriptions of some of the useful variables.
1619
1620 Defaults for the options are specified in brackets.
1621
1622 Configuration:
1623   -h, --help              display this help and exit
1624       --help=short        display options specific to this package
1625       --help=recursive    display the short help of all the included packages
1626   -V, --version           display version information and exit
1627   -q, --quiet, --silent   do not print \`checking ...' messages
1628       --cache-file=FILE   cache test results in FILE [disabled]
1629   -C, --config-cache      alias for \`--cache-file=config.cache'
1630   -n, --no-create         do not create output files
1631       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1632
1633 Installation directories:
1634   --prefix=PREFIX         install architecture-independent files in PREFIX
1635                           [$ac_default_prefix]
1636   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1637                           [PREFIX]
1638
1639 By default, \`make install' will install all the files in
1640 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1641 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1642 for instance \`--prefix=\$HOME'.
1643
1644 For better control, use the options below.
1645
1646 Fine tuning of the installation directories:
1647   --bindir=DIR            user executables [EPREFIX/bin]
1648   --sbindir=DIR           system admin executables [EPREFIX/sbin]
1649   --libexecdir=DIR        program executables [EPREFIX/libexec]
1650   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1651   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1652   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1653   --libdir=DIR            object code libraries [EPREFIX/lib]
1654   --includedir=DIR        C header files [PREFIX/include]
1655   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1656   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1657   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1658   --infodir=DIR           info documentation [DATAROOTDIR/info]
1659   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1660   --mandir=DIR            man documentation [DATAROOTDIR/man]
1661   --docdir=DIR            documentation root [DATAROOTDIR/doc/elementary]
1662   --htmldir=DIR           html documentation [DOCDIR]
1663   --dvidir=DIR            dvi documentation [DOCDIR]
1664   --pdfdir=DIR            pdf documentation [DOCDIR]
1665   --psdir=DIR             ps documentation [DOCDIR]
1666 _ACEOF
1667
1668   cat <<\_ACEOF
1669
1670 Program names:
1671   --program-prefix=PREFIX            prepend PREFIX to installed program names
1672   --program-suffix=SUFFIX            append SUFFIX to installed program names
1673   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1674
1675 System types:
1676   --build=BUILD     configure for building on BUILD [guessed]
1677   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1678 _ACEOF
1679 fi
1680
1681 if test -n "$ac_init_help"; then
1682   case $ac_init_help in
1683      short | recursive ) echo "Configuration of elementary 0.8.0.67547:";;
1684    esac
1685   cat <<\_ACEOF
1686
1687 Optional Features:
1688   --disable-option-checking  ignore unrecognized --enable/--with options
1689   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1690   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1691   --enable-silent-rules          less verbose build output (undo: `make V=1')
1692   --disable-silent-rules         verbose build output (undo: `make V=0')
1693   --disable-dependency-tracking  speeds up one-time build
1694   --enable-dependency-tracking   do not reject slow dependency extractors
1695   --enable-shared[=PKGS]  build shared libraries [default=yes]
1696   --enable-static[=PKGS]  build static libraries [default=yes]
1697   --enable-fast-install[=PKGS]
1698                           optimize for fast installation [default=yes]
1699   --disable-libtool-lock  avoid locking (might break parallel builds)
1700   --disable-quick-launch  disable quick-launch support, [default=detect]
1701   --disable-emotion       disable emotion support. [default=enabled]
1702   --disable-ecore-x       disable ecore-x support. [default=detect]
1703   --disable-ecore-fb      disable ecore-fb support. [default=detect]
1704   --disable-ecore-psl1ght disable ecore-psl1ght support. [default=detect]
1705   --disable-ecore-sdl     disable ecore-sdl support. [default=detect]
1706   --disable-ecore-cocoa   disable ecore-cocoa support. [default=detect]
1707   --disable-ecore-win32   disable ecore-win32 support. [default=detect]
1708   --disable-ecore-wince   disable ecore-wince support. [default=detect]
1709   --disable-edbus         disable edbus support. [default=detect]
1710   --disable-efreet        disable efreet support. [default=detect]
1711   --disable-eweather      disable eweather support. [default=detect]
1712   --disable-emap          disable emap support. [default=detect]
1713   --disable-ethumb        disable ethumb support. [default=detect]
1714   --disable-web           disable web (WebKit) support. [default=detect]
1715   --enable-debug          enable elementary debug support. [default=disabled]
1716   --disable-doc           Disable documentation build [default=enabled]
1717   --disable-elementary-test
1718                           disable building of elementary_test
1719   --disable-elementary-config
1720                           disable building of elementary_config
1721   --disable-nls           do not use Native Language Support
1722   --disable-rpath         do not hardcode runtime library paths
1723   --enable-build-examples enable building examples [default=disabled]
1724   --enable-install-examples
1725                           enable installing example source files
1726                           [default=disabled]
1727
1728 Optional Packages:
1729   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1730   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1731   --with-pic              try to use only PIC/non-PIC objects [default=use
1732                           both]
1733   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1734   --with-eet-eet=PATH     specify a specific path to eet_eet [default=eet]
1735   --with-edje-cc=PATH     specify a specific path to edje_cc [default=edje_cc]
1736   --with-doxygen=FILE     doxygen program to use [default=doxygen]
1737   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1738   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1739   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1740   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
1741   --without-libintl-prefix     don't search for libintl in includedir and libdir
1742   --with-elementary-base-dir=PATH
1743                           specify the subdirectory for all elementary data
1744                           [default=${elementary_base_dir}]
1745
1746 Some influential environment variables:
1747   CC          C compiler command
1748   CFLAGS      C compiler flags
1749   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1750               nonstandard directory <lib dir>
1751   LIBS        libraries to pass to the linker, e.g. -l<library>
1752   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1753               you have headers in a nonstandard directory <include dir>
1754   CPP         C preprocessor
1755   PKG_CONFIG  path to pkg-config utility
1756   PKG_CONFIG_PATH
1757               directories to add to pkg-config's search path
1758   PKG_CONFIG_LIBDIR
1759               path overriding pkg-config's built-in search path
1760   EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
1761   EVIL_LIBS   linker flags for EVIL, overriding pkg-config
1762   ELEMENTARY_CFLAGS
1763               C compiler flags for ELEMENTARY, overriding pkg-config
1764   ELEMENTARY_LIBS
1765               linker flags for ELEMENTARY, overriding pkg-config
1766   ELEMENTARY_ECORE_IMF_CFLAGS
1767               C compiler flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1768   ELEMENTARY_ECORE_IMF_LIBS
1769               linker flags for ELEMENTARY_ECORE_IMF, overriding pkg-config
1770   ELEMENTARY_ECORE_CON_CFLAGS
1771               C compiler flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1772   ELEMENTARY_ECORE_CON_LIBS
1773               linker flags for ELEMENTARY_ECORE_CON, overriding pkg-config
1774   EIO_CFLAGS  C compiler flags for EIO, overriding pkg-config
1775   EIO_LIBS    linker flags for EIO, overriding pkg-config
1776   EMOTION_CFLAGS
1777               C compiler flags for EMOTION, overriding pkg-config
1778   EMOTION_LIBS
1779               linker flags for EMOTION, overriding pkg-config
1780   ELEMENTARY_X_CFLAGS
1781               C compiler flags for ELEMENTARY_X, overriding pkg-config
1782   ELEMENTARY_X_LIBS
1783               linker flags for ELEMENTARY_X, overriding pkg-config
1784   ELEMENTARY_FB_CFLAGS
1785               C compiler flags for ELEMENTARY_FB, overriding pkg-config
1786   ELEMENTARY_FB_LIBS
1787               linker flags for ELEMENTARY_FB, overriding pkg-config
1788   ELEMENTARY_PSL1GHT_CFLAGS
1789               C compiler flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1790   ELEMENTARY_PSL1GHT_LIBS
1791               linker flags for ELEMENTARY_PSL1GHT, overriding pkg-config
1792   ELEMENTARY_SDL_CFLAGS
1793               C compiler flags for ELEMENTARY_SDL, overriding pkg-config
1794   ELEMENTARY_SDL_LIBS
1795               linker flags for ELEMENTARY_SDL, overriding pkg-config
1796   ELEMENTARY_COCOA_CFLAGS
1797               C compiler flags for ELEMENTARY_COCOA, overriding pkg-config
1798   ELEMENTARY_COCOA_LIBS
1799               linker flags for ELEMENTARY_COCOA, overriding pkg-config
1800   ELEMENTARY_WIN32_CFLAGS
1801               C compiler flags for ELEMENTARY_WIN32, overriding pkg-config
1802   ELEMENTARY_WIN32_LIBS
1803               linker flags for ELEMENTARY_WIN32, overriding pkg-config
1804   ELEMENTARY_WINCE_CFLAGS
1805               C compiler flags for ELEMENTARY_WINCE, overriding pkg-config
1806   ELEMENTARY_WINCE_LIBS
1807               linker flags for ELEMENTARY_WINCE, overriding pkg-config
1808   ELEMENTARY_EDBUS_CFLAGS
1809               C compiler flags for ELEMENTARY_EDBUS, overriding pkg-config
1810   ELEMENTARY_EDBUS_LIBS
1811               linker flags for ELEMENTARY_EDBUS, overriding pkg-config
1812   ELEMENTARY_EFREET_CFLAGS
1813               C compiler flags for ELEMENTARY_EFREET, overriding pkg-config
1814   ELEMENTARY_EFREET_LIBS
1815               linker flags for ELEMENTARY_EFREET, overriding pkg-config
1816   ELEMENTARY_EWEATHER_CFLAGS
1817               C compiler flags for ELEMENTARY_EWEATHER, overriding pkg-config
1818   ELEMENTARY_EWEATHER_LIBS
1819               linker flags for ELEMENTARY_EWEATHER, overriding pkg-config
1820   ELEMENTARY_EMAP_CFLAGS
1821               C compiler flags for ELEMENTARY_EMAP, overriding pkg-config
1822   ELEMENTARY_EMAP_LIBS
1823               linker flags for ELEMENTARY_EMAP, overriding pkg-config
1824   ELEMENTARY_ETHUMB_CFLAGS
1825               C compiler flags for ELEMENTARY_ETHUMB, overriding pkg-config
1826   ELEMENTARY_ETHUMB_LIBS
1827               linker flags for ELEMENTARY_ETHUMB, overriding pkg-config
1828   ELEMENTARY_WEB_CFLAGS
1829               C compiler flags for ELEMENTARY_WEB, overriding pkg-config
1830   ELEMENTARY_WEB_LIBS
1831               linker flags for ELEMENTARY_WEB, overriding pkg-config
1832
1833 Use these variables to override the choices made by `configure' or to help
1834 it to find libraries and programs with nonstandard names/locations.
1835
1836 Report bugs to <enlightenment-devel@lists.sourceforge.net>.
1837 _ACEOF
1838 ac_status=$?
1839 fi
1840
1841 if test "$ac_init_help" = "recursive"; then
1842   # If there are subdirs, report their specific --help.
1843   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1844     test -d "$ac_dir" ||
1845       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1846       continue
1847     ac_builddir=.
1848
1849 case "$ac_dir" in
1850 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1851 *)
1852   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1853   # A ".." for each directory in $ac_dir_suffix.
1854   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1855   case $ac_top_builddir_sub in
1856   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1857   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1858   esac ;;
1859 esac
1860 ac_abs_top_builddir=$ac_pwd
1861 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1862 # for backward compatibility:
1863 ac_top_builddir=$ac_top_build_prefix
1864
1865 case $srcdir in
1866   .)  # We are building in place.
1867     ac_srcdir=.
1868     ac_top_srcdir=$ac_top_builddir_sub
1869     ac_abs_top_srcdir=$ac_pwd ;;
1870   [\\/]* | ?:[\\/]* )  # Absolute name.
1871     ac_srcdir=$srcdir$ac_dir_suffix;
1872     ac_top_srcdir=$srcdir
1873     ac_abs_top_srcdir=$srcdir ;;
1874   *) # Relative name.
1875     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1876     ac_top_srcdir=$ac_top_build_prefix$srcdir
1877     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1878 esac
1879 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1880
1881     cd "$ac_dir" || { ac_status=$?; continue; }
1882     # Check for guested configure.
1883     if test -f "$ac_srcdir/configure.gnu"; then
1884       echo &&
1885       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1886     elif test -f "$ac_srcdir/configure"; then
1887       echo &&
1888       $SHELL "$ac_srcdir/configure" --help=recursive
1889     else
1890       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1891     fi || ac_status=$?
1892     cd "$ac_pwd" || { ac_status=$?; break; }
1893   done
1894 fi
1895
1896 test -n "$ac_init_help" && exit $ac_status
1897 if $ac_init_version; then
1898   cat <<\_ACEOF
1899 elementary configure 0.8.0.67547
1900 generated by GNU Autoconf 2.67
1901
1902 Copyright (C) 2010 Free Software Foundation, Inc.
1903 This configure script is free software; the Free Software Foundation
1904 gives unlimited permission to copy, distribute and modify it.
1905 _ACEOF
1906   exit
1907 fi
1908
1909 ## ------------------------ ##
1910 ## Autoconf initialization. ##
1911 ## ------------------------ ##
1912
1913 # ac_fn_c_try_compile LINENO
1914 # --------------------------
1915 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1916 ac_fn_c_try_compile ()
1917 {
1918   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1919   rm -f conftest.$ac_objext
1920   if { { ac_try="$ac_compile"
1921 case "(($ac_try" in
1922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1923   *) ac_try_echo=$ac_try;;
1924 esac
1925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1926 $as_echo "$ac_try_echo"; } >&5
1927   (eval "$ac_compile") 2>conftest.err
1928   ac_status=$?
1929   if test -s conftest.err; then
1930     grep -v '^ *+' conftest.err >conftest.er1
1931     cat conftest.er1 >&5
1932     mv -f conftest.er1 conftest.err
1933   fi
1934   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1935   test $ac_status = 0; } && {
1936          test -z "$ac_c_werror_flag" ||
1937          test ! -s conftest.err
1938        } && test -s conftest.$ac_objext; then :
1939   ac_retval=0
1940 else
1941   $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1943
1944         ac_retval=1
1945 fi
1946   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1947   as_fn_set_status $ac_retval
1948
1949 } # ac_fn_c_try_compile
1950
1951 # ac_fn_c_try_cpp LINENO
1952 # ----------------------
1953 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1954 ac_fn_c_try_cpp ()
1955 {
1956   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1957   if { { ac_try="$ac_cpp conftest.$ac_ext"
1958 case "(($ac_try" in
1959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1960   *) ac_try_echo=$ac_try;;
1961 esac
1962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1963 $as_echo "$ac_try_echo"; } >&5
1964   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1965   ac_status=$?
1966   if test -s conftest.err; then
1967     grep -v '^ *+' conftest.err >conftest.er1
1968     cat conftest.er1 >&5
1969     mv -f conftest.er1 conftest.err
1970   fi
1971   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1972   test $ac_status = 0; } > conftest.i && {
1973          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1974          test ! -s conftest.err
1975        }; then :
1976   ac_retval=0
1977 else
1978   $as_echo "$as_me: failed program was:" >&5
1979 sed 's/^/| /' conftest.$ac_ext >&5
1980
1981     ac_retval=1
1982 fi
1983   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1984   as_fn_set_status $ac_retval
1985
1986 } # ac_fn_c_try_cpp
1987
1988 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1989 # -------------------------------------------------------
1990 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1991 # the include files in INCLUDES and setting the cache variable VAR
1992 # accordingly.
1993 ac_fn_c_check_header_mongrel ()
1994 {
1995   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1996   if eval "test \"\${$3+set}\"" = set; then :
1997   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1998 $as_echo_n "checking for $2... " >&6; }
1999 if eval "test \"\${$3+set}\"" = set; then :
2000   $as_echo_n "(cached) " >&6
2001 fi
2002 eval ac_res=\$$3
2003                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2004 $as_echo "$ac_res" >&6; }
2005 else
2006   # Is the header compilable?
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2008 $as_echo_n "checking $2 usability... " >&6; }
2009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2010 /* end confdefs.h.  */
2011 $4
2012 #include <$2>
2013 _ACEOF
2014 if ac_fn_c_try_compile "$LINENO"; then :
2015   ac_header_compiler=yes
2016 else
2017   ac_header_compiler=no
2018 fi
2019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2021 $as_echo "$ac_header_compiler" >&6; }
2022
2023 # Is the header present?
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2025 $as_echo_n "checking $2 presence... " >&6; }
2026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h.  */
2028 #include <$2>
2029 _ACEOF
2030 if ac_fn_c_try_cpp "$LINENO"; then :
2031   ac_header_preproc=yes
2032 else
2033   ac_header_preproc=no
2034 fi
2035 rm -f conftest.err conftest.i conftest.$ac_ext
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2037 $as_echo "$ac_header_preproc" >&6; }
2038
2039 # So?  What about this header?
2040 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2041   yes:no: )
2042     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2043 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2044     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2045 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2046     ;;
2047   no:yes:* )
2048     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2049 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2050     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2051 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2052     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2053 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2054     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2055 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2056     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2057 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2058 ( $as_echo "## -------------------------------------------------------- ##
2059 ## Report this to enlightenment-devel@lists.sourceforge.net ##
2060 ## -------------------------------------------------------- ##"
2061      ) | sed "s/^/$as_me: WARNING:     /" >&2
2062     ;;
2063 esac
2064   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval "test \"\${$3+set}\"" = set; then :
2067   $as_echo_n "(cached) " >&6
2068 else
2069   eval "$3=\$ac_header_compiler"
2070 fi
2071 eval ac_res=\$$3
2072                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073 $as_echo "$ac_res" >&6; }
2074 fi
2075   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076
2077 } # ac_fn_c_check_header_mongrel
2078
2079 # ac_fn_c_try_run LINENO
2080 # ----------------------
2081 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2082 # that executables *can* be run.
2083 ac_fn_c_try_run ()
2084 {
2085   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2086   if { { ac_try="$ac_link"
2087 case "(($ac_try" in
2088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2089   *) ac_try_echo=$ac_try;;
2090 esac
2091 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2092 $as_echo "$ac_try_echo"; } >&5
2093   (eval "$ac_link") 2>&5
2094   ac_status=$?
2095   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2096   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2097   { { case "(($ac_try" in
2098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2099   *) ac_try_echo=$ac_try;;
2100 esac
2101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2102 $as_echo "$ac_try_echo"; } >&5
2103   (eval "$ac_try") 2>&5
2104   ac_status=$?
2105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106   test $ac_status = 0; }; }; then :
2107   ac_retval=0
2108 else
2109   $as_echo "$as_me: program exited with status $ac_status" >&5
2110        $as_echo "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.$ac_ext >&5
2112
2113        ac_retval=$ac_status
2114 fi
2115   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2116   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2117   as_fn_set_status $ac_retval
2118
2119 } # ac_fn_c_try_run
2120
2121 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2122 # -------------------------------------------------------
2123 # Tests whether HEADER exists and can be compiled using the include files in
2124 # INCLUDES, setting the cache variable VAR accordingly.
2125 ac_fn_c_check_header_compile ()
2126 {
2127   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; }
2130 if eval "test \"\${$3+set}\"" = set; then :
2131   $as_echo_n "(cached) " >&6
2132 else
2133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2134 /* end confdefs.h.  */
2135 $4
2136 #include <$2>
2137 _ACEOF
2138 if ac_fn_c_try_compile "$LINENO"; then :
2139   eval "$3=yes"
2140 else
2141   eval "$3=no"
2142 fi
2143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2144 fi
2145 eval ac_res=\$$3
2146                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2147 $as_echo "$ac_res" >&6; }
2148   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2149
2150 } # ac_fn_c_check_header_compile
2151
2152 # ac_fn_c_try_link LINENO
2153 # -----------------------
2154 # Try to link conftest.$ac_ext, and return whether this succeeded.
2155 ac_fn_c_try_link ()
2156 {
2157   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2158   rm -f conftest.$ac_objext conftest$ac_exeext
2159   if { { ac_try="$ac_link"
2160 case "(($ac_try" in
2161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2162   *) ac_try_echo=$ac_try;;
2163 esac
2164 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2165 $as_echo "$ac_try_echo"; } >&5
2166   (eval "$ac_link") 2>conftest.err
2167   ac_status=$?
2168   if test -s conftest.err; then
2169     grep -v '^ *+' conftest.err >conftest.er1
2170     cat conftest.er1 >&5
2171     mv -f conftest.er1 conftest.err
2172   fi
2173   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2174   test $ac_status = 0; } && {
2175          test -z "$ac_c_werror_flag" ||
2176          test ! -s conftest.err
2177        } && test -s conftest$ac_exeext && {
2178          test "$cross_compiling" = yes ||
2179          $as_test_x conftest$ac_exeext
2180        }; then :
2181   ac_retval=0
2182 else
2183   $as_echo "$as_me: failed program was:" >&5
2184 sed 's/^/| /' conftest.$ac_ext >&5
2185
2186         ac_retval=1
2187 fi
2188   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2189   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2190   # interfere with the next link command; also delete a directory that is
2191   # left behind by Apple's compiler.  We do this before executing the actions.
2192   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2193   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2194   as_fn_set_status $ac_retval
2195
2196 } # ac_fn_c_try_link
2197
2198 # ac_fn_c_check_func LINENO FUNC VAR
2199 # ----------------------------------
2200 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2201 ac_fn_c_check_func ()
2202 {
2203   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205 $as_echo_n "checking for $2... " >&6; }
2206 if eval "test \"\${$3+set}\"" = set; then :
2207   $as_echo_n "(cached) " >&6
2208 else
2209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h.  */
2211 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2212    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2213 #define $2 innocuous_$2
2214
2215 /* System header to define __stub macros and hopefully few prototypes,
2216     which can conflict with char $2 (); below.
2217     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2218     <limits.h> exists even on freestanding compilers.  */
2219
2220 #ifdef __STDC__
2221 # include <limits.h>
2222 #else
2223 # include <assert.h>
2224 #endif
2225
2226 #undef $2
2227
2228 /* Override any GCC internal prototype to avoid an error.
2229    Use char because int might match the return type of a GCC
2230    builtin and then its argument prototype would still apply.  */
2231 #ifdef __cplusplus
2232 extern "C"
2233 #endif
2234 char $2 ();
2235 /* The GNU C library defines this for functions which it implements
2236     to always fail with ENOSYS.  Some functions are actually named
2237     something starting with __ and the normal name is an alias.  */
2238 #if defined __stub_$2 || defined __stub___$2
2239 choke me
2240 #endif
2241
2242 int
2243 main ()
2244 {
2245 return $2 ();
2246   ;
2247   return 0;
2248 }
2249 _ACEOF
2250 if ac_fn_c_try_link "$LINENO"; then :
2251   eval "$3=yes"
2252 else
2253   eval "$3=no"
2254 fi
2255 rm -f core conftest.err conftest.$ac_objext \
2256     conftest$ac_exeext conftest.$ac_ext
2257 fi
2258 eval ac_res=\$$3
2259                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2260 $as_echo "$ac_res" >&6; }
2261   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2262
2263 } # ac_fn_c_check_func
2264 cat >config.log <<_ACEOF
2265 This file contains any messages produced by compilers while
2266 running configure, to aid debugging if configure makes a mistake.
2267
2268 It was created by elementary $as_me 0.8.0.67547, which was
2269 generated by GNU Autoconf 2.67.  Invocation command line was
2270
2271   $ $0 $@
2272
2273 _ACEOF
2274 exec 5>>config.log
2275 {
2276 cat <<_ASUNAME
2277 ## --------- ##
2278 ## Platform. ##
2279 ## --------- ##
2280
2281 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2282 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2283 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2284 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2285 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2286
2287 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2288 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2289
2290 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2291 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2292 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2293 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2294 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2295 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2296 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2297
2298 _ASUNAME
2299
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 for as_dir in $PATH
2302 do
2303   IFS=$as_save_IFS
2304   test -z "$as_dir" && as_dir=.
2305     $as_echo "PATH: $as_dir"
2306   done
2307 IFS=$as_save_IFS
2308
2309 } >&5
2310
2311 cat >&5 <<_ACEOF
2312
2313
2314 ## ----------- ##
2315 ## Core tests. ##
2316 ## ----------- ##
2317
2318 _ACEOF
2319
2320
2321 # Keep a trace of the command line.
2322 # Strip out --no-create and --no-recursion so they do not pile up.
2323 # Strip out --silent because we don't want to record it for future runs.
2324 # Also quote any args containing shell meta-characters.
2325 # Make two passes to allow for proper duplicate-argument suppression.
2326 ac_configure_args=
2327 ac_configure_args0=
2328 ac_configure_args1=
2329 ac_must_keep_next=false
2330 for ac_pass in 1 2
2331 do
2332   for ac_arg
2333   do
2334     case $ac_arg in
2335     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2336     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2337     | -silent | --silent | --silen | --sile | --sil)
2338       continue ;;
2339     *\'*)
2340       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2341     esac
2342     case $ac_pass in
2343     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2344     2)
2345       as_fn_append ac_configure_args1 " '$ac_arg'"
2346       if test $ac_must_keep_next = true; then
2347         ac_must_keep_next=false # Got value, back to normal.
2348       else
2349         case $ac_arg in
2350           *=* | --config-cache | -C | -disable-* | --disable-* \
2351           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2352           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2353           | -with-* | --with-* | -without-* | --without-* | --x)
2354             case "$ac_configure_args0 " in
2355               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2356             esac
2357             ;;
2358           -* ) ac_must_keep_next=true ;;
2359         esac
2360       fi
2361       as_fn_append ac_configure_args " '$ac_arg'"
2362       ;;
2363     esac
2364   done
2365 done
2366 { ac_configure_args0=; unset ac_configure_args0;}
2367 { ac_configure_args1=; unset ac_configure_args1;}
2368
2369 # When interrupted or exit'd, cleanup temporary files, and complete
2370 # config.log.  We remove comments because anyway the quotes in there
2371 # would cause problems or look ugly.
2372 # WARNING: Use '\'' to represent an apostrophe within the trap.
2373 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2374 trap 'exit_status=$?
2375   # Save into config.log some information that might help in debugging.
2376   {
2377     echo
2378
2379     $as_echo "## ---------------- ##
2380 ## Cache variables. ##
2381 ## ---------------- ##"
2382     echo
2383     # The following way of writing the cache mishandles newlines in values,
2384 (
2385   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2386     eval ac_val=\$$ac_var
2387     case $ac_val in #(
2388     *${as_nl}*)
2389       case $ac_var in #(
2390       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2391 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2392       esac
2393       case $ac_var in #(
2394       _ | IFS | as_nl) ;; #(
2395       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2396       *) { eval $ac_var=; unset $ac_var;} ;;
2397       esac ;;
2398     esac
2399   done
2400   (set) 2>&1 |
2401     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2402     *${as_nl}ac_space=\ *)
2403       sed -n \
2404         "s/'\''/'\''\\\\'\'''\''/g;
2405           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2406       ;; #(
2407     *)
2408       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2409       ;;
2410     esac |
2411     sort
2412 )
2413     echo
2414
2415     $as_echo "## ----------------- ##
2416 ## Output variables. ##
2417 ## ----------------- ##"
2418     echo
2419     for ac_var in $ac_subst_vars
2420     do
2421       eval ac_val=\$$ac_var
2422       case $ac_val in
2423       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2424       esac
2425       $as_echo "$ac_var='\''$ac_val'\''"
2426     done | sort
2427     echo
2428
2429     if test -n "$ac_subst_files"; then
2430       $as_echo "## ------------------- ##
2431 ## File substitutions. ##
2432 ## ------------------- ##"
2433       echo
2434       for ac_var in $ac_subst_files
2435       do
2436         eval ac_val=\$$ac_var
2437         case $ac_val in
2438         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2439         esac
2440         $as_echo "$ac_var='\''$ac_val'\''"
2441       done | sort
2442       echo
2443     fi
2444
2445     if test -s confdefs.h; then
2446       $as_echo "## ----------- ##
2447 ## confdefs.h. ##
2448 ## ----------- ##"
2449       echo
2450       cat confdefs.h
2451       echo
2452     fi
2453     test "$ac_signal" != 0 &&
2454       $as_echo "$as_me: caught signal $ac_signal"
2455     $as_echo "$as_me: exit $exit_status"
2456   } >&5
2457   rm -f core *.core core.conftest.* &&
2458     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2459     exit $exit_status
2460 ' 0
2461 for ac_signal in 1 2 13 15; do
2462   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2463 done
2464 ac_signal=0
2465
2466 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2467 rm -f -r conftest* confdefs.h
2468
2469 $as_echo "/* confdefs.h */" > confdefs.h
2470
2471 # Predefined preprocessor variables.
2472
2473 cat >>confdefs.h <<_ACEOF
2474 #define PACKAGE_NAME "$PACKAGE_NAME"
2475 _ACEOF
2476
2477 cat >>confdefs.h <<_ACEOF
2478 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2479 _ACEOF
2480
2481 cat >>confdefs.h <<_ACEOF
2482 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2483 _ACEOF
2484
2485 cat >>confdefs.h <<_ACEOF
2486 #define PACKAGE_STRING "$PACKAGE_STRING"
2487 _ACEOF
2488
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2491 _ACEOF
2492
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_URL "$PACKAGE_URL"
2495 _ACEOF
2496
2497
2498 # Let the site file select an alternate cache file if it wants to.
2499 # Prefer an explicitly selected file to automatically selected ones.
2500 ac_site_file1=NONE
2501 ac_site_file2=NONE
2502 if test -n "$CONFIG_SITE"; then
2503   # We do not want a PATH search for config.site.
2504   case $CONFIG_SITE in #((
2505     -*)  ac_site_file1=./$CONFIG_SITE;;
2506     */*) ac_site_file1=$CONFIG_SITE;;
2507     *)   ac_site_file1=./$CONFIG_SITE;;
2508   esac
2509 elif test "x$prefix" != xNONE; then
2510   ac_site_file1=$prefix/share/config.site
2511   ac_site_file2=$prefix/etc/config.site
2512 else
2513   ac_site_file1=$ac_default_prefix/share/config.site
2514   ac_site_file2=$ac_default_prefix/etc/config.site
2515 fi
2516 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2517 do
2518   test "x$ac_site_file" = xNONE && continue
2519   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2520     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2521 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2522     sed 's/^/| /' "$ac_site_file" >&5
2523     . "$ac_site_file" \
2524       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526 as_fn_error $? "failed to load site script $ac_site_file
2527 See \`config.log' for more details" "$LINENO" 5 ; }
2528   fi
2529 done
2530
2531 if test -r "$cache_file"; then
2532   # Some versions of bash will fail to source /dev/null (special files
2533   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2534   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2535     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2536 $as_echo "$as_me: loading cache $cache_file" >&6;}
2537     case $cache_file in
2538       [\\/]* | ?:[\\/]* ) . "$cache_file";;
2539       *)                      . "./$cache_file";;
2540     esac
2541   fi
2542 else
2543   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2544 $as_echo "$as_me: creating cache $cache_file" >&6;}
2545   >$cache_file
2546 fi
2547
2548 gt_needs="$gt_needs "
2549 # Check that the precious variables saved in the cache have kept the same
2550 # value.
2551 ac_cache_corrupted=false
2552 for ac_var in $ac_precious_vars; do
2553   eval ac_old_set=\$ac_cv_env_${ac_var}_set
2554   eval ac_new_set=\$ac_env_${ac_var}_set
2555   eval ac_old_val=\$ac_cv_env_${ac_var}_value
2556   eval ac_new_val=\$ac_env_${ac_var}_value
2557   case $ac_old_set,$ac_new_set in
2558     set,)
2559       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2560 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2561       ac_cache_corrupted=: ;;
2562     ,set)
2563       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2564 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2565       ac_cache_corrupted=: ;;
2566     ,);;
2567     *)
2568       if test "x$ac_old_val" != "x$ac_new_val"; then
2569         # differences in whitespace do not lead to failure.
2570         ac_old_val_w=`echo x $ac_old_val`
2571         ac_new_val_w=`echo x $ac_new_val`
2572         if test "$ac_old_val_w" != "$ac_new_val_w"; then
2573           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2574 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2575           ac_cache_corrupted=:
2576         else
2577           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2578 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2579           eval $ac_var=\$ac_old_val
2580         fi
2581         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2582 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2583         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2584 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2585       fi;;
2586   esac
2587   # Pass precious variables to config.status.
2588   if test "$ac_new_set" = set; then
2589     case $ac_new_val in
2590     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2591     *) ac_arg=$ac_var=$ac_new_val ;;
2592     esac
2593     case " $ac_configure_args " in
2594       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2595       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2596     esac
2597   fi
2598 done
2599 if $ac_cache_corrupted; then
2600   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2602   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2603 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2604   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2605 fi
2606 ## -------------------- ##
2607 ## Main body of script. ##
2608 ## -------------------- ##
2609
2610 ac_ext=c
2611 ac_cpp='$CPP $CPPFLAGS'
2612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2615
2616
2617
2618
2619
2620 ac_aux_dir=
2621 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2622   if test -f "$ac_dir/install-sh"; then
2623     ac_aux_dir=$ac_dir
2624     ac_install_sh="$ac_aux_dir/install-sh -c"
2625     break
2626   elif test -f "$ac_dir/install.sh"; then
2627     ac_aux_dir=$ac_dir
2628     ac_install_sh="$ac_aux_dir/install.sh -c"
2629     break
2630   elif test -f "$ac_dir/shtool"; then
2631     ac_aux_dir=$ac_dir
2632     ac_install_sh="$ac_aux_dir/shtool install -c"
2633     break
2634   fi
2635 done
2636 if test -z "$ac_aux_dir"; then
2637   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2638 fi
2639
2640 # These three variables are undocumented and unsupported,
2641 # and are intended to be withdrawn in a future Autoconf release.
2642 # They can cause serious problems if a builder's source tree is in a directory
2643 # whose full name contains unusual characters.
2644 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2645 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2646 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2647
2648
2649 # Make sure we can run config.sub.
2650 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2651   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2652
2653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2654 $as_echo_n "checking build system type... " >&6; }
2655 if test "${ac_cv_build+set}" = set; then :
2656   $as_echo_n "(cached) " >&6
2657 else
2658   ac_build_alias=$build_alias
2659 test "x$ac_build_alias" = x &&
2660   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2661 test "x$ac_build_alias" = x &&
2662   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2663 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2664   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2665
2666 fi
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2668 $as_echo "$ac_cv_build" >&6; }
2669 case $ac_cv_build in
2670 *-*-*) ;;
2671 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
2672 esac
2673 build=$ac_cv_build
2674 ac_save_IFS=$IFS; IFS='-'
2675 set x $ac_cv_build
2676 shift
2677 build_cpu=$1
2678 build_vendor=$2
2679 shift; shift
2680 # Remember, the first character of IFS is used to create $*,
2681 # except with old shells:
2682 build_os=$*
2683 IFS=$ac_save_IFS
2684 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2685
2686
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2688 $as_echo_n "checking host system type... " >&6; }
2689 if test "${ac_cv_host+set}" = set; then :
2690   $as_echo_n "(cached) " >&6
2691 else
2692   if test "x$host_alias" = x; then
2693   ac_cv_host=$ac_cv_build
2694 else
2695   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2696     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2697 fi
2698
2699 fi
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2701 $as_echo "$ac_cv_host" >&6; }
2702 case $ac_cv_host in
2703 *-*-*) ;;
2704 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
2705 esac
2706 host=$ac_cv_host
2707 ac_save_IFS=$IFS; IFS='-'
2708 set x $ac_cv_host
2709 shift
2710 host_cpu=$1
2711 host_vendor=$2
2712 shift; shift
2713 # Remember, the first character of IFS is used to create $*,
2714 # except with old shells:
2715 host_os=$*
2716 IFS=$ac_save_IFS
2717 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2718
2719
2720
2721 ac_config_headers="$ac_config_headers elementary_config.h"
2722
2723
2724
2725
2726 am__api_version='1.11'
2727
2728 # Find a good install program.  We prefer a C program (faster),
2729 # so one script is as good as another.  But avoid the broken or
2730 # incompatible versions:
2731 # SysV /etc/install, /usr/sbin/install
2732 # SunOS /usr/etc/install
2733 # IRIX /sbin/install
2734 # AIX /bin/install
2735 # AmigaOS /C/install, which installs bootblocks on floppy discs
2736 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2737 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2738 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2739 # OS/2's system install, which has a completely different semantic
2740 # ./install, which can be erroneously created by make from ./install.sh.
2741 # Reject install programs that cannot install multiple files.
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2743 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2744 if test -z "$INSTALL"; then
2745 if test "${ac_cv_path_install+set}" = set; then :
2746   $as_echo_n "(cached) " >&6
2747 else
2748   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749 for as_dir in $PATH
2750 do
2751   IFS=$as_save_IFS
2752   test -z "$as_dir" && as_dir=.
2753     # Account for people who put trailing slashes in PATH elements.
2754 case $as_dir/ in #((
2755   ./ | .// | /[cC]/* | \
2756   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2757   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2758   /usr/ucb/* ) ;;
2759   *)
2760     # OSF1 and SCO ODT 3.0 have their own names for install.
2761     # Don't use installbsd from OSF since it installs stuff as root
2762     # by default.
2763     for ac_prog in ginstall scoinst install; do
2764       for ac_exec_ext in '' $ac_executable_extensions; do
2765         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2766           if test $ac_prog = install &&
2767             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2768             # AIX install.  It has an incompatible calling convention.
2769             :
2770           elif test $ac_prog = install &&
2771             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2772             # program-specific install script used by HP pwplus--don't use.
2773             :
2774           else
2775             rm -rf conftest.one conftest.two conftest.dir
2776             echo one > conftest.one
2777             echo two > conftest.two
2778             mkdir conftest.dir
2779             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2780               test -s conftest.one && test -s conftest.two &&
2781               test -s conftest.dir/conftest.one &&
2782               test -s conftest.dir/conftest.two
2783             then
2784               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2785               break 3
2786             fi
2787           fi
2788         fi
2789       done
2790     done
2791     ;;
2792 esac
2793
2794   done
2795 IFS=$as_save_IFS
2796
2797 rm -rf conftest.one conftest.two conftest.dir
2798
2799 fi
2800   if test "${ac_cv_path_install+set}" = set; then
2801     INSTALL=$ac_cv_path_install
2802   else
2803     # As a last resort, use the slow shell script.  Don't cache a
2804     # value for INSTALL within a source directory, because that will
2805     # break other packages using the cache if that directory is
2806     # removed, or if the value is a relative name.
2807     INSTALL=$ac_install_sh
2808   fi
2809 fi
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2811 $as_echo "$INSTALL" >&6; }
2812
2813 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2814 # It thinks the first close brace ends the variable substitution.
2815 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2816
2817 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2818
2819 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2820
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2822 $as_echo_n "checking whether build environment is sane... " >&6; }
2823 # Just in case
2824 sleep 1
2825 echo timestamp > conftest.file
2826 # Reject unsafe characters in $srcdir or the absolute working directory
2827 # name.  Accept space and tab only in the latter.
2828 am_lf='
2829 '
2830 case `pwd` in
2831   *[\\\"\#\$\&\'\`$am_lf]*)
2832     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2833 esac
2834 case $srcdir in
2835   *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2836     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2837 esac
2838
2839 # Do `set' in a subshell so we don't clobber the current shell's
2840 # arguments.  Must try -L first in case configure is actually a
2841 # symlink; some systems play weird games with the mod time of symlinks
2842 # (eg FreeBSD returns the mod time of the symlink's containing
2843 # directory).
2844 if (
2845    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2846    if test "$*" = "X"; then
2847       # -L didn't work.
2848       set X `ls -t "$srcdir/configure" conftest.file`
2849    fi
2850    rm -f conftest.file
2851    if test "$*" != "X $srcdir/configure conftest.file" \
2852       && test "$*" != "X conftest.file $srcdir/configure"; then
2853
2854       # If neither matched, then we have a broken ls.  This can happen
2855       # if, for instance, CONFIG_SHELL is bash and it inherits a
2856       # broken ls alias from the environment.  This has actually
2857       # happened.  Such a system could not be considered "sane".
2858       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2859 alias in your environment" "$LINENO" 5
2860    fi
2861
2862    test "$2" = conftest.file
2863    )
2864 then
2865    # Ok.
2866    :
2867 else
2868    as_fn_error $? "newly created file is older than distributed files!
2869 Check your system clock" "$LINENO" 5
2870 fi
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2872 $as_echo "yes" >&6; }
2873 test "$program_prefix" != NONE &&
2874   program_transform_name="s&^&$program_prefix&;$program_transform_name"
2875 # Use a double $ so make ignores it.
2876 test "$program_suffix" != NONE &&
2877   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2878 # Double any \ or $.
2879 # By default was `s,x,x', remove it if useless.
2880 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2881 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2882
2883 # expand $ac_aux_dir to an absolute path
2884 am_aux_dir=`cd $ac_aux_dir && pwd`
2885
2886 if test x"${MISSING+set}" != xset; then
2887   case $am_aux_dir in
2888   *\ * | *\     *)
2889     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2890   *)
2891     MISSING="\${SHELL} $am_aux_dir/missing" ;;
2892   esac
2893 fi
2894 # Use eval to expand $SHELL
2895 if eval "$MISSING --run true"; then
2896   am_missing_run="$MISSING --run "
2897 else
2898   am_missing_run=
2899   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2900 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2901 fi
2902
2903 if test x"${install_sh}" != xset; then
2904   case $am_aux_dir in
2905   *\ * | *\     *)
2906     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2907   *)
2908     install_sh="\${SHELL} $am_aux_dir/install-sh"
2909   esac
2910 fi
2911
2912 # Installed binaries are usually stripped using `strip' when the user
2913 # run `make install-strip'.  However `strip' might not be the right
2914 # tool to use in cross-compilation environments, therefore Automake
2915 # will honor the `STRIP' environment variable to overrule this program.
2916 if test "$cross_compiling" != no; then
2917   if test -n "$ac_tool_prefix"; then
2918   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2919 set dummy ${ac_tool_prefix}strip; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if test "${ac_cv_prog_STRIP+set}" = set; then :
2923   $as_echo_n "(cached) " >&6
2924 else
2925   if test -n "$STRIP"; then
2926   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2927 else
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2929 for as_dir in $PATH
2930 do
2931   IFS=$as_save_IFS
2932   test -z "$as_dir" && as_dir=.
2933     for ac_exec_ext in '' $ac_executable_extensions; do
2934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2937     break 2
2938   fi
2939 done
2940   done
2941 IFS=$as_save_IFS
2942
2943 fi
2944 fi
2945 STRIP=$ac_cv_prog_STRIP
2946 if test -n "$STRIP"; then
2947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2948 $as_echo "$STRIP" >&6; }
2949 else
2950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2952 fi
2953
2954
2955 fi
2956 if test -z "$ac_cv_prog_STRIP"; then
2957   ac_ct_STRIP=$STRIP
2958   # Extract the first word of "strip", so it can be a program name with args.
2959 set dummy strip; ac_word=$2
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2961 $as_echo_n "checking for $ac_word... " >&6; }
2962 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2963   $as_echo_n "(cached) " >&6
2964 else
2965   if test -n "$ac_ct_STRIP"; then
2966   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2967 else
2968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2969 for as_dir in $PATH
2970 do
2971   IFS=$as_save_IFS
2972   test -z "$as_dir" && as_dir=.
2973     for ac_exec_ext in '' $ac_executable_extensions; do
2974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2975     ac_cv_prog_ac_ct_STRIP="strip"
2976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977     break 2
2978   fi
2979 done
2980   done
2981 IFS=$as_save_IFS
2982
2983 fi
2984 fi
2985 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2986 if test -n "$ac_ct_STRIP"; then
2987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2988 $as_echo "$ac_ct_STRIP" >&6; }
2989 else
2990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2991 $as_echo "no" >&6; }
2992 fi
2993
2994   if test "x$ac_ct_STRIP" = x; then
2995     STRIP=":"
2996   else
2997     case $cross_compiling:$ac_tool_warned in
2998 yes:)
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3001 ac_tool_warned=yes ;;
3002 esac
3003     STRIP=$ac_ct_STRIP
3004   fi
3005 else
3006   STRIP="$ac_cv_prog_STRIP"
3007 fi
3008
3009 fi
3010 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3011
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3013 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3014 if test -z "$MKDIR_P"; then
3015   if test "${ac_cv_path_mkdir+set}" = set; then :
3016   $as_echo_n "(cached) " >&6
3017 else
3018   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3020 do
3021   IFS=$as_save_IFS
3022   test -z "$as_dir" && as_dir=.
3023     for ac_prog in mkdir gmkdir; do
3024          for ac_exec_ext in '' $ac_executable_extensions; do
3025            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3026            case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3027              'mkdir (GNU coreutils) '* | \
3028              'mkdir (coreutils) '* | \
3029              'mkdir (fileutils) '4.1*)
3030                ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3031                break 3;;
3032            esac
3033          done
3034        done
3035   done
3036 IFS=$as_save_IFS
3037
3038 fi
3039
3040   test -d ./--version && rmdir ./--version
3041   if test "${ac_cv_path_mkdir+set}" = set; then
3042     MKDIR_P="$ac_cv_path_mkdir -p"
3043   else
3044     # As a last resort, use the slow shell script.  Don't cache a
3045     # value for MKDIR_P within a source directory, because that will
3046     # break other packages using the cache if that directory is
3047     # removed, or if the value is a relative name.
3048     MKDIR_P="$ac_install_sh -d"
3049   fi
3050 fi
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3052 $as_echo "$MKDIR_P" >&6; }
3053
3054 mkdir_p="$MKDIR_P"
3055 case $mkdir_p in
3056   [\\/$]* | ?:[\\/]*) ;;
3057   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3058 esac
3059
3060 for ac_prog in gawk mawk nawk awk
3061 do
3062   # Extract the first word of "$ac_prog", so it can be a program name with args.
3063 set dummy $ac_prog; ac_word=$2
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3065 $as_echo_n "checking for $ac_word... " >&6; }
3066 if test "${ac_cv_prog_AWK+set}" = set; then :
3067   $as_echo_n "(cached) " >&6
3068 else
3069   if test -n "$AWK"; then
3070   ac_cv_prog_AWK="$AWK" # Let the user override the test.
3071 else
3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3073 for as_dir in $PATH
3074 do
3075   IFS=$as_save_IFS
3076   test -z "$as_dir" && as_dir=.
3077     for ac_exec_ext in '' $ac_executable_extensions; do
3078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3079     ac_cv_prog_AWK="$ac_prog"
3080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3081     break 2
3082   fi
3083 done
3084   done
3085 IFS=$as_save_IFS
3086
3087 fi
3088 fi
3089 AWK=$ac_cv_prog_AWK
3090 if test -n "$AWK"; then
3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3092 $as_echo "$AWK" >&6; }
3093 else
3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3095 $as_echo "no" >&6; }
3096 fi
3097
3098
3099   test -n "$AWK" && break
3100 done
3101
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3103 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3104 set x ${MAKE-make}
3105 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3106 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3107   $as_echo_n "(cached) " >&6
3108 else
3109   cat >conftest.make <<\_ACEOF
3110 SHELL = /bin/sh
3111 all:
3112         @echo '@@@%%%=$(MAKE)=@@@%%%'
3113 _ACEOF
3114 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3115 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3116   *@@@%%%=?*=@@@%%%*)
3117     eval ac_cv_prog_make_${ac_make}_set=yes;;
3118   *)
3119     eval ac_cv_prog_make_${ac_make}_set=no;;
3120 esac
3121 rm -f conftest.make
3122 fi
3123 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3125 $as_echo "yes" >&6; }
3126   SET_MAKE=
3127 else
3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130   SET_MAKE="MAKE=${MAKE-make}"
3131 fi
3132
3133 rm -rf .tst 2>/dev/null
3134 mkdir .tst 2>/dev/null
3135 if test -d .tst; then
3136   am__leading_dot=.
3137 else
3138   am__leading_dot=_
3139 fi
3140 rmdir .tst 2>/dev/null
3141
3142 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3143   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3144   # is not polluted with repeated "-I."
3145   am__isrc=' -I$(srcdir)'
3146   # test to see if srcdir already configured
3147   if test -f $srcdir/config.status; then
3148     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3149   fi
3150 fi
3151
3152 # test whether we have cygpath
3153 if test -z "$CYGPATH_W"; then
3154   if (cygpath --version) >/dev/null 2>/dev/null; then
3155     CYGPATH_W='cygpath -w'
3156   else
3157     CYGPATH_W=echo
3158   fi
3159 fi
3160
3161
3162 # Define the identity of the package.
3163  PACKAGE='elementary'
3164  VERSION='0.8.0.67547'
3165
3166
3167 cat >>confdefs.h <<_ACEOF
3168 #define PACKAGE "$PACKAGE"
3169 _ACEOF
3170
3171
3172 cat >>confdefs.h <<_ACEOF
3173 #define VERSION "$VERSION"
3174 _ACEOF
3175
3176 # Some tools Automake needs.
3177
3178 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3179
3180
3181 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3182
3183
3184 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3185
3186
3187 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3188
3189
3190 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3191
3192 # We need awk for the "check" target.  The system "awk" is bad on
3193 # some platforms.
3194 # Always define AMTAR for backward compatibility.
3195
3196 AMTAR=${AMTAR-"${am_missing_run}tar"}
3197
3198 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3199
3200
3201
3202
3203
3204 # Check whether --enable-silent-rules was given.
3205 if test "${enable_silent_rules+set}" = set; then :
3206   enableval=$enable_silent_rules;
3207 fi
3208
3209 case $enable_silent_rules in
3210 yes) AM_DEFAULT_VERBOSITY=0;;
3211 no)  AM_DEFAULT_VERBOSITY=1;;
3212 *)   AM_DEFAULT_VERBOSITY=0;;
3213 esac
3214 AM_BACKSLASH='\'
3215
3216
3217 DEPDIR="${am__leading_dot}deps"
3218
3219 ac_config_commands="$ac_config_commands depfiles"
3220
3221
3222 am_make=${MAKE-make}
3223 cat > confinc << 'END'
3224 am__doit:
3225         @echo this is the am__doit target
3226 .PHONY: am__doit
3227 END
3228 # If we don't find an include directive, just comment out the code.
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3230 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3231 am__include="#"
3232 am__quote=
3233 _am_result=none
3234 # First try GNU make style include.
3235 echo "include confinc" > confmf
3236 # Ignore all kinds of additional output from `make'.
3237 case `$am_make -s -f confmf 2> /dev/null` in #(
3238 *the\ am__doit\ target*)
3239   am__include=include
3240   am__quote=
3241   _am_result=GNU
3242   ;;
3243 esac
3244 # Now try BSD make style include.
3245 if test "$am__include" = "#"; then
3246    echo '.include "confinc"' > confmf
3247    case `$am_make -s -f confmf 2> /dev/null` in #(
3248    *the\ am__doit\ target*)
3249      am__include=.include
3250      am__quote="\""
3251      _am_result=BSD
3252      ;;
3253    esac
3254 fi
3255
3256
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3258 $as_echo "$_am_result" >&6; }
3259 rm -f confinc confmf
3260
3261 # Check whether --enable-dependency-tracking was given.
3262 if test "${enable_dependency_tracking+set}" = set; then :
3263   enableval=$enable_dependency_tracking;
3264 fi
3265
3266 if test "x$enable_dependency_tracking" != xno; then
3267   am_depcomp="$ac_aux_dir/depcomp"
3268   AMDEPBACKSLASH='\'
3269 fi
3270  if test "x$enable_dependency_tracking" != xno; then
3271   AMDEP_TRUE=
3272   AMDEP_FALSE='#'
3273 else
3274   AMDEP_TRUE='#'
3275   AMDEP_FALSE=
3276 fi
3277
3278
3279 ac_ext=c
3280 ac_cpp='$CPP $CPPFLAGS'
3281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284 if test -n "$ac_tool_prefix"; then
3285   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if test "${ac_cv_prog_CC+set}" = set; then :
3290   $as_echo_n "(cached) " >&6
3291 else
3292   if test -n "$CC"; then
3293   ac_cv_prog_CC="$CC" # Let the user override the test.
3294 else
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 for as_dir in $PATH
3297 do
3298   IFS=$as_save_IFS
3299   test -z "$as_dir" && as_dir=.
3300     for ac_exec_ext in '' $ac_executable_extensions; do
3301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3302     ac_cv_prog_CC="${ac_tool_prefix}gcc"
3303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304     break 2
3305   fi
3306 done
3307   done
3308 IFS=$as_save_IFS
3309
3310 fi
3311 fi
3312 CC=$ac_cv_prog_CC
3313 if test -n "$CC"; then
3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3316 else
3317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3319 fi
3320
3321
3322 fi
3323 if test -z "$ac_cv_prog_CC"; then
3324   ac_ct_CC=$CC
3325   # Extract the first word of "gcc", so it can be a program name with args.
3326 set dummy gcc; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3330   $as_echo_n "(cached) " >&6
3331 else
3332   if test -n "$ac_ct_CC"; then
3333   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3334 else
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 for as_dir in $PATH
3337 do
3338   IFS=$as_save_IFS
3339   test -z "$as_dir" && as_dir=.
3340     for ac_exec_ext in '' $ac_executable_extensions; do
3341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342     ac_cv_prog_ac_ct_CC="gcc"
3343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3344     break 2
3345   fi
3346 done
3347   done
3348 IFS=$as_save_IFS
3349
3350 fi
3351 fi
3352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3353 if test -n "$ac_ct_CC"; then
3354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3355 $as_echo "$ac_ct_CC" >&6; }
3356 else
3357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3359 fi
3360
3361   if test "x$ac_ct_CC" = x; then
3362     CC=""
3363   else
3364     case $cross_compiling:$ac_tool_warned in
3365 yes:)
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3368 ac_tool_warned=yes ;;
3369 esac
3370     CC=$ac_ct_CC
3371   fi
3372 else
3373   CC="$ac_cv_prog_CC"
3374 fi
3375
3376 if test -z "$CC"; then
3377           if test -n "$ac_tool_prefix"; then
3378     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3379 set dummy ${ac_tool_prefix}cc; ac_word=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if test "${ac_cv_prog_CC+set}" = set; then :
3383   $as_echo_n "(cached) " >&6
3384 else
3385   if test -n "$CC"; then
3386   ac_cv_prog_CC="$CC" # Let the user override the test.
3387 else
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389 for as_dir in $PATH
3390 do
3391   IFS=$as_save_IFS
3392   test -z "$as_dir" && as_dir=.
3393     for ac_exec_ext in '' $ac_executable_extensions; do
3394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3395     ac_cv_prog_CC="${ac_tool_prefix}cc"
3396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397     break 2
3398   fi
3399 done
3400   done
3401 IFS=$as_save_IFS
3402
3403 fi
3404 fi
3405 CC=$ac_cv_prog_CC
3406 if test -n "$CC"; then
3407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408 $as_echo "$CC" >&6; }
3409 else
3410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3412 fi
3413
3414
3415   fi
3416 fi
3417 if test -z "$CC"; then
3418   # Extract the first word of "cc", so it can be a program name with args.
3419 set dummy cc; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if test "${ac_cv_prog_CC+set}" = set; then :
3423   $as_echo_n "(cached) " >&6
3424 else
3425   if test -n "$CC"; then
3426   ac_cv_prog_CC="$CC" # Let the user override the test.
3427 else
3428   ac_prog_rejected=no
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3430 for as_dir in $PATH
3431 do
3432   IFS=$as_save_IFS
3433   test -z "$as_dir" && as_dir=.
3434     for ac_exec_ext in '' $ac_executable_extensions; do
3435   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3436     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3437        ac_prog_rejected=yes
3438        continue
3439      fi
3440     ac_cv_prog_CC="cc"
3441     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3442     break 2
3443   fi
3444 done
3445   done
3446 IFS=$as_save_IFS
3447
3448 if test $ac_prog_rejected = yes; then
3449   # We found a bogon in the path, so make sure we never use it.
3450   set dummy $ac_cv_prog_CC
3451   shift
3452   if test $# != 0; then
3453     # We chose a different compiler from the bogus one.
3454     # However, it has the same basename, so the bogon will be chosen
3455     # first if we set CC to just the basename; use the full file name.
3456     shift
3457     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3458   fi
3459 fi
3460 fi
3461 fi
3462 CC=$ac_cv_prog_CC
3463 if test -n "$CC"; then
3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3466 else
3467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3469 fi
3470
3471
3472 fi
3473 if test -z "$CC"; then
3474   if test -n "$ac_tool_prefix"; then
3475   for ac_prog in cl.exe
3476   do
3477     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if test "${ac_cv_prog_CC+set}" = set; then :
3482   $as_echo_n "(cached) " >&6
3483 else
3484   if test -n "$CC"; then
3485   ac_cv_prog_CC="$CC" # Let the user override the test.
3486 else
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3488 for as_dir in $PATH
3489 do
3490   IFS=$as_save_IFS
3491   test -z "$as_dir" && as_dir=.
3492     for ac_exec_ext in '' $ac_executable_extensions; do
3493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3494     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496     break 2
3497   fi
3498 done
3499   done
3500 IFS=$as_save_IFS
3501
3502 fi
3503 fi
3504 CC=$ac_cv_prog_CC
3505 if test -n "$CC"; then
3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3507 $as_echo "$CC" >&6; }
3508 else
3509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3511 fi
3512
3513
3514     test -n "$CC" && break
3515   done
3516 fi
3517 if test -z "$CC"; then
3518   ac_ct_CC=$CC
3519   for ac_prog in cl.exe
3520 do
3521   # Extract the first word of "$ac_prog", so it can be a program name with args.
3522 set dummy $ac_prog; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3526   $as_echo_n "(cached) " >&6
3527 else
3528   if test -n "$ac_ct_CC"; then
3529   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3530 else
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 for as_dir in $PATH
3533 do
3534   IFS=$as_save_IFS
3535   test -z "$as_dir" && as_dir=.
3536     for ac_exec_ext in '' $ac_executable_extensions; do
3537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3538     ac_cv_prog_ac_ct_CC="$ac_prog"
3539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3540     break 2
3541   fi
3542 done
3543   done
3544 IFS=$as_save_IFS
3545
3546 fi
3547 fi
3548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3549 if test -n "$ac_ct_CC"; then
3550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3551 $as_echo "$ac_ct_CC" >&6; }
3552 else
3553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 fi
3556
3557
3558   test -n "$ac_ct_CC" && break
3559 done
3560
3561   if test "x$ac_ct_CC" = x; then
3562     CC=""
3563   else
3564     case $cross_compiling:$ac_tool_warned in
3565 yes:)
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3568 ac_tool_warned=yes ;;
3569 esac
3570     CC=$ac_ct_CC
3571   fi
3572 fi
3573
3574 fi
3575
3576
3577 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error $? "no acceptable C compiler found in \$PATH
3580 See \`config.log' for more details" "$LINENO" 5 ; }
3581
3582 # Provide some information about the compiler.
3583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3584 set X $ac_compile
3585 ac_compiler=$2
3586 for ac_option in --version -v -V -qversion; do
3587   { { ac_try="$ac_compiler $ac_option >&5"
3588 case "(($ac_try" in
3589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590   *) ac_try_echo=$ac_try;;
3591 esac
3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 $as_echo "$ac_try_echo"; } >&5
3594   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3595   ac_status=$?
3596   if test -s conftest.err; then
3597     sed '10a\
3598 ... rest of stderr output deleted ...
3599          10q' conftest.err >conftest.er1
3600     cat conftest.er1 >&5
3601   fi
3602   rm -f conftest.er1 conftest.err
3603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604   test $ac_status = 0; }
3605 done
3606
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h.  */
3609
3610 int
3611 main ()
3612 {
3613
3614   ;
3615   return 0;
3616 }
3617 _ACEOF
3618 ac_clean_files_save=$ac_clean_files
3619 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3620 # Try to create an executable without -o first, disregard a.out.
3621 # It will help us diagnose broken compilers, and finding out an intuition
3622 # of exeext.
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3624 $as_echo_n "checking whether the C compiler works... " >&6; }
3625 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3626
3627 # The possible output files:
3628 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3629
3630 ac_rmfiles=
3631 for ac_file in $ac_files
3632 do
3633   case $ac_file in
3634     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3635     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3636   esac
3637 done
3638 rm -f $ac_rmfiles
3639
3640 if { { ac_try="$ac_link_default"
3641 case "(($ac_try" in
3642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643   *) ac_try_echo=$ac_try;;
3644 esac
3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 $as_echo "$ac_try_echo"; } >&5
3647   (eval "$ac_link_default") 2>&5
3648   ac_status=$?
3649   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650   test $ac_status = 0; }; then :
3651   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3652 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3653 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
3654 # so that the user can short-circuit this test for compilers unknown to
3655 # Autoconf.
3656 for ac_file in $ac_files ''
3657 do
3658   test -f "$ac_file" || continue
3659   case $ac_file in
3660     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3661         ;;
3662     [ab].out )
3663         # We found the default executable, but exeext='' is most
3664         # certainly right.
3665         break;;
3666     *.* )
3667         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3668         then :; else
3669            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3670         fi
3671         # We set ac_cv_exeext here because the later test for it is not
3672         # safe: cross compilers may not add the suffix if given an `-o'
3673         # argument, so we may need to know it at that point already.
3674         # Even if this section looks crufty: it has the advantage of
3675         # actually working.
3676         break;;
3677     * )
3678         break;;
3679   esac
3680 done
3681 test "$ac_cv_exeext" = no && ac_cv_exeext=
3682
3683 else
3684   ac_file=''
3685 fi
3686 if test -z "$ac_file"; then :
3687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3689 $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3691
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error 77 "C compiler cannot create executables
3695 See \`config.log' for more details" "$LINENO" 5 ; }
3696 else
3697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698 $as_echo "yes" >&6; }
3699 fi
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3701 $as_echo_n "checking for C compiler default output file name... " >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3703 $as_echo "$ac_file" >&6; }
3704 ac_exeext=$ac_cv_exeext
3705
3706 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3707 ac_clean_files=$ac_clean_files_save
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3709 $as_echo_n "checking for suffix of executables... " >&6; }
3710 if { { ac_try="$ac_link"
3711 case "(($ac_try" in
3712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713   *) ac_try_echo=$ac_try;;
3714 esac
3715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3716 $as_echo "$ac_try_echo"; } >&5
3717   (eval "$ac_link") 2>&5
3718   ac_status=$?
3719   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720   test $ac_status = 0; }; then :
3721   # If both `conftest.exe' and `conftest' are `present' (well, observable)
3722 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3723 # work properly (i.e., refer to `conftest.exe'), while it won't with
3724 # `rm'.
3725 for ac_file in conftest.exe conftest conftest.*; do
3726   test -f "$ac_file" || continue
3727   case $ac_file in
3728     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3729     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3730           break;;
3731     * ) break;;
3732   esac
3733 done
3734 else
3735   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3738 See \`config.log' for more details" "$LINENO" 5 ; }
3739 fi
3740 rm -f conftest conftest$ac_cv_exeext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3742 $as_echo "$ac_cv_exeext" >&6; }
3743
3744 rm -f conftest.$ac_ext
3745 EXEEXT=$ac_cv_exeext
3746 ac_exeext=$EXEEXT
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h.  */
3749 #include <stdio.h>
3750 int
3751 main ()
3752 {
3753 FILE *f = fopen ("conftest.out", "w");
3754  return ferror (f) || fclose (f) != 0;
3755
3756   ;
3757   return 0;
3758 }
3759 _ACEOF
3760 ac_clean_files="$ac_clean_files conftest.out"
3761 # Check that the compiler produces executables we can run.  If not, either
3762 # the compiler is broken, or we cross compile.
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3764 $as_echo_n "checking whether we are cross compiling... " >&6; }
3765 if test "$cross_compiling" != yes; then
3766   { { ac_try="$ac_link"
3767 case "(($ac_try" in
3768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769   *) ac_try_echo=$ac_try;;
3770 esac
3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772 $as_echo "$ac_try_echo"; } >&5
3773   (eval "$ac_link") 2>&5
3774   ac_status=$?
3775   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776   test $ac_status = 0; }
3777   if { ac_try='./conftest$ac_cv_exeext'
3778   { { case "(($ac_try" in
3779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780   *) ac_try_echo=$ac_try;;
3781 esac
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784   (eval "$ac_try") 2>&5
3785   ac_status=$?
3786   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787   test $ac_status = 0; }; }; then
3788     cross_compiling=no
3789   else
3790     if test "$cross_compiling" = maybe; then
3791         cross_compiling=yes
3792     else
3793         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 as_fn_error $? "cannot run C compiled programs.
3796 If you meant to cross compile, use \`--host'.
3797 See \`config.log' for more details" "$LINENO" 5 ; }
3798     fi
3799   fi
3800 fi
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3802 $as_echo "$cross_compiling" >&6; }
3803
3804 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3805 ac_clean_files=$ac_clean_files_save
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3807 $as_echo_n "checking for suffix of object files... " >&6; }
3808 if test "${ac_cv_objext+set}" = set; then :
3809   $as_echo_n "(cached) " >&6
3810 else
3811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h.  */
3813
3814 int
3815 main ()
3816 {
3817
3818   ;
3819   return 0;
3820 }
3821 _ACEOF
3822 rm -f conftest.o conftest.obj
3823 if { { ac_try="$ac_compile"
3824 case "(($ac_try" in
3825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826   *) ac_try_echo=$ac_try;;
3827 esac
3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829 $as_echo "$ac_try_echo"; } >&5
3830   (eval "$ac_compile") 2>&5
3831   ac_status=$?
3832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833   test $ac_status = 0; }; then :
3834   for ac_file in conftest.o conftest.obj conftest.*; do
3835   test -f "$ac_file" || continue;
3836   case $ac_file in
3837     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3838     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3839        break;;
3840   esac
3841 done
3842 else
3843   $as_echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.$ac_ext >&5
3845
3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error $? "cannot compute suffix of object files: cannot compile
3849 See \`config.log' for more details" "$LINENO" 5 ; }
3850 fi
3851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3852 fi
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3854 $as_echo "$ac_cv_objext" >&6; }
3855 OBJEXT=$ac_cv_objext
3856 ac_objext=$OBJEXT
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3858 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3859 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3860   $as_echo_n "(cached) " >&6
3861 else
3862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h.  */
3864
3865 int
3866 main ()
3867 {
3868 #ifndef __GNUC__
3869        choke me
3870 #endif
3871
3872   ;
3873   return 0;
3874 }
3875 _ACEOF
3876 if ac_fn_c_try_compile "$LINENO"; then :
3877   ac_compiler_gnu=yes
3878 else
3879   ac_compiler_gnu=no
3880 fi
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3883
3884 fi
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3886 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3887 if test $ac_compiler_gnu = yes; then
3888   GCC=yes
3889 else
3890   GCC=
3891 fi
3892 ac_test_CFLAGS=${CFLAGS+set}
3893 ac_save_CFLAGS=$CFLAGS
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3895 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3896 if test "${ac_cv_prog_cc_g+set}" = set; then :
3897   $as_echo_n "(cached) " >&6
3898 else
3899   ac_save_c_werror_flag=$ac_c_werror_flag
3900    ac_c_werror_flag=yes
3901    ac_cv_prog_cc_g=no
3902    CFLAGS="-g"
3903    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h.  */
3905
3906 int
3907 main ()
3908 {
3909
3910   ;
3911   return 0;
3912 }
3913 _ACEOF
3914 if ac_fn_c_try_compile "$LINENO"; then :
3915   ac_cv_prog_cc_g=yes
3916 else
3917   CFLAGS=""
3918       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h.  */
3920
3921 int
3922 main ()
3923 {
3924
3925   ;
3926   return 0;
3927 }
3928 _ACEOF
3929 if ac_fn_c_try_compile "$LINENO"; then :
3930
3931 else
3932   ac_c_werror_flag=$ac_save_c_werror_flag
3933          CFLAGS="-g"
3934          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h.  */
3936
3937 int
3938 main ()
3939 {
3940
3941   ;
3942   return 0;
3943 }
3944 _ACEOF
3945 if ac_fn_c_try_compile "$LINENO"; then :
3946   ac_cv_prog_cc_g=yes
3947 fi
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 fi
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 fi
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953    ac_c_werror_flag=$ac_save_c_werror_flag
3954 fi
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3956 $as_echo "$ac_cv_prog_cc_g" >&6; }
3957 if test "$ac_test_CFLAGS" = set; then
3958   CFLAGS=$ac_save_CFLAGS
3959 elif test $ac_cv_prog_cc_g = yes; then
3960   if test "$GCC" = yes; then
3961     CFLAGS="-g -O2"
3962   else
3963     CFLAGS="-g"
3964   fi
3965 else
3966   if test "$GCC" = yes; then
3967     CFLAGS="-O2"
3968   else
3969     CFLAGS=
3970   fi
3971 fi
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3973 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3974 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3975   $as_echo_n "(cached) " >&6
3976 else
3977   ac_cv_prog_cc_c89=no
3978 ac_save_CC=$CC
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h.  */
3981 #include <stdarg.h>
3982 #include <stdio.h>
3983 #include <sys/types.h>
3984 #include <sys/stat.h>
3985 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3986 struct buf { int x; };
3987 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3988 static char *e (p, i)
3989      char **p;
3990      int i;
3991 {
3992   return p[i];
3993 }
3994 static char *f (char * (*g) (char **, int), char **p, ...)
3995 {
3996   char *s;
3997   va_list v;
3998   va_start (v,p);
3999   s = g (p, va_arg (v,int));
4000   va_end (v);
4001   return s;
4002 }
4003
4004 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4005    function prototypes and stuff, but not '\xHH' hex character constants.
4006    These don't provoke an error unfortunately, instead are silently treated
4007    as 'x'.  The following induces an error, until -std is added to get
4008    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4009    array size at least.  It's necessary to write '\x00'==0 to get something
4010    that's true only with -std.  */
4011 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4012
4013 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4014    inside strings and character constants.  */
4015 #define FOO(x) 'x'
4016 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4017
4018 int test (int i, double x);
4019 struct s1 {int (*f) (int a);};
4020 struct s2 {int (*f) (double a);};
4021 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4022 int argc;
4023 char **argv;
4024 int
4025 main ()
4026 {
4027 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4028   ;
4029   return 0;
4030 }
4031 _ACEOF
4032 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4033         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4034 do
4035   CC="$ac_save_CC $ac_arg"
4036   if ac_fn_c_try_compile "$LINENO"; then :
4037   ac_cv_prog_cc_c89=$ac_arg
4038 fi
4039 rm -f core conftest.err conftest.$ac_objext
4040   test "x$ac_cv_prog_cc_c89" != "xno" && break
4041 done
4042 rm -f conftest.$ac_ext
4043 CC=$ac_save_CC
4044
4045 fi
4046 # AC_CACHE_VAL
4047 case "x$ac_cv_prog_cc_c89" in
4048   x)
4049     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4050 $as_echo "none needed" >&6; } ;;
4051   xno)
4052     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4053 $as_echo "unsupported" >&6; } ;;
4054   *)
4055     CC="$CC $ac_cv_prog_cc_c89"
4056     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4057 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4058 esac
4059 if test "x$ac_cv_prog_cc_c89" != xno; then :
4060
4061 fi
4062
4063 ac_ext=c
4064 ac_cpp='$CPP $CPPFLAGS'
4065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4068
4069 depcc="$CC"   am_compiler_list=
4070
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4072 $as_echo_n "checking dependency style of $depcc... " >&6; }
4073 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4074   $as_echo_n "(cached) " >&6
4075 else
4076   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4077   # We make a subdir and do the tests there.  Otherwise we can end up
4078   # making bogus files that we don't know about and never remove.  For
4079   # instance it was reported that on HP-UX the gcc test will end up
4080   # making a dummy file named `D' -- because `-MD' means `put the output
4081   # in D'.
4082   mkdir conftest.dir
4083   # Copy depcomp to subdir because otherwise we won't find it if we're
4084   # using a relative directory.
4085   cp "$am_depcomp" conftest.dir
4086   cd conftest.dir
4087   # We will build objects and dependencies in a subdirectory because
4088   # it helps to detect inapplicable dependency modes.  For instance
4089   # both Tru64's cc and ICC support -MD to output dependencies as a
4090   # side effect of compilation, but ICC will put the dependencies in
4091   # the current directory while Tru64 will put them in the object
4092   # directory.
4093   mkdir sub
4094
4095   am_cv_CC_dependencies_compiler_type=none
4096   if test "$am_compiler_list" = ""; then
4097      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4098   fi
4099   am__universal=false
4100   case " $depcc " in #(
4101      *\ -arch\ *\ -arch\ *) am__universal=true ;;
4102      esac
4103
4104   for depmode in $am_compiler_list; do
4105     # Setup a source with many dependencies, because some compilers
4106     # like to wrap large dependency lists on column 80 (with \), and
4107     # we should not choose a depcomp mode which is confused by this.
4108     #
4109     # We need to recreate these files for each test, as the compiler may
4110     # overwrite some of them when testing with obscure command lines.
4111     # This happens at least with the AIX C compiler.
4112     : > sub/conftest.c
4113     for i in 1 2 3 4 5 6; do
4114       echo '#include "conftst'$i'.h"' >> sub/conftest.c
4115       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4116       # Solaris 8's {/usr,}/bin/sh.
4117       touch sub/conftst$i.h
4118     done
4119     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4120
4121     # We check with `-c' and `-o' for the sake of the "dashmstdout"
4122     # mode.  It turns out that the SunPro C++ compiler does not properly
4123     # handle `-M -o', and we need to detect this.  Also, some Intel
4124     # versions had trouble with output in subdirs
4125     am__obj=sub/conftest.${OBJEXT-o}
4126     am__minus_obj="-o $am__obj"
4127     case $depmode in
4128     gcc)
4129       # This depmode causes a compiler race in universal mode.
4130       test "$am__universal" = false || continue
4131       ;;
4132     nosideeffect)
4133       # after this tag, mechanisms are not by side-effect, so they'll
4134       # only be used when explicitly requested
4135       if test "x$enable_dependency_tracking" = xyes; then
4136         continue
4137       else
4138         break
4139       fi
4140       ;;
4141     msvisualcpp | msvcmsys)
4142       # This compiler won't grok `-c -o', but also, the minuso test has
4143       # not run yet.  These depmodes are late enough in the game, and
4144       # so weak that their functioning should not be impacted.
4145       am__obj=conftest.${OBJEXT-o}
4146       am__minus_obj=
4147       ;;
4148     none) break ;;
4149     esac
4150     if depmode=$depmode \
4151        source=sub/conftest.c object=$am__obj \
4152        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4153        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4154          >/dev/null 2>conftest.err &&
4155        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4156        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4157        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4158        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4159       # icc doesn't choke on unknown options, it will just issue warnings
4160       # or remarks (even with -Werror).  So we grep stderr for any message
4161       # that says an option was ignored or not supported.
4162       # When given -MP, icc 7.0 and 7.1 complain thusly:
4163       #   icc: Command line warning: ignoring option '-M'; no argument required
4164       # The diagnosis changed in icc 8.0:
4165       #   icc: Command line remark: option '-MP' not supported
4166       if (grep 'ignoring option' conftest.err ||
4167           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4168         am_cv_CC_dependencies_compiler_type=$depmode
4169         break
4170       fi
4171     fi
4172   done
4173
4174   cd ..
4175   rm -rf conftest.dir
4176 else
4177   am_cv_CC_dependencies_compiler_type=none
4178 fi
4179
4180 fi
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4182 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4183 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4184
4185  if
4186   test "x$enable_dependency_tracking" != xno \
4187   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4188   am__fastdepCC_TRUE=
4189   am__fastdepCC_FALSE='#'
4190 else
4191   am__fastdepCC_TRUE='#'
4192   am__fastdepCC_FALSE=
4193 fi
4194
4195
4196
4197 ac_ext=c
4198 ac_cpp='$CPP $CPPFLAGS'
4199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4203 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4204 # On Suns, sometimes $CPP names a directory.
4205 if test -n "$CPP" && test -d "$CPP"; then
4206   CPP=
4207 fi
4208 if test -z "$CPP"; then
4209   if test "${ac_cv_prog_CPP+set}" = set; then :
4210   $as_echo_n "(cached) " >&6
4211 else
4212       # Double quotes because CPP needs to be expanded
4213     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4214     do
4215       ac_preproc_ok=false
4216 for ac_c_preproc_warn_flag in '' yes
4217 do
4218   # Use a header file that comes with gcc, so configuring glibc
4219   # with a fresh cross-compiler works.
4220   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4221   # <limits.h> exists even on freestanding compilers.
4222   # On the NeXT, cc -E runs the code through the compiler's parser,
4223   # not just through cpp. "Syntax error" is here to catch this case.
4224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4225 /* end confdefs.h.  */
4226 #ifdef __STDC__
4227 # include <limits.h>
4228 #else
4229 # include <assert.h>
4230 #endif
4231                      Syntax error
4232 _ACEOF
4233 if ac_fn_c_try_cpp "$LINENO"; then :
4234
4235 else
4236   # Broken: fails on valid input.
4237 continue
4238 fi
4239 rm -f conftest.err conftest.i conftest.$ac_ext
4240
4241   # OK, works on sane cases.  Now check whether nonexistent headers
4242   # can be detected and how.
4243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4244 /* end confdefs.h.  */
4245 #include <ac_nonexistent.h>
4246 _ACEOF
4247 if ac_fn_c_try_cpp "$LINENO"; then :
4248   # Broken: success on invalid input.
4249 continue
4250 else
4251   # Passes both tests.
4252 ac_preproc_ok=:
4253 break
4254 fi
4255 rm -f conftest.err conftest.i conftest.$ac_ext
4256
4257 done
4258 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4259 rm -f conftest.i conftest.err conftest.$ac_ext
4260 if $ac_preproc_ok; then :
4261   break
4262 fi
4263
4264     done
4265     ac_cv_prog_CPP=$CPP
4266
4267 fi
4268   CPP=$ac_cv_prog_CPP
4269 else
4270   ac_cv_prog_CPP=$CPP
4271 fi
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4273 $as_echo "$CPP" >&6; }
4274 ac_preproc_ok=false
4275 for ac_c_preproc_warn_flag in '' yes
4276 do
4277   # Use a header file that comes with gcc, so configuring glibc
4278   # with a fresh cross-compiler works.
4279   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4280   # <limits.h> exists even on freestanding compilers.
4281   # On the NeXT, cc -E runs the code through the compiler's parser,
4282   # not just through cpp. "Syntax error" is here to catch this case.
4283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284 /* end confdefs.h.  */
4285 #ifdef __STDC__
4286 # include <limits.h>
4287 #else
4288 # include <assert.h>
4289 #endif
4290                      Syntax error
4291 _ACEOF
4292 if ac_fn_c_try_cpp "$LINENO"; then :
4293
4294 else
4295   # Broken: fails on valid input.
4296 continue
4297 fi
4298 rm -f conftest.err conftest.i conftest.$ac_ext
4299
4300   # OK, works on sane cases.  Now check whether nonexistent headers
4301   # can be detected and how.
4302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4303 /* end confdefs.h.  */
4304 #include <ac_nonexistent.h>
4305 _ACEOF
4306 if ac_fn_c_try_cpp "$LINENO"; then :
4307   # Broken: success on invalid input.
4308 continue
4309 else
4310   # Passes both tests.
4311 ac_preproc_ok=:
4312 break
4313 fi
4314 rm -f conftest.err conftest.i conftest.$ac_ext
4315
4316 done
4317 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4318 rm -f conftest.i conftest.err conftest.$ac_ext
4319 if $ac_preproc_ok; then :
4320
4321 else
4322   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4325 See \`config.log' for more details" "$LINENO" 5 ; }
4326 fi
4327
4328 ac_ext=c
4329 ac_cpp='$CPP $CPPFLAGS'
4330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4333
4334
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4336 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4337 if test "${ac_cv_path_GREP+set}" = set; then :
4338   $as_echo_n "(cached) " >&6
4339 else
4340   if test -z "$GREP"; then
4341   ac_path_GREP_found=false
4342   # Loop through the user's path and test for each of PROGNAME-LIST
4343   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4345 do
4346   IFS=$as_save_IFS
4347   test -z "$as_dir" && as_dir=.
4348     for ac_prog in grep ggrep; do
4349     for ac_exec_ext in '' $ac_executable_extensions; do
4350       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4351       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4352 # Check for GNU ac_path_GREP and select it if it is found.
4353   # Check for GNU $ac_path_GREP
4354 case `"$ac_path_GREP" --version 2>&1` in
4355 *GNU*)
4356   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4357 *)
4358   ac_count=0
4359   $as_echo_n 0123456789 >"conftest.in"
4360   while :
4361   do
4362     cat "conftest.in" "conftest.in" >"conftest.tmp"
4363     mv "conftest.tmp" "conftest.in"
4364     cp "conftest.in" "conftest.nl"
4365     $as_echo 'GREP' >> "conftest.nl"
4366     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4367     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4368     as_fn_arith $ac_count + 1 && ac_count=$as_val
4369     if test $ac_count -gt ${ac_path_GREP_max-0}; then
4370       # Best one so far, save it but keep looking for a better one
4371       ac_cv_path_GREP="$ac_path_GREP"
4372       ac_path_GREP_max=$ac_count
4373     fi
4374     # 10*(2^10) chars as input seems more than enough
4375     test $ac_count -gt 10 && break
4376   done
4377   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4378 esac
4379
4380       $ac_path_GREP_found && break 3
4381     done
4382   done
4383   done
4384 IFS=$as_save_IFS
4385   if test -z "$ac_cv_path_GREP"; then
4386     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4387   fi
4388 else
4389   ac_cv_path_GREP=$GREP
4390 fi
4391
4392 fi
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4394 $as_echo "$ac_cv_path_GREP" >&6; }
4395  GREP="$ac_cv_path_GREP"
4396
4397
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4399 $as_echo_n "checking for egrep... " >&6; }
4400 if test "${ac_cv_path_EGREP+set}" = set; then :
4401   $as_echo_n "(cached) " >&6
4402 else
4403   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4404    then ac_cv_path_EGREP="$GREP -E"
4405    else
4406      if test -z "$EGREP"; then
4407   ac_path_EGREP_found=false
4408   # Loop through the user's path and test for each of PROGNAME-LIST
4409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4411 do
4412   IFS=$as_save_IFS
4413   test -z "$as_dir" && as_dir=.
4414     for ac_prog in egrep; do
4415     for ac_exec_ext in '' $ac_executable_extensions; do
4416       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4417       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4418 # Check for GNU ac_path_EGREP and select it if it is found.
4419   # Check for GNU $ac_path_EGREP
4420 case `"$ac_path_EGREP" --version 2>&1` in
4421 *GNU*)
4422   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4423 *)
4424   ac_count=0
4425   $as_echo_n 0123456789 >"conftest.in"
4426   while :
4427   do
4428     cat "conftest.in" "conftest.in" >"conftest.tmp"
4429     mv "conftest.tmp" "conftest.in"
4430     cp "conftest.in" "conftest.nl"
4431     $as_echo 'EGREP' >> "conftest.nl"
4432     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4433     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4434     as_fn_arith $ac_count + 1 && ac_count=$as_val
4435     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4436       # Best one so far, save it but keep looking for a better one
4437       ac_cv_path_EGREP="$ac_path_EGREP"
4438       ac_path_EGREP_max=$ac_count
4439     fi
4440     # 10*(2^10) chars as input seems more than enough
4441     test $ac_count -gt 10 && break
4442   done
4443   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4444 esac
4445
4446       $ac_path_EGREP_found && break 3
4447     done
4448   done
4449   done
4450 IFS=$as_save_IFS
4451   if test -z "$ac_cv_path_EGREP"; then
4452     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4453   fi
4454 else
4455   ac_cv_path_EGREP=$EGREP
4456 fi
4457
4458    fi
4459 fi
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4461 $as_echo "$ac_cv_path_EGREP" >&6; }
4462  EGREP="$ac_cv_path_EGREP"
4463
4464
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4466 $as_echo_n "checking for ANSI C header files... " >&6; }
4467 if test "${ac_cv_header_stdc+set}" = set; then :
4468   $as_echo_n "(cached) " >&6
4469 else
4470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h.  */
4472 #include <stdlib.h>
4473 #include <stdarg.h>
4474 #include <string.h>
4475 #include <float.h>
4476
4477 int
4478 main ()
4479 {
4480
4481   ;
4482   return 0;
4483 }
4484 _ACEOF
4485 if ac_fn_c_try_compile "$LINENO"; then :
4486   ac_cv_header_stdc=yes
4487 else
4488   ac_cv_header_stdc=no
4489 fi
4490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4491
4492 if test $ac_cv_header_stdc = yes; then
4493   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h.  */
4496 #include <string.h>
4497
4498 _ACEOF
4499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4500   $EGREP "memchr" >/dev/null 2>&1; then :
4501
4502 else
4503   ac_cv_header_stdc=no
4504 fi
4505 rm -f conftest*
4506
4507 fi
4508
4509 if test $ac_cv_header_stdc = yes; then
4510   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h.  */
4513 #include <stdlib.h>
4514
4515 _ACEOF
4516 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4517   $EGREP "free" >/dev/null 2>&1; then :
4518
4519 else
4520   ac_cv_header_stdc=no
4521 fi
4522 rm -f conftest*
4523
4524 fi
4525
4526 if test $ac_cv_header_stdc = yes; then
4527   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4528   if test "$cross_compiling" = yes; then :
4529   :
4530 else
4531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h.  */
4533 #include <ctype.h>
4534 #include <stdlib.h>
4535 #if ((' ' & 0x0FF) == 0x020)
4536 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4537 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4538 #else
4539 # define ISLOWER(c) \
4540                    (('a' <= (c) && (c) <= 'i') \
4541                      || ('j' <= (c) && (c) <= 'r') \
4542                      || ('s' <= (c) && (c) <= 'z'))
4543 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4544 #endif
4545
4546 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4547 int
4548 main ()
4549 {
4550   int i;
4551   for (i = 0; i < 256; i++)
4552     if (XOR (islower (i), ISLOWER (i))
4553         || toupper (i) != TOUPPER (i))
4554       return 2;
4555   return 0;
4556 }
4557 _ACEOF
4558 if ac_fn_c_try_run "$LINENO"; then :
4559
4560 else
4561   ac_cv_header_stdc=no
4562 fi
4563 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4564   conftest.$ac_objext conftest.beam conftest.$ac_ext
4565 fi
4566
4567 fi
4568 fi
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4570 $as_echo "$ac_cv_header_stdc" >&6; }
4571 if test $ac_cv_header_stdc = yes; then
4572
4573 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4574
4575 fi
4576
4577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4578 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4579                   inttypes.h stdint.h unistd.h
4580 do :
4581   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4583 "
4584 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4585   cat >>confdefs.h <<_ACEOF
4586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4587 _ACEOF
4588
4589 fi
4590
4591 done
4592
4593
4594
4595   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4596 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4597   MINIX=yes
4598 else
4599   MINIX=
4600 fi
4601
4602
4603   if test "$MINIX" = yes; then
4604
4605 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4606
4607
4608 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4609
4610
4611 $as_echo "#define _MINIX 1" >>confdefs.h
4612
4613   fi
4614
4615
4616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4617 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4618 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4619   $as_echo_n "(cached) " >&6
4620 else
4621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 /* end confdefs.h.  */
4623
4624 #         define __EXTENSIONS__ 1
4625           $ac_includes_default
4626 int
4627 main ()
4628 {
4629
4630   ;
4631   return 0;
4632 }
4633 _ACEOF
4634 if ac_fn_c_try_compile "$LINENO"; then :
4635   ac_cv_safe_to_define___extensions__=yes
4636 else
4637   ac_cv_safe_to_define___extensions__=no
4638 fi
4639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4640 fi
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4642 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4643   test $ac_cv_safe_to_define___extensions__ = yes &&
4644     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4645
4646   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4647
4648   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4649
4650   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4651
4652   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4653
4654
4655
4656
4657  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4658 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4659 if test "${ac_cv_c_bigendian+set}" = set; then :
4660   $as_echo_n "(cached) " >&6
4661 else
4662   ac_cv_c_bigendian=unknown
4663     # See if we're dealing with a universal compiler.
4664     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4665 /* end confdefs.h.  */
4666 #ifndef __APPLE_CC__
4667                not a universal capable compiler
4668              #endif
4669              typedef int dummy;
4670
4671 _ACEOF
4672 if ac_fn_c_try_compile "$LINENO"; then :
4673
4674         # Check for potential -arch flags.  It is not universal unless
4675         # there are at least two -arch flags with different values.
4676         ac_arch=
4677         ac_prev=
4678         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4679          if test -n "$ac_prev"; then
4680            case $ac_word in
4681              i?86 | x86_64 | ppc | ppc64)
4682                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4683                  ac_arch=$ac_word
4684                else
4685                  ac_cv_c_bigendian=universal
4686                  break
4687                fi
4688                ;;
4689            esac
4690            ac_prev=
4691          elif test "x$ac_word" = "x-arch"; then
4692            ac_prev=arch
4693          fi
4694        done
4695 fi
4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697     if test $ac_cv_c_bigendian = unknown; then
4698       # See if sys/param.h defines the BYTE_ORDER macro.
4699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h.  */
4701 #include <sys/types.h>
4702              #include <sys/param.h>
4703
4704 int
4705 main ()
4706 {
4707 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4708                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4709                      && LITTLE_ENDIAN)
4710               bogus endian macros
4711              #endif
4712
4713   ;
4714   return 0;
4715 }
4716 _ACEOF
4717 if ac_fn_c_try_compile "$LINENO"; then :
4718   # It does; now see whether it defined to BIG_ENDIAN or not.
4719          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h.  */
4721 #include <sys/types.h>
4722                 #include <sys/param.h>
4723
4724 int
4725 main ()
4726 {
4727 #if BYTE_ORDER != BIG_ENDIAN
4728                  not big endian
4729                 #endif
4730
4731   ;
4732   return 0;
4733 }
4734 _ACEOF
4735 if ac_fn_c_try_compile "$LINENO"; then :
4736   ac_cv_c_bigendian=yes
4737 else
4738   ac_cv_c_bigendian=no
4739 fi
4740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4741 fi
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743     fi
4744     if test $ac_cv_c_bigendian = unknown; then
4745       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4746       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747 /* end confdefs.h.  */
4748 #include <limits.h>
4749
4750 int
4751 main ()
4752 {
4753 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4754               bogus endian macros
4755              #endif
4756
4757   ;
4758   return 0;
4759 }
4760 _ACEOF
4761 if ac_fn_c_try_compile "$LINENO"; then :
4762   # It does; now see whether it defined to _BIG_ENDIAN or not.
4763          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4764 /* end confdefs.h.  */
4765 #include <limits.h>
4766
4767 int
4768 main ()
4769 {
4770 #ifndef _BIG_ENDIAN
4771                  not big endian
4772                 #endif
4773
4774   ;
4775   return 0;
4776 }
4777 _ACEOF
4778 if ac_fn_c_try_compile "$LINENO"; then :
4779   ac_cv_c_bigendian=yes
4780 else
4781   ac_cv_c_bigendian=no
4782 fi
4783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4784 fi
4785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4786     fi
4787     if test $ac_cv_c_bigendian = unknown; then
4788       # Compile a test program.
4789       if test "$cross_compiling" = yes; then :
4790   # Try to guess by grepping values from an object file.
4791          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4792 /* end confdefs.h.  */
4793 short int ascii_mm[] =
4794                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4795                 short int ascii_ii[] =
4796                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4797                 int use_ascii (int i) {
4798                   return ascii_mm[i] + ascii_ii[i];
4799                 }
4800                 short int ebcdic_ii[] =
4801                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4802                 short int ebcdic_mm[] =
4803                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4804                 int use_ebcdic (int i) {
4805                   return ebcdic_mm[i] + ebcdic_ii[i];
4806                 }
4807                 extern int foo;
4808
4809 int
4810 main ()
4811 {
4812 return use_ascii (foo) == use_ebcdic (foo);
4813   ;
4814   return 0;
4815 }
4816 _ACEOF
4817 if ac_fn_c_try_compile "$LINENO"; then :
4818   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4819               ac_cv_c_bigendian=yes
4820             fi
4821             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4822               if test "$ac_cv_c_bigendian" = unknown; then
4823                 ac_cv_c_bigendian=no
4824               else
4825                 # finding both strings is unlikely to happen, but who knows?
4826                 ac_cv_c_bigendian=unknown
4827               fi
4828             fi
4829 fi
4830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4831 else
4832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833 /* end confdefs.h.  */
4834 $ac_includes_default
4835 int
4836 main ()
4837 {
4838
4839              /* Are we little or big endian?  From Harbison&Steele.  */
4840              union
4841              {
4842                long int l;
4843                char c[sizeof (long int)];
4844              } u;
4845              u.l = 1;
4846              return u.c[sizeof (long int) - 1] == 1;
4847
4848   ;
4849   return 0;
4850 }
4851 _ACEOF
4852 if ac_fn_c_try_run "$LINENO"; then :
4853   ac_cv_c_bigendian=no
4854 else
4855   ac_cv_c_bigendian=yes
4856 fi
4857 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4858   conftest.$ac_objext conftest.beam conftest.$ac_ext
4859 fi
4860
4861     fi
4862 fi
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4864 $as_echo "$ac_cv_c_bigendian" >&6; }
4865  case $ac_cv_c_bigendian in #(
4866    yes)
4867      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4868 ;; #(
4869    no)
4870       ;; #(
4871    universal)
4872
4873 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4874
4875      ;; #(
4876    *)
4877      as_fn_error $? "unknown endianness
4878  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
4879  esac
4880
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4882 $as_echo_n "checking for library containing strerror... " >&6; }
4883 if test "${ac_cv_search_strerror+set}" = set; then :
4884   $as_echo_n "(cached) " >&6
4885 else
4886   ac_func_search_save_LIBS=$LIBS
4887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4888 /* end confdefs.h.  */
4889
4890 /* Override any GCC internal prototype to avoid an error.
4891    Use char because int might match the return type of a GCC
4892    builtin and then its argument prototype would still apply.  */
4893 #ifdef __cplusplus
4894 extern "C"
4895 #endif
4896 char strerror ();
4897 int
4898 main ()
4899 {
4900 return strerror ();
4901   ;
4902   return 0;
4903 }
4904 _ACEOF
4905 for ac_lib in '' cposix; do
4906   if test -z "$ac_lib"; then
4907     ac_res="none required"
4908   else
4909     ac_res=-l$ac_lib
4910     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4911   fi
4912   if ac_fn_c_try_link "$LINENO"; then :
4913   ac_cv_search_strerror=$ac_res
4914 fi
4915 rm -f core conftest.err conftest.$ac_objext \
4916     conftest$ac_exeext
4917   if test "${ac_cv_search_strerror+set}" = set; then :
4918   break
4919 fi
4920 done
4921 if test "${ac_cv_search_strerror+set}" = set; then :
4922
4923 else
4924   ac_cv_search_strerror=no
4925 fi
4926 rm conftest.$ac_ext
4927 LIBS=$ac_func_search_save_LIBS
4928 fi
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4930 $as_echo "$ac_cv_search_strerror" >&6; }
4931 ac_res=$ac_cv_search_strerror
4932 if test "$ac_res" != no; then :
4933   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4934
4935 fi
4936
4937 ac_ext=c
4938 ac_cpp='$CPP $CPPFLAGS'
4939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4942 if test -n "$ac_tool_prefix"; then
4943   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_CC+set}" = set; then :
4948   $as_echo_n "(cached) " >&6
4949 else
4950   if test -n "$CC"; then
4951   ac_cv_prog_CC="$CC" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4955 do
4956   IFS=$as_save_IFS
4957   test -z "$as_dir" && as_dir=.
4958     for ac_exec_ext in '' $ac_executable_extensions; do
4959   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960     ac_cv_prog_CC="${ac_tool_prefix}gcc"
4961     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962     break 2
4963   fi
4964 done
4965   done
4966 IFS=$as_save_IFS
4967
4968 fi
4969 fi
4970 CC=$ac_cv_prog_CC
4971 if test -n "$CC"; then
4972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4973 $as_echo "$CC" >&6; }
4974 else
4975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 fi
4978
4979
4980 fi
4981 if test -z "$ac_cv_prog_CC"; then
4982   ac_ct_CC=$CC
4983   # Extract the first word of "gcc", so it can be a program name with args.
4984 set dummy gcc; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4988   $as_echo_n "(cached) " >&6
4989 else
4990   if test -n "$ac_ct_CC"; then
4991   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4995 do
4996   IFS=$as_save_IFS
4997   test -z "$as_dir" && as_dir=.
4998     for ac_exec_ext in '' $ac_executable_extensions; do
4999   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000     ac_cv_prog_ac_ct_CC="gcc"
5001     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002     break 2
5003   fi
5004 done
5005   done
5006 IFS=$as_save_IFS
5007
5008 fi
5009 fi
5010 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5011 if test -n "$ac_ct_CC"; then
5012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5013 $as_echo "$ac_ct_CC" >&6; }
5014 else
5015   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 fi
5018
5019   if test "x$ac_ct_CC" = x; then
5020     CC=""
5021   else
5022     case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028     CC=$ac_ct_CC
5029   fi
5030 else
5031   CC="$ac_cv_prog_CC"
5032 fi
5033
5034 if test -z "$CC"; then
5035           if test -n "$ac_tool_prefix"; then
5036     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5037 set dummy ${ac_tool_prefix}cc; ac_word=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if test "${ac_cv_prog_CC+set}" = set; then :
5041   $as_echo_n "(cached) " >&6
5042 else
5043   if test -n "$CC"; then
5044   ac_cv_prog_CC="$CC" # Let the user override the test.
5045 else
5046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5047 for as_dir in $PATH
5048 do
5049   IFS=$as_save_IFS
5050   test -z "$as_dir" && as_dir=.
5051     for ac_exec_ext in '' $ac_executable_extensions; do
5052   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053     ac_cv_prog_CC="${ac_tool_prefix}cc"
5054     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055     break 2
5056   fi
5057 done
5058   done
5059 IFS=$as_save_IFS
5060
5061 fi
5062 fi
5063 CC=$ac_cv_prog_CC
5064 if test -n "$CC"; then
5065   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5066 $as_echo "$CC" >&6; }
5067 else
5068   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5070 fi
5071
5072
5073   fi
5074 fi
5075 if test -z "$CC"; then
5076   # Extract the first word of "cc", so it can be a program name with args.
5077 set dummy cc; ac_word=$2
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079 $as_echo_n "checking for $ac_word... " >&6; }
5080 if test "${ac_cv_prog_CC+set}" = set; then :
5081   $as_echo_n "(cached) " >&6
5082 else
5083   if test -n "$CC"; then
5084   ac_cv_prog_CC="$CC" # Let the user override the test.
5085 else
5086   ac_prog_rejected=no
5087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5088 for as_dir in $PATH
5089 do
5090   IFS=$as_save_IFS
5091   test -z "$as_dir" && as_dir=.
5092     for ac_exec_ext in '' $ac_executable_extensions; do
5093   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5094     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5095        ac_prog_rejected=yes
5096        continue
5097      fi
5098     ac_cv_prog_CC="cc"
5099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5100     break 2
5101   fi
5102 done
5103   done
5104 IFS=$as_save_IFS
5105
5106 if test $ac_prog_rejected = yes; then
5107   # We found a bogon in the path, so make sure we never use it.
5108   set dummy $ac_cv_prog_CC
5109   shift
5110   if test $# != 0; then
5111     # We chose a different compiler from the bogus one.
5112     # However, it has the same basename, so the bogon will be chosen
5113     # first if we set CC to just the basename; use the full file name.
5114     shift
5115     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5116   fi
5117 fi
5118 fi
5119 fi
5120 CC=$ac_cv_prog_CC
5121 if test -n "$CC"; then
5122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5123 $as_echo "$CC" >&6; }
5124 else
5125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5126 $as_echo "no" >&6; }
5127 fi
5128
5129
5130 fi
5131 if test -z "$CC"; then
5132   if test -n "$ac_tool_prefix"; then
5133   for ac_prog in cl.exe
5134   do
5135     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5136 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5138 $as_echo_n "checking for $ac_word... " >&6; }
5139 if test "${ac_cv_prog_CC+set}" = set; then :
5140   $as_echo_n "(cached) " >&6
5141 else
5142   if test -n "$CC"; then
5143   ac_cv_prog_CC="$CC" # Let the user override the test.
5144 else
5145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 for as_dir in $PATH
5147 do
5148   IFS=$as_save_IFS
5149   test -z "$as_dir" && as_dir=.
5150     for ac_exec_ext in '' $ac_executable_extensions; do
5151   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5152     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5153     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5154     break 2
5155   fi
5156 done
5157   done
5158 IFS=$as_save_IFS
5159
5160 fi
5161 fi
5162 CC=$ac_cv_prog_CC
5163 if test -n "$CC"; then
5164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5165 $as_echo "$CC" >&6; }
5166 else
5167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 $as_echo "no" >&6; }
5169 fi
5170
5171
5172     test -n "$CC" && break
5173   done
5174 fi
5175 if test -z "$CC"; then
5176   ac_ct_CC=$CC
5177   for ac_prog in cl.exe
5178 do
5179   # Extract the first word of "$ac_prog", so it can be a program name with args.
5180 set dummy $ac_prog; ac_word=$2
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5182 $as_echo_n "checking for $ac_word... " >&6; }
5183 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5184   $as_echo_n "(cached) " >&6
5185 else
5186   if test -n "$ac_ct_CC"; then
5187   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5188 else
5189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5190 for as_dir in $PATH
5191 do
5192   IFS=$as_save_IFS
5193   test -z "$as_dir" && as_dir=.
5194     for ac_exec_ext in '' $ac_executable_extensions; do
5195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196     ac_cv_prog_ac_ct_CC="$ac_prog"
5197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198     break 2
5199   fi
5200 done
5201   done
5202 IFS=$as_save_IFS
5203
5204 fi
5205 fi
5206 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5207 if test -n "$ac_ct_CC"; then
5208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5209 $as_echo "$ac_ct_CC" >&6; }
5210 else
5211   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5212 $as_echo "no" >&6; }
5213 fi
5214
5215
5216   test -n "$ac_ct_CC" && break
5217 done
5218
5219   if test "x$ac_ct_CC" = x; then
5220     CC=""
5221   else
5222     case $cross_compiling:$ac_tool_warned in
5223 yes:)
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5226 ac_tool_warned=yes ;;
5227 esac
5228     CC=$ac_ct_CC
5229   fi
5230 fi
5231
5232 fi
5233
5234
5235 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5237 as_fn_error $? "no acceptable C compiler found in \$PATH
5238 See \`config.log' for more details" "$LINENO" 5 ; }
5239
5240 # Provide some information about the compiler.
5241 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5242 set X $ac_compile
5243 ac_compiler=$2
5244 for ac_option in --version -v -V -qversion; do
5245   { { ac_try="$ac_compiler $ac_option >&5"
5246 case "(($ac_try" in
5247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5248   *) ac_try_echo=$ac_try;;
5249 esac
5250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5251 $as_echo "$ac_try_echo"; } >&5
5252   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5253   ac_status=$?
5254   if test -s conftest.err; then
5255     sed '10a\
5256 ... rest of stderr output deleted ...
5257          10q' conftest.err >conftest.er1
5258     cat conftest.er1 >&5
5259   fi
5260   rm -f conftest.er1 conftest.err
5261   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5262   test $ac_status = 0; }
5263 done
5264
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5266 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5267 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
5268   $as_echo_n "(cached) " >&6
5269 else
5270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5271 /* end confdefs.h.  */
5272
5273 int
5274 main ()
5275 {
5276 #ifndef __GNUC__
5277        choke me
5278 #endif
5279
5280   ;
5281   return 0;
5282 }
5283 _ACEOF
5284 if ac_fn_c_try_compile "$LINENO"; then :
5285   ac_compiler_gnu=yes
5286 else
5287   ac_compiler_gnu=no
5288 fi
5289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5290 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5291
5292 fi
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5294 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5295 if test $ac_compiler_gnu = yes; then
5296   GCC=yes
5297 else
5298   GCC=
5299 fi
5300 ac_test_CFLAGS=${CFLAGS+set}
5301 ac_save_CFLAGS=$CFLAGS
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5303 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5304 if test "${ac_cv_prog_cc_g+set}" = set; then :
5305   $as_echo_n "(cached) " >&6
5306 else
5307   ac_save_c_werror_flag=$ac_c_werror_flag
5308    ac_c_werror_flag=yes
5309    ac_cv_prog_cc_g=no
5310    CFLAGS="-g"
5311    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h.  */
5313
5314 int
5315 main ()
5316 {
5317
5318   ;
5319   return 0;
5320 }
5321 _ACEOF
5322 if ac_fn_c_try_compile "$LINENO"; then :
5323   ac_cv_prog_cc_g=yes
5324 else
5325   CFLAGS=""
5326       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h.  */
5328
5329 int
5330 main ()
5331 {
5332
5333   ;
5334   return 0;
5335 }
5336 _ACEOF
5337 if ac_fn_c_try_compile "$LINENO"; then :
5338
5339 else
5340   ac_c_werror_flag=$ac_save_c_werror_flag
5341          CFLAGS="-g"
5342          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h.  */
5344
5345 int
5346 main ()
5347 {
5348
5349   ;
5350   return 0;
5351 }
5352 _ACEOF
5353 if ac_fn_c_try_compile "$LINENO"; then :
5354   ac_cv_prog_cc_g=yes
5355 fi
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 fi
5358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5359 fi
5360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5361    ac_c_werror_flag=$ac_save_c_werror_flag
5362 fi
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5364 $as_echo "$ac_cv_prog_cc_g" >&6; }
5365 if test "$ac_test_CFLAGS" = set; then
5366   CFLAGS=$ac_save_CFLAGS
5367 elif test $ac_cv_prog_cc_g = yes; then
5368   if test "$GCC" = yes; then
5369     CFLAGS="-g -O2"
5370   else
5371     CFLAGS="-g"
5372   fi
5373 else
5374   if test "$GCC" = yes; then
5375     CFLAGS="-O2"
5376   else
5377     CFLAGS=
5378   fi
5379 fi
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5381 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5382 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5383   $as_echo_n "(cached) " >&6
5384 else
5385   ac_cv_prog_cc_c89=no
5386 ac_save_CC=$CC
5387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5388 /* end confdefs.h.  */
5389 #include <stdarg.h>
5390 #include <stdio.h>
5391 #include <sys/types.h>
5392 #include <sys/stat.h>
5393 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5394 struct buf { int x; };
5395 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5396 static char *e (p, i)
5397      char **p;
5398      int i;
5399 {
5400   return p[i];
5401 }
5402 static char *f (char * (*g) (char **, int), char **p, ...)
5403 {
5404   char *s;
5405   va_list v;
5406   va_start (v,p);
5407   s = g (p, va_arg (v,int));
5408   va_end (v);
5409   return s;
5410 }
5411
5412 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5413    function prototypes and stuff, but not '\xHH' hex character constants.
5414    These don't provoke an error unfortunately, instead are silently treated
5415    as 'x'.  The following induces an error, until -std is added to get
5416    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5417    array size at least.  It's necessary to write '\x00'==0 to get something
5418    that's true only with -std.  */
5419 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5420
5421 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5422    inside strings and character constants.  */
5423 #define FOO(x) 'x'
5424 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5425
5426 int test (int i, double x);
5427 struct s1 {int (*f) (int a);};
5428 struct s2 {int (*f) (double a);};
5429 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5430 int argc;
5431 char **argv;
5432 int
5433 main ()
5434 {
5435 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5436   ;
5437   return 0;
5438 }
5439 _ACEOF
5440 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5441         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5442 do
5443   CC="$ac_save_CC $ac_arg"
5444   if ac_fn_c_try_compile "$LINENO"; then :
5445   ac_cv_prog_cc_c89=$ac_arg
5446 fi
5447 rm -f core conftest.err conftest.$ac_objext
5448   test "x$ac_cv_prog_cc_c89" != "xno" && break
5449 done
5450 rm -f conftest.$ac_ext
5451 CC=$ac_save_CC
5452
5453 fi
5454 # AC_CACHE_VAL
5455 case "x$ac_cv_prog_cc_c89" in
5456   x)
5457     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5458 $as_echo "none needed" >&6; } ;;
5459   xno)
5460     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5461 $as_echo "unsupported" >&6; } ;;
5462   *)
5463     CC="$CC $ac_cv_prog_cc_c89"
5464     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5465 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5466 esac
5467 if test "x$ac_cv_prog_cc_c89" != xno; then :
5468
5469 fi
5470
5471 ac_ext=c
5472 ac_cpp='$CPP $CPPFLAGS'
5473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5476
5477 depcc="$CC"   am_compiler_list=
5478
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5480 $as_echo_n "checking dependency style of $depcc... " >&6; }
5481 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
5482   $as_echo_n "(cached) " >&6
5483 else
5484   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5485   # We make a subdir and do the tests there.  Otherwise we can end up
5486   # making bogus files that we don't know about and never remove.  For
5487   # instance it was reported that on HP-UX the gcc test will end up
5488   # making a dummy file named `D' -- because `-MD' means `put the output
5489   # in D'.
5490   mkdir conftest.dir
5491   # Copy depcomp to subdir because otherwise we won't find it if we're
5492   # using a relative directory.
5493   cp "$am_depcomp" conftest.dir
5494   cd conftest.dir
5495   # We will build objects and dependencies in a subdirectory because
5496   # it helps to detect inapplicable dependency modes.  For instance
5497   # both Tru64's cc and ICC support -MD to output dependencies as a
5498   # side effect of compilation, but ICC will put the dependencies in
5499   # the current directory while Tru64 will put them in the object
5500   # directory.
5501   mkdir sub
5502
5503   am_cv_CC_dependencies_compiler_type=none
5504   if test "$am_compiler_list" = ""; then
5505      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5506   fi
5507   am__universal=false
5508   case " $depcc " in #(
5509      *\ -arch\ *\ -arch\ *) am__universal=true ;;
5510      esac
5511
5512   for depmode in $am_compiler_list; do
5513     # Setup a source with many dependencies, because some compilers
5514     # like to wrap large dependency lists on column 80 (with \), and
5515     # we should not choose a depcomp mode which is confused by this.
5516     #
5517     # We need to recreate these files for each test, as the compiler may
5518     # overwrite some of them when testing with obscure command lines.
5519     # This happens at least with the AIX C compiler.
5520     : > sub/conftest.c
5521     for i in 1 2 3 4 5 6; do
5522       echo '#include "conftst'$i'.h"' >> sub/conftest.c
5523       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5524       # Solaris 8's {/usr,}/bin/sh.
5525       touch sub/conftst$i.h
5526     done
5527     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5528
5529     # We check with `-c' and `-o' for the sake of the "dashmstdout"
5530     # mode.  It turns out that the SunPro C++ compiler does not properly
5531     # handle `-M -o', and we need to detect this.  Also, some Intel
5532     # versions had trouble with output in subdirs
5533     am__obj=sub/conftest.${OBJEXT-o}
5534     am__minus_obj="-o $am__obj"
5535     case $depmode in
5536     gcc)
5537       # This depmode causes a compiler race in universal mode.
5538       test "$am__universal" = false || continue
5539       ;;
5540     nosideeffect)
5541       # after this tag, mechanisms are not by side-effect, so they'll
5542       # only be used when explicitly requested
5543       if test "x$enable_dependency_tracking" = xyes; then
5544         continue
5545       else
5546         break
5547       fi
5548       ;;
5549     msvisualcpp | msvcmsys)
5550       # This compiler won't grok `-c -o', but also, the minuso test has
5551       # not run yet.  These depmodes are late enough in the game, and
5552       # so weak that their functioning should not be impacted.
5553       am__obj=conftest.${OBJEXT-o}
5554       am__minus_obj=
5555       ;;
5556     none) break ;;
5557     esac
5558     if depmode=$depmode \
5559        source=sub/conftest.c object=$am__obj \
5560        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5561        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5562          >/dev/null 2>conftest.err &&
5563        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5564        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5565        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5566        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5567       # icc doesn't choke on unknown options, it will just issue warnings
5568       # or remarks (even with -Werror).  So we grep stderr for any message
5569       # that says an option was ignored or not supported.
5570       # When given -MP, icc 7.0 and 7.1 complain thusly:
5571       #   icc: Command line warning: ignoring option '-M'; no argument required
5572       # The diagnosis changed in icc 8.0:
5573       #   icc: Command line remark: option '-MP' not supported
5574       if (grep 'ignoring option' conftest.err ||
5575           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5576         am_cv_CC_dependencies_compiler_type=$depmode
5577         break
5578       fi
5579     fi
5580   done
5581
5582   cd ..
5583   rm -rf conftest.dir
5584 else
5585   am_cv_CC_dependencies_compiler_type=none
5586 fi
5587
5588 fi
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5590 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5591 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5592
5593  if
5594   test "x$enable_dependency_tracking" != xno \
5595   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5596   am__fastdepCC_TRUE=
5597   am__fastdepCC_FALSE='#'
5598 else
5599   am__fastdepCC_TRUE='#'
5600   am__fastdepCC_FALSE=
5601 fi
5602
5603
5604    case $ac_cv_prog_cc_stdc in #(
5605   no) :
5606     ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
5607   *) :
5608     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5609 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5610 if test "${ac_cv_prog_cc_c99+set}" = set; then :
5611   $as_echo_n "(cached) " >&6
5612 else
5613   ac_cv_prog_cc_c99=no
5614 ac_save_CC=$CC
5615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5616 /* end confdefs.h.  */
5617 #include <stdarg.h>
5618 #include <stdbool.h>
5619 #include <stdlib.h>
5620 #include <wchar.h>
5621 #include <stdio.h>
5622
5623 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
5624 #define debug(...) fprintf (stderr, __VA_ARGS__)
5625 #define showlist(...) puts (#__VA_ARGS__)
5626 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5627 static void
5628 test_varargs_macros (void)
5629 {
5630   int x = 1234;
5631   int y = 5678;
5632   debug ("Flag");
5633   debug ("X = %d\n", x);
5634   showlist (The first, second, and third items.);
5635   report (x>y, "x is %d but y is %d", x, y);
5636 }
5637
5638 // Check long long types.
5639 #define BIG64 18446744073709551615ull
5640 #define BIG32 4294967295ul
5641 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5642 #if !BIG_OK
5643   your preprocessor is broken;
5644 #endif
5645 #if BIG_OK
5646 #else
5647   your preprocessor is broken;
5648 #endif
5649 static long long int bignum = -9223372036854775807LL;
5650 static unsigned long long int ubignum = BIG64;
5651
5652 struct incomplete_array
5653 {
5654   int datasize;
5655   double data[];
5656 };
5657
5658 struct named_init {
5659   int number;
5660   const wchar_t *name;
5661   double average;
5662 };
5663
5664 typedef const char *ccp;
5665
5666 static inline int
5667 test_restrict (ccp restrict text)
5668 {
5669   // See if C++-style comments work.
5670   // Iterate through items via the restricted pointer.
5671   // Also check for declarations in for loops.
5672   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5673     continue;
5674   return 0;
5675 }
5676
5677 // Check varargs and va_copy.
5678 static void
5679 test_varargs (const char *format, ...)
5680 {
5681   va_list args;
5682   va_start (args, format);
5683   va_list args_copy;
5684   va_copy (args_copy, args);
5685
5686   const char *str;
5687   int number;
5688   float fnumber;
5689
5690   while (*format)
5691     {
5692       switch (*format++)
5693         {
5694         case 's': // string
5695           str = va_arg (args_copy, const char *);
5696           break;
5697         case 'd': // int
5698           number = va_arg (args_copy, int);
5699           break;
5700         case 'f': // float
5701           fnumber = va_arg (args_copy, double);
5702           break;
5703         default:
5704           break;
5705         }
5706     }
5707   va_end (args_copy);
5708   va_end (args);
5709 }
5710
5711 int
5712 main ()
5713 {
5714
5715   // Check bool.
5716   _Bool success = false;
5717
5718   // Check restrict.
5719   if (test_restrict ("String literal") == 0)
5720     success = true;
5721   char *restrict newvar = "Another string";
5722
5723   // Check varargs.
5724   test_varargs ("s, d' f .", "string", 65, 34.234);
5725   test_varargs_macros ();
5726
5727   // Check flexible array members.
5728   struct incomplete_array *ia =
5729     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5730   ia->datasize = 10;
5731   for (int i = 0; i < ia->datasize; ++i)
5732     ia->data[i] = i * 1.234;
5733
5734   // Check named initializers.
5735   struct named_init ni = {
5736     .number = 34,
5737     .name = L"Test wide string",
5738     .average = 543.34343,
5739   };
5740
5741   ni.number = 58;
5742
5743   int dynamic_array[ni.number];
5744   dynamic_array[ni.number - 1] = 543;
5745
5746   // work around unused variable warnings
5747   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5748           || dynamic_array[ni.number - 1] != 543);
5749
5750   ;
5751   return 0;
5752 }
5753 _ACEOF
5754 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
5755 do
5756   CC="$ac_save_CC $ac_arg"
5757   if ac_fn_c_try_compile "$LINENO"; then :
5758   ac_cv_prog_cc_c99=$ac_arg
5759 fi
5760 rm -f core conftest.err conftest.$ac_objext
5761   test "x$ac_cv_prog_cc_c99" != "xno" && break
5762 done
5763 rm -f conftest.$ac_ext
5764 CC=$ac_save_CC
5765
5766 fi
5767 # AC_CACHE_VAL
5768 case "x$ac_cv_prog_cc_c99" in
5769   x)
5770     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5771 $as_echo "none needed" >&6; } ;;
5772   xno)
5773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5774 $as_echo "unsupported" >&6; } ;;
5775   *)
5776     CC="$CC $ac_cv_prog_cc_c99"
5777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5778 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5779 esac
5780 if test "x$ac_cv_prog_cc_c99" != xno; then :
5781   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5782 else
5783   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5784 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5785 if test "${ac_cv_prog_cc_c89+set}" = set; then :
5786   $as_echo_n "(cached) " >&6
5787 else
5788   ac_cv_prog_cc_c89=no
5789 ac_save_CC=$CC
5790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5791 /* end confdefs.h.  */
5792 #include <stdarg.h>
5793 #include <stdio.h>
5794 #include <sys/types.h>
5795 #include <sys/stat.h>
5796 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
5797 struct buf { int x; };
5798 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5799 static char *e (p, i)
5800      char **p;
5801      int i;
5802 {
5803   return p[i];
5804 }
5805 static char *f (char * (*g) (char **, int), char **p, ...)
5806 {
5807   char *s;
5808   va_list v;
5809   va_start (v,p);
5810   s = g (p, va_arg (v,int));
5811   va_end (v);
5812   return s;
5813 }
5814
5815 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
5816    function prototypes and stuff, but not '\xHH' hex character constants.
5817    These don't provoke an error unfortunately, instead are silently treated
5818    as 'x'.  The following induces an error, until -std is added to get
5819    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
5820    array size at least.  It's necessary to write '\x00'==0 to get something
5821    that's true only with -std.  */
5822 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5823
5824 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5825    inside strings and character constants.  */
5826 #define FOO(x) 'x'
5827 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5828
5829 int test (int i, double x);
5830 struct s1 {int (*f) (int a);};
5831 struct s2 {int (*f) (double a);};
5832 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5833 int argc;
5834 char **argv;
5835 int
5836 main ()
5837 {
5838 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
5839   ;
5840   return 0;
5841 }
5842 _ACEOF
5843 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5844         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5845 do
5846   CC="$ac_save_CC $ac_arg"
5847   if ac_fn_c_try_compile "$LINENO"; then :
5848   ac_cv_prog_cc_c89=$ac_arg
5849 fi
5850 rm -f core conftest.err conftest.$ac_objext
5851   test "x$ac_cv_prog_cc_c89" != "xno" && break
5852 done
5853 rm -f conftest.$ac_ext
5854 CC=$ac_save_CC
5855
5856 fi
5857 # AC_CACHE_VAL
5858 case "x$ac_cv_prog_cc_c89" in
5859   x)
5860     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5861 $as_echo "none needed" >&6; } ;;
5862   xno)
5863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5864 $as_echo "unsupported" >&6; } ;;
5865   *)
5866     CC="$CC $ac_cv_prog_cc_c89"
5867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5868 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5869 esac
5870 if test "x$ac_cv_prog_cc_c89" != xno; then :
5871   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5872 else
5873   ac_cv_prog_cc_stdc=no
5874 fi
5875
5876 fi
5877  ;;
5878 esac
5879   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5880 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5881   if test "${ac_cv_prog_cc_stdc+set}" = set; then :
5882   $as_echo_n "(cached) " >&6
5883 fi
5884
5885   case $ac_cv_prog_cc_stdc in #(
5886   no) :
5887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5888 $as_echo "unsupported" >&6; } ;; #(
5889   '') :
5890     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5891 $as_echo "none needed" >&6; } ;; #(
5892   *) :
5893     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5894 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5895 esac
5896
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5898 $as_echo_n "checking for ANSI C header files... " >&6; }
5899 if test "${ac_cv_header_stdc+set}" = set; then :
5900   $as_echo_n "(cached) " >&6
5901 else
5902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5903 /* end confdefs.h.  */
5904 #include <stdlib.h>
5905 #include <stdarg.h>
5906 #include <string.h>
5907 #include <float.h>
5908
5909 int
5910 main ()
5911 {
5912
5913   ;
5914   return 0;
5915 }
5916 _ACEOF
5917 if ac_fn_c_try_compile "$LINENO"; then :
5918   ac_cv_header_stdc=yes
5919 else
5920   ac_cv_header_stdc=no
5921 fi
5922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5923
5924 if test $ac_cv_header_stdc = yes; then
5925   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5927 /* end confdefs.h.  */
5928 #include <string.h>
5929
5930 _ACEOF
5931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5932   $EGREP "memchr" >/dev/null 2>&1; then :
5933
5934 else
5935   ac_cv_header_stdc=no
5936 fi
5937 rm -f conftest*
5938
5939 fi
5940
5941 if test $ac_cv_header_stdc = yes; then
5942   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5944 /* end confdefs.h.  */
5945 #include <stdlib.h>
5946
5947 _ACEOF
5948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5949   $EGREP "free" >/dev/null 2>&1; then :
5950
5951 else
5952   ac_cv_header_stdc=no
5953 fi
5954 rm -f conftest*
5955
5956 fi
5957
5958 if test $ac_cv_header_stdc = yes; then
5959   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5960   if test "$cross_compiling" = yes; then :
5961   :
5962 else
5963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5964 /* end confdefs.h.  */
5965 #include <ctype.h>
5966 #include <stdlib.h>
5967 #if ((' ' & 0x0FF) == 0x020)
5968 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5969 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5970 #else
5971 # define ISLOWER(c) \
5972                    (('a' <= (c) && (c) <= 'i') \
5973                      || ('j' <= (c) && (c) <= 'r') \
5974                      || ('s' <= (c) && (c) <= 'z'))
5975 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5976 #endif
5977
5978 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5979 int
5980 main ()
5981 {
5982   int i;
5983   for (i = 0; i < 256; i++)
5984     if (XOR (islower (i), ISLOWER (i))
5985         || toupper (i) != TOUPPER (i))
5986       return 2;
5987   return 0;
5988 }
5989 _ACEOF
5990 if ac_fn_c_try_run "$LINENO"; then :
5991
5992 else
5993   ac_cv_header_stdc=no
5994 fi
5995 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5996   conftest.$ac_objext conftest.beam conftest.$ac_ext
5997 fi
5998
5999 fi
6000 fi
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6002 $as_echo "$ac_cv_header_stdc" >&6; }
6003 if test $ac_cv_header_stdc = yes; then
6004
6005 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6006
6007 fi
6008
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
6010 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
6011 if test "${ac_cv_c_const+set}" = set; then :
6012   $as_echo_n "(cached) " >&6
6013 else
6014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6015 /* end confdefs.h.  */
6016
6017 int
6018 main ()
6019 {
6020 /* FIXME: Include the comments suggested by Paul. */
6021 #ifndef __cplusplus
6022   /* Ultrix mips cc rejects this.  */
6023   typedef int charset[2];
6024   const charset cs;
6025   /* SunOS 4.1.1 cc rejects this.  */
6026   char const *const *pcpcc;
6027   char **ppc;
6028   /* NEC SVR4.0.2 mips cc rejects this.  */
6029   struct point {int x, y;};
6030   static struct point const zero = {0,0};
6031   /* AIX XL C 1.02.0.0 rejects this.
6032      It does not let you subtract one const X* pointer from another in
6033      an arm of an if-expression whose if-part is not a constant
6034      expression */
6035   const char *g = "string";
6036   pcpcc = &g + (g ? g-g : 0);
6037   /* HPUX 7.0 cc rejects these. */
6038   ++pcpcc;
6039   ppc = (char**) pcpcc;
6040   pcpcc = (char const *const *) ppc;
6041   { /* SCO 3.2v4 cc rejects this.  */
6042     char *t;
6043     char const *s = 0 ? (char *) 0 : (char const *) 0;
6044
6045     *t++ = 0;
6046     if (s) return 0;
6047   }
6048   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
6049     int x[] = {25, 17};
6050     const int *foo = &x[0];
6051     ++foo;
6052   }
6053   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
6054     typedef const int *iptr;
6055     iptr p = 0;
6056     ++p;
6057   }
6058   { /* AIX XL C 1.02.0.0 rejects this saying
6059        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
6060     struct s { int j; const int *ap[3]; };
6061     struct s *b; b->j = 5;
6062   }
6063   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
6064     const int foo = 10;
6065     if (!foo) return 0;
6066   }
6067   return !cs[0] && !zero.x;
6068 #endif
6069
6070   ;
6071   return 0;
6072 }
6073 _ACEOF
6074 if ac_fn_c_try_compile "$LINENO"; then :
6075   ac_cv_c_const=yes
6076 else
6077   ac_cv_c_const=no
6078 fi
6079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6080 fi
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
6082 $as_echo "$ac_cv_c_const" >&6; }
6083 if test $ac_cv_c_const = no; then
6084
6085 $as_echo "#define const /**/" >>confdefs.h
6086
6087 fi
6088
6089
6090
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
6092 $as_echo_n "checking for __attribute__... " >&6; }
6093
6094 if test "${ac_cv___attribute__+set}" = set; then :
6095   $as_echo_n "(cached) " >&6
6096 else
6097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6098 /* end confdefs.h.  */
6099
6100 #include <stdlib.h>
6101
6102 int func(int x);
6103 int foo(int x __attribute__ ((unused)))
6104 {
6105    exit(1);
6106 }
6107
6108 int
6109 main ()
6110 {
6111
6112   ;
6113   return 0;
6114 }
6115 _ACEOF
6116 if ac_fn_c_try_compile "$LINENO"; then :
6117   ac_cv___attribute__="yes"
6118 else
6119   ac_cv___attribute__="no"
6120
6121 fi
6122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6123 fi
6124
6125
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
6127 $as_echo "$ac_cv___attribute__" >&6; }
6128
6129 if test "x${ac_cv___attribute__}" = "xyes" ; then
6130
6131 $as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
6132
6133
6134 $as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
6135
6136   else
6137
6138 $as_echo "#define __UNUSED__ /**/" >>confdefs.h
6139
6140 fi
6141
6142
6143 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
6144 # for constant arguments.  Useless!
6145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
6146 $as_echo_n "checking for working alloca.h... " >&6; }
6147 if test "${ac_cv_working_alloca_h+set}" = set; then :
6148   $as_echo_n "(cached) " >&6
6149 else
6150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6151 /* end confdefs.h.  */
6152 #include <alloca.h>
6153 int
6154 main ()
6155 {
6156 char *p = (char *) alloca (2 * sizeof (int));
6157                           if (p) return 0;
6158   ;
6159   return 0;
6160 }
6161 _ACEOF
6162 if ac_fn_c_try_link "$LINENO"; then :
6163   ac_cv_working_alloca_h=yes
6164 else
6165   ac_cv_working_alloca_h=no
6166 fi
6167 rm -f core conftest.err conftest.$ac_objext \
6168     conftest$ac_exeext conftest.$ac_ext
6169 fi
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
6171 $as_echo "$ac_cv_working_alloca_h" >&6; }
6172 if test $ac_cv_working_alloca_h = yes; then
6173
6174 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
6175
6176 fi
6177
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
6179 $as_echo_n "checking for alloca... " >&6; }
6180 if test "${ac_cv_func_alloca_works+set}" = set; then :
6181   $as_echo_n "(cached) " >&6
6182 else
6183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h.  */
6185 #ifdef __GNUC__
6186 # define alloca __builtin_alloca
6187 #else
6188 # ifdef _MSC_VER
6189 #  include <malloc.h>
6190 #  define alloca _alloca
6191 # else
6192 #  ifdef HAVE_ALLOCA_H
6193 #   include <alloca.h>
6194 #  else
6195 #   ifdef _AIX
6196  #pragma alloca
6197 #   else
6198 #    ifndef alloca /* predefined by HP cc +Olibcalls */
6199 char *alloca ();
6200 #    endif
6201 #   endif
6202 #  endif
6203 # endif
6204 #endif
6205
6206 int
6207 main ()
6208 {
6209 char *p = (char *) alloca (1);
6210                                     if (p) return 0;
6211   ;
6212   return 0;
6213 }
6214 _ACEOF
6215 if ac_fn_c_try_link "$LINENO"; then :
6216   ac_cv_func_alloca_works=yes
6217 else
6218   ac_cv_func_alloca_works=no
6219 fi
6220 rm -f core conftest.err conftest.$ac_objext \
6221     conftest$ac_exeext conftest.$ac_ext
6222 fi
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
6224 $as_echo "$ac_cv_func_alloca_works" >&6; }
6225
6226 if test $ac_cv_func_alloca_works = yes; then
6227
6228 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
6229
6230 else
6231   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
6232 # that cause trouble.  Some versions do not even contain alloca or
6233 # contain a buggy version.  If you still want to use their alloca,
6234 # use ar to extract alloca.o from them instead of compiling alloca.c.
6235
6236 ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
6237
6238 $as_echo "#define C_ALLOCA 1" >>confdefs.h
6239
6240
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
6242 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
6243 if test "${ac_cv_os_cray+set}" = set; then :
6244   $as_echo_n "(cached) " >&6
6245 else
6246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6247 /* end confdefs.h.  */
6248 #if defined CRAY && ! defined CRAY2
6249 webecray
6250 #else
6251 wenotbecray
6252 #endif
6253
6254 _ACEOF
6255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6256   $EGREP "webecray" >/dev/null 2>&1; then :
6257   ac_cv_os_cray=yes
6258 else
6259   ac_cv_os_cray=no
6260 fi
6261 rm -f conftest*
6262
6263 fi
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
6265 $as_echo "$ac_cv_os_cray" >&6; }
6266 if test $ac_cv_os_cray = yes; then
6267   for ac_func in _getb67 GETB67 getb67; do
6268     as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
6270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
6271
6272 cat >>confdefs.h <<_ACEOF
6273 #define CRAY_STACKSEG_END $ac_func
6274 _ACEOF
6275
6276     break
6277 fi
6278
6279   done
6280 fi
6281
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
6283 $as_echo_n "checking stack direction for C alloca... " >&6; }
6284 if test "${ac_cv_c_stack_direction+set}" = set; then :
6285   $as_echo_n "(cached) " >&6
6286 else
6287   if test "$cross_compiling" = yes; then :
6288   ac_cv_c_stack_direction=0
6289 else
6290   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6291 /* end confdefs.h.  */
6292 $ac_includes_default
6293 int
6294 find_stack_direction ()
6295 {
6296   static char *addr = 0;
6297   auto char dummy;
6298   if (addr == 0)
6299     {
6300       addr = &dummy;
6301       return find_stack_direction ();
6302     }
6303   else
6304     return (&dummy > addr) ? 1 : -1;
6305 }
6306
6307 int
6308 main ()
6309 {
6310   return find_stack_direction () < 0;
6311 }
6312 _ACEOF
6313 if ac_fn_c_try_run "$LINENO"; then :
6314   ac_cv_c_stack_direction=1
6315 else
6316   ac_cv_c_stack_direction=-1
6317 fi
6318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6319   conftest.$ac_objext conftest.beam conftest.$ac_ext
6320 fi
6321
6322 fi
6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
6324 $as_echo "$ac_cv_c_stack_direction" >&6; }
6325 cat >>confdefs.h <<_ACEOF
6326 #define STACK_DIRECTION $ac_cv_c_stack_direction
6327 _ACEOF
6328
6329
6330 fi
6331
6332
6333 enable_win32_dll=yes
6334
6335 case $host in
6336 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
6337   if test -n "$ac_tool_prefix"; then
6338   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6339 set dummy ${ac_tool_prefix}as; ac_word=$2
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341 $as_echo_n "checking for $ac_word... " >&6; }
6342 if test "${ac_cv_prog_AS+set}" = set; then :
6343   $as_echo_n "(cached) " >&6
6344 else
6345   if test -n "$AS"; then
6346   ac_cv_prog_AS="$AS" # Let the user override the test.
6347 else
6348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349 for as_dir in $PATH
6350 do
6351   IFS=$as_save_IFS
6352   test -z "$as_dir" && as_dir=.
6353     for ac_exec_ext in '' $ac_executable_extensions; do
6354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6355     ac_cv_prog_AS="${ac_tool_prefix}as"
6356     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357     break 2
6358   fi
6359 done
6360   done
6361 IFS=$as_save_IFS
6362
6363 fi
6364 fi
6365 AS=$ac_cv_prog_AS
6366 if test -n "$AS"; then
6367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6368 $as_echo "$AS" >&6; }
6369 else
6370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371 $as_echo "no" >&6; }
6372 fi
6373
6374
6375 fi
6376 if test -z "$ac_cv_prog_AS"; then
6377   ac_ct_AS=$AS
6378   # Extract the first word of "as", so it can be a program name with args.
6379 set dummy as; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
6383   $as_echo_n "(cached) " >&6
6384 else
6385   if test -n "$ac_ct_AS"; then
6386   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6387 else
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in $PATH
6390 do
6391   IFS=$as_save_IFS
6392   test -z "$as_dir" && as_dir=.
6393     for ac_exec_ext in '' $ac_executable_extensions; do
6394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6395     ac_cv_prog_ac_ct_AS="as"
6396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397     break 2
6398   fi
6399 done
6400   done
6401 IFS=$as_save_IFS
6402
6403 fi
6404 fi
6405 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6406 if test -n "$ac_ct_AS"; then
6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6408 $as_echo "$ac_ct_AS" >&6; }
6409 else
6410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6411 $as_echo "no" >&6; }
6412 fi
6413
6414   if test "x$ac_ct_AS" = x; then
6415     AS="false"
6416   else
6417     case $cross_compiling:$ac_tool_warned in
6418 yes:)
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6421 ac_tool_warned=yes ;;
6422 esac
6423     AS=$ac_ct_AS
6424   fi
6425 else
6426   AS="$ac_cv_prog_AS"
6427 fi
6428
6429   if test -n "$ac_tool_prefix"; then
6430   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6431 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6433 $as_echo_n "checking for $ac_word... " >&6; }
6434 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6435   $as_echo_n "(cached) " >&6
6436 else
6437   if test -n "$DLLTOOL"; then
6438   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6439 else
6440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6441 for as_dir in $PATH
6442 do
6443   IFS=$as_save_IFS
6444   test -z "$as_dir" && as_dir=.
6445     for ac_exec_ext in '' $ac_executable_extensions; do
6446   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6447     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6449     break 2
6450   fi
6451 done
6452   done
6453 IFS=$as_save_IFS
6454
6455 fi
6456 fi
6457 DLLTOOL=$ac_cv_prog_DLLTOOL
6458 if test -n "$DLLTOOL"; then
6459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6460 $as_echo "$DLLTOOL" >&6; }
6461 else
6462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6463 $as_echo "no" >&6; }
6464 fi
6465
6466
6467 fi
6468 if test -z "$ac_cv_prog_DLLTOOL"; then
6469   ac_ct_DLLTOOL=$DLLTOOL
6470   # Extract the first word of "dlltool", so it can be a program name with args.
6471 set dummy dlltool; ac_word=$2
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6473 $as_echo_n "checking for $ac_word... " >&6; }
6474 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6475   $as_echo_n "(cached) " >&6
6476 else
6477   if test -n "$ac_ct_DLLTOOL"; then
6478   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6479 else
6480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6481 for as_dir in $PATH
6482 do
6483   IFS=$as_save_IFS
6484   test -z "$as_dir" && as_dir=.
6485     for ac_exec_ext in '' $ac_executable_extensions; do
6486   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6487     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6489     break 2
6490   fi
6491 done
6492   done
6493 IFS=$as_save_IFS
6494
6495 fi
6496 fi
6497 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6498 if test -n "$ac_ct_DLLTOOL"; then
6499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6500 $as_echo "$ac_ct_DLLTOOL" >&6; }
6501 else
6502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6503 $as_echo "no" >&6; }
6504 fi
6505
6506   if test "x$ac_ct_DLLTOOL" = x; then
6507     DLLTOOL="false"
6508   else
6509     case $cross_compiling:$ac_tool_warned in
6510 yes:)
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6513 ac_tool_warned=yes ;;
6514 esac
6515     DLLTOOL=$ac_ct_DLLTOOL
6516   fi
6517 else
6518   DLLTOOL="$ac_cv_prog_DLLTOOL"
6519 fi
6520
6521   if test -n "$ac_tool_prefix"; then
6522   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6527   $as_echo_n "(cached) " >&6
6528 else
6529   if test -n "$OBJDUMP"; then
6530   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6534 do
6535   IFS=$as_save_IFS
6536   test -z "$as_dir" && as_dir=.
6537     for ac_exec_ext in '' $ac_executable_extensions; do
6538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541     break 2
6542   fi
6543 done
6544   done
6545 IFS=$as_save_IFS
6546
6547 fi
6548 fi
6549 OBJDUMP=$ac_cv_prog_OBJDUMP
6550 if test -n "$OBJDUMP"; then
6551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6552 $as_echo "$OBJDUMP" >&6; }
6553 else
6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6556 fi
6557
6558
6559 fi
6560 if test -z "$ac_cv_prog_OBJDUMP"; then
6561   ac_ct_OBJDUMP=$OBJDUMP
6562   # Extract the first word of "objdump", so it can be a program name with args.
6563 set dummy objdump; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6567   $as_echo_n "(cached) " >&6
6568 else
6569   if test -n "$ac_ct_OBJDUMP"; then
6570   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6574 do
6575   IFS=$as_save_IFS
6576   test -z "$as_dir" && as_dir=.
6577     for ac_exec_ext in '' $ac_executable_extensions; do
6578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579     ac_cv_prog_ac_ct_OBJDUMP="objdump"
6580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581     break 2
6582   fi
6583 done
6584   done
6585 IFS=$as_save_IFS
6586
6587 fi
6588 fi
6589 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6590 if test -n "$ac_ct_OBJDUMP"; then
6591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6592 $as_echo "$ac_ct_OBJDUMP" >&6; }
6593 else
6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598   if test "x$ac_ct_OBJDUMP" = x; then
6599     OBJDUMP="false"
6600   else
6601     case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607     OBJDUMP=$ac_ct_OBJDUMP
6608   fi
6609 else
6610   OBJDUMP="$ac_cv_prog_OBJDUMP"
6611 fi
6612
6613   ;;
6614 esac
6615
6616 test -z "$AS" && AS=as
6617
6618
6619
6620
6621
6622 test -z "$DLLTOOL" && DLLTOOL=dlltool
6623
6624
6625
6626
6627
6628 test -z "$OBJDUMP" && OBJDUMP=objdump
6629
6630
6631
6632
6633
6634
6635
6636 case `pwd` in
6637   *\ * | *\     *)
6638     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6639 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6640 esac
6641
6642
6643
6644 macro_version='2.2.6b'
6645 macro_revision='1.3017'
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659 ltmain="$ac_aux_dir/ltmain.sh"
6660
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6662 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6663 if test "${ac_cv_path_SED+set}" = set; then :
6664   $as_echo_n "(cached) " >&6
6665 else
6666             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6667      for ac_i in 1 2 3 4 5 6 7; do
6668        ac_script="$ac_script$as_nl$ac_script"
6669      done
6670      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6671      { ac_script=; unset ac_script;}
6672      if test -z "$SED"; then
6673   ac_path_SED_found=false
6674   # Loop through the user's path and test for each of PROGNAME-LIST
6675   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6676 for as_dir in $PATH
6677 do
6678   IFS=$as_save_IFS
6679   test -z "$as_dir" && as_dir=.
6680     for ac_prog in sed gsed; do
6681     for ac_exec_ext in '' $ac_executable_extensions; do
6682       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6683       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
6684 # Check for GNU ac_path_SED and select it if it is found.
6685   # Check for GNU $ac_path_SED
6686 case `"$ac_path_SED" --version 2>&1` in
6687 *GNU*)
6688   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6689 *)
6690   ac_count=0
6691   $as_echo_n 0123456789 >"conftest.in"
6692   while :
6693   do
6694     cat "conftest.in" "conftest.in" >"conftest.tmp"
6695     mv "conftest.tmp" "conftest.in"
6696     cp "conftest.in" "conftest.nl"
6697     $as_echo '' >> "conftest.nl"
6698     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6699     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6700     as_fn_arith $ac_count + 1 && ac_count=$as_val
6701     if test $ac_count -gt ${ac_path_SED_max-0}; then
6702       # Best one so far, save it but keep looking for a better one
6703       ac_cv_path_SED="$ac_path_SED"
6704       ac_path_SED_max=$ac_count
6705     fi
6706     # 10*(2^10) chars as input seems more than enough
6707     test $ac_count -gt 10 && break
6708   done
6709   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6710 esac
6711
6712       $ac_path_SED_found && break 3
6713     done
6714   done
6715   done
6716 IFS=$as_save_IFS
6717   if test -z "$ac_cv_path_SED"; then
6718     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6719   fi
6720 else
6721   ac_cv_path_SED=$SED
6722 fi
6723
6724 fi
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6726 $as_echo "$ac_cv_path_SED" >&6; }
6727  SED="$ac_cv_path_SED"
6728   rm -f conftest.sed
6729
6730 test -z "$SED" && SED=sed
6731 Xsed="$SED -e 1s/^X//"
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6744 $as_echo_n "checking for fgrep... " >&6; }
6745 if test "${ac_cv_path_FGREP+set}" = set; then :
6746   $as_echo_n "(cached) " >&6
6747 else
6748   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6749    then ac_cv_path_FGREP="$GREP -F"
6750    else
6751      if test -z "$FGREP"; then
6752   ac_path_FGREP_found=false
6753   # Loop through the user's path and test for each of PROGNAME-LIST
6754   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6756 do
6757   IFS=$as_save_IFS
6758   test -z "$as_dir" && as_dir=.
6759     for ac_prog in fgrep; do
6760     for ac_exec_ext in '' $ac_executable_extensions; do
6761       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6762       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6763 # Check for GNU ac_path_FGREP and select it if it is found.
6764   # Check for GNU $ac_path_FGREP
6765 case `"$ac_path_FGREP" --version 2>&1` in
6766 *GNU*)
6767   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6768 *)
6769   ac_count=0
6770   $as_echo_n 0123456789 >"conftest.in"
6771   while :
6772   do
6773     cat "conftest.in" "conftest.in" >"conftest.tmp"
6774     mv "conftest.tmp" "conftest.in"
6775     cp "conftest.in" "conftest.nl"
6776     $as_echo 'FGREP' >> "conftest.nl"
6777     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6778     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6779     as_fn_arith $ac_count + 1 && ac_count=$as_val
6780     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6781       # Best one so far, save it but keep looking for a better one
6782       ac_cv_path_FGREP="$ac_path_FGREP"
6783       ac_path_FGREP_max=$ac_count
6784     fi
6785     # 10*(2^10) chars as input seems more than enough
6786     test $ac_count -gt 10 && break
6787   done
6788   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6789 esac
6790
6791       $ac_path_FGREP_found && break 3
6792     done
6793   done
6794   done
6795 IFS=$as_save_IFS
6796   if test -z "$ac_cv_path_FGREP"; then
6797     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6798   fi
6799 else
6800   ac_cv_path_FGREP=$FGREP
6801 fi
6802
6803    fi
6804 fi
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6806 $as_echo "$ac_cv_path_FGREP" >&6; }
6807  FGREP="$ac_cv_path_FGREP"
6808
6809
6810 test -z "$GREP" && GREP=grep
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830 # Check whether --with-gnu-ld was given.
6831 if test "${with_gnu_ld+set}" = set; then :
6832   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6833 else
6834   with_gnu_ld=no
6835 fi
6836
6837 ac_prog=ld
6838 if test "$GCC" = yes; then
6839   # Check if gcc -print-prog-name=ld gives a path.
6840   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6841 $as_echo_n "checking for ld used by $CC... " >&6; }
6842   case $host in
6843   *-*-mingw*)
6844     # gcc leaves a trailing carriage return which upsets mingw
6845     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6846   *)
6847     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6848   esac
6849   case $ac_prog in
6850     # Accept absolute paths.
6851     [\\/]* | ?:[\\/]*)
6852       re_direlt='/[^/][^/]*/\.\./'
6853       # Canonicalize the pathname of ld
6854       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6855       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6856         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6857       done
6858       test -z "$LD" && LD="$ac_prog"
6859       ;;
6860   "")
6861     # If it fails, then pretend we aren't using GCC.
6862     ac_prog=ld
6863     ;;
6864   *)
6865     # If it is relative, then search for the first ld in PATH.
6866     with_gnu_ld=unknown
6867     ;;
6868   esac
6869 elif test "$with_gnu_ld" = yes; then
6870   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6871 $as_echo_n "checking for GNU ld... " >&6; }
6872 else
6873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6874 $as_echo_n "checking for non-GNU ld... " >&6; }
6875 fi
6876 if test "${lt_cv_path_LD+set}" = set; then :
6877   $as_echo_n "(cached) " >&6
6878 else
6879   if test -z "$LD"; then
6880   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6881   for ac_dir in $PATH; do
6882     IFS="$lt_save_ifs"
6883     test -z "$ac_dir" && ac_dir=.
6884     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6885       lt_cv_path_LD="$ac_dir/$ac_prog"
6886       # Check to see if the program is GNU ld.  I'd rather use --version,
6887       # but apparently some variants of GNU ld only accept -v.
6888       # Break only if it was the GNU/non-GNU ld that we prefer.
6889       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6890       *GNU* | *'with BFD'*)
6891         test "$with_gnu_ld" != no && break
6892         ;;
6893       *)
6894         test "$with_gnu_ld" != yes && break
6895         ;;
6896       esac
6897     fi
6898   done
6899   IFS="$lt_save_ifs"
6900 else
6901   lt_cv_path_LD="$LD" # Let the user override the test with a path.
6902 fi
6903 fi
6904
6905 LD="$lt_cv_path_LD"
6906 if test -n "$LD"; then
6907   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6908 $as_echo "$LD" >&6; }
6909 else
6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6911 $as_echo "no" >&6; }
6912 fi
6913 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6915 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6916 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6917   $as_echo_n "(cached) " >&6
6918 else
6919   # I'd rather use --version here, but apparently some GNU lds only accept -v.
6920 case `$LD -v 2>&1 </dev/null` in
6921 *GNU* | *'with BFD'*)
6922   lt_cv_prog_gnu_ld=yes
6923   ;;
6924 *)
6925   lt_cv_prog_gnu_ld=no
6926   ;;
6927 esac
6928 fi
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6930 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6931 with_gnu_ld=$lt_cv_prog_gnu_ld
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6942 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6943 if test "${lt_cv_path_NM+set}" = set; then :
6944   $as_echo_n "(cached) " >&6
6945 else
6946   if test -n "$NM"; then
6947   # Let the user override the test.
6948   lt_cv_path_NM="$NM"
6949 else
6950   lt_nm_to_check="${ac_tool_prefix}nm"
6951   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6952     lt_nm_to_check="$lt_nm_to_check nm"
6953   fi
6954   for lt_tmp_nm in $lt_nm_to_check; do
6955     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6956     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6957       IFS="$lt_save_ifs"
6958       test -z "$ac_dir" && ac_dir=.
6959       tmp_nm="$ac_dir/$lt_tmp_nm"
6960       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6961         # Check to see if the nm accepts a BSD-compat flag.
6962         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6963         #   nm: unknown option "B" ignored
6964         # Tru64's nm complains that /dev/null is an invalid object file
6965         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6966         */dev/null* | *'Invalid file or object type'*)
6967           lt_cv_path_NM="$tmp_nm -B"
6968           break
6969           ;;
6970         *)
6971           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6972           */dev/null*)
6973             lt_cv_path_NM="$tmp_nm -p"
6974             break
6975             ;;
6976           *)
6977             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6978             continue # so that we can try to find one that supports BSD flags
6979             ;;
6980           esac
6981           ;;
6982         esac
6983       fi
6984     done
6985     IFS="$lt_save_ifs"
6986   done
6987   : ${lt_cv_path_NM=no}
6988 fi
6989 fi
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6991 $as_echo "$lt_cv_path_NM" >&6; }
6992 if test "$lt_cv_path_NM" != "no"; then
6993   NM="$lt_cv_path_NM"
6994 else
6995   # Didn't find any BSD compatible name lister, look for dumpbin.
6996   if test -n "$ac_tool_prefix"; then
6997   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6998   do
6999     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7000 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7002 $as_echo_n "checking for $ac_word... " >&6; }
7003 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7004   $as_echo_n "(cached) " >&6
7005 else
7006   if test -n "$DUMPBIN"; then
7007   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7008 else
7009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010 for as_dir in $PATH
7011 do
7012   IFS=$as_save_IFS
7013   test -z "$as_dir" && as_dir=.
7014     for ac_exec_ext in '' $ac_executable_extensions; do
7015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7016     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7017     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7018     break 2
7019   fi
7020 done
7021   done
7022 IFS=$as_save_IFS
7023
7024 fi
7025 fi
7026 DUMPBIN=$ac_cv_prog_DUMPBIN
7027 if test -n "$DUMPBIN"; then
7028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7029 $as_echo "$DUMPBIN" >&6; }
7030 else
7031   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7032 $as_echo "no" >&6; }
7033 fi
7034
7035
7036     test -n "$DUMPBIN" && break
7037   done
7038 fi
7039 if test -z "$DUMPBIN"; then
7040   ac_ct_DUMPBIN=$DUMPBIN
7041   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7042 do
7043   # Extract the first word of "$ac_prog", so it can be a program name with args.
7044 set dummy $ac_prog; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7048   $as_echo_n "(cached) " >&6
7049 else
7050   if test -n "$ac_ct_DUMPBIN"; then
7051   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7052 else
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7054 for as_dir in $PATH
7055 do
7056   IFS=$as_save_IFS
7057   test -z "$as_dir" && as_dir=.
7058     for ac_exec_ext in '' $ac_executable_extensions; do
7059   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062     break 2
7063   fi
7064 done
7065   done
7066 IFS=$as_save_IFS
7067
7068 fi
7069 fi
7070 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7071 if test -n "$ac_ct_DUMPBIN"; then
7072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7073 $as_echo "$ac_ct_DUMPBIN" >&6; }
7074 else
7075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7077 fi
7078
7079
7080   test -n "$ac_ct_DUMPBIN" && break
7081 done
7082
7083   if test "x$ac_ct_DUMPBIN" = x; then
7084     DUMPBIN=":"
7085   else
7086     case $cross_compiling:$ac_tool_warned in
7087 yes:)
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7089 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7090 ac_tool_warned=yes ;;
7091 esac
7092     DUMPBIN=$ac_ct_DUMPBIN
7093   fi
7094 fi
7095
7096
7097   if test "$DUMPBIN" != ":"; then
7098     NM="$DUMPBIN"
7099   fi
7100 fi
7101 test -z "$NM" && NM=nm
7102
7103
7104
7105
7106
7107
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7109 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7110 if test "${lt_cv_nm_interface+set}" = set; then :
7111   $as_echo_n "(cached) " >&6
7112 else
7113   lt_cv_nm_interface="BSD nm"
7114   echo "int some_variable = 0;" > conftest.$ac_ext
7115   (eval echo "\"\$as_me:7115: $ac_compile\"" >&5)
7116   (eval "$ac_compile" 2>conftest.err)
7117   cat conftest.err >&5
7118   (eval echo "\"\$as_me:7118: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7119   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7120   cat conftest.err >&5
7121   (eval echo "\"\$as_me:7121: output\"" >&5)
7122   cat conftest.out >&5
7123   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7124     lt_cv_nm_interface="MS dumpbin"
7125   fi
7126   rm -f conftest*
7127 fi
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7129 $as_echo "$lt_cv_nm_interface" >&6; }
7130
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7132 $as_echo_n "checking whether ln -s works... " >&6; }
7133 LN_S=$as_ln_s
7134 if test "$LN_S" = "ln -s"; then
7135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7136 $as_echo "yes" >&6; }
7137 else
7138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7139 $as_echo "no, using $LN_S" >&6; }
7140 fi
7141
7142 # find the maximum length of command line arguments
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7144 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7145 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7146   $as_echo_n "(cached) " >&6
7147 else
7148     i=0
7149   teststring="ABCD"
7150
7151   case $build_os in
7152   msdosdjgpp*)
7153     # On DJGPP, this test can blow up pretty badly due to problems in libc
7154     # (any single argument exceeding 2000 bytes causes a buffer overrun
7155     # during glob expansion).  Even if it were fixed, the result of this
7156     # check would be larger than it should be.
7157     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7158     ;;
7159
7160   gnu*)
7161     # Under GNU Hurd, this test is not required because there is
7162     # no limit to the length of command line arguments.
7163     # Libtool will interpret -1 as no limit whatsoever
7164     lt_cv_sys_max_cmd_len=-1;
7165     ;;
7166
7167   cygwin* | mingw* | cegcc*)
7168     # On Win9x/ME, this test blows up -- it succeeds, but takes
7169     # about 5 minutes as the teststring grows exponentially.
7170     # Worse, since 9x/ME are not pre-emptively multitasking,
7171     # you end up with a "frozen" computer, even though with patience
7172     # the test eventually succeeds (with a max line length of 256k).
7173     # Instead, let's just punt: use the minimum linelength reported by
7174     # all of the supported platforms: 8192 (on NT/2K/XP).
7175     lt_cv_sys_max_cmd_len=8192;
7176     ;;
7177
7178   amigaos*)
7179     # On AmigaOS with pdksh, this test takes hours, literally.
7180     # So we just punt and use a minimum line length of 8192.
7181     lt_cv_sys_max_cmd_len=8192;
7182     ;;
7183
7184   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7185     # This has been around since 386BSD, at least.  Likely further.
7186     if test -x /sbin/sysctl; then
7187       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7188     elif test -x /usr/sbin/sysctl; then
7189       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7190     else
7191       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
7192     fi
7193     # And add a safety zone
7194     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7195     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7196     ;;
7197
7198   interix*)
7199     # We know the value 262144 and hardcode it with a safety zone (like BSD)
7200     lt_cv_sys_max_cmd_len=196608
7201     ;;
7202
7203   osf*)
7204     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7205     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7206     # nice to cause kernel panics so lets avoid the loop below.
7207     # First set a reasonable default.
7208     lt_cv_sys_max_cmd_len=16384
7209     #
7210     if test -x /sbin/sysconfig; then
7211       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7212         *1*) lt_cv_sys_max_cmd_len=-1 ;;
7213       esac
7214     fi
7215     ;;
7216   sco3.2v5*)
7217     lt_cv_sys_max_cmd_len=102400
7218     ;;
7219   sysv5* | sco5v6* | sysv4.2uw2*)
7220     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7221     if test -n "$kargmax"; then
7222       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
7223     else
7224       lt_cv_sys_max_cmd_len=32768
7225     fi
7226     ;;
7227   *)
7228     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7229     if test -n "$lt_cv_sys_max_cmd_len"; then
7230       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7231       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7232     else
7233       # Make teststring a little bigger before we do anything with it.
7234       # a 1K string should be a reasonable start.
7235       for i in 1 2 3 4 5 6 7 8 ; do
7236         teststring=$teststring$teststring
7237       done
7238       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7239       # If test is not a shell built-in, we'll probably end up computing a
7240       # maximum length that is only half of the actual maximum length, but
7241       # we can't tell.
7242       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7243                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7244               test $i != 17 # 1/2 MB should be enough
7245       do
7246         i=`expr $i + 1`
7247         teststring=$teststring$teststring
7248       done
7249       # Only check the string length outside the loop.
7250       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7251       teststring=
7252       # Add a significant safety factor because C++ compilers can tack on
7253       # massive amounts of additional arguments before passing them to the
7254       # linker.  It appears as though 1/2 is a usable value.
7255       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7256     fi
7257     ;;
7258   esac
7259
7260 fi
7261
7262 if test -n $lt_cv_sys_max_cmd_len ; then
7263   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7264 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7265 else
7266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7267 $as_echo "none" >&6; }
7268 fi
7269 max_cmd_len=$lt_cv_sys_max_cmd_len
7270
7271
7272
7273
7274
7275
7276 : ${CP="cp -f"}
7277 : ${MV="mv -f"}
7278 : ${RM="rm -f"}
7279
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7281 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7282 # Try some XSI features
7283 xsi_shell=no
7284 ( _lt_dummy="a/b/c"
7285   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7286       = c,a/b,, \
7287     && eval 'test $(( 1 + 1 )) -eq 2 \
7288     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7289   && xsi_shell=yes
7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7291 $as_echo "$xsi_shell" >&6; }
7292
7293
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7295 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7296 lt_shell_append=no
7297 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7298     >/dev/null 2>&1 \
7299   && lt_shell_append=yes
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7301 $as_echo "$lt_shell_append" >&6; }
7302
7303
7304 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7305   lt_unset=unset
7306 else
7307   lt_unset=false
7308 fi
7309
7310
7311
7312
7313
7314 # test EBCDIC or ASCII
7315 case `echo X|tr X '\101'` in
7316  A) # ASCII based system
7317     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7318   lt_SP2NL='tr \040 \012'
7319   lt_NL2SP='tr \015\012 \040\040'
7320   ;;
7321  *) # EBCDIC based system
7322   lt_SP2NL='tr \100 \n'
7323   lt_NL2SP='tr \r\n \100\100'
7324   ;;
7325 esac
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7336 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7337 if test "${lt_cv_ld_reload_flag+set}" = set; then :
7338   $as_echo_n "(cached) " >&6
7339 else
7340   lt_cv_ld_reload_flag='-r'
7341 fi
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7343 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7344 reload_flag=$lt_cv_ld_reload_flag
7345 case $reload_flag in
7346 "" | " "*) ;;
7347 *) reload_flag=" $reload_flag" ;;
7348 esac
7349 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7350 case $host_os in
7351   darwin*)
7352     if test "$GCC" = yes; then
7353       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7354     else
7355       reload_cmds='$LD$reload_flag -o $output$reload_objs'
7356     fi
7357     ;;
7358 esac
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368 if test -n "$ac_tool_prefix"; then
7369   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7370 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372 $as_echo_n "checking for $ac_word... " >&6; }
7373 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
7374   $as_echo_n "(cached) " >&6
7375 else
7376   if test -n "$OBJDUMP"; then
7377   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7378 else
7379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380 for as_dir in $PATH
7381 do
7382   IFS=$as_save_IFS
7383   test -z "$as_dir" && as_dir=.
7384     for ac_exec_ext in '' $ac_executable_extensions; do
7385   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7386     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388     break 2
7389   fi
7390 done
7391   done
7392 IFS=$as_save_IFS
7393
7394 fi
7395 fi
7396 OBJDUMP=$ac_cv_prog_OBJDUMP
7397 if test -n "$OBJDUMP"; then
7398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7399 $as_echo "$OBJDUMP" >&6; }
7400 else
7401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402 $as_echo "no" >&6; }
7403 fi
7404
7405
7406 fi
7407 if test -z "$ac_cv_prog_OBJDUMP"; then
7408   ac_ct_OBJDUMP=$OBJDUMP
7409   # Extract the first word of "objdump", so it can be a program name with args.
7410 set dummy objdump; ac_word=$2
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412 $as_echo_n "checking for $ac_word... " >&6; }
7413 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
7414   $as_echo_n "(cached) " >&6
7415 else
7416   if test -n "$ac_ct_OBJDUMP"; then
7417   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7418 else
7419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420 for as_dir in $PATH
7421 do
7422   IFS=$as_save_IFS
7423   test -z "$as_dir" && as_dir=.
7424     for ac_exec_ext in '' $ac_executable_extensions; do
7425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7426     ac_cv_prog_ac_ct_OBJDUMP="objdump"
7427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428     break 2
7429   fi
7430 done
7431   done
7432 IFS=$as_save_IFS
7433
7434 fi
7435 fi
7436 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7437 if test -n "$ac_ct_OBJDUMP"; then
7438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7439 $as_echo "$ac_ct_OBJDUMP" >&6; }
7440 else
7441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442 $as_echo "no" >&6; }
7443 fi
7444
7445   if test "x$ac_ct_OBJDUMP" = x; then
7446     OBJDUMP="false"
7447   else
7448     case $cross_compiling:$ac_tool_warned in
7449 yes:)
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452 ac_tool_warned=yes ;;
7453 esac
7454     OBJDUMP=$ac_ct_OBJDUMP
7455   fi
7456 else
7457   OBJDUMP="$ac_cv_prog_OBJDUMP"
7458 fi
7459
7460 test -z "$OBJDUMP" && OBJDUMP=objdump
7461
7462
7463
7464
7465
7466
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7468 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7469 if test "${lt_cv_deplibs_check_method+set}" = set; then :
7470   $as_echo_n "(cached) " >&6
7471 else
7472   lt_cv_file_magic_cmd='$MAGIC_CMD'
7473 lt_cv_file_magic_test_file=
7474 lt_cv_deplibs_check_method='unknown'
7475 # Need to set the preceding variable on all platforms that support
7476 # interlibrary dependencies.
7477 # 'none' -- dependencies not supported.
7478 # `unknown' -- same as none, but documents that we really don't know.
7479 # 'pass_all' -- all dependencies passed with no checks.
7480 # 'test_compile' -- check by making test program.
7481 # 'file_magic [[regex]]' -- check by looking for files in library path
7482 # which responds to the $file_magic_cmd with a given extended regex.
7483 # If you have `file' or equivalent on your system and you're not sure
7484 # whether `pass_all' will *always* work, you probably want this one.
7485
7486 case $host_os in
7487 aix[4-9]*)
7488   lt_cv_deplibs_check_method=pass_all
7489   ;;
7490
7491 beos*)
7492   lt_cv_deplibs_check_method=pass_all
7493   ;;
7494
7495 bsdi[45]*)
7496   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7497   lt_cv_file_magic_cmd='/usr/bin/file -L'
7498   lt_cv_file_magic_test_file=/shlib/libc.so
7499   ;;
7500
7501 cygwin*)
7502   # func_win32_libid is a shell function defined in ltmain.sh
7503   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7504   lt_cv_file_magic_cmd='func_win32_libid'
7505   ;;
7506
7507 mingw* | pw32*)
7508   # Base MSYS/MinGW do not provide the 'file' command needed by
7509   # func_win32_libid shell function, so use a weaker test based on 'objdump',
7510   # unless we find 'file', for example because we are cross-compiling.
7511   if ( file / ) >/dev/null 2>&1; then
7512     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7513     lt_cv_file_magic_cmd='func_win32_libid'
7514   else
7515     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
7516     lt_cv_file_magic_cmd='$OBJDUMP -f'
7517   fi
7518   ;;
7519
7520 cegcc)
7521   # use the weaker test based on 'objdump'. See mingw*.
7522   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7523   lt_cv_file_magic_cmd='$OBJDUMP -f'
7524   ;;
7525
7526 darwin* | rhapsody*)
7527   lt_cv_deplibs_check_method=pass_all
7528   ;;
7529
7530 freebsd* | dragonfly*)
7531   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7532     case $host_cpu in
7533     i*86 )
7534       # Not sure whether the presence of OpenBSD here was a mistake.
7535       # Let's accept both of them until this is cleared up.
7536       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7537       lt_cv_file_magic_cmd=/usr/bin/file
7538       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7539       ;;
7540     esac
7541   else
7542     lt_cv_deplibs_check_method=pass_all
7543   fi
7544   ;;
7545
7546 gnu*)
7547   lt_cv_deplibs_check_method=pass_all
7548   ;;
7549
7550 hpux10.20* | hpux11*)
7551   lt_cv_file_magic_cmd=/usr/bin/file
7552   case $host_cpu in
7553   ia64*)
7554     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7555     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7556     ;;
7557   hppa*64*)
7558     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
7559     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7560     ;;
7561   *)
7562     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
7563     lt_cv_file_magic_test_file=/usr/lib/libc.sl
7564     ;;
7565   esac
7566   ;;
7567
7568 interix[3-9]*)
7569   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7570   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7571   ;;
7572
7573 irix5* | irix6* | nonstopux*)
7574   case $LD in
7575   *-32|*"-32 ") libmagic=32-bit;;
7576   *-n32|*"-n32 ") libmagic=N32;;
7577   *-64|*"-64 ") libmagic=64-bit;;
7578   *) libmagic=never-match;;
7579   esac
7580   lt_cv_deplibs_check_method=pass_all
7581   ;;
7582
7583 # This must be Linux ELF.
7584 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7585   lt_cv_deplibs_check_method=pass_all
7586   ;;
7587
7588 netbsd* | netbsdelf*-gnu)
7589   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7590     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7591   else
7592     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7593   fi
7594   ;;
7595
7596 newos6*)
7597   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7598   lt_cv_file_magic_cmd=/usr/bin/file
7599   lt_cv_file_magic_test_file=/usr/lib/libnls.so
7600   ;;
7601
7602 *nto* | *qnx*)
7603   lt_cv_deplibs_check_method=pass_all
7604   ;;
7605
7606 openbsd*)
7607   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7608     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7609   else
7610     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7611   fi
7612   ;;
7613
7614 osf3* | osf4* | osf5*)
7615   lt_cv_deplibs_check_method=pass_all
7616   ;;
7617
7618 rdos*)
7619   lt_cv_deplibs_check_method=pass_all
7620   ;;
7621
7622 solaris*)
7623   lt_cv_deplibs_check_method=pass_all
7624   ;;
7625
7626 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7627   lt_cv_deplibs_check_method=pass_all
7628   ;;
7629
7630 sysv4 | sysv4.3*)
7631   case $host_vendor in
7632   motorola)
7633     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]'
7634     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7635     ;;
7636   ncr)
7637     lt_cv_deplibs_check_method=pass_all
7638     ;;
7639   sequent)
7640     lt_cv_file_magic_cmd='/bin/file'
7641     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7642     ;;
7643   sni)
7644     lt_cv_file_magic_cmd='/bin/file'
7645     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7646     lt_cv_file_magic_test_file=/lib/libc.so
7647     ;;
7648   siemens)
7649     lt_cv_deplibs_check_method=pass_all
7650     ;;
7651   pc)
7652     lt_cv_deplibs_check_method=pass_all
7653     ;;
7654   esac
7655   ;;
7656
7657 tpf*)
7658   lt_cv_deplibs_check_method=pass_all
7659   ;;
7660 esac
7661
7662 fi
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7664 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7665 file_magic_cmd=$lt_cv_file_magic_cmd
7666 deplibs_check_method=$lt_cv_deplibs_check_method
7667 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680 if test -n "$ac_tool_prefix"; then
7681   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7682 set dummy ${ac_tool_prefix}ar; ac_word=$2
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7684 $as_echo_n "checking for $ac_word... " >&6; }
7685 if test "${ac_cv_prog_AR+set}" = set; then :
7686   $as_echo_n "(cached) " >&6
7687 else
7688   if test -n "$AR"; then
7689   ac_cv_prog_AR="$AR" # Let the user override the test.
7690 else
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 for as_dir in $PATH
7693 do
7694   IFS=$as_save_IFS
7695   test -z "$as_dir" && as_dir=.
7696     for ac_exec_ext in '' $ac_executable_extensions; do
7697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698     ac_cv_prog_AR="${ac_tool_prefix}ar"
7699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700     break 2
7701   fi
7702 done
7703   done
7704 IFS=$as_save_IFS
7705
7706 fi
7707 fi
7708 AR=$ac_cv_prog_AR
7709 if test -n "$AR"; then
7710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7711 $as_echo "$AR" >&6; }
7712 else
7713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 $as_echo "no" >&6; }
7715 fi
7716
7717
7718 fi
7719 if test -z "$ac_cv_prog_AR"; then
7720   ac_ct_AR=$AR
7721   # Extract the first word of "ar", so it can be a program name with args.
7722 set dummy ar; ac_word=$2
7723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724 $as_echo_n "checking for $ac_word... " >&6; }
7725 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7726   $as_echo_n "(cached) " >&6
7727 else
7728   if test -n "$ac_ct_AR"; then
7729   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7730 else
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 for as_dir in $PATH
7733 do
7734   IFS=$as_save_IFS
7735   test -z "$as_dir" && as_dir=.
7736     for ac_exec_ext in '' $ac_executable_extensions; do
7737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738     ac_cv_prog_ac_ct_AR="ar"
7739     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7740     break 2
7741   fi
7742 done
7743   done
7744 IFS=$as_save_IFS
7745
7746 fi
7747 fi
7748 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7749 if test -n "$ac_ct_AR"; then
7750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7751 $as_echo "$ac_ct_AR" >&6; }
7752 else
7753   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754 $as_echo "no" >&6; }
7755 fi
7756
7757   if test "x$ac_ct_AR" = x; then
7758     AR="false"
7759   else
7760     case $cross_compiling:$ac_tool_warned in
7761 yes:)
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7764 ac_tool_warned=yes ;;
7765 esac
7766     AR=$ac_ct_AR
7767   fi
7768 else
7769   AR="$ac_cv_prog_AR"
7770 fi
7771
7772 test -z "$AR" && AR=ar
7773 test -z "$AR_FLAGS" && AR_FLAGS=cru
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785 if test -n "$ac_tool_prefix"; then
7786   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7787 set dummy ${ac_tool_prefix}strip; ac_word=$2
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7789 $as_echo_n "checking for $ac_word... " >&6; }
7790 if test "${ac_cv_prog_STRIP+set}" = set; then :
7791   $as_echo_n "(cached) " >&6
7792 else
7793   if test -n "$STRIP"; then
7794   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7795 else
7796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7797 for as_dir in $PATH
7798 do
7799   IFS=$as_save_IFS
7800   test -z "$as_dir" && as_dir=.
7801     for ac_exec_ext in '' $ac_executable_extensions; do
7802   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7803     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7804     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7805     break 2
7806   fi
7807 done
7808   done
7809 IFS=$as_save_IFS
7810
7811 fi
7812 fi
7813 STRIP=$ac_cv_prog_STRIP
7814 if test -n "$STRIP"; then
7815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7816 $as_echo "$STRIP" >&6; }
7817 else
7818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7819 $as_echo "no" >&6; }
7820 fi
7821
7822
7823 fi
7824 if test -z "$ac_cv_prog_STRIP"; then
7825   ac_ct_STRIP=$STRIP
7826   # Extract the first word of "strip", so it can be a program name with args.
7827 set dummy strip; ac_word=$2
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829 $as_echo_n "checking for $ac_word... " >&6; }
7830 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7831   $as_echo_n "(cached) " >&6
7832 else
7833   if test -n "$ac_ct_STRIP"; then
7834   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7835 else
7836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7837 for as_dir in $PATH
7838 do
7839   IFS=$as_save_IFS
7840   test -z "$as_dir" && as_dir=.
7841     for ac_exec_ext in '' $ac_executable_extensions; do
7842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7843     ac_cv_prog_ac_ct_STRIP="strip"
7844     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7845     break 2
7846   fi
7847 done
7848   done
7849 IFS=$as_save_IFS
7850
7851 fi
7852 fi
7853 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7854 if test -n "$ac_ct_STRIP"; then
7855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7856 $as_echo "$ac_ct_STRIP" >&6; }
7857 else
7858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859 $as_echo "no" >&6; }
7860 fi
7861
7862   if test "x$ac_ct_STRIP" = x; then
7863     STRIP=":"
7864   else
7865     case $cross_compiling:$ac_tool_warned in
7866 yes:)
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7868 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7869 ac_tool_warned=yes ;;
7870 esac
7871     STRIP=$ac_ct_STRIP
7872   fi
7873 else
7874   STRIP="$ac_cv_prog_STRIP"
7875 fi
7876
7877 test -z "$STRIP" && STRIP=:
7878
7879
7880
7881
7882
7883
7884 if test -n "$ac_tool_prefix"; then
7885   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7888 $as_echo_n "checking for $ac_word... " >&6; }
7889 if test "${ac_cv_prog_RANLIB+set}" = set; then :
7890   $as_echo_n "(cached) " >&6
7891 else
7892   if test -n "$RANLIB"; then
7893   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7894 else
7895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7896 for as_dir in $PATH
7897 do
7898   IFS=$as_save_IFS
7899   test -z "$as_dir" && as_dir=.
7900     for ac_exec_ext in '' $ac_executable_extensions; do
7901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7902     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7903     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904     break 2
7905   fi
7906 done
7907   done
7908 IFS=$as_save_IFS
7909
7910 fi
7911 fi
7912 RANLIB=$ac_cv_prog_RANLIB
7913 if test -n "$RANLIB"; then
7914   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7915 $as_echo "$RANLIB" >&6; }
7916 else
7917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918 $as_echo "no" >&6; }
7919 fi
7920
7921
7922 fi
7923 if test -z "$ac_cv_prog_RANLIB"; then
7924   ac_ct_RANLIB=$RANLIB
7925   # Extract the first word of "ranlib", so it can be a program name with args.
7926 set dummy ranlib; ac_word=$2
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7928 $as_echo_n "checking for $ac_word... " >&6; }
7929 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7930   $as_echo_n "(cached) " >&6
7931 else
7932   if test -n "$ac_ct_RANLIB"; then
7933   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7934 else
7935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7936 for as_dir in $PATH
7937 do
7938   IFS=$as_save_IFS
7939   test -z "$as_dir" && as_dir=.
7940     for ac_exec_ext in '' $ac_executable_extensions; do
7941   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7942     ac_cv_prog_ac_ct_RANLIB="ranlib"
7943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7944     break 2
7945   fi
7946 done
7947   done
7948 IFS=$as_save_IFS
7949
7950 fi
7951 fi
7952 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7953 if test -n "$ac_ct_RANLIB"; then
7954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7955 $as_echo "$ac_ct_RANLIB" >&6; }
7956 else
7957   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7959 fi
7960
7961   if test "x$ac_ct_RANLIB" = x; then
7962     RANLIB=":"
7963   else
7964     case $cross_compiling:$ac_tool_warned in
7965 yes:)
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7968 ac_tool_warned=yes ;;
7969 esac
7970     RANLIB=$ac_ct_RANLIB
7971   fi
7972 else
7973   RANLIB="$ac_cv_prog_RANLIB"
7974 fi
7975
7976 test -z "$RANLIB" && RANLIB=:
7977
7978
7979
7980
7981
7982
7983 # Determine commands to create old-style static archives.
7984 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7985 old_postinstall_cmds='chmod 644 $oldlib'
7986 old_postuninstall_cmds=
7987
7988 if test -n "$RANLIB"; then
7989   case $host_os in
7990   openbsd*)
7991     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7992     ;;
7993   *)
7994     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7995     ;;
7996   esac
7997   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7998 fi
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033 # If no C compiler was specified, use CC.
8034 LTCC=${LTCC-"$CC"}
8035
8036 # If no C compiler flags were specified, use CFLAGS.
8037 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8038
8039 # Allow CC to be a program name with arguments.
8040 compiler=$CC
8041
8042
8043 # Check for command to grab the raw symbol name followed by C symbol from nm.
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8045 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8046 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8047   $as_echo_n "(cached) " >&6
8048 else
8049
8050 # These are sane defaults that work on at least a few old systems.
8051 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8052
8053 # Character class describing NM global symbol codes.
8054 symcode='[BCDEGRST]'
8055
8056 # Regexp to match symbols that can be accessed directly from C.
8057 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8058
8059 # Define system-specific variables.
8060 case $host_os in
8061 aix*)
8062   symcode='[BCDT]'
8063   ;;
8064 cygwin* | mingw* | pw32* | cegcc*)
8065   symcode='[ABCDGISTW]'
8066   ;;
8067 hpux*)
8068   if test "$host_cpu" = ia64; then
8069     symcode='[ABCDEGRST]'
8070   fi
8071   ;;
8072 irix* | nonstopux*)
8073   symcode='[BCDEGRST]'
8074   ;;
8075 osf*)
8076   symcode='[BCDEGQRST]'
8077   ;;
8078 solaris*)
8079   symcode='[BDRT]'
8080   ;;
8081 sco3.2v5*)
8082   symcode='[DT]'
8083   ;;
8084 sysv4.2uw2*)
8085   symcode='[DT]'
8086   ;;
8087 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8088   symcode='[ABDT]'
8089   ;;
8090 sysv4)
8091   symcode='[DFNSTU]'
8092   ;;
8093 esac
8094
8095 # If we're using GNU nm, then use its standard symbol codes.
8096 case `$NM -V 2>&1` in
8097 *GNU* | *'with BFD'*)
8098   symcode='[ABCDGIRSTW]' ;;
8099 esac
8100
8101 # Transform an extracted symbol line into a proper C declaration.
8102 # Some systems (esp. on ia64) link data and code symbols differently,
8103 # so use this general approach.
8104 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8105
8106 # Transform an extracted symbol line into symbol name and symbol address
8107 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
8108 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'"
8109
8110 # Handle CRLF in mingw tool chain
8111 opt_cr=
8112 case $build_os in
8113 mingw*)
8114   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8115   ;;
8116 esac
8117
8118 # Try without a prefix underscore, then with it.
8119 for ac_symprfx in "" "_"; do
8120
8121   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8122   symxfrm="\\1 $ac_symprfx\\2 \\2"
8123
8124   # Write the raw and C identifiers.
8125   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8126     # Fake it for dumpbin and say T for any non-static function
8127     # and D for any global variable.
8128     # Also find C++ and __fastcall symbols from MSVC++,
8129     # which start with @ or ?.
8130     lt_cv_sys_global_symbol_pipe="$AWK '"\
8131 "     {last_section=section; section=\$ 3};"\
8132 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8133 "     \$ 0!~/External *\|/{next};"\
8134 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8135 "     {if(hide[section]) next};"\
8136 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8137 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8138 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
8139 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8140 "     ' prfx=^$ac_symprfx"
8141   else
8142     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8143   fi
8144
8145   # Check to see that the pipe works correctly.
8146   pipe_works=no
8147
8148   rm -f conftest*
8149   cat > conftest.$ac_ext <<_LT_EOF
8150 #ifdef __cplusplus
8151 extern "C" {
8152 #endif
8153 char nm_test_var;
8154 void nm_test_func(void);
8155 void nm_test_func(void){}
8156 #ifdef __cplusplus
8157 }
8158 #endif
8159 int main(){nm_test_var='a';nm_test_func();return(0);}
8160 _LT_EOF
8161
8162   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8163   (eval $ac_compile) 2>&5
8164   ac_status=$?
8165   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8166   test $ac_status = 0; }; then
8167     # Now try to grab the symbols.
8168     nlist=conftest.nm
8169     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8170   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8171   ac_status=$?
8172   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8173   test $ac_status = 0; } && test -s "$nlist"; then
8174       # Try sorting and uniquifying the output.
8175       if sort "$nlist" | uniq > "$nlist"T; then
8176         mv -f "$nlist"T "$nlist"
8177       else
8178         rm -f "$nlist"T
8179       fi
8180
8181       # Make sure that we snagged all the symbols we need.
8182       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8183         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8184           cat <<_LT_EOF > conftest.$ac_ext
8185 #ifdef __cplusplus
8186 extern "C" {
8187 #endif
8188
8189 _LT_EOF
8190           # Now generate the symbol file.
8191           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8192
8193           cat <<_LT_EOF >> conftest.$ac_ext
8194
8195 /* The mapping between symbol names and symbols.  */
8196 const struct {
8197   const char *name;
8198   void       *address;
8199 }
8200 lt__PROGRAM__LTX_preloaded_symbols[] =
8201 {
8202   { "@PROGRAM@", (void *) 0 },
8203 _LT_EOF
8204           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8205           cat <<\_LT_EOF >> conftest.$ac_ext
8206   {0, (void *) 0}
8207 };
8208
8209 /* This works around a problem in FreeBSD linker */
8210 #ifdef FREEBSD_WORKAROUND
8211 static const void *lt_preloaded_setup() {
8212   return lt__PROGRAM__LTX_preloaded_symbols;
8213 }
8214 #endif
8215
8216 #ifdef __cplusplus
8217 }
8218 #endif
8219 _LT_EOF
8220           # Now try linking the two files.
8221           mv conftest.$ac_objext conftstm.$ac_objext
8222           lt_save_LIBS="$LIBS"
8223           lt_save_CFLAGS="$CFLAGS"
8224           LIBS="conftstm.$ac_objext"
8225           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8226           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8227   (eval $ac_link) 2>&5
8228   ac_status=$?
8229   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8230   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8231             pipe_works=yes
8232           fi
8233           LIBS="$lt_save_LIBS"
8234           CFLAGS="$lt_save_CFLAGS"
8235         else
8236           echo "cannot find nm_test_func in $nlist" >&5
8237         fi
8238       else
8239         echo "cannot find nm_test_var in $nlist" >&5
8240       fi
8241     else
8242       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8243     fi
8244   else
8245     echo "$progname: failed program was:" >&5
8246     cat conftest.$ac_ext >&5
8247   fi
8248   rm -rf conftest* conftst*
8249
8250   # Do not use the global_symbol_pipe unless it works.
8251   if test "$pipe_works" = yes; then
8252     break
8253   else
8254     lt_cv_sys_global_symbol_pipe=
8255   fi
8256 done
8257
8258 fi
8259
8260 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8261   lt_cv_sys_global_symbol_to_cdecl=
8262 fi
8263 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8265 $as_echo "failed" >&6; }
8266 else
8267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8268 $as_echo "ok" >&6; }
8269 fi
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292 # Check whether --enable-libtool-lock was given.
8293 if test "${enable_libtool_lock+set}" = set; then :
8294   enableval=$enable_libtool_lock;
8295 fi
8296
8297 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8298
8299 # Some flags need to be propagated to the compiler or linker for good
8300 # libtool support.
8301 case $host in
8302 ia64-*-hpux*)
8303   # Find out which ABI we are using.
8304   echo 'int i;' > conftest.$ac_ext
8305   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8306   (eval $ac_compile) 2>&5
8307   ac_status=$?
8308   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8309   test $ac_status = 0; }; then
8310     case `/usr/bin/file conftest.$ac_objext` in
8311       *ELF-32*)
8312         HPUX_IA64_MODE="32"
8313         ;;
8314       *ELF-64*)
8315         HPUX_IA64_MODE="64"
8316         ;;
8317     esac
8318   fi
8319   rm -rf conftest*
8320   ;;
8321 *-*-irix6*)
8322   # Find out which ABI we are using.
8323   echo '#line 8323 "configure"' > conftest.$ac_ext
8324   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8325   (eval $ac_compile) 2>&5
8326   ac_status=$?
8327   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8328   test $ac_status = 0; }; then
8329     if test "$lt_cv_prog_gnu_ld" = yes; then
8330       case `/usr/bin/file conftest.$ac_objext` in
8331         *32-bit*)
8332           LD="${LD-ld} -melf32bsmip"
8333           ;;
8334         *N32*)
8335           LD="${LD-ld} -melf32bmipn32"
8336           ;;
8337         *64-bit*)
8338           LD="${LD-ld} -melf64bmip"
8339         ;;
8340       esac
8341     else
8342       case `/usr/bin/file conftest.$ac_objext` in
8343         *32-bit*)
8344           LD="${LD-ld} -32"
8345           ;;
8346         *N32*)
8347           LD="${LD-ld} -n32"
8348           ;;
8349         *64-bit*)
8350           LD="${LD-ld} -64"
8351           ;;
8352       esac
8353     fi
8354   fi
8355   rm -rf conftest*
8356   ;;
8357
8358 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8359 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8360   # Find out which ABI we are using.
8361   echo 'int i;' > conftest.$ac_ext
8362   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8363   (eval $ac_compile) 2>&5
8364   ac_status=$?
8365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8366   test $ac_status = 0; }; then
8367     case `/usr/bin/file conftest.o` in
8368       *32-bit*)
8369         case $host in
8370           x86_64-*kfreebsd*-gnu)
8371             LD="${LD-ld} -m elf_i386_fbsd"
8372             ;;
8373           x86_64-*linux*)
8374             LD="${LD-ld} -m elf_i386"
8375             ;;
8376           ppc64-*linux*|powerpc64-*linux*)
8377             LD="${LD-ld} -m elf32ppclinux"
8378             ;;
8379           s390x-*linux*)
8380             LD="${LD-ld} -m elf_s390"
8381             ;;
8382           sparc64-*linux*)
8383             LD="${LD-ld} -m elf32_sparc"
8384             ;;
8385         esac
8386         ;;
8387       *64-bit*)
8388         case $host in
8389           x86_64-*kfreebsd*-gnu)
8390             LD="${LD-ld} -m elf_x86_64_fbsd"
8391             ;;
8392           x86_64-*linux*)
8393             LD="${LD-ld} -m elf_x86_64"
8394             ;;
8395           ppc*-*linux*|powerpc*-*linux*)
8396             LD="${LD-ld} -m elf64ppc"
8397             ;;
8398           s390*-*linux*|s390*-*tpf*)
8399             LD="${LD-ld} -m elf64_s390"
8400             ;;
8401           sparc*-*linux*)
8402             LD="${LD-ld} -m elf64_sparc"
8403             ;;
8404         esac
8405         ;;
8406     esac
8407   fi
8408   rm -rf conftest*
8409   ;;
8410
8411 *-*-sco3.2v5*)
8412   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8413   SAVE_CFLAGS="$CFLAGS"
8414   CFLAGS="$CFLAGS -belf"
8415   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8416 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8417 if test "${lt_cv_cc_needs_belf+set}" = set; then :
8418   $as_echo_n "(cached) " >&6
8419 else
8420   ac_ext=c
8421 ac_cpp='$CPP $CPPFLAGS'
8422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8425
8426      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h.  */
8428
8429 int
8430 main ()
8431 {
8432
8433   ;
8434   return 0;
8435 }
8436 _ACEOF
8437 if ac_fn_c_try_link "$LINENO"; then :
8438   lt_cv_cc_needs_belf=yes
8439 else
8440   lt_cv_cc_needs_belf=no
8441 fi
8442 rm -f core conftest.err conftest.$ac_objext \
8443     conftest$ac_exeext conftest.$ac_ext
8444      ac_ext=c
8445 ac_cpp='$CPP $CPPFLAGS'
8446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8449
8450 fi
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8452 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8453   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8454     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8455     CFLAGS="$SAVE_CFLAGS"
8456   fi
8457   ;;
8458 sparc*-*solaris*)
8459   # Find out which ABI we are using.
8460   echo 'int i;' > conftest.$ac_ext
8461   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8462   (eval $ac_compile) 2>&5
8463   ac_status=$?
8464   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8465   test $ac_status = 0; }; then
8466     case `/usr/bin/file conftest.o` in
8467     *64-bit*)
8468       case $lt_cv_prog_gnu_ld in
8469       yes*) LD="${LD-ld} -m elf64_sparc" ;;
8470       *)
8471         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8472           LD="${LD-ld} -64"
8473         fi
8474         ;;
8475       esac
8476       ;;
8477     esac
8478   fi
8479   rm -rf conftest*
8480   ;;
8481 esac
8482
8483 need_locks="$enable_libtool_lock"
8484
8485
8486   case $host_os in
8487     rhapsody* | darwin*)
8488     if test -n "$ac_tool_prefix"; then
8489   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
8494   $as_echo_n "(cached) " >&6
8495 else
8496   if test -n "$DSYMUTIL"; then
8497   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8498 else
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8500 for as_dir in $PATH
8501 do
8502   IFS=$as_save_IFS
8503   test -z "$as_dir" && as_dir=.
8504     for ac_exec_ext in '' $ac_executable_extensions; do
8505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8506     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
8507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8508     break 2
8509   fi
8510 done
8511   done
8512 IFS=$as_save_IFS
8513
8514 fi
8515 fi
8516 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8517 if test -n "$DSYMUTIL"; then
8518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8519 $as_echo "$DSYMUTIL" >&6; }
8520 else
8521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8523 fi
8524
8525
8526 fi
8527 if test -z "$ac_cv_prog_DSYMUTIL"; then
8528   ac_ct_DSYMUTIL=$DSYMUTIL
8529   # Extract the first word of "dsymutil", so it can be a program name with args.
8530 set dummy dsymutil; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
8534   $as_echo_n "(cached) " >&6
8535 else
8536   if test -n "$ac_ct_DSYMUTIL"; then
8537   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8538 else
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8540 for as_dir in $PATH
8541 do
8542   IFS=$as_save_IFS
8543   test -z "$as_dir" && as_dir=.
8544     for ac_exec_ext in '' $ac_executable_extensions; do
8545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
8547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8548     break 2
8549   fi
8550 done
8551   done
8552 IFS=$as_save_IFS
8553
8554 fi
8555 fi
8556 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8557 if test -n "$ac_ct_DSYMUTIL"; then
8558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8559 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8560 else
8561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8563 fi
8564
8565   if test "x$ac_ct_DSYMUTIL" = x; then
8566     DSYMUTIL=":"
8567   else
8568     case $cross_compiling:$ac_tool_warned in
8569 yes:)
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8573 esac
8574     DSYMUTIL=$ac_ct_DSYMUTIL
8575   fi
8576 else
8577   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8578 fi
8579
8580     if test -n "$ac_tool_prefix"; then
8581   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8582 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8584 $as_echo_n "checking for $ac_word... " >&6; }
8585 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
8586   $as_echo_n "(cached) " >&6
8587 else
8588   if test -n "$NMEDIT"; then
8589   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8590 else
8591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8592 for as_dir in $PATH
8593 do
8594   IFS=$as_save_IFS
8595   test -z "$as_dir" && as_dir=.
8596     for ac_exec_ext in '' $ac_executable_extensions; do
8597   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8600     break 2
8601   fi
8602 done
8603   done
8604 IFS=$as_save_IFS
8605
8606 fi
8607 fi
8608 NMEDIT=$ac_cv_prog_NMEDIT
8609 if test -n "$NMEDIT"; then
8610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8611 $as_echo "$NMEDIT" >&6; }
8612 else
8613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8615 fi
8616
8617
8618 fi
8619 if test -z "$ac_cv_prog_NMEDIT"; then
8620   ac_ct_NMEDIT=$NMEDIT
8621   # Extract the first word of "nmedit", so it can be a program name with args.
8622 set dummy nmedit; ac_word=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
8626   $as_echo_n "(cached) " >&6
8627 else
8628   if test -n "$ac_ct_NMEDIT"; then
8629   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8630 else
8631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8632 for as_dir in $PATH
8633 do
8634   IFS=$as_save_IFS
8635   test -z "$as_dir" && as_dir=.
8636     for ac_exec_ext in '' $ac_executable_extensions; do
8637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638     ac_cv_prog_ac_ct_NMEDIT="nmedit"
8639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8640     break 2
8641   fi
8642 done
8643   done
8644 IFS=$as_save_IFS
8645
8646 fi
8647 fi
8648 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8649 if test -n "$ac_ct_NMEDIT"; then
8650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8651 $as_echo "$ac_ct_NMEDIT" >&6; }
8652 else
8653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8655 fi
8656
8657   if test "x$ac_ct_NMEDIT" = x; then
8658     NMEDIT=":"
8659   else
8660     case $cross_compiling:$ac_tool_warned in
8661 yes:)
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8664 ac_tool_warned=yes ;;
8665 esac
8666     NMEDIT=$ac_ct_NMEDIT
8667   fi
8668 else
8669   NMEDIT="$ac_cv_prog_NMEDIT"
8670 fi
8671
8672     if test -n "$ac_tool_prefix"; then
8673   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8674 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if test "${ac_cv_prog_LIPO+set}" = set; then :
8678   $as_echo_n "(cached) " >&6
8679 else
8680   if test -n "$LIPO"; then
8681   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8682 else
8683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 for as_dir in $PATH
8685 do
8686   IFS=$as_save_IFS
8687   test -z "$as_dir" && as_dir=.
8688     for ac_exec_ext in '' $ac_executable_extensions; do
8689   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8690     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8691     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8692     break 2
8693   fi
8694 done
8695   done
8696 IFS=$as_save_IFS
8697
8698 fi
8699 fi
8700 LIPO=$ac_cv_prog_LIPO
8701 if test -n "$LIPO"; then
8702   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8703 $as_echo "$LIPO" >&6; }
8704 else
8705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8706 $as_echo "no" >&6; }
8707 fi
8708
8709
8710 fi
8711 if test -z "$ac_cv_prog_LIPO"; then
8712   ac_ct_LIPO=$LIPO
8713   # Extract the first word of "lipo", so it can be a program name with args.
8714 set dummy lipo; ac_word=$2
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8716 $as_echo_n "checking for $ac_word... " >&6; }
8717 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8718   $as_echo_n "(cached) " >&6
8719 else
8720   if test -n "$ac_ct_LIPO"; then
8721   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8722 else
8723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8724 for as_dir in $PATH
8725 do
8726   IFS=$as_save_IFS
8727   test -z "$as_dir" && as_dir=.
8728     for ac_exec_ext in '' $ac_executable_extensions; do
8729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730     ac_cv_prog_ac_ct_LIPO="lipo"
8731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8732     break 2
8733   fi
8734 done
8735   done
8736 IFS=$as_save_IFS
8737
8738 fi
8739 fi
8740 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8741 if test -n "$ac_ct_LIPO"; then
8742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8743 $as_echo "$ac_ct_LIPO" >&6; }
8744 else
8745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8747 fi
8748
8749   if test "x$ac_ct_LIPO" = x; then
8750     LIPO=":"
8751   else
8752     case $cross_compiling:$ac_tool_warned in
8753 yes:)
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8756 ac_tool_warned=yes ;;
8757 esac
8758     LIPO=$ac_ct_LIPO
8759   fi
8760 else
8761   LIPO="$ac_cv_prog_LIPO"
8762 fi
8763
8764     if test -n "$ac_tool_prefix"; then
8765   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8766 set dummy ${ac_tool_prefix}otool; ac_word=$2
8767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8768 $as_echo_n "checking for $ac_word... " >&6; }
8769 if test "${ac_cv_prog_OTOOL+set}" = set; then :
8770   $as_echo_n "(cached) " >&6
8771 else
8772   if test -n "$OTOOL"; then
8773   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8774 else
8775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8776 for as_dir in $PATH
8777 do
8778   IFS=$as_save_IFS
8779   test -z "$as_dir" && as_dir=.
8780     for ac_exec_ext in '' $ac_executable_extensions; do
8781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8782     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8783     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784     break 2
8785   fi
8786 done
8787   done
8788 IFS=$as_save_IFS
8789
8790 fi
8791 fi
8792 OTOOL=$ac_cv_prog_OTOOL
8793 if test -n "$OTOOL"; then
8794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8795 $as_echo "$OTOOL" >&6; }
8796 else
8797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8799 fi
8800
8801
8802 fi
8803 if test -z "$ac_cv_prog_OTOOL"; then
8804   ac_ct_OTOOL=$OTOOL
8805   # Extract the first word of "otool", so it can be a program name with args.
8806 set dummy otool; ac_word=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8810   $as_echo_n "(cached) " >&6
8811 else
8812   if test -n "$ac_ct_OTOOL"; then
8813   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8814 else
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8816 for as_dir in $PATH
8817 do
8818   IFS=$as_save_IFS
8819   test -z "$as_dir" && as_dir=.
8820     for ac_exec_ext in '' $ac_executable_extensions; do
8821   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822     ac_cv_prog_ac_ct_OTOOL="otool"
8823     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8824     break 2
8825   fi
8826 done
8827   done
8828 IFS=$as_save_IFS
8829
8830 fi
8831 fi
8832 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8833 if test -n "$ac_ct_OTOOL"; then
8834   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8835 $as_echo "$ac_ct_OTOOL" >&6; }
8836 else
8837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8839 fi
8840
8841   if test "x$ac_ct_OTOOL" = x; then
8842     OTOOL=":"
8843   else
8844     case $cross_compiling:$ac_tool_warned in
8845 yes:)
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8848 ac_tool_warned=yes ;;
8849 esac
8850     OTOOL=$ac_ct_OTOOL
8851   fi
8852 else
8853   OTOOL="$ac_cv_prog_OTOOL"
8854 fi
8855
8856     if test -n "$ac_tool_prefix"; then
8857   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8858 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8860 $as_echo_n "checking for $ac_word... " >&6; }
8861 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8862   $as_echo_n "(cached) " >&6
8863 else
8864   if test -n "$OTOOL64"; then
8865   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8866 else
8867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8868 for as_dir in $PATH
8869 do
8870   IFS=$as_save_IFS
8871   test -z "$as_dir" && as_dir=.
8872     for ac_exec_ext in '' $ac_executable_extensions; do
8873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8874     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8876     break 2
8877   fi
8878 done
8879   done
8880 IFS=$as_save_IFS
8881
8882 fi
8883 fi
8884 OTOOL64=$ac_cv_prog_OTOOL64
8885 if test -n "$OTOOL64"; then
8886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8887 $as_echo "$OTOOL64" >&6; }
8888 else
8889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8890 $as_echo "no" >&6; }
8891 fi
8892
8893
8894 fi
8895 if test -z "$ac_cv_prog_OTOOL64"; then
8896   ac_ct_OTOOL64=$OTOOL64
8897   # Extract the first word of "otool64", so it can be a program name with args.
8898 set dummy otool64; ac_word=$2
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8900 $as_echo_n "checking for $ac_word... " >&6; }
8901 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8902   $as_echo_n "(cached) " >&6
8903 else
8904   if test -n "$ac_ct_OTOOL64"; then
8905   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8906 else
8907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8908 for as_dir in $PATH
8909 do
8910   IFS=$as_save_IFS
8911   test -z "$as_dir" && as_dir=.
8912     for ac_exec_ext in '' $ac_executable_extensions; do
8913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8914     ac_cv_prog_ac_ct_OTOOL64="otool64"
8915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916     break 2
8917   fi
8918 done
8919   done
8920 IFS=$as_save_IFS
8921
8922 fi
8923 fi
8924 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8925 if test -n "$ac_ct_OTOOL64"; then
8926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8927 $as_echo "$ac_ct_OTOOL64" >&6; }
8928 else
8929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8931 fi
8932
8933   if test "x$ac_ct_OTOOL64" = x; then
8934     OTOOL64=":"
8935   else
8936     case $cross_compiling:$ac_tool_warned in
8937 yes:)
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8940 ac_tool_warned=yes ;;
8941 esac
8942     OTOOL64=$ac_ct_OTOOL64
8943   fi
8944 else
8945   OTOOL64="$ac_cv_prog_OTOOL64"
8946 fi
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8975 $as_echo_n "checking for -single_module linker flag... " >&6; }
8976 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8977   $as_echo_n "(cached) " >&6
8978 else
8979   lt_cv_apple_cc_single_mod=no
8980       if test -z "${LT_MULTI_MODULE}"; then
8981         # By default we will add the -single_module flag. You can override
8982         # by either setting the environment variable LT_MULTI_MODULE
8983         # non-empty at configure time, or by adding -multi_module to the
8984         # link flags.
8985         rm -rf libconftest.dylib*
8986         echo "int foo(void){return 1;}" > conftest.c
8987         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8988 -dynamiclib -Wl,-single_module conftest.c" >&5
8989         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8990           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8991         _lt_result=$?
8992         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8993           lt_cv_apple_cc_single_mod=yes
8994         else
8995           cat conftest.err >&5
8996         fi
8997         rm -rf libconftest.dylib*
8998         rm -f conftest.*
8999       fi
9000 fi
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9002 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9003     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9004 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9005 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9006   $as_echo_n "(cached) " >&6
9007 else
9008   lt_cv_ld_exported_symbols_list=no
9009       save_LDFLAGS=$LDFLAGS
9010       echo "_main" > conftest.sym
9011       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9012       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9013 /* end confdefs.h.  */
9014
9015 int
9016 main ()
9017 {
9018
9019   ;
9020   return 0;
9021 }
9022 _ACEOF
9023 if ac_fn_c_try_link "$LINENO"; then :
9024   lt_cv_ld_exported_symbols_list=yes
9025 else
9026   lt_cv_ld_exported_symbols_list=no
9027 fi
9028 rm -f core conftest.err conftest.$ac_objext \
9029     conftest$ac_exeext conftest.$ac_ext
9030         LDFLAGS="$save_LDFLAGS"
9031
9032 fi
9033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9034 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9035     case $host_os in
9036     rhapsody* | darwin1.[012])
9037       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9038     darwin1.*)
9039       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9040     darwin*) # darwin 5.x on
9041       # if running on 10.5 or later, the deployment target defaults
9042       # to the OS version, if on x86, and 10.4, the deployment
9043       # target defaults to 10.4. Don't you love it?
9044       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9045         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9046           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9047         10.[012]*)
9048           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9049         10.*)
9050           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9051       esac
9052     ;;
9053   esac
9054     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9055       _lt_dar_single_mod='$single_module'
9056     fi
9057     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9058       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9059     else
9060       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9061     fi
9062     if test "$DSYMUTIL" != ":"; then
9063       _lt_dsymutil='~$DSYMUTIL $lib || :'
9064     else
9065       _lt_dsymutil=
9066     fi
9067     ;;
9068   esac
9069
9070 for ac_header in dlfcn.h
9071 do :
9072   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9073 "
9074 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9075   cat >>confdefs.h <<_ACEOF
9076 #define HAVE_DLFCN_H 1
9077 _ACEOF
9078
9079 fi
9080
9081 done
9082
9083
9084
9085 # Set options
9086
9087
9088
9089         enable_dlopen=no
9090
9091
9092
9093             # Check whether --enable-shared was given.
9094 if test "${enable_shared+set}" = set; then :
9095   enableval=$enable_shared; p=${PACKAGE-default}
9096     case $enableval in
9097     yes) enable_shared=yes ;;
9098     no) enable_shared=no ;;
9099     *)
9100       enable_shared=no
9101       # Look at the argument we got.  We use all the common list separators.
9102       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9103       for pkg in $enableval; do
9104         IFS="$lt_save_ifs"
9105         if test "X$pkg" = "X$p"; then
9106           enable_shared=yes
9107         fi
9108       done
9109       IFS="$lt_save_ifs"
9110       ;;
9111     esac
9112 else
9113   enable_shared=yes
9114 fi
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124   # Check whether --enable-static was given.
9125 if test "${enable_static+set}" = set; then :
9126   enableval=$enable_static; p=${PACKAGE-default}
9127     case $enableval in
9128     yes) enable_static=yes ;;
9129     no) enable_static=no ;;
9130     *)
9131      enable_static=no
9132       # Look at the argument we got.  We use all the common list separators.
9133       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9134       for pkg in $enableval; do
9135         IFS="$lt_save_ifs"
9136         if test "X$pkg" = "X$p"; then
9137           enable_static=yes
9138         fi
9139       done
9140       IFS="$lt_save_ifs"
9141       ;;
9142     esac
9143 else
9144   enable_static=yes
9145 fi
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156 # Check whether --with-pic was given.
9157 if test "${with_pic+set}" = set; then :
9158   withval=$with_pic; pic_mode="$withval"
9159 else
9160   pic_mode=default
9161 fi
9162
9163
9164 test -z "$pic_mode" && pic_mode=default
9165
9166
9167
9168
9169
9170
9171
9172   # Check whether --enable-fast-install was given.
9173 if test "${enable_fast_install+set}" = set; then :
9174   enableval=$enable_fast_install; p=${PACKAGE-default}
9175     case $enableval in
9176     yes) enable_fast_install=yes ;;
9177     no) enable_fast_install=no ;;
9178     *)
9179       enable_fast_install=no
9180       # Look at the argument we got.  We use all the common list separators.
9181       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9182       for pkg in $enableval; do
9183         IFS="$lt_save_ifs"
9184         if test "X$pkg" = "X$p"; then
9185           enable_fast_install=yes
9186         fi
9187       done
9188       IFS="$lt_save_ifs"
9189       ;;
9190     esac
9191 else
9192   enable_fast_install=yes
9193 fi
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205 # This can be used to rebuild libtool when needed
9206 LIBTOOL_DEPS="$ltmain"
9207
9208 # Always use our own libtool.
9209 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235 test -z "$LN_S" && LN_S="ln -s"
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250 if test -n "${ZSH_VERSION+set}" ; then
9251    setopt NO_GLOB_SUBST
9252 fi
9253
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9255 $as_echo_n "checking for objdir... " >&6; }
9256 if test "${lt_cv_objdir+set}" = set; then :
9257   $as_echo_n "(cached) " >&6
9258 else
9259   rm -f .libs 2>/dev/null
9260 mkdir .libs 2>/dev/null
9261 if test -d .libs; then
9262   lt_cv_objdir=.libs
9263 else
9264   # MS-DOS does not allow filenames that begin with a dot.
9265   lt_cv_objdir=_libs
9266 fi
9267 rmdir .libs 2>/dev/null
9268 fi
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9270 $as_echo "$lt_cv_objdir" >&6; }
9271 objdir=$lt_cv_objdir
9272
9273
9274
9275
9276
9277 cat >>confdefs.h <<_ACEOF
9278 #define LT_OBJDIR "$lt_cv_objdir/"
9279 _ACEOF
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297 case $host_os in
9298 aix3*)
9299   # AIX sometimes has problems with the GCC collect2 program.  For some
9300   # reason, if we set the COLLECT_NAMES environment variable, the problems
9301   # vanish in a puff of smoke.
9302   if test "X${COLLECT_NAMES+set}" != Xset; then
9303     COLLECT_NAMES=
9304     export COLLECT_NAMES
9305   fi
9306   ;;
9307 esac
9308
9309 # Sed substitution that helps us do robust quoting.  It backslashifies
9310 # metacharacters that are still active within double-quoted strings.
9311 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
9312
9313 # Same as above, but do not quote variable references.
9314 double_quote_subst='s/\(["`\\]\)/\\\1/g'
9315
9316 # Sed substitution to delay expansion of an escaped shell variable in a
9317 # double_quote_subst'ed string.
9318 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
9319
9320 # Sed substitution to delay expansion of an escaped single quote.
9321 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
9322
9323 # Sed substitution to avoid accidental globbing in evaled expressions
9324 no_glob_subst='s/\*/\\\*/g'
9325
9326 # Global variables:
9327 ofile=libtool
9328 can_build_shared=yes
9329
9330 # All known linkers require a `.a' archive for static linking (except MSVC,
9331 # which needs '.lib').
9332 libext=a
9333
9334 with_gnu_ld="$lt_cv_prog_gnu_ld"
9335
9336 old_CC="$CC"
9337 old_CFLAGS="$CFLAGS"
9338
9339 # Set sane defaults for various variables
9340 test -z "$CC" && CC=cc
9341 test -z "$LTCC" && LTCC=$CC
9342 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9343 test -z "$LD" && LD=ld
9344 test -z "$ac_objext" && ac_objext=o
9345
9346 for cc_temp in $compiler""; do
9347   case $cc_temp in
9348     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9349     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9350     \-*) ;;
9351     *) break;;
9352   esac
9353 done
9354 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9355
9356
9357 # Only perform the check for file, if the check method requires it
9358 test -z "$MAGIC_CMD" && MAGIC_CMD=file
9359 case $deplibs_check_method in
9360 file_magic*)
9361   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9362     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9363 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9364 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9365   $as_echo_n "(cached) " >&6
9366 else
9367   case $MAGIC_CMD in
9368 [\\/*] |  ?:[\\/]*)
9369   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9370   ;;
9371 *)
9372   lt_save_MAGIC_CMD="$MAGIC_CMD"
9373   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9374   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9375   for ac_dir in $ac_dummy; do
9376     IFS="$lt_save_ifs"
9377     test -z "$ac_dir" && ac_dir=.
9378     if test -f $ac_dir/${ac_tool_prefix}file; then
9379       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9380       if test -n "$file_magic_test_file"; then
9381         case $deplibs_check_method in
9382         "file_magic "*)
9383           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9384           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9385           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9386             $EGREP "$file_magic_regex" > /dev/null; then
9387             :
9388           else
9389             cat <<_LT_EOF 1>&2
9390
9391 *** Warning: the command libtool uses to detect shared libraries,
9392 *** $file_magic_cmd, produces output that libtool cannot recognize.
9393 *** The result is that libtool may fail to recognize shared libraries
9394 *** as such.  This will affect the creation of libtool libraries that
9395 *** depend on shared libraries, but programs linked with such libtool
9396 *** libraries will work regardless of this problem.  Nevertheless, you
9397 *** may want to report the problem to your system manager and/or to
9398 *** bug-libtool@gnu.org
9399
9400 _LT_EOF
9401           fi ;;
9402         esac
9403       fi
9404       break
9405     fi
9406   done
9407   IFS="$lt_save_ifs"
9408   MAGIC_CMD="$lt_save_MAGIC_CMD"
9409   ;;
9410 esac
9411 fi
9412
9413 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9414 if test -n "$MAGIC_CMD"; then
9415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9416 $as_echo "$MAGIC_CMD" >&6; }
9417 else
9418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9419 $as_echo "no" >&6; }
9420 fi
9421
9422
9423
9424
9425
9426 if test -z "$lt_cv_path_MAGIC_CMD"; then
9427   if test -n "$ac_tool_prefix"; then
9428     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9429 $as_echo_n "checking for file... " >&6; }
9430 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
9431   $as_echo_n "(cached) " >&6
9432 else
9433   case $MAGIC_CMD in
9434 [\\/*] |  ?:[\\/]*)
9435   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9436   ;;
9437 *)
9438   lt_save_MAGIC_CMD="$MAGIC_CMD"
9439   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9440   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9441   for ac_dir in $ac_dummy; do
9442     IFS="$lt_save_ifs"
9443     test -z "$ac_dir" && ac_dir=.
9444     if test -f $ac_dir/file; then
9445       lt_cv_path_MAGIC_CMD="$ac_dir/file"
9446       if test -n "$file_magic_test_file"; then
9447         case $deplibs_check_method in
9448         "file_magic "*)
9449           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9450           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9451           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9452             $EGREP "$file_magic_regex" > /dev/null; then
9453             :
9454           else
9455             cat <<_LT_EOF 1>&2
9456
9457 *** Warning: the command libtool uses to detect shared libraries,
9458 *** $file_magic_cmd, produces output that libtool cannot recognize.
9459 *** The result is that libtool may fail to recognize shared libraries
9460 *** as such.  This will affect the creation of libtool libraries that
9461 *** depend on shared libraries, but programs linked with such libtool
9462 *** libraries will work regardless of this problem.  Nevertheless, you
9463 *** may want to report the problem to your system manager and/or to
9464 *** bug-libtool@gnu.org
9465
9466 _LT_EOF
9467           fi ;;
9468         esac
9469       fi
9470       break
9471     fi
9472   done
9473   IFS="$lt_save_ifs"
9474   MAGIC_CMD="$lt_save_MAGIC_CMD"
9475   ;;
9476 esac
9477 fi
9478
9479 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9480 if test -n "$MAGIC_CMD"; then
9481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9482 $as_echo "$MAGIC_CMD" >&6; }
9483 else
9484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9485 $as_echo "no" >&6; }
9486 fi
9487
9488
9489   else
9490     MAGIC_CMD=:
9491   fi
9492 fi
9493
9494   fi
9495   ;;
9496 esac
9497
9498 # Use C for the default configuration in the libtool script
9499
9500 lt_save_CC="$CC"
9501 ac_ext=c
9502 ac_cpp='$CPP $CPPFLAGS'
9503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9506
9507
9508 # Source file extension for C test sources.
9509 ac_ext=c
9510
9511 # Object file extension for compiled C test sources.
9512 objext=o
9513 objext=$objext
9514
9515 # Code to be used in simple compile tests
9516 lt_simple_compile_test_code="int some_variable = 0;"
9517
9518 # Code to be used in simple link tests
9519 lt_simple_link_test_code='int main(){return(0);}'
9520
9521
9522
9523
9524
9525
9526
9527 # If no C compiler was specified, use CC.
9528 LTCC=${LTCC-"$CC"}
9529
9530 # If no C compiler flags were specified, use CFLAGS.
9531 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9532
9533 # Allow CC to be a program name with arguments.
9534 compiler=$CC
9535
9536 # Save the default compiler, since it gets overwritten when the other
9537 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9538 compiler_DEFAULT=$CC
9539
9540 # save warnings/boilerplate of simple test code
9541 ac_outfile=conftest.$ac_objext
9542 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9543 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9544 _lt_compiler_boilerplate=`cat conftest.err`
9545 $RM conftest*
9546
9547 ac_outfile=conftest.$ac_objext
9548 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9549 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9550 _lt_linker_boilerplate=`cat conftest.err`
9551 $RM -r conftest*
9552
9553
9554 ## CAVEAT EMPTOR:
9555 ## There is no encapsulation within the following macros, do not change
9556 ## the running order or otherwise move them around unless you know exactly
9557 ## what you are doing...
9558 if test -n "$compiler"; then
9559
9560 lt_prog_compiler_no_builtin_flag=
9561
9562 if test "$GCC" = yes; then
9563   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
9564
9565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9566 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9567 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
9568   $as_echo_n "(cached) " >&6
9569 else
9570   lt_cv_prog_compiler_rtti_exceptions=no
9571    ac_outfile=conftest.$ac_objext
9572    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9573    lt_compiler_flag="-fno-rtti -fno-exceptions"
9574    # Insert the option either (1) after the last *FLAGS variable, or
9575    # (2) before a word containing "conftest.", or (3) at the end.
9576    # Note that $ac_compile itself does not contain backslashes and begins
9577    # with a dollar sign (not a hyphen), so the echo should work correctly.
9578    # The option is referenced via a variable to avoid confusing sed.
9579    lt_compile=`echo "$ac_compile" | $SED \
9580    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9581    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9582    -e 's:$: $lt_compiler_flag:'`
9583    (eval echo "\"\$as_me:9583: $lt_compile\"" >&5)
9584    (eval "$lt_compile" 2>conftest.err)
9585    ac_status=$?
9586    cat conftest.err >&5
9587    echo "$as_me:9587: \$? = $ac_status" >&5
9588    if (exit $ac_status) && test -s "$ac_outfile"; then
9589      # The compiler can only warn and ignore the option if not recognized
9590      # So say no if there are warnings other than the usual output.
9591      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9592      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9593      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9594        lt_cv_prog_compiler_rtti_exceptions=yes
9595      fi
9596    fi
9597    $RM conftest*
9598
9599 fi
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9601 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9602
9603 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9604     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9605 else
9606     :
9607 fi
9608
9609 fi
9610
9611
9612
9613
9614
9615
9616   lt_prog_compiler_wl=
9617 lt_prog_compiler_pic=
9618 lt_prog_compiler_static=
9619
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9621 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9622
9623   if test "$GCC" = yes; then
9624     lt_prog_compiler_wl='-Wl,'
9625     lt_prog_compiler_static='-static'
9626
9627     case $host_os in
9628       aix*)
9629       # All AIX code is PIC.
9630       if test "$host_cpu" = ia64; then
9631         # AIX 5 now supports IA64 processor
9632         lt_prog_compiler_static='-Bstatic'
9633       fi
9634       ;;
9635
9636     amigaos*)
9637       case $host_cpu in
9638       powerpc)
9639             # see comment about AmigaOS4 .so support
9640             lt_prog_compiler_pic='-fPIC'
9641         ;;
9642       m68k)
9643             # FIXME: we need at least 68020 code to build shared libraries, but
9644             # adding the `-m68020' flag to GCC prevents building anything better,
9645             # like `-m68040'.
9646             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9647         ;;
9648       esac
9649       ;;
9650
9651     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9652       # PIC is the default for these OSes.
9653       ;;
9654
9655     mingw* | cygwin* | pw32* | os2* | cegcc*)
9656       # This hack is so that the source file can tell whether it is being
9657       # built for inclusion in a dll (and should export symbols for example).
9658       # Although the cygwin gcc ignores -fPIC, still need this for old-style
9659       # (--disable-auto-import) libraries
9660       lt_prog_compiler_pic='-DDLL_EXPORT'
9661       ;;
9662
9663     darwin* | rhapsody*)
9664       # PIC is the default on this platform
9665       # Common symbols not allowed in MH_DYLIB files
9666       lt_prog_compiler_pic='-fno-common'
9667       ;;
9668
9669     hpux*)
9670       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9671       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9672       # sets the default TLS model and affects inlining.
9673       case $host_cpu in
9674       hppa*64*)
9675         # +Z the default
9676         ;;
9677       *)
9678         lt_prog_compiler_pic='-fPIC'
9679         ;;
9680       esac
9681       ;;
9682
9683     interix[3-9]*)
9684       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9685       # Instead, we relocate shared libraries at runtime.
9686       ;;
9687
9688     msdosdjgpp*)
9689       # Just because we use GCC doesn't mean we suddenly get shared libraries
9690       # on systems that don't support them.
9691       lt_prog_compiler_can_build_shared=no
9692       enable_shared=no
9693       ;;
9694
9695     *nto* | *qnx*)
9696       # QNX uses GNU C++, but need to define -shared option too, otherwise
9697       # it will coredump.
9698       lt_prog_compiler_pic='-fPIC -shared'
9699       ;;
9700
9701     sysv4*MP*)
9702       if test -d /usr/nec; then
9703         lt_prog_compiler_pic=-Kconform_pic
9704       fi
9705       ;;
9706
9707     *)
9708       lt_prog_compiler_pic='-fPIC'
9709       ;;
9710     esac
9711   else
9712     # PORTME Check for flag to pass linker flags through the system compiler.
9713     case $host_os in
9714     aix*)
9715       lt_prog_compiler_wl='-Wl,'
9716       if test "$host_cpu" = ia64; then
9717         # AIX 5 now supports IA64 processor
9718         lt_prog_compiler_static='-Bstatic'
9719       else
9720         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9721       fi
9722       ;;
9723
9724     mingw* | cygwin* | pw32* | os2* | cegcc*)
9725       # This hack is so that the source file can tell whether it is being
9726       # built for inclusion in a dll (and should export symbols for example).
9727       lt_prog_compiler_pic='-DDLL_EXPORT'
9728       ;;
9729
9730     hpux9* | hpux10* | hpux11*)
9731       lt_prog_compiler_wl='-Wl,'
9732       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9733       # not for PA HP-UX.
9734       case $host_cpu in
9735       hppa*64*|ia64*)
9736         # +Z the default
9737         ;;
9738       *)
9739         lt_prog_compiler_pic='+Z'
9740         ;;
9741       esac
9742       # Is there a better lt_prog_compiler_static that works with the bundled CC?
9743       lt_prog_compiler_static='${wl}-a ${wl}archive'
9744       ;;
9745
9746     irix5* | irix6* | nonstopux*)
9747       lt_prog_compiler_wl='-Wl,'
9748       # PIC (with -KPIC) is the default.
9749       lt_prog_compiler_static='-non_shared'
9750       ;;
9751
9752     linux* | k*bsd*-gnu | kopensolaris*-gnu)
9753       case $cc_basename in
9754       # old Intel for x86_64 which still supported -KPIC.
9755       ecc*)
9756         lt_prog_compiler_wl='-Wl,'
9757         lt_prog_compiler_pic='-KPIC'
9758         lt_prog_compiler_static='-static'
9759         ;;
9760       # icc used to be incompatible with GCC.
9761       # ICC 10 doesn't accept -KPIC any more.
9762       icc* | ifort*)
9763         lt_prog_compiler_wl='-Wl,'
9764         lt_prog_compiler_pic='-fPIC'
9765         lt_prog_compiler_static='-static'
9766         ;;
9767       # Lahey Fortran 8.1.
9768       lf95*)
9769         lt_prog_compiler_wl='-Wl,'
9770         lt_prog_compiler_pic='--shared'
9771         lt_prog_compiler_static='--static'
9772         ;;
9773       pgcc* | pgf77* | pgf90* | pgf95*)
9774         # Portland Group compilers (*not* the Pentium gcc compiler,
9775         # which looks to be a dead project)
9776         lt_prog_compiler_wl='-Wl,'
9777         lt_prog_compiler_pic='-fpic'
9778         lt_prog_compiler_static='-Bstatic'
9779         ;;
9780       ccc*)
9781         lt_prog_compiler_wl='-Wl,'
9782         # All Alpha code is PIC.
9783         lt_prog_compiler_static='-non_shared'
9784         ;;
9785       xl*)
9786         # IBM XL C 8.0/Fortran 10.1 on PPC
9787         lt_prog_compiler_wl='-Wl,'
9788         lt_prog_compiler_pic='-qpic'
9789         lt_prog_compiler_static='-qstaticlink'
9790         ;;
9791       *)
9792         case `$CC -V 2>&1 | sed 5q` in
9793         *Sun\ C*)
9794           # Sun C 5.9
9795           lt_prog_compiler_pic='-KPIC'
9796           lt_prog_compiler_static='-Bstatic'
9797           lt_prog_compiler_wl='-Wl,'
9798           ;;
9799         *Sun\ F*)
9800           # Sun Fortran 8.3 passes all unrecognized flags to the linker
9801           lt_prog_compiler_pic='-KPIC'
9802           lt_prog_compiler_static='-Bstatic'
9803           lt_prog_compiler_wl=''
9804           ;;
9805         esac
9806         ;;
9807       esac
9808       ;;
9809
9810     newsos6)
9811       lt_prog_compiler_pic='-KPIC'
9812       lt_prog_compiler_static='-Bstatic'
9813       ;;
9814
9815     *nto* | *qnx*)
9816       # QNX uses GNU C++, but need to define -shared option too, otherwise
9817       # it will coredump.
9818       lt_prog_compiler_pic='-fPIC -shared'
9819       ;;
9820
9821     osf3* | osf4* | osf5*)
9822       lt_prog_compiler_wl='-Wl,'
9823       # All OSF/1 code is PIC.
9824       lt_prog_compiler_static='-non_shared'
9825       ;;
9826
9827     rdos*)
9828       lt_prog_compiler_static='-non_shared'
9829       ;;
9830
9831     solaris*)
9832       lt_prog_compiler_pic='-KPIC'
9833       lt_prog_compiler_static='-Bstatic'
9834       case $cc_basename in
9835       f77* | f90* | f95*)
9836         lt_prog_compiler_wl='-Qoption ld ';;
9837       *)
9838         lt_prog_compiler_wl='-Wl,';;
9839       esac
9840       ;;
9841
9842     sunos4*)
9843       lt_prog_compiler_wl='-Qoption ld '
9844       lt_prog_compiler_pic='-PIC'
9845       lt_prog_compiler_static='-Bstatic'
9846       ;;
9847
9848     sysv4 | sysv4.2uw2* | sysv4.3*)
9849       lt_prog_compiler_wl='-Wl,'
9850       lt_prog_compiler_pic='-KPIC'
9851       lt_prog_compiler_static='-Bstatic'
9852       ;;
9853
9854     sysv4*MP*)
9855       if test -d /usr/nec ;then
9856         lt_prog_compiler_pic='-Kconform_pic'
9857         lt_prog_compiler_static='-Bstatic'
9858       fi
9859       ;;
9860
9861     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9862       lt_prog_compiler_wl='-Wl,'
9863       lt_prog_compiler_pic='-KPIC'
9864       lt_prog_compiler_static='-Bstatic'
9865       ;;
9866
9867     unicos*)
9868       lt_prog_compiler_wl='-Wl,'
9869       lt_prog_compiler_can_build_shared=no
9870       ;;
9871
9872     uts4*)
9873       lt_prog_compiler_pic='-pic'
9874       lt_prog_compiler_static='-Bstatic'
9875       ;;
9876
9877     *)
9878       lt_prog_compiler_can_build_shared=no
9879       ;;
9880     esac
9881   fi
9882
9883 case $host_os in
9884   # For platforms which do not support PIC, -DPIC is meaningless:
9885   *djgpp*)
9886     lt_prog_compiler_pic=
9887     ;;
9888   *)
9889     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9890     ;;
9891 esac
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9893 $as_echo "$lt_prog_compiler_pic" >&6; }
9894
9895
9896
9897
9898
9899
9900 #
9901 # Check to make sure the PIC flag actually works.
9902 #
9903 if test -n "$lt_prog_compiler_pic"; then
9904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9905 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9906 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9907   $as_echo_n "(cached) " >&6
9908 else
9909   lt_cv_prog_compiler_pic_works=no
9910    ac_outfile=conftest.$ac_objext
9911    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9912    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9913    # Insert the option either (1) after the last *FLAGS variable, or
9914    # (2) before a word containing "conftest.", or (3) at the end.
9915    # Note that $ac_compile itself does not contain backslashes and begins
9916    # with a dollar sign (not a hyphen), so the echo should work correctly.
9917    # The option is referenced via a variable to avoid confusing sed.
9918    lt_compile=`echo "$ac_compile" | $SED \
9919    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9920    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9921    -e 's:$: $lt_compiler_flag:'`
9922    (eval echo "\"\$as_me:9922: $lt_compile\"" >&5)
9923    (eval "$lt_compile" 2>conftest.err)
9924    ac_status=$?
9925    cat conftest.err >&5
9926    echo "$as_me:9926: \$? = $ac_status" >&5
9927    if (exit $ac_status) && test -s "$ac_outfile"; then
9928      # The compiler can only warn and ignore the option if not recognized
9929      # So say no if there are warnings other than the usual output.
9930      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9931      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9932      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9933        lt_cv_prog_compiler_pic_works=yes
9934      fi
9935    fi
9936    $RM conftest*
9937
9938 fi
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9940 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9941
9942 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9943     case $lt_prog_compiler_pic in
9944      "" | " "*) ;;
9945      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9946      esac
9947 else
9948     lt_prog_compiler_pic=
9949      lt_prog_compiler_can_build_shared=no
9950 fi
9951
9952 fi
9953
9954
9955
9956
9957
9958
9959 #
9960 # Check to make sure the static flag actually works.
9961 #
9962 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9964 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9965 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9966   $as_echo_n "(cached) " >&6
9967 else
9968   lt_cv_prog_compiler_static_works=no
9969    save_LDFLAGS="$LDFLAGS"
9970    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9971    echo "$lt_simple_link_test_code" > conftest.$ac_ext
9972    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9973      # The linker can only warn and ignore the option if not recognized
9974      # So say no if there are warnings
9975      if test -s conftest.err; then
9976        # Append any errors to the config.log.
9977        cat conftest.err 1>&5
9978        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9979        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9980        if diff conftest.exp conftest.er2 >/dev/null; then
9981          lt_cv_prog_compiler_static_works=yes
9982        fi
9983      else
9984        lt_cv_prog_compiler_static_works=yes
9985      fi
9986    fi
9987    $RM -r conftest*
9988    LDFLAGS="$save_LDFLAGS"
9989
9990 fi
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9992 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9993
9994 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9995     :
9996 else
9997     lt_prog_compiler_static=
9998 fi
9999
10000
10001
10002
10003
10004
10005
10006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10007 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10008 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10009   $as_echo_n "(cached) " >&6
10010 else
10011   lt_cv_prog_compiler_c_o=no
10012    $RM -r conftest 2>/dev/null
10013    mkdir conftest
10014    cd conftest
10015    mkdir out
10016    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10017
10018    lt_compiler_flag="-o out/conftest2.$ac_objext"
10019    # Insert the option either (1) after the last *FLAGS variable, or
10020    # (2) before a word containing "conftest.", or (3) at the end.
10021    # Note that $ac_compile itself does not contain backslashes and begins
10022    # with a dollar sign (not a hyphen), so the echo should work correctly.
10023    lt_compile=`echo "$ac_compile" | $SED \
10024    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10025    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10026    -e 's:$: $lt_compiler_flag:'`
10027    (eval echo "\"\$as_me:10027: $lt_compile\"" >&5)
10028    (eval "$lt_compile" 2>out/conftest.err)
10029    ac_status=$?
10030    cat out/conftest.err >&5
10031    echo "$as_me:10031: \$? = $ac_status" >&5
10032    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10033    then
10034      # The compiler can only warn and ignore the option if not recognized
10035      # So say no if there are warnings
10036      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10037      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10038      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10039        lt_cv_prog_compiler_c_o=yes
10040      fi
10041    fi
10042    chmod u+w . 2>&5
10043    $RM conftest*
10044    # SGI C++ compiler will create directory out/ii_files/ for
10045    # template instantiation
10046    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10047    $RM out/* && rmdir out
10048    cd ..
10049    $RM -r conftest
10050    $RM conftest*
10051
10052 fi
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10054 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10055
10056
10057
10058
10059
10060
10061   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10062 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10063 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
10064   $as_echo_n "(cached) " >&6
10065 else
10066   lt_cv_prog_compiler_c_o=no
10067    $RM -r conftest 2>/dev/null
10068    mkdir conftest
10069    cd conftest
10070    mkdir out
10071    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10072
10073    lt_compiler_flag="-o out/conftest2.$ac_objext"
10074    # Insert the option either (1) after the last *FLAGS variable, or
10075    # (2) before a word containing "conftest.", or (3) at the end.
10076    # Note that $ac_compile itself does not contain backslashes and begins
10077    # with a dollar sign (not a hyphen), so the echo should work correctly.
10078    lt_compile=`echo "$ac_compile" | $SED \
10079    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10080    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10081    -e 's:$: $lt_compiler_flag:'`
10082    (eval echo "\"\$as_me:10082: $lt_compile\"" >&5)
10083    (eval "$lt_compile" 2>out/conftest.err)
10084    ac_status=$?
10085    cat out/conftest.err >&5
10086    echo "$as_me:10086: \$? = $ac_status" >&5
10087    if (exit $ac_status) && test -s out/conftest2.$ac_objext
10088    then
10089      # The compiler can only warn and ignore the option if not recognized
10090      # So say no if there are warnings
10091      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
10092      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10093      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10094        lt_cv_prog_compiler_c_o=yes
10095      fi
10096    fi
10097    chmod u+w . 2>&5
10098    $RM conftest*
10099    # SGI C++ compiler will create directory out/ii_files/ for
10100    # template instantiation
10101    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10102    $RM out/* && rmdir out
10103    cd ..
10104    $RM -r conftest
10105    $RM conftest*
10106
10107 fi
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10109 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10110
10111
10112
10113
10114 hard_links="nottested"
10115 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10116   # do not overwrite the value of need_locks provided by the user
10117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10118 $as_echo_n "checking if we can lock with hard links... " >&6; }
10119   hard_links=yes
10120   $RM conftest*
10121   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10122   touch conftest.a
10123   ln conftest.a conftest.b 2>&5 || hard_links=no
10124   ln conftest.a conftest.b 2>/dev/null && hard_links=no
10125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10126 $as_echo "$hard_links" >&6; }
10127   if test "$hard_links" = no; then
10128     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10129 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10130     need_locks=warn
10131   fi
10132 else
10133   need_locks=no
10134 fi
10135
10136
10137
10138
10139
10140
10141   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10142 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10143
10144   runpath_var=
10145   allow_undefined_flag=
10146   always_export_symbols=no
10147   archive_cmds=
10148   archive_expsym_cmds=
10149   compiler_needs_object=no
10150   enable_shared_with_static_runtimes=no
10151   export_dynamic_flag_spec=
10152   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10153   hardcode_automatic=no
10154   hardcode_direct=no
10155   hardcode_direct_absolute=no
10156   hardcode_libdir_flag_spec=
10157   hardcode_libdir_flag_spec_ld=
10158   hardcode_libdir_separator=
10159   hardcode_minus_L=no
10160   hardcode_shlibpath_var=unsupported
10161   inherit_rpath=no
10162   link_all_deplibs=unknown
10163   module_cmds=
10164   module_expsym_cmds=
10165   old_archive_from_new_cmds=
10166   old_archive_from_expsyms_cmds=
10167   thread_safe_flag_spec=
10168   whole_archive_flag_spec=
10169   # include_expsyms should be a list of space-separated symbols to be *always*
10170   # included in the symbol list
10171   include_expsyms=
10172   # exclude_expsyms can be an extended regexp of symbols to exclude
10173   # it will be wrapped by ` (' and `)$', so one must not match beginning or
10174   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10175   # as well as any symbol that contains `d'.
10176   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10177   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10178   # platforms (ab)use it in PIC code, but their linkers get confused if
10179   # the symbol is explicitly referenced.  Since portable code cannot
10180   # rely on this symbol name, it's probably fine to never include it in
10181   # preloaded symbol tables.
10182   # Exclude shared library initialization/finalization symbols.
10183   extract_expsyms_cmds=
10184
10185   case $host_os in
10186   cygwin* | mingw* | pw32* | cegcc*)
10187     # FIXME: the MSVC++ port hasn't been tested in a loooong time
10188     # When not using gcc, we currently assume that we are using
10189     # Microsoft Visual C++.
10190     if test "$GCC" != yes; then
10191       with_gnu_ld=no
10192     fi
10193     ;;
10194   interix*)
10195     # we just hope/assume this is gcc and not c89 (= MSVC++)
10196     with_gnu_ld=yes
10197     ;;
10198   openbsd*)
10199     with_gnu_ld=no
10200     ;;
10201   linux* | k*bsd*-gnu)
10202     link_all_deplibs=no
10203     ;;
10204   esac
10205
10206   ld_shlibs=yes
10207   if test "$with_gnu_ld" = yes; then
10208     # If archive_cmds runs LD, not CC, wlarc should be empty
10209     wlarc='${wl}'
10210
10211     # Set some defaults for GNU ld with shared library support. These
10212     # are reset later if shared libraries are not supported. Putting them
10213     # here allows them to be overridden if necessary.
10214     runpath_var=LD_RUN_PATH
10215     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10216     export_dynamic_flag_spec='${wl}--export-dynamic'
10217     # ancient GNU ld didn't support --whole-archive et. al.
10218     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10219       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10220     else
10221       whole_archive_flag_spec=
10222     fi
10223     supports_anon_versioning=no
10224     case `$LD -v 2>&1` in
10225       *GNU\ gold*) supports_anon_versioning=yes ;;
10226       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10227       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10228       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10229       *\ 2.11.*) ;; # other 2.11 versions
10230       *) supports_anon_versioning=yes ;;
10231     esac
10232
10233     # See if GNU ld supports shared libraries.
10234     case $host_os in
10235     aix[3-9]*)
10236       # On AIX/PPC, the GNU linker is very broken
10237       if test "$host_cpu" != ia64; then
10238         ld_shlibs=no
10239         cat <<_LT_EOF 1>&2
10240
10241 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
10242 *** to be unable to reliably create shared libraries on AIX.
10243 *** Therefore, libtool is disabling shared libraries support.  If you
10244 *** really care for shared libraries, you may want to modify your PATH
10245 *** so that a non-GNU linker is found, and then restart.
10246
10247 _LT_EOF
10248       fi
10249       ;;
10250
10251     amigaos*)
10252       case $host_cpu in
10253       powerpc)
10254             # see comment about AmigaOS4 .so support
10255             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10256             archive_expsym_cmds=''
10257         ;;
10258       m68k)
10259             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)'
10260             hardcode_libdir_flag_spec='-L$libdir'
10261             hardcode_minus_L=yes
10262         ;;
10263       esac
10264       ;;
10265
10266     beos*)
10267       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10268         allow_undefined_flag=unsupported
10269         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10270         # support --undefined.  This deserves some investigation.  FIXME
10271         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10272       else
10273         ld_shlibs=no
10274       fi
10275       ;;
10276
10277     cygwin* | mingw* | pw32* | cegcc*)
10278       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10279       # as there is no search path for DLLs.
10280       hardcode_libdir_flag_spec='-L$libdir'
10281       allow_undefined_flag=unsupported
10282       always_export_symbols=no
10283       enable_shared_with_static_runtimes=yes
10284       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10285
10286       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10287         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10288         # If the export-symbols file already is a .def file (1st line
10289         # is EXPORTS), use it as is; otherwise, prepend...
10290         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10291           cp $export_symbols $output_objdir/$soname.def;
10292         else
10293           echo EXPORTS > $output_objdir/$soname.def;
10294           cat $export_symbols >> $output_objdir/$soname.def;
10295         fi~
10296         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10297       else
10298         ld_shlibs=no
10299       fi
10300       ;;
10301
10302     interix[3-9]*)
10303       hardcode_direct=no
10304       hardcode_shlibpath_var=no
10305       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10306       export_dynamic_flag_spec='${wl}-E'
10307       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10308       # Instead, shared libraries are loaded at an image base (0x10000000 by
10309       # default) and relocated if they conflict, which is a slow very memory
10310       # consuming and fragmenting process.  To avoid this, we pick a random,
10311       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10312       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10313       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10314       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'
10315       ;;
10316
10317     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10318       tmp_diet=no
10319       if test "$host_os" = linux-dietlibc; then
10320         case $cc_basename in
10321           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
10322         esac
10323       fi
10324       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10325          && test "$tmp_diet" = no
10326       then
10327         tmp_addflag=
10328         tmp_sharedflag='-shared'
10329         case $cc_basename,$host_cpu in
10330         pgcc*)                          # Portland Group C compiler
10331           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10332           tmp_addflag=' $pic_flag'
10333           ;;
10334         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
10335           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10336           tmp_addflag=' $pic_flag -Mnomain' ;;
10337         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
10338           tmp_addflag=' -i_dynamic' ;;
10339         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
10340           tmp_addflag=' -i_dynamic -nofor_main' ;;
10341         ifc* | ifort*)                  # Intel Fortran compiler
10342           tmp_addflag=' -nofor_main' ;;
10343         lf95*)                          # Lahey Fortran 8.1
10344           whole_archive_flag_spec=
10345           tmp_sharedflag='--shared' ;;
10346         xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
10347           tmp_sharedflag='-qmkshrobj'
10348           tmp_addflag= ;;
10349         esac
10350         case `$CC -V 2>&1 | sed 5q` in
10351         *Sun\ C*)                       # Sun C 5.9
10352           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
10353           compiler_needs_object=yes
10354           tmp_sharedflag='-G' ;;
10355         *Sun\ F*)                       # Sun Fortran 8.3
10356           tmp_sharedflag='-G' ;;
10357         esac
10358         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10359
10360         if test "x$supports_anon_versioning" = xyes; then
10361           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10362             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10363             echo "local: *; };" >> $output_objdir/$libname.ver~
10364             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10365         fi
10366
10367         case $cc_basename in
10368         xlf*)
10369           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10370           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10371           hardcode_libdir_flag_spec=
10372           hardcode_libdir_flag_spec_ld='-rpath $libdir'
10373           archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10374           if test "x$supports_anon_versioning" = xyes; then
10375             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10376               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10377               echo "local: *; };" >> $output_objdir/$libname.ver~
10378               $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10379           fi
10380           ;;
10381         esac
10382       else
10383         ld_shlibs=no
10384       fi
10385       ;;
10386
10387     netbsd* | netbsdelf*-gnu)
10388       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10389         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10390         wlarc=
10391       else
10392         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10393         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10394       fi
10395       ;;
10396
10397     solaris*)
10398       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10399         ld_shlibs=no
10400         cat <<_LT_EOF 1>&2
10401
10402 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10403 *** create shared libraries on Solaris systems.  Therefore, libtool
10404 *** is disabling shared libraries support.  We urge you to upgrade GNU
10405 *** binutils to release 2.9.1 or newer.  Another option is to modify
10406 *** your PATH or compiler configuration so that the native linker is
10407 *** used, and then restart.
10408
10409 _LT_EOF
10410       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10411         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10412         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10413       else
10414         ld_shlibs=no
10415       fi
10416       ;;
10417
10418     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10419       case `$LD -v 2>&1` in
10420         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10421         ld_shlibs=no
10422         cat <<_LT_EOF 1>&2
10423
10424 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10425 *** reliably create shared libraries on SCO systems.  Therefore, libtool
10426 *** is disabling shared libraries support.  We urge you to upgrade GNU
10427 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10428 *** your PATH or compiler configuration so that the native linker is
10429 *** used, and then restart.
10430
10431 _LT_EOF
10432         ;;
10433         *)
10434           # For security reasons, it is highly recommended that you always
10435           # use absolute paths for naming shared libraries, and exclude the
10436           # DT_RUNPATH tag from executables and libraries.  But doing so
10437           # requires that you compile everything twice, which is a pain.
10438           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10439             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10440             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10441             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10442           else
10443             ld_shlibs=no
10444           fi
10445         ;;
10446       esac
10447       ;;
10448
10449     sunos4*)
10450       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10451       wlarc=
10452       hardcode_direct=yes
10453       hardcode_shlibpath_var=no
10454       ;;
10455
10456     *)
10457       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10458         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10459         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10460       else
10461         ld_shlibs=no
10462       fi
10463       ;;
10464     esac
10465
10466     if test "$ld_shlibs" = no; then
10467       runpath_var=
10468       hardcode_libdir_flag_spec=
10469       export_dynamic_flag_spec=
10470       whole_archive_flag_spec=
10471     fi
10472   else
10473     # PORTME fill in a description of your system's linker (not GNU ld)
10474     case $host_os in
10475     aix3*)
10476       allow_undefined_flag=unsupported
10477       always_export_symbols=yes
10478       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'
10479       # Note: this linker hardcodes the directories in LIBPATH if there
10480       # are no directories specified by -L.
10481       hardcode_minus_L=yes
10482       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10483         # Neither direct hardcoding nor static linking is supported with a
10484         # broken collect2.
10485         hardcode_direct=unsupported
10486       fi
10487       ;;
10488
10489     aix[4-9]*)
10490       if test "$host_cpu" = ia64; then
10491         # On IA64, the linker does run time linking by default, so we don't
10492         # have to do anything special.
10493         aix_use_runtimelinking=no
10494         exp_sym_flag='-Bexport'
10495         no_entry_flag=""
10496       else
10497         # If we're using GNU nm, then we don't want the "-C" option.
10498         # -C means demangle to AIX nm, but means don't demangle with GNU nm
10499         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10500           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10501         else
10502           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'
10503         fi
10504         aix_use_runtimelinking=no
10505
10506         # Test if we are trying to use run time linking or normal
10507         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10508         # need to do runtime linking.
10509         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10510           for ld_flag in $LDFLAGS; do
10511           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10512             aix_use_runtimelinking=yes
10513             break
10514           fi
10515           done
10516           ;;
10517         esac
10518
10519         exp_sym_flag='-bexport'
10520         no_entry_flag='-bnoentry'
10521       fi
10522
10523       # When large executables or shared objects are built, AIX ld can
10524       # have problems creating the table of contents.  If linking a library
10525       # or program results in "error TOC overflow" add -mminimal-toc to
10526       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10527       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10528
10529       archive_cmds=''
10530       hardcode_direct=yes
10531       hardcode_direct_absolute=yes
10532       hardcode_libdir_separator=':'
10533       link_all_deplibs=yes
10534       file_list_spec='${wl}-f,'
10535
10536       if test "$GCC" = yes; then
10537         case $host_os in aix4.[012]|aix4.[012].*)
10538         # We only want to do this on AIX 4.2 and lower, the check
10539         # below for broken collect2 doesn't work under 4.3+
10540           collect2name=`${CC} -print-prog-name=collect2`
10541           if test -f "$collect2name" &&
10542            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10543           then
10544           # We have reworked collect2
10545           :
10546           else
10547           # We have old collect2
10548           hardcode_direct=unsupported
10549           # It fails to find uninstalled libraries when the uninstalled
10550           # path is not listed in the libpath.  Setting hardcode_minus_L
10551           # to unsupported forces relinking
10552           hardcode_minus_L=yes
10553           hardcode_libdir_flag_spec='-L$libdir'
10554           hardcode_libdir_separator=
10555           fi
10556           ;;
10557         esac
10558         shared_flag='-shared'
10559         if test "$aix_use_runtimelinking" = yes; then
10560           shared_flag="$shared_flag "'${wl}-G'
10561         fi
10562         link_all_deplibs=no
10563       else
10564         # not using gcc
10565         if test "$host_cpu" = ia64; then
10566         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10567         # chokes on -Wl,-G. The following line is correct:
10568           shared_flag='-G'
10569         else
10570           if test "$aix_use_runtimelinking" = yes; then
10571             shared_flag='${wl}-G'
10572           else
10573             shared_flag='${wl}-bM:SRE'
10574           fi
10575         fi
10576       fi
10577
10578       export_dynamic_flag_spec='${wl}-bexpall'
10579       # It seems that -bexpall does not export symbols beginning with
10580       # underscore (_), so it is better to generate a list of symbols to export.
10581       always_export_symbols=yes
10582       if test "$aix_use_runtimelinking" = yes; then
10583         # Warning - without using the other runtime loading flags (-brtl),
10584         # -berok will link without error, but may produce a broken library.
10585         allow_undefined_flag='-berok'
10586         # Determine the default libpath from the value encoded in an
10587         # empty executable.
10588         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h.  */
10590
10591 int
10592 main ()
10593 {
10594
10595   ;
10596   return 0;
10597 }
10598 _ACEOF
10599 if ac_fn_c_try_link "$LINENO"; then :
10600
10601 lt_aix_libpath_sed='
10602     /Import File Strings/,/^$/ {
10603         /^0/ {
10604             s/^0  *\(.*\)$/\1/
10605             p
10606         }
10607     }'
10608 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10609 # Check for a 64-bit object if we didn't find anything.
10610 if test -z "$aix_libpath"; then
10611   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10612 fi
10613 fi
10614 rm -f core conftest.err conftest.$ac_objext \
10615     conftest$ac_exeext conftest.$ac_ext
10616 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10617
10618         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10619         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10620       else
10621         if test "$host_cpu" = ia64; then
10622           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10623           allow_undefined_flag="-z nodefs"
10624           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"
10625         else
10626          # Determine the default libpath from the value encoded in an
10627          # empty executable.
10628          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10629 /* end confdefs.h.  */
10630
10631 int
10632 main ()
10633 {
10634
10635   ;
10636   return 0;
10637 }
10638 _ACEOF
10639 if ac_fn_c_try_link "$LINENO"; then :
10640
10641 lt_aix_libpath_sed='
10642     /Import File Strings/,/^$/ {
10643         /^0/ {
10644             s/^0  *\(.*\)$/\1/
10645             p
10646         }
10647     }'
10648 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10649 # Check for a 64-bit object if we didn't find anything.
10650 if test -z "$aix_libpath"; then
10651   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10652 fi
10653 fi
10654 rm -f core conftest.err conftest.$ac_objext \
10655     conftest$ac_exeext conftest.$ac_ext
10656 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10657
10658          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10659           # Warning - without using the other run time loading flags,
10660           # -berok will link without error, but may produce a broken library.
10661           no_undefined_flag=' ${wl}-bernotok'
10662           allow_undefined_flag=' ${wl}-berok'
10663           # Exported symbols can be pulled into shared objects from archives
10664           whole_archive_flag_spec='$convenience'
10665           archive_cmds_need_lc=yes
10666           # This is similar to how AIX traditionally builds its shared libraries.
10667           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'
10668         fi
10669       fi
10670       ;;
10671
10672     amigaos*)
10673       case $host_cpu in
10674       powerpc)
10675             # see comment about AmigaOS4 .so support
10676             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10677             archive_expsym_cmds=''
10678         ;;
10679       m68k)
10680             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)'
10681             hardcode_libdir_flag_spec='-L$libdir'
10682             hardcode_minus_L=yes
10683         ;;
10684       esac
10685       ;;
10686
10687     bsdi[45]*)
10688       export_dynamic_flag_spec=-rdynamic
10689       ;;
10690
10691     cygwin* | mingw* | pw32* | cegcc*)
10692       # When not using gcc, we currently assume that we are using
10693       # Microsoft Visual C++.
10694       # hardcode_libdir_flag_spec is actually meaningless, as there is
10695       # no search path for DLLs.
10696       hardcode_libdir_flag_spec=' '
10697       allow_undefined_flag=unsupported
10698       # Tell ltmain to make .lib files, not .a files.
10699       libext=lib
10700       # Tell ltmain to make .dll files, not .so files.
10701       shrext_cmds=".dll"
10702       # FIXME: Setting linknames here is a bad hack.
10703       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10704       # The linker will automatically build a .lib file if we build a DLL.
10705       old_archive_from_new_cmds='true'
10706       # FIXME: Should let the user specify the lib program.
10707       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10708       fix_srcfile_path='`cygpath -w "$srcfile"`'
10709       enable_shared_with_static_runtimes=yes
10710       ;;
10711
10712     darwin* | rhapsody*)
10713
10714
10715   archive_cmds_need_lc=no
10716   hardcode_direct=no
10717   hardcode_automatic=yes
10718   hardcode_shlibpath_var=unsupported
10719   whole_archive_flag_spec=''
10720   link_all_deplibs=yes
10721   allow_undefined_flag="$_lt_dar_allow_undefined"
10722   case $cc_basename in
10723      ifort*) _lt_dar_can_shared=yes ;;
10724      *) _lt_dar_can_shared=$GCC ;;
10725   esac
10726   if test "$_lt_dar_can_shared" = "yes"; then
10727     output_verbose_link_cmd=echo
10728     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10729     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10730     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}"
10731     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}"
10732
10733   else
10734   ld_shlibs=no
10735   fi
10736
10737       ;;
10738
10739     dgux*)
10740       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10741       hardcode_libdir_flag_spec='-L$libdir'
10742       hardcode_shlibpath_var=no
10743       ;;
10744
10745     freebsd1*)
10746       ld_shlibs=no
10747       ;;
10748
10749     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10750     # support.  Future versions do this automatically, but an explicit c++rt0.o
10751     # does not break anything, and helps significantly (at the cost of a little
10752     # extra space).
10753     freebsd2.2*)
10754       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10755       hardcode_libdir_flag_spec='-R$libdir'
10756       hardcode_direct=yes
10757       hardcode_shlibpath_var=no
10758       ;;
10759
10760     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10761     freebsd2*)
10762       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10763       hardcode_direct=yes
10764       hardcode_minus_L=yes
10765       hardcode_shlibpath_var=no
10766       ;;
10767
10768     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10769     freebsd* | dragonfly*)
10770       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10771       hardcode_libdir_flag_spec='-R$libdir'
10772       hardcode_direct=yes
10773       hardcode_shlibpath_var=no
10774       ;;
10775
10776     hpux9*)
10777       if test "$GCC" = yes; then
10778         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10779       else
10780         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'
10781       fi
10782       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10783       hardcode_libdir_separator=:
10784       hardcode_direct=yes
10785
10786       # hardcode_minus_L: Not really in the search PATH,
10787       # but as the default location of the library.
10788       hardcode_minus_L=yes
10789       export_dynamic_flag_spec='${wl}-E'
10790       ;;
10791
10792     hpux10*)
10793       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10794         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10795       else
10796         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10797       fi
10798       if test "$with_gnu_ld" = no; then
10799         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10800         hardcode_libdir_flag_spec_ld='+b $libdir'
10801         hardcode_libdir_separator=:
10802         hardcode_direct=yes
10803         hardcode_direct_absolute=yes
10804         export_dynamic_flag_spec='${wl}-E'
10805         # hardcode_minus_L: Not really in the search PATH,
10806         # but as the default location of the library.
10807         hardcode_minus_L=yes
10808       fi
10809       ;;
10810
10811     hpux11*)
10812       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10813         case $host_cpu in
10814         hppa*64*)
10815           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10816           ;;
10817         ia64*)
10818           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10819           ;;
10820         *)
10821           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10822           ;;
10823         esac
10824       else
10825         case $host_cpu in
10826         hppa*64*)
10827           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10828           ;;
10829         ia64*)
10830           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10831           ;;
10832         *)
10833           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10834           ;;
10835         esac
10836       fi
10837       if test "$with_gnu_ld" = no; then
10838         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10839         hardcode_libdir_separator=:
10840
10841         case $host_cpu in
10842         hppa*64*|ia64*)
10843           hardcode_direct=no
10844           hardcode_shlibpath_var=no
10845           ;;
10846         *)
10847           hardcode_direct=yes
10848           hardcode_direct_absolute=yes
10849           export_dynamic_flag_spec='${wl}-E'
10850
10851           # hardcode_minus_L: Not really in the search PATH,
10852           # but as the default location of the library.
10853           hardcode_minus_L=yes
10854           ;;
10855         esac
10856       fi
10857       ;;
10858
10859     irix5* | irix6* | nonstopux*)
10860       if test "$GCC" = yes; then
10861         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10862         # Try to use the -exported_symbol ld option, if it does not
10863         # work, assume that -exports_file does not work either and
10864         # implicitly export all symbols.
10865         save_LDFLAGS="$LDFLAGS"
10866         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10867         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h.  */
10869 int foo(void) {}
10870 _ACEOF
10871 if ac_fn_c_try_link "$LINENO"; then :
10872   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10873
10874 fi
10875 rm -f core conftest.err conftest.$ac_objext \
10876     conftest$ac_exeext conftest.$ac_ext
10877         LDFLAGS="$save_LDFLAGS"
10878       else
10879         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10880         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10881       fi
10882       archive_cmds_need_lc='no'
10883       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10884       hardcode_libdir_separator=:
10885       inherit_rpath=yes
10886       link_all_deplibs=yes
10887       ;;
10888
10889     netbsd* | netbsdelf*-gnu)
10890       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10891         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10892       else
10893         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10894       fi
10895       hardcode_libdir_flag_spec='-R$libdir'
10896       hardcode_direct=yes
10897       hardcode_shlibpath_var=no
10898       ;;
10899
10900     newsos6)
10901       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10902       hardcode_direct=yes
10903       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10904       hardcode_libdir_separator=:
10905       hardcode_shlibpath_var=no
10906       ;;
10907
10908     *nto* | *qnx*)
10909       ;;
10910
10911     openbsd*)
10912       if test -f /usr/libexec/ld.so; then
10913         hardcode_direct=yes
10914         hardcode_shlibpath_var=no
10915         hardcode_direct_absolute=yes
10916         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10917           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10918           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10919           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10920           export_dynamic_flag_spec='${wl}-E'
10921         else
10922           case $host_os in
10923            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10924              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10925              hardcode_libdir_flag_spec='-R$libdir'
10926              ;;
10927            *)
10928              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10929              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10930              ;;
10931           esac
10932         fi
10933       else
10934         ld_shlibs=no
10935       fi
10936       ;;
10937
10938     os2*)
10939       hardcode_libdir_flag_spec='-L$libdir'
10940       hardcode_minus_L=yes
10941       allow_undefined_flag=unsupported
10942       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'
10943       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10944       ;;
10945
10946     osf3*)
10947       if test "$GCC" = yes; then
10948         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10949         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10950       else
10951         allow_undefined_flag=' -expect_unresolved \*'
10952         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10953       fi
10954       archive_cmds_need_lc='no'
10955       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10956       hardcode_libdir_separator=:
10957       ;;
10958
10959     osf4* | osf5*)      # as osf3* with the addition of -msym flag
10960       if test "$GCC" = yes; then
10961         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10962         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10963         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10964       else
10965         allow_undefined_flag=' -expect_unresolved \*'
10966         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
10967         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~
10968         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10969
10970         # Both c and cxx compiler support -rpath directly
10971         hardcode_libdir_flag_spec='-rpath $libdir'
10972       fi
10973       archive_cmds_need_lc='no'
10974       hardcode_libdir_separator=:
10975       ;;
10976
10977     solaris*)
10978       no_undefined_flag=' -z defs'
10979       if test "$GCC" = yes; then
10980         wlarc='${wl}'
10981         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10982         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10983           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10984       else
10985         case `$CC -V 2>&1` in
10986         *"Compilers 5.0"*)
10987           wlarc=''
10988           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10989           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10990           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10991           ;;
10992         *)
10993           wlarc='${wl}'
10994           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10995           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10996           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10997           ;;
10998         esac
10999       fi
11000       hardcode_libdir_flag_spec='-R$libdir'
11001       hardcode_shlibpath_var=no
11002       case $host_os in
11003       solaris2.[0-5] | solaris2.[0-5].*) ;;
11004       *)
11005         # The compiler driver will combine and reorder linker options,
11006         # but understands `-z linker_flag'.  GCC discards it without `$wl',
11007         # but is careful enough not to reorder.
11008         # Supported since Solaris 2.6 (maybe 2.5.1?)
11009         if test "$GCC" = yes; then
11010           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11011         else
11012           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11013         fi
11014         ;;
11015       esac
11016       link_all_deplibs=yes
11017       ;;
11018
11019     sunos4*)
11020       if test "x$host_vendor" = xsequent; then
11021         # Use $CC to link under sequent, because it throws in some extra .o
11022         # files that make .init and .fini sections work.
11023         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11024       else
11025         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11026       fi
11027       hardcode_libdir_flag_spec='-L$libdir'
11028       hardcode_direct=yes
11029       hardcode_minus_L=yes
11030       hardcode_shlibpath_var=no
11031       ;;
11032
11033     sysv4)
11034       case $host_vendor in
11035         sni)
11036           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11037           hardcode_direct=yes # is this really true???
11038         ;;
11039         siemens)
11040           ## LD is ld it makes a PLAMLIB
11041           ## CC just makes a GrossModule.
11042           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11043           reload_cmds='$CC -r -o $output$reload_objs'
11044           hardcode_direct=no
11045         ;;
11046         motorola)
11047           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11048           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11049         ;;
11050       esac
11051       runpath_var='LD_RUN_PATH'
11052       hardcode_shlibpath_var=no
11053       ;;
11054
11055     sysv4.3*)
11056       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11057       hardcode_shlibpath_var=no
11058       export_dynamic_flag_spec='-Bexport'
11059       ;;
11060
11061     sysv4*MP*)
11062       if test -d /usr/nec; then
11063         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11064         hardcode_shlibpath_var=no
11065         runpath_var=LD_RUN_PATH
11066         hardcode_runpath_var=yes
11067         ld_shlibs=yes
11068       fi
11069       ;;
11070
11071     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11072       no_undefined_flag='${wl}-z,text'
11073       archive_cmds_need_lc=no
11074       hardcode_shlibpath_var=no
11075       runpath_var='LD_RUN_PATH'
11076
11077       if test "$GCC" = yes; then
11078         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11079         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11080       else
11081         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11082         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11083       fi
11084       ;;
11085
11086     sysv5* | sco3.2v5* | sco5v6*)
11087       # Note: We can NOT use -z defs as we might desire, because we do not
11088       # link with -lc, and that would cause any symbols used from libc to
11089       # always be unresolved, which means just about no library would
11090       # ever link correctly.  If we're not using GNU ld we use -z text
11091       # though, which does catch some bad symbols but isn't as heavy-handed
11092       # as -z defs.
11093       no_undefined_flag='${wl}-z,text'
11094       allow_undefined_flag='${wl}-z,nodefs'
11095       archive_cmds_need_lc=no
11096       hardcode_shlibpath_var=no
11097       hardcode_libdir_flag_spec='${wl}-R,$libdir'
11098       hardcode_libdir_separator=':'
11099       link_all_deplibs=yes
11100       export_dynamic_flag_spec='${wl}-Bexport'
11101       runpath_var='LD_RUN_PATH'
11102
11103       if test "$GCC" = yes; then
11104         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11105         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11106       else
11107         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11108         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11109       fi
11110       ;;
11111
11112     uts4*)
11113       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11114       hardcode_libdir_flag_spec='-L$libdir'
11115       hardcode_shlibpath_var=no
11116       ;;
11117
11118     *)
11119       ld_shlibs=no
11120       ;;
11121     esac
11122
11123     if test x$host_vendor = xsni; then
11124       case $host in
11125       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11126         export_dynamic_flag_spec='${wl}-Blargedynsym'
11127         ;;
11128       esac
11129     fi
11130   fi
11131
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11133 $as_echo "$ld_shlibs" >&6; }
11134 test "$ld_shlibs" = no && can_build_shared=no
11135
11136 with_gnu_ld=$with_gnu_ld
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152 #
11153 # Do we need to explicitly link libc?
11154 #
11155 case "x$archive_cmds_need_lc" in
11156 x|xyes)
11157   # Assume -lc should be added
11158   archive_cmds_need_lc=yes
11159
11160   if test "$enable_shared" = yes && test "$GCC" = yes; then
11161     case $archive_cmds in
11162     *'~'*)
11163       # FIXME: we may have to deal with multi-command sequences.
11164       ;;
11165     '$CC '*)
11166       # Test whether the compiler implicitly links with -lc since on some
11167       # systems, -lgcc has to come before -lc. If gcc already passes -lc
11168       # to ld, don't add -lc before -lgcc.
11169       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11170 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11171       $RM conftest*
11172       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11173
11174       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11175   (eval $ac_compile) 2>&5
11176   ac_status=$?
11177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11178   test $ac_status = 0; } 2>conftest.err; then
11179         soname=conftest
11180         lib=conftest
11181         libobjs=conftest.$ac_objext
11182         deplibs=
11183         wl=$lt_prog_compiler_wl
11184         pic_flag=$lt_prog_compiler_pic
11185         compiler_flags=-v
11186         linker_flags=-v
11187         verstring=
11188         output_objdir=.
11189         libname=conftest
11190         lt_save_allow_undefined_flag=$allow_undefined_flag
11191         allow_undefined_flag=
11192         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11193   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11194   ac_status=$?
11195   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11196   test $ac_status = 0; }
11197         then
11198           archive_cmds_need_lc=no
11199         else
11200           archive_cmds_need_lc=yes
11201         fi
11202         allow_undefined_flag=$lt_save_allow_undefined_flag
11203       else
11204         cat conftest.err 1>&5
11205       fi
11206       $RM conftest*
11207       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
11208 $as_echo "$archive_cmds_need_lc" >&6; }
11209       ;;
11210     esac
11211   fi
11212   ;;
11213 esac
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11372 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11373
11374 if test "$GCC" = yes; then
11375   case $host_os in
11376     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11377     *) lt_awk_arg="/^libraries:/" ;;
11378   esac
11379   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11380   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
11381     # if the path contains ";" then we assume it to be the separator
11382     # otherwise default to the standard path separator (i.e. ":") - it is
11383     # assumed that no part of a normal pathname contains ";" but that should
11384     # okay in the real world where ";" in dirpaths is itself problematic.
11385     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
11386   else
11387     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11388   fi
11389   # Ok, now we have the path, separated by spaces, we can step through it
11390   # and add multilib dir if necessary.
11391   lt_tmp_lt_search_path_spec=
11392   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11393   for lt_sys_path in $lt_search_path_spec; do
11394     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11395       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11396     else
11397       test -d "$lt_sys_path" && \
11398         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11399     fi
11400   done
11401   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
11402 BEGIN {RS=" "; FS="/|\n";} {
11403   lt_foo="";
11404   lt_count=0;
11405   for (lt_i = NF; lt_i > 0; lt_i--) {
11406     if ($lt_i != "" && $lt_i != ".") {
11407       if ($lt_i == "..") {
11408         lt_count++;
11409       } else {
11410         if (lt_count == 0) {
11411           lt_foo="/" $lt_i lt_foo;
11412         } else {
11413           lt_count--;
11414         }
11415       }
11416     }
11417   }
11418   if (lt_foo != "") { lt_freq[lt_foo]++; }
11419   if (lt_freq[lt_foo] == 1) { print lt_foo; }
11420 }'`
11421   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
11422 else
11423   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11424 fi
11425 library_names_spec=
11426 libname_spec='lib$name'
11427 soname_spec=
11428 shrext_cmds=".so"
11429 postinstall_cmds=
11430 postuninstall_cmds=
11431 finish_cmds=
11432 finish_eval=
11433 shlibpath_var=
11434 shlibpath_overrides_runpath=unknown
11435 version_type=none
11436 dynamic_linker="$host_os ld.so"
11437 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11438 need_lib_prefix=unknown
11439 hardcode_into_libs=no
11440
11441 # when you set need_version to no, make sure it does not cause -set_version
11442 # flags to be left without arguments
11443 need_version=unknown
11444
11445 case $host_os in
11446 aix3*)
11447   version_type=linux
11448   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11449   shlibpath_var=LIBPATH
11450
11451   # AIX 3 has no versioning support, so we append a major version to the name.
11452   soname_spec='${libname}${release}${shared_ext}$major'
11453   ;;
11454
11455 aix[4-9]*)
11456   version_type=linux
11457   need_lib_prefix=no
11458   need_version=no
11459   hardcode_into_libs=yes
11460   if test "$host_cpu" = ia64; then
11461     # AIX 5 supports IA64
11462     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11463     shlibpath_var=LD_LIBRARY_PATH
11464   else
11465     # With GCC up to 2.95.x, collect2 would create an import file
11466     # for dependence libraries.  The import file would start with
11467     # the line `#! .'.  This would cause the generated library to
11468     # depend on `.', always an invalid library.  This was fixed in
11469     # development snapshots of GCC prior to 3.0.
11470     case $host_os in
11471       aix4 | aix4.[01] | aix4.[01].*)
11472       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11473            echo ' yes '
11474            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11475         :
11476       else
11477         can_build_shared=no
11478       fi
11479       ;;
11480     esac
11481     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11482     # soname into executable. Probably we can add versioning support to
11483     # collect2, so additional links can be useful in future.
11484     if test "$aix_use_runtimelinking" = yes; then
11485       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11486       # instead of lib<name>.a to let people know that these are not
11487       # typical AIX shared libraries.
11488       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489     else
11490       # We preserve .a as extension for shared libraries through AIX4.2
11491       # and later when we are not doing run time linking.
11492       library_names_spec='${libname}${release}.a $libname.a'
11493       soname_spec='${libname}${release}${shared_ext}$major'
11494     fi
11495     shlibpath_var=LIBPATH
11496   fi
11497   ;;
11498
11499 amigaos*)
11500   case $host_cpu in
11501   powerpc)
11502     # Since July 2007 AmigaOS4 officially supports .so libraries.
11503     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11505     ;;
11506   m68k)
11507     library_names_spec='$libname.ixlibrary $libname.a'
11508     # Create ${libname}_ixlibrary.a entries in /sys/libs.
11509     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11510     ;;
11511   esac
11512   ;;
11513
11514 beos*)
11515   library_names_spec='${libname}${shared_ext}'
11516   dynamic_linker="$host_os ld.so"
11517   shlibpath_var=LIBRARY_PATH
11518   ;;
11519
11520 bsdi[45]*)
11521   version_type=linux
11522   need_version=no
11523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524   soname_spec='${libname}${release}${shared_ext}$major'
11525   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11526   shlibpath_var=LD_LIBRARY_PATH
11527   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11528   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11529   # the default ld.so.conf also contains /usr/contrib/lib and
11530   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11531   # libtool to hard-code these into programs
11532   ;;
11533
11534 cygwin* | mingw* | pw32* | cegcc*)
11535   version_type=windows
11536   shrext_cmds=".dll"
11537   need_version=no
11538   need_lib_prefix=no
11539
11540   case $GCC,$host_os in
11541   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11542     library_names_spec='$libname.dll.a'
11543     # DLL is installed to $(libdir)/../bin by postinstall_cmds
11544     postinstall_cmds='base_file=`basename \${file}`~
11545       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11546       dldir=$destdir/`dirname \$dlpath`~
11547       test -d \$dldir || mkdir -p \$dldir~
11548       $install_prog $dir/$dlname \$dldir/$dlname~
11549       chmod a+x \$dldir/$dlname~
11550       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11551         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11552       fi'
11553     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11554       dlpath=$dir/\$dldll~
11555        $RM \$dlpath'
11556     shlibpath_overrides_runpath=yes
11557
11558     case $host_os in
11559     cygwin*)
11560       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11561       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11562       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
11563       ;;
11564     mingw* | cegcc*)
11565       # MinGW DLLs use traditional 'lib' prefix
11566       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11567       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11568       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11569         # It is most probably a Windows format PATH printed by
11570         # mingw gcc, but we are running on Cygwin. Gcc prints its search
11571         # path with ; separators, and with drive letters. We can handle the
11572         # drive letters (cygwin fileutils understands them), so leave them,
11573         # especially as we might pass files found there to a mingw objdump,
11574         # which wouldn't understand a cygwinified path. Ahh.
11575         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11576       else
11577         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
11578       fi
11579       ;;
11580     pw32*)
11581       # pw32 DLLs use 'pw' prefix rather than 'lib'
11582       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11583       ;;
11584     esac
11585     ;;
11586
11587   *)
11588     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11589     ;;
11590   esac
11591   dynamic_linker='Win32 ld.exe'
11592   # FIXME: first we should search . and the directory the executable is in
11593   shlibpath_var=PATH
11594   ;;
11595
11596 darwin* | rhapsody*)
11597   dynamic_linker="$host_os dyld"
11598   version_type=darwin
11599   need_lib_prefix=no
11600   need_version=no
11601   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11602   soname_spec='${libname}${release}${major}$shared_ext'
11603   shlibpath_overrides_runpath=yes
11604   shlibpath_var=DYLD_LIBRARY_PATH
11605   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11606
11607   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11608   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11609   ;;
11610
11611 dgux*)
11612   version_type=linux
11613   need_lib_prefix=no
11614   need_version=no
11615   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11616   soname_spec='${libname}${release}${shared_ext}$major'
11617   shlibpath_var=LD_LIBRARY_PATH
11618   ;;
11619
11620 freebsd1*)
11621   dynamic_linker=no
11622   ;;
11623
11624 freebsd* | dragonfly*)
11625   # DragonFly does not have aout.  When/if they implement a new
11626   # versioning mechanism, adjust this.
11627   if test -x /usr/bin/objformat; then
11628     objformat=`/usr/bin/objformat`
11629   else
11630     case $host_os in
11631     freebsd[123]*) objformat=aout ;;
11632     *) objformat=elf ;;
11633     esac
11634   fi
11635   version_type=freebsd-$objformat
11636   case $version_type in
11637     freebsd-elf*)
11638       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11639       need_version=no
11640       need_lib_prefix=no
11641       ;;
11642     freebsd-*)
11643       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11644       need_version=yes
11645       ;;
11646   esac
11647   shlibpath_var=LD_LIBRARY_PATH
11648   case $host_os in
11649   freebsd2*)
11650     shlibpath_overrides_runpath=yes
11651     ;;
11652   freebsd3.[01]* | freebsdelf3.[01]*)
11653     shlibpath_overrides_runpath=yes
11654     hardcode_into_libs=yes
11655     ;;
11656   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11657   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11658     shlibpath_overrides_runpath=no
11659     hardcode_into_libs=yes
11660     ;;
11661   *) # from 4.6 on, and DragonFly
11662     shlibpath_overrides_runpath=yes
11663     hardcode_into_libs=yes
11664     ;;
11665   esac
11666   ;;
11667
11668 gnu*)
11669   version_type=linux
11670   need_lib_prefix=no
11671   need_version=no
11672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11673   soname_spec='${libname}${release}${shared_ext}$major'
11674   shlibpath_var=LD_LIBRARY_PATH
11675   hardcode_into_libs=yes
11676   ;;
11677
11678 hpux9* | hpux10* | hpux11*)
11679   # Give a soname corresponding to the major version so that dld.sl refuses to
11680   # link against other versions.
11681   version_type=sunos
11682   need_lib_prefix=no
11683   need_version=no
11684   case $host_cpu in
11685   ia64*)
11686     shrext_cmds='.so'
11687     hardcode_into_libs=yes
11688     dynamic_linker="$host_os dld.so"
11689     shlibpath_var=LD_LIBRARY_PATH
11690     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11691     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11692     soname_spec='${libname}${release}${shared_ext}$major'
11693     if test "X$HPUX_IA64_MODE" = X32; then
11694       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11695     else
11696       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11697     fi
11698     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11699     ;;
11700   hppa*64*)
11701     shrext_cmds='.sl'
11702     hardcode_into_libs=yes
11703     dynamic_linker="$host_os dld.sl"
11704     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11705     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11706     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11707     soname_spec='${libname}${release}${shared_ext}$major'
11708     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11709     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11710     ;;
11711   *)
11712     shrext_cmds='.sl'
11713     dynamic_linker="$host_os dld.sl"
11714     shlibpath_var=SHLIB_PATH
11715     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11716     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11717     soname_spec='${libname}${release}${shared_ext}$major'
11718     ;;
11719   esac
11720   # HP-UX runs *really* slowly unless shared libraries are mode 555.
11721   postinstall_cmds='chmod 555 $lib'
11722   ;;
11723
11724 interix[3-9]*)
11725   version_type=linux
11726   need_lib_prefix=no
11727   need_version=no
11728   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11729   soname_spec='${libname}${release}${shared_ext}$major'
11730   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11731   shlibpath_var=LD_LIBRARY_PATH
11732   shlibpath_overrides_runpath=no
11733   hardcode_into_libs=yes
11734   ;;
11735
11736 irix5* | irix6* | nonstopux*)
11737   case $host_os in
11738     nonstopux*) version_type=nonstopux ;;
11739     *)
11740         if test "$lt_cv_prog_gnu_ld" = yes; then
11741                 version_type=linux
11742         else
11743                 version_type=irix
11744         fi ;;
11745   esac
11746   need_lib_prefix=no
11747   need_version=no
11748   soname_spec='${libname}${release}${shared_ext}$major'
11749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11750   case $host_os in
11751   irix5* | nonstopux*)
11752     libsuff= shlibsuff=
11753     ;;
11754   *)
11755     case $LD in # libtool.m4 will add one of these switches to LD
11756     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11757       libsuff= shlibsuff= libmagic=32-bit;;
11758     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11759       libsuff=32 shlibsuff=N32 libmagic=N32;;
11760     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11761       libsuff=64 shlibsuff=64 libmagic=64-bit;;
11762     *) libsuff= shlibsuff= libmagic=never-match;;
11763     esac
11764     ;;
11765   esac
11766   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11767   shlibpath_overrides_runpath=no
11768   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11769   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11770   hardcode_into_libs=yes
11771   ;;
11772
11773 # No shared lib support for Linux oldld, aout, or coff.
11774 linux*oldld* | linux*aout* | linux*coff*)
11775   dynamic_linker=no
11776   ;;
11777
11778 # This must be Linux ELF.
11779 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11780   version_type=linux
11781   need_lib_prefix=no
11782   need_version=no
11783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11784   soname_spec='${libname}${release}${shared_ext}$major'
11785   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11786   shlibpath_var=LD_LIBRARY_PATH
11787   shlibpath_overrides_runpath=no
11788   # Some binutils ld are patched to set DT_RUNPATH
11789   save_LDFLAGS=$LDFLAGS
11790   save_libdir=$libdir
11791   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11792        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h.  */
11795
11796 int
11797 main ()
11798 {
11799
11800   ;
11801   return 0;
11802 }
11803 _ACEOF
11804 if ac_fn_c_try_link "$LINENO"; then :
11805   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11806   shlibpath_overrides_runpath=yes
11807 fi
11808 fi
11809 rm -f core conftest.err conftest.$ac_objext \
11810     conftest$ac_exeext conftest.$ac_ext
11811   LDFLAGS=$save_LDFLAGS
11812   libdir=$save_libdir
11813
11814   # This implies no fast_install, which is unacceptable.
11815   # Some rework will be needed to allow for fast_install
11816   # before this can be enabled.
11817   hardcode_into_libs=yes
11818
11819   # Append ld.so.conf contents to the search path
11820   if test -f /etc/ld.so.conf; then
11821     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[       ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11822     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11823   fi
11824
11825   # We used to test for /lib/ld.so.1 and disable shared libraries on
11826   # powerpc, because MkLinux only supported shared libraries with the
11827   # GNU dynamic linker.  Since this was broken with cross compilers,
11828   # most powerpc-linux boxes support dynamic linking these days and
11829   # people can always --disable-shared, the test was removed, and we
11830   # assume the GNU/Linux dynamic linker is in use.
11831   dynamic_linker='GNU/Linux ld.so'
11832   ;;
11833
11834 netbsdelf*-gnu)
11835   version_type=linux
11836   need_lib_prefix=no
11837   need_version=no
11838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11839   soname_spec='${libname}${release}${shared_ext}$major'
11840   shlibpath_var=LD_LIBRARY_PATH
11841   shlibpath_overrides_runpath=no
11842   hardcode_into_libs=yes
11843   dynamic_linker='NetBSD ld.elf_so'
11844   ;;
11845
11846 netbsd*)
11847   version_type=sunos
11848   need_lib_prefix=no
11849   need_version=no
11850   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11851     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11852     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11853     dynamic_linker='NetBSD (a.out) ld.so'
11854   else
11855     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11856     soname_spec='${libname}${release}${shared_ext}$major'
11857     dynamic_linker='NetBSD ld.elf_so'
11858   fi
11859   shlibpath_var=LD_LIBRARY_PATH
11860   shlibpath_overrides_runpath=yes
11861   hardcode_into_libs=yes
11862   ;;
11863
11864 newsos6)
11865   version_type=linux
11866   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11867   shlibpath_var=LD_LIBRARY_PATH
11868   shlibpath_overrides_runpath=yes
11869   ;;
11870
11871 *nto* | *qnx*)
11872   version_type=qnx
11873   need_lib_prefix=no
11874   need_version=no
11875   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11876   soname_spec='${libname}${release}${shared_ext}$major'
11877   shlibpath_var=LD_LIBRARY_PATH
11878   shlibpath_overrides_runpath=no
11879   hardcode_into_libs=yes
11880   dynamic_linker='ldqnx.so'
11881   ;;
11882
11883 openbsd*)
11884   version_type=sunos
11885   sys_lib_dlsearch_path_spec="/usr/lib"
11886   need_lib_prefix=no
11887   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11888   case $host_os in
11889     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
11890     *)                          need_version=no  ;;
11891   esac
11892   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11893   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11894   shlibpath_var=LD_LIBRARY_PATH
11895   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11896     case $host_os in
11897       openbsd2.[89] | openbsd2.[89].*)
11898         shlibpath_overrides_runpath=no
11899         ;;
11900       *)
11901         shlibpath_overrides_runpath=yes
11902         ;;
11903       esac
11904   else
11905     shlibpath_overrides_runpath=yes
11906   fi
11907   ;;
11908
11909 os2*)
11910   libname_spec='$name'
11911   shrext_cmds=".dll"
11912   need_lib_prefix=no
11913   library_names_spec='$libname${shared_ext} $libname.a'
11914   dynamic_linker='OS/2 ld.exe'
11915   shlibpath_var=LIBPATH
11916   ;;
11917
11918 osf3* | osf4* | osf5*)
11919   version_type=osf
11920   need_lib_prefix=no
11921   need_version=no
11922   soname_spec='${libname}${release}${shared_ext}$major'
11923   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11924   shlibpath_var=LD_LIBRARY_PATH
11925   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11926   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11927   ;;
11928
11929 rdos*)
11930   dynamic_linker=no
11931   ;;
11932
11933 solaris*)
11934   version_type=linux
11935   need_lib_prefix=no
11936   need_version=no
11937   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11938   soname_spec='${libname}${release}${shared_ext}$major'
11939   shlibpath_var=LD_LIBRARY_PATH
11940   shlibpath_overrides_runpath=yes
11941   hardcode_into_libs=yes
11942   # ldd complains unless libraries are executable
11943   postinstall_cmds='chmod +x $lib'
11944   ;;
11945
11946 sunos4*)
11947   version_type=sunos
11948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11949   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11950   shlibpath_var=LD_LIBRARY_PATH
11951   shlibpath_overrides_runpath=yes
11952   if test "$with_gnu_ld" = yes; then
11953     need_lib_prefix=no
11954   fi
11955   need_version=yes
11956   ;;
11957
11958 sysv4 | sysv4.3*)
11959   version_type=linux
11960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11961   soname_spec='${libname}${release}${shared_ext}$major'
11962   shlibpath_var=LD_LIBRARY_PATH
11963   case $host_vendor in
11964     sni)
11965       shlibpath_overrides_runpath=no
11966       need_lib_prefix=no
11967       runpath_var=LD_RUN_PATH
11968       ;;
11969     siemens)
11970       need_lib_prefix=no
11971       ;;
11972     motorola)
11973       need_lib_prefix=no
11974       need_version=no
11975       shlibpath_overrides_runpath=no
11976       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11977       ;;
11978   esac
11979   ;;
11980
11981 sysv4*MP*)
11982   if test -d /usr/nec ;then
11983     version_type=linux
11984     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11985     soname_spec='$libname${shared_ext}.$major'
11986     shlibpath_var=LD_LIBRARY_PATH
11987   fi
11988   ;;
11989
11990 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11991   version_type=freebsd-elf
11992   need_lib_prefix=no
11993   need_version=no
11994   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11995   soname_spec='${libname}${release}${shared_ext}$major'
11996   shlibpath_var=LD_LIBRARY_PATH
11997   shlibpath_overrides_runpath=yes
11998   hardcode_into_libs=yes
11999   if test "$with_gnu_ld" = yes; then
12000     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12001   else
12002     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12003     case $host_os in
12004       sco3.2v5*)
12005         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12006         ;;
12007     esac
12008   fi
12009   sys_lib_dlsearch_path_spec='/usr/lib'
12010   ;;
12011
12012 tpf*)
12013   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12014   version_type=linux
12015   need_lib_prefix=no
12016   need_version=no
12017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12018   shlibpath_var=LD_LIBRARY_PATH
12019   shlibpath_overrides_runpath=no
12020   hardcode_into_libs=yes
12021   ;;
12022
12023 uts4*)
12024   version_type=linux
12025   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12026   soname_spec='${libname}${release}${shared_ext}$major'
12027   shlibpath_var=LD_LIBRARY_PATH
12028   ;;
12029
12030 *)
12031   dynamic_linker=no
12032   ;;
12033 esac
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12035 $as_echo "$dynamic_linker" >&6; }
12036 test "$dynamic_linker" = no && can_build_shared=no
12037
12038 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12039 if test "$GCC" = yes; then
12040   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12041 fi
12042
12043 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12044   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12045 fi
12046 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12047   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
12048 fi
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12137 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12138 hardcode_action=
12139 if test -n "$hardcode_libdir_flag_spec" ||
12140    test -n "$runpath_var" ||
12141    test "X$hardcode_automatic" = "Xyes" ; then
12142
12143   # We can hardcode non-existent directories.
12144   if test "$hardcode_direct" != no &&
12145      # If the only mechanism to avoid hardcoding is shlibpath_var, we
12146      # have to relink, otherwise we might link with an installed library
12147      # when we should be linking with a yet-to-be-installed one
12148      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12149      test "$hardcode_minus_L" != no; then
12150     # Linking always hardcodes the temporary library directory.
12151     hardcode_action=relink
12152   else
12153     # We can link without hardcoding, and we can hardcode nonexisting dirs.
12154     hardcode_action=immediate
12155   fi
12156 else
12157   # We cannot hardcode anything, or else we can only hardcode existing
12158   # directories.
12159   hardcode_action=unsupported
12160 fi
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12162 $as_echo "$hardcode_action" >&6; }
12163
12164 if test "$hardcode_action" = relink ||
12165    test "$inherit_rpath" = yes; then
12166   # Fast installation is not supported
12167   enable_fast_install=no
12168 elif test "$shlibpath_overrides_runpath" = yes ||
12169      test "$enable_shared" = no; then
12170   # Fast installation is not necessary
12171   enable_fast_install=needless
12172 fi
12173
12174
12175
12176
12177
12178
12179   if test "x$enable_dlopen" != xyes; then
12180   enable_dlopen=unknown
12181   enable_dlopen_self=unknown
12182   enable_dlopen_self_static=unknown
12183 else
12184   lt_cv_dlopen=no
12185   lt_cv_dlopen_libs=
12186
12187   case $host_os in
12188   beos*)
12189     lt_cv_dlopen="load_add_on"
12190     lt_cv_dlopen_libs=
12191     lt_cv_dlopen_self=yes
12192     ;;
12193
12194   mingw* | pw32* | cegcc*)
12195     lt_cv_dlopen="LoadLibrary"
12196     lt_cv_dlopen_libs=
12197     ;;
12198
12199   cygwin*)
12200     lt_cv_dlopen="dlopen"
12201     lt_cv_dlopen_libs=
12202     ;;
12203
12204   darwin*)
12205   # if libdl is installed we need to link against it
12206     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12207 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12208 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12209   $as_echo_n "(cached) " >&6
12210 else
12211   ac_check_lib_save_LIBS=$LIBS
12212 LIBS="-ldl  $LIBS"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h.  */
12215
12216 /* Override any GCC internal prototype to avoid an error.
12217    Use char because int might match the return type of a GCC
12218    builtin and then its argument prototype would still apply.  */
12219 #ifdef __cplusplus
12220 extern "C"
12221 #endif
12222 char dlopen ();
12223 int
12224 main ()
12225 {
12226 return dlopen ();
12227   ;
12228   return 0;
12229 }
12230 _ACEOF
12231 if ac_fn_c_try_link "$LINENO"; then :
12232   ac_cv_lib_dl_dlopen=yes
12233 else
12234   ac_cv_lib_dl_dlopen=no
12235 fi
12236 rm -f core conftest.err conftest.$ac_objext \
12237     conftest$ac_exeext conftest.$ac_ext
12238 LIBS=$ac_check_lib_save_LIBS
12239 fi
12240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12241 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12242 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12243   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12244 else
12245
12246     lt_cv_dlopen="dyld"
12247     lt_cv_dlopen_libs=
12248     lt_cv_dlopen_self=yes
12249
12250 fi
12251
12252     ;;
12253
12254   *)
12255     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12256 if test "x$ac_cv_func_shl_load" = x""yes; then :
12257   lt_cv_dlopen="shl_load"
12258 else
12259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12260 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12261 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
12262   $as_echo_n "(cached) " >&6
12263 else
12264   ac_check_lib_save_LIBS=$LIBS
12265 LIBS="-ldld  $LIBS"
12266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12267 /* end confdefs.h.  */
12268
12269 /* Override any GCC internal prototype to avoid an error.
12270    Use char because int might match the return type of a GCC
12271    builtin and then its argument prototype would still apply.  */
12272 #ifdef __cplusplus
12273 extern "C"
12274 #endif
12275 char shl_load ();
12276 int
12277 main ()
12278 {
12279 return shl_load ();
12280   ;
12281   return 0;
12282 }
12283 _ACEOF
12284 if ac_fn_c_try_link "$LINENO"; then :
12285   ac_cv_lib_dld_shl_load=yes
12286 else
12287   ac_cv_lib_dld_shl_load=no
12288 fi
12289 rm -f core conftest.err conftest.$ac_objext \
12290     conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_lib_save_LIBS
12292 fi
12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12294 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12295 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
12296   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12297 else
12298   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12299 if test "x$ac_cv_func_dlopen" = x""yes; then :
12300   lt_cv_dlopen="dlopen"
12301 else
12302   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12303 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12304 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12305   $as_echo_n "(cached) " >&6
12306 else
12307   ac_check_lib_save_LIBS=$LIBS
12308 LIBS="-ldl  $LIBS"
12309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310 /* end confdefs.h.  */
12311
12312 /* Override any GCC internal prototype to avoid an error.
12313    Use char because int might match the return type of a GCC
12314    builtin and then its argument prototype would still apply.  */
12315 #ifdef __cplusplus
12316 extern "C"
12317 #endif
12318 char dlopen ();
12319 int
12320 main ()
12321 {
12322 return dlopen ();
12323   ;
12324   return 0;
12325 }
12326 _ACEOF
12327 if ac_fn_c_try_link "$LINENO"; then :
12328   ac_cv_lib_dl_dlopen=yes
12329 else
12330   ac_cv_lib_dl_dlopen=no
12331 fi
12332 rm -f core conftest.err conftest.$ac_objext \
12333     conftest$ac_exeext conftest.$ac_ext
12334 LIBS=$ac_check_lib_save_LIBS
12335 fi
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12337 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12338 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12339   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12340 else
12341   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12342 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12343 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
12344   $as_echo_n "(cached) " >&6
12345 else
12346   ac_check_lib_save_LIBS=$LIBS
12347 LIBS="-lsvld  $LIBS"
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h.  */
12350
12351 /* Override any GCC internal prototype to avoid an error.
12352    Use char because int might match the return type of a GCC
12353    builtin and then its argument prototype would still apply.  */
12354 #ifdef __cplusplus
12355 extern "C"
12356 #endif
12357 char dlopen ();
12358 int
12359 main ()
12360 {
12361 return dlopen ();
12362   ;
12363   return 0;
12364 }
12365 _ACEOF
12366 if ac_fn_c_try_link "$LINENO"; then :
12367   ac_cv_lib_svld_dlopen=yes
12368 else
12369   ac_cv_lib_svld_dlopen=no
12370 fi
12371 rm -f core conftest.err conftest.$ac_objext \
12372     conftest$ac_exeext conftest.$ac_ext
12373 LIBS=$ac_check_lib_save_LIBS
12374 fi
12375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12376 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12377 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
12378   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12379 else
12380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12381 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12382 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
12383   $as_echo_n "(cached) " >&6
12384 else
12385   ac_check_lib_save_LIBS=$LIBS
12386 LIBS="-ldld  $LIBS"
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h.  */
12389
12390 /* Override any GCC internal prototype to avoid an error.
12391    Use char because int might match the return type of a GCC
12392    builtin and then its argument prototype would still apply.  */
12393 #ifdef __cplusplus
12394 extern "C"
12395 #endif
12396 char dld_link ();
12397 int
12398 main ()
12399 {
12400 return dld_link ();
12401   ;
12402   return 0;
12403 }
12404 _ACEOF
12405 if ac_fn_c_try_link "$LINENO"; then :
12406   ac_cv_lib_dld_dld_link=yes
12407 else
12408   ac_cv_lib_dld_dld_link=no
12409 fi
12410 rm -f core conftest.err conftest.$ac_objext \
12411     conftest$ac_exeext conftest.$ac_ext
12412 LIBS=$ac_check_lib_save_LIBS
12413 fi
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12415 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12416 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
12417   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12418 fi
12419
12420
12421 fi
12422
12423
12424 fi
12425
12426
12427 fi
12428
12429
12430 fi
12431
12432
12433 fi
12434
12435     ;;
12436   esac
12437
12438   if test "x$lt_cv_dlopen" != xno; then
12439     enable_dlopen=yes
12440   else
12441     enable_dlopen=no
12442   fi
12443
12444   case $lt_cv_dlopen in
12445   dlopen)
12446     save_CPPFLAGS="$CPPFLAGS"
12447     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12448
12449     save_LDFLAGS="$LDFLAGS"
12450     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12451
12452     save_LIBS="$LIBS"
12453     LIBS="$lt_cv_dlopen_libs $LIBS"
12454
12455     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12456 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12457 if test "${lt_cv_dlopen_self+set}" = set; then :
12458   $as_echo_n "(cached) " >&6
12459 else
12460           if test "$cross_compiling" = yes; then :
12461   lt_cv_dlopen_self=cross
12462 else
12463   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12464   lt_status=$lt_dlunknown
12465   cat > conftest.$ac_ext <<_LT_EOF
12466 #line 12466 "configure"
12467 #include "confdefs.h"
12468
12469 #if HAVE_DLFCN_H
12470 #include <dlfcn.h>
12471 #endif
12472
12473 #include <stdio.h>
12474
12475 #ifdef RTLD_GLOBAL
12476 #  define LT_DLGLOBAL           RTLD_GLOBAL
12477 #else
12478 #  ifdef DL_GLOBAL
12479 #    define LT_DLGLOBAL         DL_GLOBAL
12480 #  else
12481 #    define LT_DLGLOBAL         0
12482 #  endif
12483 #endif
12484
12485 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12486    find out it does not work in some platform. */
12487 #ifndef LT_DLLAZY_OR_NOW
12488 #  ifdef RTLD_LAZY
12489 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12490 #  else
12491 #    ifdef DL_LAZY
12492 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12493 #    else
12494 #      ifdef RTLD_NOW
12495 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12496 #      else
12497 #        ifdef DL_NOW
12498 #          define LT_DLLAZY_OR_NOW      DL_NOW
12499 #        else
12500 #          define LT_DLLAZY_OR_NOW      0
12501 #        endif
12502 #      endif
12503 #    endif
12504 #  endif
12505 #endif
12506
12507 void fnord() { int i=42;}
12508 int main ()
12509 {
12510   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12511   int status = $lt_dlunknown;
12512
12513   if (self)
12514     {
12515       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12516       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12517       /* dlclose (self); */
12518     }
12519   else
12520     puts (dlerror ());
12521
12522   return status;
12523 }
12524 _LT_EOF
12525   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12526   (eval $ac_link) 2>&5
12527   ac_status=$?
12528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12529   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12530     (./conftest; exit; ) >&5 2>/dev/null
12531     lt_status=$?
12532     case x$lt_status in
12533       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12534       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12535       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12536     esac
12537   else :
12538     # compilation failed
12539     lt_cv_dlopen_self=no
12540   fi
12541 fi
12542 rm -fr conftest*
12543
12544
12545 fi
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12547 $as_echo "$lt_cv_dlopen_self" >&6; }
12548
12549     if test "x$lt_cv_dlopen_self" = xyes; then
12550       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12551       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12552 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12553 if test "${lt_cv_dlopen_self_static+set}" = set; then :
12554   $as_echo_n "(cached) " >&6
12555 else
12556           if test "$cross_compiling" = yes; then :
12557   lt_cv_dlopen_self_static=cross
12558 else
12559   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12560   lt_status=$lt_dlunknown
12561   cat > conftest.$ac_ext <<_LT_EOF
12562 #line 12562 "configure"
12563 #include "confdefs.h"
12564
12565 #if HAVE_DLFCN_H
12566 #include <dlfcn.h>
12567 #endif
12568
12569 #include <stdio.h>
12570
12571 #ifdef RTLD_GLOBAL
12572 #  define LT_DLGLOBAL           RTLD_GLOBAL
12573 #else
12574 #  ifdef DL_GLOBAL
12575 #    define LT_DLGLOBAL         DL_GLOBAL
12576 #  else
12577 #    define LT_DLGLOBAL         0
12578 #  endif
12579 #endif
12580
12581 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12582    find out it does not work in some platform. */
12583 #ifndef LT_DLLAZY_OR_NOW
12584 #  ifdef RTLD_LAZY
12585 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
12586 #  else
12587 #    ifdef DL_LAZY
12588 #      define LT_DLLAZY_OR_NOW          DL_LAZY
12589 #    else
12590 #      ifdef RTLD_NOW
12591 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
12592 #      else
12593 #        ifdef DL_NOW
12594 #          define LT_DLLAZY_OR_NOW      DL_NOW
12595 #        else
12596 #          define LT_DLLAZY_OR_NOW      0
12597 #        endif
12598 #      endif
12599 #    endif
12600 #  endif
12601 #endif
12602
12603 void fnord() { int i=42;}
12604 int main ()
12605 {
12606   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12607   int status = $lt_dlunknown;
12608
12609   if (self)
12610     {
12611       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12612       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12613       /* dlclose (self); */
12614     }
12615   else
12616     puts (dlerror ());
12617
12618   return status;
12619 }
12620 _LT_EOF
12621   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12622   (eval $ac_link) 2>&5
12623   ac_status=$?
12624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12625   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12626     (./conftest; exit; ) >&5 2>/dev/null
12627     lt_status=$?
12628     case x$lt_status in
12629       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12630       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12631       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12632     esac
12633   else :
12634     # compilation failed
12635     lt_cv_dlopen_self_static=no
12636   fi
12637 fi
12638 rm -fr conftest*
12639
12640
12641 fi
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12643 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12644     fi
12645
12646     CPPFLAGS="$save_CPPFLAGS"
12647     LDFLAGS="$save_LDFLAGS"
12648     LIBS="$save_LIBS"
12649     ;;
12650   esac
12651
12652   case $lt_cv_dlopen_self in
12653   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12654   *) enable_dlopen_self=unknown ;;
12655   esac
12656
12657   case $lt_cv_dlopen_self_static in
12658   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12659   *) enable_dlopen_self_static=unknown ;;
12660   esac
12661 fi
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679 striplib=
12680 old_striplib=
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12682 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12683 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12684   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12685   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12687 $as_echo "yes" >&6; }
12688 else
12689 # FIXME - insert some real tests, host_os isn't really good enough
12690   case $host_os in
12691   darwin*)
12692     if test -n "$STRIP" ; then
12693       striplib="$STRIP -x"
12694       old_striplib="$STRIP -S"
12695       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12696 $as_echo "yes" >&6; }
12697     else
12698       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12699 $as_echo "no" >&6; }
12700     fi
12701     ;;
12702   *)
12703     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12704 $as_echo "no" >&6; }
12705     ;;
12706   esac
12707 fi
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720   # Report which library types will actually be built
12721   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12722 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12724 $as_echo "$can_build_shared" >&6; }
12725
12726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12727 $as_echo_n "checking whether to build shared libraries... " >&6; }
12728   test "$can_build_shared" = "no" && enable_shared=no
12729
12730   # On AIX, shared libraries and static libraries use the same namespace, and
12731   # are all built from PIC.
12732   case $host_os in
12733   aix3*)
12734     test "$enable_shared" = yes && enable_static=no
12735     if test -n "$RANLIB"; then
12736       archive_cmds="$archive_cmds~\$RANLIB \$lib"
12737       postinstall_cmds='$RANLIB $lib'
12738     fi
12739     ;;
12740
12741   aix[4-9]*)
12742     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12743       test "$enable_shared" = yes && enable_static=no
12744     fi
12745     ;;
12746   esac
12747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12748 $as_echo "$enable_shared" >&6; }
12749
12750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12751 $as_echo_n "checking whether to build static libraries... " >&6; }
12752   # Make sure either enable_shared or enable_static is yes.
12753   test "$enable_shared" = yes || enable_static=yes
12754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12755 $as_echo "$enable_static" >&6; }
12756
12757
12758
12759
12760 fi
12761 ac_ext=c
12762 ac_cpp='$CPP $CPPFLAGS'
12763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12766
12767 CC="$lt_save_CC"
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781         ac_config_commands="$ac_config_commands libtool"
12782
12783
12784
12785
12786 # Only expand once:
12787
12788
12789
12790 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12791 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12792
12793
12794
12795 cat >>confdefs.h <<_ACEOF
12796 #define VMAJ 0
12797 _ACEOF
12798
12799
12800 cat >>confdefs.h <<_ACEOF
12801 #define VMIN 8
12802 _ACEOF
12803
12804
12805 cat >>confdefs.h <<_ACEOF
12806 #define VMIC 0
12807 _ACEOF
12808
12809
12810 cat >>confdefs.h <<_ACEOF
12811 #define VREV 67547
12812 _ACEOF
12813
12814 version_info="8:0:8"
12815 release_info="-release ver-pre-svn-09"
12816
12817
12818 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12819 ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12820 VMAJ=0
12821 VMIN=8
12822
12823
12824
12825 # pkg-config
12826
12827
12828
12829
12830
12831
12832 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12833         if test -n "$ac_tool_prefix"; then
12834   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12835 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12837 $as_echo_n "checking for $ac_word... " >&6; }
12838 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12839   $as_echo_n "(cached) " >&6
12840 else
12841   case $PKG_CONFIG in
12842   [\\/]* | ?:[\\/]*)
12843   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12844   ;;
12845   *)
12846   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12847 for as_dir in $PATH
12848 do
12849   IFS=$as_save_IFS
12850   test -z "$as_dir" && as_dir=.
12851     for ac_exec_ext in '' $ac_executable_extensions; do
12852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12853     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12854     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12855     break 2
12856   fi
12857 done
12858   done
12859 IFS=$as_save_IFS
12860
12861   ;;
12862 esac
12863 fi
12864 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12865 if test -n "$PKG_CONFIG"; then
12866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12867 $as_echo "$PKG_CONFIG" >&6; }
12868 else
12869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12870 $as_echo "no" >&6; }
12871 fi
12872
12873
12874 fi
12875 if test -z "$ac_cv_path_PKG_CONFIG"; then
12876   ac_pt_PKG_CONFIG=$PKG_CONFIG
12877   # Extract the first word of "pkg-config", so it can be a program name with args.
12878 set dummy pkg-config; ac_word=$2
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12880 $as_echo_n "checking for $ac_word... " >&6; }
12881 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
12882   $as_echo_n "(cached) " >&6
12883 else
12884   case $ac_pt_PKG_CONFIG in
12885   [\\/]* | ?:[\\/]*)
12886   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12887   ;;
12888   *)
12889   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12890 for as_dir in $PATH
12891 do
12892   IFS=$as_save_IFS
12893   test -z "$as_dir" && as_dir=.
12894     for ac_exec_ext in '' $ac_executable_extensions; do
12895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12896     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12897     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12898     break 2
12899   fi
12900 done
12901   done
12902 IFS=$as_save_IFS
12903
12904   ;;
12905 esac
12906 fi
12907 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12908 if test -n "$ac_pt_PKG_CONFIG"; then
12909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12910 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
12911 else
12912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12913 $as_echo "no" >&6; }
12914 fi
12915
12916   if test "x$ac_pt_PKG_CONFIG" = x; then
12917     PKG_CONFIG=""
12918   else
12919     case $cross_compiling:$ac_tool_warned in
12920 yes:)
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12923 ac_tool_warned=yes ;;
12924 esac
12925     PKG_CONFIG=$ac_pt_PKG_CONFIG
12926   fi
12927 else
12928   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12929 fi
12930
12931 fi
12932 if test -n "$PKG_CONFIG"; then
12933         _pkg_min_version=0.9.0
12934         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12935 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12936         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12937                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12938 $as_echo "yes" >&6; }
12939         else
12940                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12941 $as_echo "no" >&6; }
12942                 PKG_CONFIG=""
12943         fi
12944 fi
12945 EDJE_VERSION=`$PKG_CONFIG edje --modversion | awk -F . '{printf("%s.0.0", $1);}'`
12946
12947 case "$host_os" in
12948   mingw32ce* | cegcc*)
12949     MODULE_ARCH="$host_os-$host_cpu"
12950     MODULE_EDJE="$host_os-$host_cpu"
12951     ;;
12952   *)
12953     MODULE_ARCH="$host_os-$host_cpu-0.8.0"
12954     MODULE_EDJE="$host_os-$host_cpu-${EDJE_VERSION}"
12955     ;;
12956 esac
12957
12958
12959
12960 cat >>confdefs.h <<_ACEOF
12961 #define MODULE_ARCH "$MODULE_ARCH"
12962 _ACEOF
12963
12964
12965
12966 cat >>confdefs.h <<_ACEOF
12967 #define MODULE_EDJE "$MODULE_EDJE"
12968 _ACEOF
12969
12970
12971 EFL_SHARED_EXTENSION="${shrext_cmds}"
12972
12973 cat >>confdefs.h <<_ACEOF
12974 #define EFL_SHARED_EXTENSION "${EFL_SHARED_EXTENSION}"
12975 _ACEOF
12976
12977
12978 requirement_elm=""
12979
12980
12981
12982
12983
12984
12985
12986 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12987         if test -n "$ac_tool_prefix"; then
12988   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12989 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12991 $as_echo_n "checking for $ac_word... " >&6; }
12992 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
12993   $as_echo_n "(cached) " >&6
12994 else
12995   case $PKG_CONFIG in
12996   [\\/]* | ?:[\\/]*)
12997   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12998   ;;
12999   *)
13000   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13001 for as_dir in $PATH
13002 do
13003   IFS=$as_save_IFS
13004   test -z "$as_dir" && as_dir=.
13005     for ac_exec_ext in '' $ac_executable_extensions; do
13006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13007     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13008     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13009     break 2
13010   fi
13011 done
13012   done
13013 IFS=$as_save_IFS
13014
13015   ;;
13016 esac
13017 fi
13018 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13019 if test -n "$PKG_CONFIG"; then
13020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13021 $as_echo "$PKG_CONFIG" >&6; }
13022 else
13023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13024 $as_echo "no" >&6; }
13025 fi
13026
13027
13028 fi
13029 if test -z "$ac_cv_path_PKG_CONFIG"; then
13030   ac_pt_PKG_CONFIG=$PKG_CONFIG
13031   # Extract the first word of "pkg-config", so it can be a program name with args.
13032 set dummy pkg-config; ac_word=$2
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13034 $as_echo_n "checking for $ac_word... " >&6; }
13035 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
13036   $as_echo_n "(cached) " >&6
13037 else
13038   case $ac_pt_PKG_CONFIG in
13039   [\\/]* | ?:[\\/]*)
13040   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13041   ;;
13042   *)
13043   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13044 for as_dir in $PATH
13045 do
13046   IFS=$as_save_IFS
13047   test -z "$as_dir" && as_dir=.
13048     for ac_exec_ext in '' $ac_executable_extensions; do
13049   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13050     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13051     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13052     break 2
13053   fi
13054 done
13055   done
13056 IFS=$as_save_IFS
13057
13058   ;;
13059 esac
13060 fi
13061 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13062 if test -n "$ac_pt_PKG_CONFIG"; then
13063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13064 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
13065 else
13066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13067 $as_echo "no" >&6; }
13068 fi
13069
13070   if test "x$ac_pt_PKG_CONFIG" = x; then
13071     PKG_CONFIG=""
13072   else
13073     case $cross_compiling:$ac_tool_warned in
13074 yes:)
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13076 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13077 ac_tool_warned=yes ;;
13078 esac
13079     PKG_CONFIG=$ac_pt_PKG_CONFIG
13080   fi
13081 else
13082   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13083 fi
13084
13085 fi
13086 if test -n "$PKG_CONFIG"; then
13087         _pkg_min_version=0.9.0
13088         { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13089 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13090         if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13091                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13092 $as_echo "yes" >&6; }
13093         else
13094                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13095 $as_echo "no" >&6; }
13096                 PKG_CONFIG=""
13097         fi
13098 fi
13099
13100 # Check whether pkg-config supports Requires.private
13101 if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
13102    pkgconfig_requires_private="Requires.private"
13103 else
13104    pkgconfig_requires_private="Requires"
13105 fi
13106
13107
13108 #================================================
13109 if test "x${prefix}" = "xNONE"; then
13110   LOCALE_DIR="${ac_default_prefix}/share/locale"
13111 else
13112   LOCALE_DIR="${prefix}/share/locale"
13113 fi
13114
13115 #================================================
13116
13117 lt_enable_auto_import=""
13118 ELM_UNIX_DEF="#undef"
13119 ELM_WIN32_DEF="#undef"
13120 ELM_WINCE_DEF="#undef"
13121 have_windows="no"
13122 have_dlopen="no"
13123 case "$host_os" in
13124    mingw32ce* | cegcc*)
13125
13126 pkg_failed=no
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13128 $as_echo_n "checking for EVIL... " >&6; }
13129
13130 if test -n "$EVIL_CFLAGS"; then
13131     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13132  elif test -n "$PKG_CONFIG"; then
13133     if test -n "$PKG_CONFIG" && \
13134     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13135   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13136   ac_status=$?
13137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13138   test $ac_status = 0; }; then
13139   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
13140 else
13141   pkg_failed=yes
13142 fi
13143  else
13144     pkg_failed=untried
13145 fi
13146 if test -n "$EVIL_LIBS"; then
13147     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13148  elif test -n "$PKG_CONFIG"; then
13149     if test -n "$PKG_CONFIG" && \
13150     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13151   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13152   ac_status=$?
13153   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13154   test $ac_status = 0; }; then
13155   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
13156 else
13157   pkg_failed=yes
13158 fi
13159  else
13160     pkg_failed=untried
13161 fi
13162
13163
13164
13165 if test $pkg_failed = yes; then
13166         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13167 $as_echo "no" >&6; }
13168
13169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13170         _pkg_short_errors_supported=yes
13171 else
13172         _pkg_short_errors_supported=no
13173 fi
13174         if test $_pkg_short_errors_supported = yes; then
13175                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil" 2>&1`
13176         else
13177                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil" 2>&1`
13178         fi
13179         # Put the nasty error message in config.log where it belongs
13180         echo "$EVIL_PKG_ERRORS" >&5
13181
13182         as_fn_error $? "Package requirements (evil) were not met:
13183
13184 $EVIL_PKG_ERRORS
13185
13186 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13187 installed software in a non-standard prefix.
13188
13189 Alternatively, you may set the environment variables EVIL_CFLAGS
13190 and EVIL_LIBS to avoid the need to call pkg-config.
13191 See the pkg-config man page for more details." "$LINENO" 5
13192 elif test $pkg_failed = untried; then
13193         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13194 $as_echo "no" >&6; }
13195         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13197 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13198 is in your PATH or set the PKG_CONFIG environment variable to the full
13199 path to pkg-config.
13200
13201 Alternatively, you may set the environment variables EVIL_CFLAGS
13202 and EVIL_LIBS to avoid the need to call pkg-config.
13203 See the pkg-config man page for more details.
13204
13205 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13206 See \`config.log' for more details" "$LINENO" 5 ; }
13207 else
13208         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13209         EVIL_LIBS=$pkg_cv_EVIL_LIBS
13210         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13211 $as_echo "yes" >&6; }
13212
13213 fi
13214
13215 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13216
13217       lt_enable_auto_import="-Wl,--enable-auto-import"
13218       ELM_WINCE_DEF="#define"
13219       have_windows="yes"
13220       $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13221
13222       have_dlopen="yes"
13223       dlopen_libs=-ldl
13224       requirement_elm="evil"
13225       have_socket="no"
13226     ;;
13227    mingw*)
13228
13229 pkg_failed=no
13230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
13231 $as_echo_n "checking for EVIL... " >&6; }
13232
13233 if test -n "$EVIL_CFLAGS"; then
13234     pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
13235  elif test -n "$PKG_CONFIG"; then
13236     if test -n "$PKG_CONFIG" && \
13237     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13238   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13239   ac_status=$?
13240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13241   test $ac_status = 0; }; then
13242   pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil" 2>/dev/null`
13243 else
13244   pkg_failed=yes
13245 fi
13246  else
13247     pkg_failed=untried
13248 fi
13249 if test -n "$EVIL_LIBS"; then
13250     pkg_cv_EVIL_LIBS="$EVIL_LIBS"
13251  elif test -n "$PKG_CONFIG"; then
13252     if test -n "$PKG_CONFIG" && \
13253     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil\""; } >&5
13254   ($PKG_CONFIG --exists --print-errors "evil") 2>&5
13255   ac_status=$?
13256   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13257   test $ac_status = 0; }; then
13258   pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil" 2>/dev/null`
13259 else
13260   pkg_failed=yes
13261 fi
13262  else
13263     pkg_failed=untried
13264 fi
13265
13266
13267
13268 if test $pkg_failed = yes; then
13269         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13270 $as_echo "no" >&6; }
13271
13272 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13273         _pkg_short_errors_supported=yes
13274 else
13275         _pkg_short_errors_supported=no
13276 fi
13277         if test $_pkg_short_errors_supported = yes; then
13278                 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil" 2>&1`
13279         else
13280                 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil" 2>&1`
13281         fi
13282         # Put the nasty error message in config.log where it belongs
13283         echo "$EVIL_PKG_ERRORS" >&5
13284
13285         as_fn_error $? "Package requirements (evil) were not met:
13286
13287 $EVIL_PKG_ERRORS
13288
13289 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13290 installed software in a non-standard prefix.
13291
13292 Alternatively, you may set the environment variables EVIL_CFLAGS
13293 and EVIL_LIBS to avoid the need to call pkg-config.
13294 See the pkg-config man page for more details." "$LINENO" 5
13295 elif test $pkg_failed = untried; then
13296         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297 $as_echo "no" >&6; }
13298         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13300 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13301 is in your PATH or set the PKG_CONFIG environment variable to the full
13302 path to pkg-config.
13303
13304 Alternatively, you may set the environment variables EVIL_CFLAGS
13305 and EVIL_LIBS to avoid the need to call pkg-config.
13306 See the pkg-config man page for more details.
13307
13308 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13309 See \`config.log' for more details" "$LINENO" 5 ; }
13310 else
13311         EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
13312         EVIL_LIBS=$pkg_cv_EVIL_LIBS
13313         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13314 $as_echo "yes" >&6; }
13315
13316 fi
13317
13318 $as_echo "#define HAVE_EVIL 1" >>confdefs.h
13319
13320       lt_enable_auto_import="-Wl,--enable-auto-import"
13321       ELM_WIN32_DEF="#define"
13322       have_windows="yes"
13323       $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13324
13325       have_dlopen="yes"
13326       dlopen_libs=-ldl
13327       requirement_elm="evil"
13328       have_socket="no"
13329       ;;
13330    *solaris*)
13331       ELM_UNIX_DEF="#define"
13332       have_socket="yes"
13333       have_dlopen="yes"
13334       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13335 $as_echo_n "checking for connect in -lsocket... " >&6; }
13336 if test "${ac_cv_lib_socket_connect+set}" = set; then :
13337   $as_echo_n "(cached) " >&6
13338 else
13339   ac_check_lib_save_LIBS=$LIBS
13340 LIBS="-lsocket  $LIBS"
13341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13342 /* end confdefs.h.  */
13343
13344 /* Override any GCC internal prototype to avoid an error.
13345    Use char because int might match the return type of a GCC
13346    builtin and then its argument prototype would still apply.  */
13347 #ifdef __cplusplus
13348 extern "C"
13349 #endif
13350 char connect ();
13351 int
13352 main ()
13353 {
13354 return connect ();
13355   ;
13356   return 0;
13357 }
13358 _ACEOF
13359 if ac_fn_c_try_link "$LINENO"; then :
13360   ac_cv_lib_socket_connect=yes
13361 else
13362   ac_cv_lib_socket_connect=no
13363 fi
13364 rm -f core conftest.err conftest.$ac_objext \
13365     conftest$ac_exeext conftest.$ac_ext
13366 LIBS=$ac_check_lib_save_LIBS
13367 fi
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13369 $as_echo "$ac_cv_lib_socket_connect" >&6; }
13370 if test "x$ac_cv_lib_socket_connect" = x""yes; then :
13371   cat >>confdefs.h <<_ACEOF
13372 #define HAVE_LIBSOCKET 1
13373 _ACEOF
13374
13375   LIBS="-lsocket $LIBS"
13376
13377 else
13378   have_socket="no"
13379 fi
13380
13381       ;;
13382    darwin*)
13383       ELM_UNIX_DEF="#define"
13384       have_socket="yes"
13385       have_dlopen="yes"
13386       for ac_header in crt_externs.h
13387 do :
13388   ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
13389 if test "x$ac_cv_header_crt_externs_h" = x""yes; then :
13390   cat >>confdefs.h <<_ACEOF
13391 #define HAVE_CRT_EXTERNS_H 1
13392 _ACEOF
13393
13394 fi
13395
13396 done
13397
13398
13399 $as_echo "#define environ (*_NSGetEnviron())" >>confdefs.h
13400
13401       ;;
13402    *)
13403       ELM_UNIX_DEF="#define"
13404       for ac_func in dlopen
13405 do :
13406   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13407 if test "x$ac_cv_func_dlopen" = x""yes; then :
13408   cat >>confdefs.h <<_ACEOF
13409 #define HAVE_DLOPEN 1
13410 _ACEOF
13411  res=yes
13412 else
13413   res=no
13414 fi
13415 done
13416
13417       if test "x$res" = "xyes"; then
13418         for ac_func in dladdr
13419 do :
13420   ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
13421 if test "x$ac_cv_func_dladdr" = x""yes; then :
13422   cat >>confdefs.h <<_ACEOF
13423 #define HAVE_DLADDR 1
13424 _ACEOF
13425  $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13426
13427 fi
13428 done
13429
13430         have_dlopen="yes"
13431       else
13432         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13433 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13434 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13435   $as_echo_n "(cached) " >&6
13436 else
13437   ac_check_lib_save_LIBS=$LIBS
13438 LIBS="-ldl  $LIBS"
13439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13440 /* end confdefs.h.  */
13441
13442 /* Override any GCC internal prototype to avoid an error.
13443    Use char because int might match the return type of a GCC
13444    builtin and then its argument prototype would still apply.  */
13445 #ifdef __cplusplus
13446 extern "C"
13447 #endif
13448 char dlopen ();
13449 int
13450 main ()
13451 {
13452 return dlopen ();
13453   ;
13454   return 0;
13455 }
13456 _ACEOF
13457 if ac_fn_c_try_link "$LINENO"; then :
13458   ac_cv_lib_dl_dlopen=yes
13459 else
13460   ac_cv_lib_dl_dlopen=no
13461 fi
13462 rm -f core conftest.err conftest.$ac_objext \
13463     conftest$ac_exeext conftest.$ac_ext
13464 LIBS=$ac_check_lib_save_LIBS
13465 fi
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13467 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13468 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13469   res=yes
13470 else
13471   res=no
13472 fi
13473
13474         if test "x$res" = "xyes"; then
13475           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr in -ldl" >&5
13476 $as_echo_n "checking for dladdr in -ldl... " >&6; }
13477 if test "${ac_cv_lib_dl_dladdr+set}" = set; then :
13478   $as_echo_n "(cached) " >&6
13479 else
13480   ac_check_lib_save_LIBS=$LIBS
13481 LIBS="-ldl  $LIBS"
13482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13483 /* end confdefs.h.  */
13484
13485 /* Override any GCC internal prototype to avoid an error.
13486    Use char because int might match the return type of a GCC
13487    builtin and then its argument prototype would still apply.  */
13488 #ifdef __cplusplus
13489 extern "C"
13490 #endif
13491 char dladdr ();
13492 int
13493 main ()
13494 {
13495 return dladdr ();
13496   ;
13497   return 0;
13498 }
13499 _ACEOF
13500 if ac_fn_c_try_link "$LINENO"; then :
13501   ac_cv_lib_dl_dladdr=yes
13502 else
13503   ac_cv_lib_dl_dladdr=no
13504 fi
13505 rm -f core conftest.err conftest.$ac_objext \
13506     conftest$ac_exeext conftest.$ac_ext
13507 LIBS=$ac_check_lib_save_LIBS
13508 fi
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dladdr" >&5
13510 $as_echo "$ac_cv_lib_dl_dladdr" >&6; }
13511 if test "x$ac_cv_lib_dl_dladdr" = x""yes; then :
13512   $as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13513
13514 fi
13515
13516           dlopen_libs=-ldl
13517           have_dlopen="yes"
13518         fi
13519       fi
13520       have_socket="yes"
13521       ;;
13522 esac
13523 for ac_func in strcasestr
13524 do :
13525   ac_fn_c_check_func "$LINENO" "strcasestr" "ac_cv_func_strcasestr"
13526 if test "x$ac_cv_func_strcasestr" = x""yes; then :
13527   cat >>confdefs.h <<_ACEOF
13528 #define HAVE_STRCASESTR 1
13529 _ACEOF
13530  $as_echo "#define HAVE_STRCASESTR 1" >>confdefs.h
13531
13532 fi
13533 done
13534
13535  if test "x$have_socket" = "xyes"; then
13536   BUILD_RUN_TRUE=
13537   BUILD_RUN_FALSE='#'
13538 else
13539   BUILD_RUN_TRUE='#'
13540   BUILD_RUN_FALSE=
13541 fi
13542
13543  if test "x$have_dlopen" = "xyes"; then
13544   BUILD_MODULES_TRUE=
13545   BUILD_MODULES_FALSE='#'
13546 else
13547   BUILD_MODULES_TRUE='#'
13548   BUILD_MODULES_FALSE=
13549 fi
13550
13551
13552
13553
13554
13555 CFLAGS_save="${CFLAGS}"
13556 CFLAGS="${CFLAGS} -Wall"
13557
13558 ac_ext=c
13559 ac_cpp='$CPP $CPPFLAGS'
13560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13563
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
13565 $as_echo_n "checking whether the compiler supports -Wall... " >&6; }
13566
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h.  */
13569
13570 int
13571 main ()
13572 {
13573
13574   ;
13575   return 0;
13576 }
13577 _ACEOF
13578 if ac_fn_c_try_compile "$LINENO"; then :
13579   have_flag="yes"
13580 else
13581   have_flag="no"
13582 fi
13583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13585 $as_echo "${have_flag}" >&6; }
13586
13587 if test "x${have_flag}" = "xno" ; then
13588    CFLAGS="${CFLAGS_save}"
13589 fi
13590 ac_ext=c
13591 ac_cpp='$CPP $CPPFLAGS'
13592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13595
13596
13597
13598
13599
13600 CFLAGS_save="${CFLAGS}"
13601 CFLAGS="${CFLAGS} -W"
13602
13603 ac_ext=c
13604 ac_cpp='$CPP $CPPFLAGS'
13605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13608
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
13610 $as_echo_n "checking whether the compiler supports -W... " >&6; }
13611
13612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13613 /* end confdefs.h.  */
13614
13615 int
13616 main ()
13617 {
13618
13619   ;
13620   return 0;
13621 }
13622 _ACEOF
13623 if ac_fn_c_try_compile "$LINENO"; then :
13624   have_flag="yes"
13625 else
13626   have_flag="no"
13627 fi
13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
13630 $as_echo "${have_flag}" >&6; }
13631
13632 if test "x${have_flag}" = "xno" ; then
13633    CFLAGS="${CFLAGS_save}"
13634 fi
13635 ac_ext=c
13636 ac_cpp='$CPP $CPPFLAGS'
13637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13640
13641
13642
13643
13644
13645 have_fork="no"
13646 want_quicklaunch="auto"
13647 # Check whether --enable-quick-launch was given.
13648 if test "${enable_quick_launch+set}" = set; then :
13649   enableval=$enable_quick_launch; want_quicklaunch=$enableval
13650 fi
13651
13652
13653 if test "x$want_quicklaunch" != "xno"; then
13654    for ac_func in fork
13655 do :
13656   ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
13657 if test "x$ac_cv_func_fork" = x""yes; then :
13658   cat >>confdefs.h <<_ACEOF
13659 #define HAVE_FORK 1
13660 _ACEOF
13661
13662         have_fork="yes"
13663         $as_echo "#define HAVE_FORK 1" >>confdefs.h
13664
13665
13666 fi
13667 done
13668
13669 fi
13670  if test "x$have_fork" = "xyes" && test "x$have_dlopen" = "xyes"; then
13671   BUILD_QUICKLAUNCH_TRUE=
13672   BUILD_QUICKLAUNCH_FALSE='#'
13673 else
13674   BUILD_QUICKLAUNCH_TRUE='#'
13675   BUILD_QUICKLAUNCH_FALSE=
13676 fi
13677
13678
13679
13680
13681
13682
13683
13684
13685  if test "x${have_windows}" = "xyes"; then
13686   ELEMENTARY_WINDOWS_BUILD_TRUE=
13687   ELEMENTARY_WINDOWS_BUILD_FALSE='#'
13688 else
13689   ELEMENTARY_WINDOWS_BUILD_TRUE='#'
13690   ELEMENTARY_WINDOWS_BUILD_FALSE=
13691 fi
13692
13693
13694
13695 pkg_failed=no
13696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY" >&5
13697 $as_echo_n "checking for ELEMENTARY... " >&6; }
13698
13699 if test -n "$ELEMENTARY_CFLAGS"; then
13700     pkg_cv_ELEMENTARY_CFLAGS="$ELEMENTARY_CFLAGS"
13701  elif test -n "$PKG_CONFIG"; then
13702     if test -n "$PKG_CONFIG" && \
13703     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13704     eina >= 1.0.999
13705     eet >= 1.4.0
13706     evas >= 1.1.99
13707     ecore >= 1.0.999
13708     ecore-evas >= 1.0.999
13709     ecore-file >= 1.0.999
13710     edje >= 1.0.999
13711
13712 \""; } >&5
13713   ($PKG_CONFIG --exists --print-errors "
13714     eina >= 1.0.999
13715     eet >= 1.4.0
13716     evas >= 1.1.99
13717     ecore >= 1.0.999
13718     ecore-evas >= 1.0.999
13719     ecore-file >= 1.0.999
13720     edje >= 1.0.999
13721
13722 ") 2>&5
13723   ac_status=$?
13724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13725   test $ac_status = 0; }; then
13726   pkg_cv_ELEMENTARY_CFLAGS=`$PKG_CONFIG --cflags "
13727     eina >= 1.0.999
13728     eet >= 1.4.0
13729     evas >= 1.1.99
13730     ecore >= 1.0.999
13731     ecore-evas >= 1.0.999
13732     ecore-file >= 1.0.999
13733     edje >= 1.0.999
13734
13735 " 2>/dev/null`
13736 else
13737   pkg_failed=yes
13738 fi
13739  else
13740     pkg_failed=untried
13741 fi
13742 if test -n "$ELEMENTARY_LIBS"; then
13743     pkg_cv_ELEMENTARY_LIBS="$ELEMENTARY_LIBS"
13744  elif test -n "$PKG_CONFIG"; then
13745     if test -n "$PKG_CONFIG" && \
13746     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
13747     eina >= 1.0.999
13748     eet >= 1.4.0
13749     evas >= 1.1.99
13750     ecore >= 1.0.999
13751     ecore-evas >= 1.0.999
13752     ecore-file >= 1.0.999
13753     edje >= 1.0.999
13754
13755 \""; } >&5
13756   ($PKG_CONFIG --exists --print-errors "
13757     eina >= 1.0.999
13758     eet >= 1.4.0
13759     evas >= 1.1.99
13760     ecore >= 1.0.999
13761     ecore-evas >= 1.0.999
13762     ecore-file >= 1.0.999
13763     edje >= 1.0.999
13764
13765 ") 2>&5
13766   ac_status=$?
13767   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13768   test $ac_status = 0; }; then
13769   pkg_cv_ELEMENTARY_LIBS=`$PKG_CONFIG --libs "
13770     eina >= 1.0.999
13771     eet >= 1.4.0
13772     evas >= 1.1.99
13773     ecore >= 1.0.999
13774     ecore-evas >= 1.0.999
13775     ecore-file >= 1.0.999
13776     edje >= 1.0.999
13777
13778 " 2>/dev/null`
13779 else
13780   pkg_failed=yes
13781 fi
13782  else
13783     pkg_failed=untried
13784 fi
13785
13786
13787
13788 if test $pkg_failed = yes; then
13789         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13790 $as_echo "no" >&6; }
13791
13792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13793         _pkg_short_errors_supported=yes
13794 else
13795         _pkg_short_errors_supported=no
13796 fi
13797         if test $_pkg_short_errors_supported = yes; then
13798                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
13799     eina >= 1.0.999
13800     eet >= 1.4.0
13801     evas >= 1.1.99
13802     ecore >= 1.0.999
13803     ecore-evas >= 1.0.999
13804     ecore-file >= 1.0.999
13805     edje >= 1.0.999
13806
13807 " 2>&1`
13808         else
13809                 ELEMENTARY_PKG_ERRORS=`$PKG_CONFIG --print-errors "
13810     eina >= 1.0.999
13811     eet >= 1.4.0
13812     evas >= 1.1.99
13813     ecore >= 1.0.999
13814     ecore-evas >= 1.0.999
13815     ecore-file >= 1.0.999
13816     edje >= 1.0.999
13817
13818 " 2>&1`
13819         fi
13820         # Put the nasty error message in config.log where it belongs
13821         echo "$ELEMENTARY_PKG_ERRORS" >&5
13822
13823         as_fn_error $? "Package requirements (
13824     eina >= 1.0.999
13825     eet >= 1.4.0
13826     evas >= 1.1.99
13827     ecore >= 1.0.999
13828     ecore-evas >= 1.0.999
13829     ecore-file >= 1.0.999
13830     edje >= 1.0.999
13831
13832 ) were not met:
13833
13834 $ELEMENTARY_PKG_ERRORS
13835
13836 Consider adjusting the PKG_CONFIG_PATH environment variable if you
13837 installed software in a non-standard prefix.
13838
13839 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13840 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13841 See the pkg-config man page for more details." "$LINENO" 5
13842 elif test $pkg_failed = untried; then
13843         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13844 $as_echo "no" >&6; }
13845         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13847 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13848 is in your PATH or set the PKG_CONFIG environment variable to the full
13849 path to pkg-config.
13850
13851 Alternatively, you may set the environment variables ELEMENTARY_CFLAGS
13852 and ELEMENTARY_LIBS to avoid the need to call pkg-config.
13853 See the pkg-config man page for more details.
13854
13855 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13856 See \`config.log' for more details" "$LINENO" 5 ; }
13857 else
13858         ELEMENTARY_CFLAGS=$pkg_cv_ELEMENTARY_CFLAGS
13859         ELEMENTARY_LIBS=$pkg_cv_ELEMENTARY_LIBS
13860         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13861 $as_echo "yes" >&6; }
13862
13863 fi
13864
13865 requirement_elm="edje >= 1.0.0 ecore-file >= 1.0.0 ecore-evas >= 1.0.0 ecore >= 1.0.0 evas >= 1.0.0 eet >= 1.4.0 eina >= 1.0.0 ${requirement_elm}"
13866
13867
13868 pkg_failed=no
13869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_IMF" >&5
13870 $as_echo_n "checking for ELEMENTARY_ECORE_IMF... " >&6; }
13871
13872 if test -n "$ELEMENTARY_ECORE_IMF_CFLAGS"; then
13873     pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS="$ELEMENTARY_ECORE_IMF_CFLAGS"
13874  elif test -n "$PKG_CONFIG"; then
13875     if test -n "$PKG_CONFIG" && \
13876     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.0.999\""; } >&5
13877   ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.0.999") 2>&5
13878   ac_status=$?
13879   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13880   test $ac_status = 0; }; then
13881   pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS=`$PKG_CONFIG --cflags "ecore-imf >= 1.0.999" 2>/dev/null`
13882 else
13883   pkg_failed=yes
13884 fi
13885  else
13886     pkg_failed=untried
13887 fi
13888 if test -n "$ELEMENTARY_ECORE_IMF_LIBS"; then
13889     pkg_cv_ELEMENTARY_ECORE_IMF_LIBS="$ELEMENTARY_ECORE_IMF_LIBS"
13890  elif test -n "$PKG_CONFIG"; then
13891     if test -n "$PKG_CONFIG" && \
13892     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-imf >= 1.0.999\""; } >&5
13893   ($PKG_CONFIG --exists --print-errors "ecore-imf >= 1.0.999") 2>&5
13894   ac_status=$?
13895   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13896   test $ac_status = 0; }; then
13897   pkg_cv_ELEMENTARY_ECORE_IMF_LIBS=`$PKG_CONFIG --libs "ecore-imf >= 1.0.999" 2>/dev/null`
13898 else
13899   pkg_failed=yes
13900 fi
13901  else
13902     pkg_failed=untried
13903 fi
13904
13905
13906
13907 if test $pkg_failed = yes; then
13908         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13909 $as_echo "no" >&6; }
13910
13911 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13912         _pkg_short_errors_supported=yes
13913 else
13914         _pkg_short_errors_supported=no
13915 fi
13916         if test $_pkg_short_errors_supported = yes; then
13917                 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-imf >= 1.0.999" 2>&1`
13918         else
13919                 ELEMENTARY_ECORE_IMF_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-imf >= 1.0.999" 2>&1`
13920         fi
13921         # Put the nasty error message in config.log where it belongs
13922         echo "$ELEMENTARY_ECORE_IMF_PKG_ERRORS" >&5
13923
13924         have_ecore_imf="no"
13925 elif test $pkg_failed = untried; then
13926         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13927 $as_echo "no" >&6; }
13928         have_ecore_imf="no"
13929 else
13930         ELEMENTARY_ECORE_IMF_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_IMF_CFLAGS
13931         ELEMENTARY_ECORE_IMF_LIBS=$pkg_cv_ELEMENTARY_ECORE_IMF_LIBS
13932         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13933 $as_echo "yes" >&6; }
13934
13935     ELEMENTARY_ECORE_IMF_INC="#include <Ecore_IMF.h>"
13936
13937 $as_echo "#define HAVE_ELEMENTARY_ECORE_IMF 1" >>confdefs.h
13938
13939     have_ecore_imf="yes"
13940     requirement_elm="ecore-imf >= 1.0.999 ${requirement_elm}"
13941
13942 fi
13943
13944
13945  if test "x${have_ecore_imf}" = "xyes"; then
13946   HAVE_ECORE_IMF_TRUE=
13947   HAVE_ECORE_IMF_FALSE='#'
13948 else
13949   HAVE_ECORE_IMF_TRUE='#'
13950   HAVE_ECORE_IMF_FALSE=
13951 fi
13952
13953
13954
13955 pkg_failed=no
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ECORE_CON" >&5
13957 $as_echo_n "checking for ELEMENTARY_ECORE_CON... " >&6; }
13958
13959 if test -n "$ELEMENTARY_ECORE_CON_CFLAGS"; then
13960     pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS="$ELEMENTARY_ECORE_CON_CFLAGS"
13961  elif test -n "$PKG_CONFIG"; then
13962     if test -n "$PKG_CONFIG" && \
13963     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.0.999\""; } >&5
13964   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.0.999") 2>&5
13965   ac_status=$?
13966   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13967   test $ac_status = 0; }; then
13968   pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS=`$PKG_CONFIG --cflags "ecore-con >= 1.0.999" 2>/dev/null`
13969 else
13970   pkg_failed=yes
13971 fi
13972  else
13973     pkg_failed=untried
13974 fi
13975 if test -n "$ELEMENTARY_ECORE_CON_LIBS"; then
13976     pkg_cv_ELEMENTARY_ECORE_CON_LIBS="$ELEMENTARY_ECORE_CON_LIBS"
13977  elif test -n "$PKG_CONFIG"; then
13978     if test -n "$PKG_CONFIG" && \
13979     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-con >= 1.0.999\""; } >&5
13980   ($PKG_CONFIG --exists --print-errors "ecore-con >= 1.0.999") 2>&5
13981   ac_status=$?
13982   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13983   test $ac_status = 0; }; then
13984   pkg_cv_ELEMENTARY_ECORE_CON_LIBS=`$PKG_CONFIG --libs "ecore-con >= 1.0.999" 2>/dev/null`
13985 else
13986   pkg_failed=yes
13987 fi
13988  else
13989     pkg_failed=untried
13990 fi
13991
13992
13993
13994 if test $pkg_failed = yes; then
13995         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13996 $as_echo "no" >&6; }
13997
13998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13999         _pkg_short_errors_supported=yes
14000 else
14001         _pkg_short_errors_supported=no
14002 fi
14003         if test $_pkg_short_errors_supported = yes; then
14004                 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-con >= 1.0.999" 2>&1`
14005         else
14006                 ELEMENTARY_ECORE_CON_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-con >= 1.0.999" 2>&1`
14007         fi
14008         # Put the nasty error message in config.log where it belongs
14009         echo "$ELEMENTARY_ECORE_CON_PKG_ERRORS" >&5
14010
14011         have_ecore_con="no"
14012 elif test $pkg_failed = untried; then
14013         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14014 $as_echo "no" >&6; }
14015         have_ecore_con="no"
14016 else
14017         ELEMENTARY_ECORE_CON_CFLAGS=$pkg_cv_ELEMENTARY_ECORE_CON_CFLAGS
14018         ELEMENTARY_ECORE_CON_LIBS=$pkg_cv_ELEMENTARY_ECORE_CON_LIBS
14019         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14020 $as_echo "yes" >&6; }
14021
14022     ELEMENTARY_ECORE_CON_INC="#include <Ecore_Con.h>"
14023
14024 $as_echo "#define HAVE_ELEMENTARY_ECORE_CON 1" >>confdefs.h
14025
14026     have_ecore_con="yes"
14027     requirement_elm="ecore-con >= 1.0.999 ${requirement_elm}"
14028
14029 fi
14030
14031
14032  if test "x${have_ecore_con}" = "xyes"; then
14033   HAVE_ECORE_CON_TRUE=
14034   HAVE_ECORE_CON_FALSE='#'
14035 else
14036   HAVE_ECORE_CON_TRUE='#'
14037   HAVE_ECORE_CON_FALSE=
14038 fi
14039
14040
14041
14042 pkg_failed=no
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIO" >&5
14044 $as_echo_n "checking for EIO... " >&6; }
14045
14046 if test -n "$EIO_CFLAGS"; then
14047     pkg_cv_EIO_CFLAGS="$EIO_CFLAGS"
14048  elif test -n "$PKG_CONFIG"; then
14049     if test -n "$PKG_CONFIG" && \
14050     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
14051   ($PKG_CONFIG --exists --print-errors "eio") 2>&5
14052   ac_status=$?
14053   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14054   test $ac_status = 0; }; then
14055   pkg_cv_EIO_CFLAGS=`$PKG_CONFIG --cflags "eio" 2>/dev/null`
14056 else
14057   pkg_failed=yes
14058 fi
14059  else
14060     pkg_failed=untried
14061 fi
14062 if test -n "$EIO_LIBS"; then
14063     pkg_cv_EIO_LIBS="$EIO_LIBS"
14064  elif test -n "$PKG_CONFIG"; then
14065     if test -n "$PKG_CONFIG" && \
14066     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eio\""; } >&5
14067   ($PKG_CONFIG --exists --print-errors "eio") 2>&5
14068   ac_status=$?
14069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14070   test $ac_status = 0; }; then
14071   pkg_cv_EIO_LIBS=`$PKG_CONFIG --libs "eio" 2>/dev/null`
14072 else
14073   pkg_failed=yes
14074 fi
14075  else
14076     pkg_failed=untried
14077 fi
14078
14079
14080
14081 if test $pkg_failed = yes; then
14082         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14083 $as_echo "no" >&6; }
14084
14085 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14086         _pkg_short_errors_supported=yes
14087 else
14088         _pkg_short_errors_supported=no
14089 fi
14090         if test $_pkg_short_errors_supported = yes; then
14091                 EIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eio" 2>&1`
14092         else
14093                 EIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "eio" 2>&1`
14094         fi
14095         # Put the nasty error message in config.log where it belongs
14096         echo "$EIO_PKG_ERRORS" >&5
14097
14098         have_eio="no"
14099 elif test $pkg_failed = untried; then
14100         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14101 $as_echo "no" >&6; }
14102         have_eio="no"
14103 else
14104         EIO_CFLAGS=$pkg_cv_EIO_CFLAGS
14105         EIO_LIBS=$pkg_cv_EIO_LIBS
14106         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14107 $as_echo "yes" >&6; }
14108
14109          have_eio="yes"
14110
14111 $as_echo "#define HAVE_EIO 1" >>confdefs.h
14112
14113          requirement_elm="eio ${requirement_elm}"
14114
14115 fi
14116
14117  if test "x${have_eio}" = "xyes"; then
14118   HAVE_EIO_TRUE=
14119   HAVE_EIO_FALSE='#'
14120 else
14121   HAVE_EIO_TRUE='#'
14122   HAVE_EIO_FALSE=
14123 fi
14124
14125
14126 have_emotion="no"
14127 want_elementary_emotion="yes"
14128 # Check whether --enable-emotion was given.
14129 if test "${enable_emotion+set}" = set; then :
14130   enableval=$enable_emotion; want_elementary_emotion=$enableval
14131 fi
14132
14133
14134 if test "x$want_elementary_emotion" != "xno"; then
14135
14136 pkg_failed=no
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMOTION" >&5
14138 $as_echo_n "checking for EMOTION... " >&6; }
14139
14140 if test -n "$EMOTION_CFLAGS"; then
14141     pkg_cv_EMOTION_CFLAGS="$EMOTION_CFLAGS"
14142  elif test -n "$PKG_CONFIG"; then
14143     if test -n "$PKG_CONFIG" && \
14144     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"emotion\""; } >&5
14145   ($PKG_CONFIG --exists --print-errors "emotion") 2>&5
14146   ac_status=$?
14147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14148   test $ac_status = 0; }; then
14149   pkg_cv_EMOTION_CFLAGS=`$PKG_CONFIG --cflags "emotion" 2>/dev/null`
14150 else
14151   pkg_failed=yes
14152 fi
14153  else
14154     pkg_failed=untried
14155 fi
14156 if test -n "$EMOTION_LIBS"; then
14157     pkg_cv_EMOTION_LIBS="$EMOTION_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 \"emotion\""; } >&5
14161   ($PKG_CONFIG --exists --print-errors "emotion") 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_EMOTION_LIBS=`$PKG_CONFIG --libs "emotion" 2>/dev/null`
14166 else
14167   pkg_failed=yes
14168 fi
14169  else
14170     pkg_failed=untried
14171 fi
14172
14173
14174
14175 if test $pkg_failed = yes; then
14176         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14177 $as_echo "no" >&6; }
14178
14179 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14180         _pkg_short_errors_supported=yes
14181 else
14182         _pkg_short_errors_supported=no
14183 fi
14184         if test $_pkg_short_errors_supported = yes; then
14185                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "emotion" 2>&1`
14186         else
14187                 EMOTION_PKG_ERRORS=`$PKG_CONFIG --print-errors "emotion" 2>&1`
14188         fi
14189         # Put the nasty error message in config.log where it belongs
14190         echo "$EMOTION_PKG_ERRORS" >&5
14191
14192         have_emotion="no"
14193 elif test $pkg_failed = untried; then
14194         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14195 $as_echo "no" >&6; }
14196         have_emotion="no"
14197 else
14198         EMOTION_CFLAGS=$pkg_cv_EMOTION_CFLAGS
14199         EMOTION_LIBS=$pkg_cv_EMOTION_LIBS
14200         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14201 $as_echo "yes" >&6; }
14202
14203          have_emotion="yes"
14204
14205 $as_echo "#define HAVE_EMOTION 1" >>confdefs.h
14206
14207          requirement_elm="emotion ${requirement_elm}"
14208
14209 fi
14210 fi
14211
14212  if test "x${have_emotion}" = "xyes"; then
14213   HAVE_EMOTION_TRUE=
14214   HAVE_EMOTION_FALSE='#'
14215 else
14216   HAVE_EMOTION_TRUE='#'
14217   HAVE_EMOTION_FALSE=
14218 fi
14219
14220
14221 have_elementary_x="no"
14222 want_elementary_x="auto"
14223 # Check whether --enable-ecore-x was given.
14224 if test "${enable_ecore_x+set}" = set; then :
14225   enableval=$enable_ecore_x; want_elementary_x=$enableval
14226 fi
14227
14228
14229 if test "x$want_elementary_x" != "xno"; then
14230
14231 pkg_failed=no
14232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_X" >&5
14233 $as_echo_n "checking for ELEMENTARY_X... " >&6; }
14234
14235 if test -n "$ELEMENTARY_X_CFLAGS"; then
14236     pkg_cv_ELEMENTARY_X_CFLAGS="$ELEMENTARY_X_CFLAGS"
14237  elif test -n "$PKG_CONFIG"; then
14238     if test -n "$PKG_CONFIG" && \
14239     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14240   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14241   ac_status=$?
14242   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14243   test $ac_status = 0; }; then
14244   pkg_cv_ELEMENTARY_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.0.0" 2>/dev/null`
14245 else
14246   pkg_failed=yes
14247 fi
14248  else
14249     pkg_failed=untried
14250 fi
14251 if test -n "$ELEMENTARY_X_LIBS"; then
14252     pkg_cv_ELEMENTARY_X_LIBS="$ELEMENTARY_X_LIBS"
14253  elif test -n "$PKG_CONFIG"; then
14254     if test -n "$PKG_CONFIG" && \
14255     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14256   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14257   ac_status=$?
14258   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14259   test $ac_status = 0; }; then
14260   pkg_cv_ELEMENTARY_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.0.0" 2>/dev/null`
14261 else
14262   pkg_failed=yes
14263 fi
14264  else
14265     pkg_failed=untried
14266 fi
14267
14268
14269
14270 if test $pkg_failed = yes; then
14271         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14272 $as_echo "no" >&6; }
14273
14274 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14275         _pkg_short_errors_supported=yes
14276 else
14277         _pkg_short_errors_supported=no
14278 fi
14279         if test $_pkg_short_errors_supported = yes; then
14280                 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.0.0" 2>&1`
14281         else
14282                 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.0.0" 2>&1`
14283         fi
14284         # Put the nasty error message in config.log where it belongs
14285         echo "$ELEMENTARY_X_PKG_ERRORS" >&5
14286
14287         have_elementary_x="no"
14288
14289 elif test $pkg_failed = untried; then
14290         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14291 $as_echo "no" >&6; }
14292         have_elementary_x="no"
14293
14294 else
14295         ELEMENTARY_X_CFLAGS=$pkg_cv_ELEMENTARY_X_CFLAGS
14296         ELEMENTARY_X_LIBS=$pkg_cv_ELEMENTARY_X_LIBS
14297         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14298 $as_echo "yes" >&6; }
14299
14300
14301 $as_echo "#define HAVE_ELEMENTARY_X 1" >>confdefs.h
14302
14303        have_elementary_x="yes"
14304        requirement_elm="ecore-x >= 1.0.0 ${requirement_elm}"
14305
14306 fi
14307 else
14308     have_elementary_x="no"
14309 fi
14310 if test "x$want_elementary_x" = "xyes" -a "x$have_elementary_x" = "xno"; then
14311     as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
14312 fi
14313
14314 have_conformant_autoscroll="no"
14315 want_conformant_autoscroll="yes"
14316 # Check whether --enable-ecore-x was given.
14317 if test "${enable_ecore_x+set}" = set; then :
14318   enableval=$enable_ecore_x; want_conformant_autoscroll=$enableval
14319 fi
14320
14321
14322 if test "x$want_conformant_autoscroll" != "xno"; then
14323
14324 pkg_failed=no
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_X" >&5
14326 $as_echo_n "checking for ELEMENTARY_X... " >&6; }
14327
14328 if test -n "$ELEMENTARY_X_CFLAGS"; then
14329     pkg_cv_ELEMENTARY_X_CFLAGS="$ELEMENTARY_X_CFLAGS"
14330  elif test -n "$PKG_CONFIG"; then
14331     if test -n "$PKG_CONFIG" && \
14332     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14333   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14334   ac_status=$?
14335   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14336   test $ac_status = 0; }; then
14337   pkg_cv_ELEMENTARY_X_CFLAGS=`$PKG_CONFIG --cflags "ecore-x >= 1.0.0" 2>/dev/null`
14338 else
14339   pkg_failed=yes
14340 fi
14341  else
14342     pkg_failed=untried
14343 fi
14344 if test -n "$ELEMENTARY_X_LIBS"; then
14345     pkg_cv_ELEMENTARY_X_LIBS="$ELEMENTARY_X_LIBS"
14346  elif test -n "$PKG_CONFIG"; then
14347     if test -n "$PKG_CONFIG" && \
14348     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-x >= 1.0.0\""; } >&5
14349   ($PKG_CONFIG --exists --print-errors "ecore-x >= 1.0.0") 2>&5
14350   ac_status=$?
14351   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14352   test $ac_status = 0; }; then
14353   pkg_cv_ELEMENTARY_X_LIBS=`$PKG_CONFIG --libs "ecore-x >= 1.0.0" 2>/dev/null`
14354 else
14355   pkg_failed=yes
14356 fi
14357  else
14358     pkg_failed=untried
14359 fi
14360
14361
14362
14363 if test $pkg_failed = yes; then
14364         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14365 $as_echo "no" >&6; }
14366
14367 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14368         _pkg_short_errors_supported=yes
14369 else
14370         _pkg_short_errors_supported=no
14371 fi
14372         if test $_pkg_short_errors_supported = yes; then
14373                 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-x >= 1.0.0" 2>&1`
14374         else
14375                 ELEMENTARY_X_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-x >= 1.0.0" 2>&1`
14376         fi
14377         # Put the nasty error message in config.log where it belongs
14378         echo "$ELEMENTARY_X_PKG_ERRORS" >&5
14379
14380         have_conformant_autoscroll="no"
14381
14382 elif test $pkg_failed = untried; then
14383         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14384 $as_echo "no" >&6; }
14385         have_conformant_autoscroll="no"
14386
14387 else
14388         ELEMENTARY_X_CFLAGS=$pkg_cv_ELEMENTARY_X_CFLAGS
14389         ELEMENTARY_X_LIBS=$pkg_cv_ELEMENTARY_X_LIBS
14390         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14391 $as_echo "yes" >&6; }
14392
14393
14394 $as_echo "#define HAVE_CONFORMANT_AUTOSCROLL 1" >>confdefs.h
14395
14396        have_conformant_autoscroll="yes"
14397        requirement_elm="ecore-x >= 1.0.0 ${requirement_elm}"
14398
14399 fi
14400 else
14401     have_conformant_autoscroll="no"
14402 fi
14403 if test "x$want_conformant_autoscroll" = "xyes" -a "x$have_conformant_autoscroll" = "xno"; then
14404     as_fn_error $? "ecore-x support requested, but not found by pkg-config." "$LINENO" 5
14405 fi
14406
14407 have_elementary_fb="no"
14408 want_elementary_fb="auto"
14409 # Check whether --enable-ecore-fb was given.
14410 if test "${enable_ecore_fb+set}" = set; then :
14411   enableval=$enable_ecore_fb; want_elementary_fb=$enableval
14412 fi
14413
14414
14415 if test "x$want_elementary_fb" != "xno"; then
14416
14417 pkg_failed=no
14418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_FB" >&5
14419 $as_echo_n "checking for ELEMENTARY_FB... " >&6; }
14420
14421 if test -n "$ELEMENTARY_FB_CFLAGS"; then
14422     pkg_cv_ELEMENTARY_FB_CFLAGS="$ELEMENTARY_FB_CFLAGS"
14423  elif test -n "$PKG_CONFIG"; then
14424     if test -n "$PKG_CONFIG" && \
14425     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.0.0\""; } >&5
14426   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.0.0") 2>&5
14427   ac_status=$?
14428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14429   test $ac_status = 0; }; then
14430   pkg_cv_ELEMENTARY_FB_CFLAGS=`$PKG_CONFIG --cflags "ecore-fb >= 1.0.0" 2>/dev/null`
14431 else
14432   pkg_failed=yes
14433 fi
14434  else
14435     pkg_failed=untried
14436 fi
14437 if test -n "$ELEMENTARY_FB_LIBS"; then
14438     pkg_cv_ELEMENTARY_FB_LIBS="$ELEMENTARY_FB_LIBS"
14439  elif test -n "$PKG_CONFIG"; then
14440     if test -n "$PKG_CONFIG" && \
14441     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-fb >= 1.0.0\""; } >&5
14442   ($PKG_CONFIG --exists --print-errors "ecore-fb >= 1.0.0") 2>&5
14443   ac_status=$?
14444   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14445   test $ac_status = 0; }; then
14446   pkg_cv_ELEMENTARY_FB_LIBS=`$PKG_CONFIG --libs "ecore-fb >= 1.0.0" 2>/dev/null`
14447 else
14448   pkg_failed=yes
14449 fi
14450  else
14451     pkg_failed=untried
14452 fi
14453
14454
14455
14456 if test $pkg_failed = yes; then
14457         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14458 $as_echo "no" >&6; }
14459
14460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14461         _pkg_short_errors_supported=yes
14462 else
14463         _pkg_short_errors_supported=no
14464 fi
14465         if test $_pkg_short_errors_supported = yes; then
14466                 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-fb >= 1.0.0" 2>&1`
14467         else
14468                 ELEMENTARY_FB_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-fb >= 1.0.0" 2>&1`
14469         fi
14470         # Put the nasty error message in config.log where it belongs
14471         echo "$ELEMENTARY_FB_PKG_ERRORS" >&5
14472
14473         have_elementary_fb="no"
14474
14475 elif test $pkg_failed = untried; then
14476         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14477 $as_echo "no" >&6; }
14478         have_elementary_fb="no"
14479
14480 else
14481         ELEMENTARY_FB_CFLAGS=$pkg_cv_ELEMENTARY_FB_CFLAGS
14482         ELEMENTARY_FB_LIBS=$pkg_cv_ELEMENTARY_FB_LIBS
14483         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14484 $as_echo "yes" >&6; }
14485
14486
14487 $as_echo "#define HAVE_ELEMENTARY_FB 1" >>confdefs.h
14488
14489        have_elementary_fb="yes"
14490        requirement_elm="ecore-fb >= 1.0.0 ${requirement_elm}"
14491
14492 fi
14493 else
14494     have_elementary_fb="no"
14495 fi
14496 if test "x$want_elementary_fb" = "xyes" -a "x$have_elementary_fb" = "xno"; then
14497     as_fn_error $? "ecore-fb support requested, but not found by pkg-config." "$LINENO" 5
14498 fi
14499
14500 have_elementary_psl1ght="no"
14501 want_elementary_psl1ght="auto"
14502 # Check whether --enable-ecore-psl1ght was given.
14503 if test "${enable_ecore_psl1ght+set}" = set; then :
14504   enableval=$enable_ecore_psl1ght; want_elementary_psl1ght=$enableval
14505 fi
14506
14507
14508 if test "x$want_elementary_psl1ght" != "xno"; then
14509
14510 pkg_failed=no
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_PSL1GHT" >&5
14512 $as_echo_n "checking for ELEMENTARY_PSL1GHT... " >&6; }
14513
14514 if test -n "$ELEMENTARY_PSL1GHT_CFLAGS"; then
14515     pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS="$ELEMENTARY_PSL1GHT_CFLAGS"
14516  elif test -n "$PKG_CONFIG"; then
14517     if test -n "$PKG_CONFIG" && \
14518     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.0.0\""; } >&5
14519   ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.0.0") 2>&5
14520   ac_status=$?
14521   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14522   test $ac_status = 0; }; then
14523   pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS=`$PKG_CONFIG --cflags "ecore-psl1ght >= 1.0.0" 2>/dev/null`
14524 else
14525   pkg_failed=yes
14526 fi
14527  else
14528     pkg_failed=untried
14529 fi
14530 if test -n "$ELEMENTARY_PSL1GHT_LIBS"; then
14531     pkg_cv_ELEMENTARY_PSL1GHT_LIBS="$ELEMENTARY_PSL1GHT_LIBS"
14532  elif test -n "$PKG_CONFIG"; then
14533     if test -n "$PKG_CONFIG" && \
14534     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-psl1ght >= 1.0.0\""; } >&5
14535   ($PKG_CONFIG --exists --print-errors "ecore-psl1ght >= 1.0.0") 2>&5
14536   ac_status=$?
14537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14538   test $ac_status = 0; }; then
14539   pkg_cv_ELEMENTARY_PSL1GHT_LIBS=`$PKG_CONFIG --libs "ecore-psl1ght >= 1.0.0" 2>/dev/null`
14540 else
14541   pkg_failed=yes
14542 fi
14543  else
14544     pkg_failed=untried
14545 fi
14546
14547
14548
14549 if test $pkg_failed = yes; then
14550         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14551 $as_echo "no" >&6; }
14552
14553 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14554         _pkg_short_errors_supported=yes
14555 else
14556         _pkg_short_errors_supported=no
14557 fi
14558         if test $_pkg_short_errors_supported = yes; then
14559                 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-psl1ght >= 1.0.0" 2>&1`
14560         else
14561                 ELEMENTARY_PSL1GHT_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-psl1ght >= 1.0.0" 2>&1`
14562         fi
14563         # Put the nasty error message in config.log where it belongs
14564         echo "$ELEMENTARY_PSL1GHT_PKG_ERRORS" >&5
14565
14566         have_elementary_psl1ght="no"
14567
14568 elif test $pkg_failed = untried; then
14569         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14570 $as_echo "no" >&6; }
14571         have_elementary_psl1ght="no"
14572
14573 else
14574         ELEMENTARY_PSL1GHT_CFLAGS=$pkg_cv_ELEMENTARY_PSL1GHT_CFLAGS
14575         ELEMENTARY_PSL1GHT_LIBS=$pkg_cv_ELEMENTARY_PSL1GHT_LIBS
14576         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14577 $as_echo "yes" >&6; }
14578
14579
14580 $as_echo "#define HAVE_ELEMENTARY_PSL1GHT 1" >>confdefs.h
14581
14582        have_elementary_psl1ght="yes"
14583        requirement_elm="ecore-psl1ght >= 1.0.0 ${requirement_elm}"
14584
14585 fi
14586 else
14587     have_elementary_psl1ght="no"
14588 fi
14589 if test "x$want_elementary_psl1ght" = "xyes" -a "x$have_elementary_psl1ght" = "xno"; then
14590     as_fn_error $? "ecore-psl1ght support requested, but not found by pkg-config." "$LINENO" 5
14591 fi
14592
14593 have_elementary_sdl="no"
14594 want_elementary_sdl="auto"
14595 # Check whether --enable-ecore-sdl was given.
14596 if test "${enable_ecore_sdl+set}" = set; then :
14597   enableval=$enable_ecore_sdl; want_elementary_sdl=$enableval
14598 fi
14599
14600
14601 if test "x$want_elementary_sdl" != "xno"; then
14602
14603 pkg_failed=no
14604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_SDL" >&5
14605 $as_echo_n "checking for ELEMENTARY_SDL... " >&6; }
14606
14607 if test -n "$ELEMENTARY_SDL_CFLAGS"; then
14608     pkg_cv_ELEMENTARY_SDL_CFLAGS="$ELEMENTARY_SDL_CFLAGS"
14609  elif test -n "$PKG_CONFIG"; then
14610     if test -n "$PKG_CONFIG" && \
14611     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.0.0\""; } >&5
14612   ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.0.0") 2>&5
14613   ac_status=$?
14614   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14615   test $ac_status = 0; }; then
14616   pkg_cv_ELEMENTARY_SDL_CFLAGS=`$PKG_CONFIG --cflags "ecore-sdl >= 1.0.0" 2>/dev/null`
14617 else
14618   pkg_failed=yes
14619 fi
14620  else
14621     pkg_failed=untried
14622 fi
14623 if test -n "$ELEMENTARY_SDL_LIBS"; then
14624     pkg_cv_ELEMENTARY_SDL_LIBS="$ELEMENTARY_SDL_LIBS"
14625  elif test -n "$PKG_CONFIG"; then
14626     if test -n "$PKG_CONFIG" && \
14627     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-sdl >= 1.0.0\""; } >&5
14628   ($PKG_CONFIG --exists --print-errors "ecore-sdl >= 1.0.0") 2>&5
14629   ac_status=$?
14630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14631   test $ac_status = 0; }; then
14632   pkg_cv_ELEMENTARY_SDL_LIBS=`$PKG_CONFIG --libs "ecore-sdl >= 1.0.0" 2>/dev/null`
14633 else
14634   pkg_failed=yes
14635 fi
14636  else
14637     pkg_failed=untried
14638 fi
14639
14640
14641
14642 if test $pkg_failed = yes; then
14643         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14644 $as_echo "no" >&6; }
14645
14646 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14647         _pkg_short_errors_supported=yes
14648 else
14649         _pkg_short_errors_supported=no
14650 fi
14651         if test $_pkg_short_errors_supported = yes; then
14652                 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-sdl >= 1.0.0" 2>&1`
14653         else
14654                 ELEMENTARY_SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-sdl >= 1.0.0" 2>&1`
14655         fi
14656         # Put the nasty error message in config.log where it belongs
14657         echo "$ELEMENTARY_SDL_PKG_ERRORS" >&5
14658
14659         have_elementary_sdl="no"
14660
14661 elif test $pkg_failed = untried; then
14662         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14663 $as_echo "no" >&6; }
14664         have_elementary_sdl="no"
14665
14666 else
14667         ELEMENTARY_SDL_CFLAGS=$pkg_cv_ELEMENTARY_SDL_CFLAGS
14668         ELEMENTARY_SDL_LIBS=$pkg_cv_ELEMENTARY_SDL_LIBS
14669         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14670 $as_echo "yes" >&6; }
14671
14672
14673 $as_echo "#define HAVE_ELEMENTARY_SDL 1" >>confdefs.h
14674
14675        have_elementary_sdl="yes"
14676        requirement_elm="ecore-sdl >= 1.0.0 ${requirement_elm}"
14677
14678 fi
14679 else
14680     have_elementary_sdl="no"
14681 fi
14682 if test "x$want_elementary_sdl" = "xyes" -a "x$have_elementary_sdl" = "xno"; then
14683     as_fn_error $? "ecore-sdl support requested, but not found by pkg-config." "$LINENO" 5
14684 fi
14685
14686 have_elementary_cocoa="no"
14687 want_elementary_cocoa="auto"
14688 # Check whether --enable-ecore-cocoa was given.
14689 if test "${enable_ecore_cocoa+set}" = set; then :
14690   enableval=$enable_ecore_cocoa; want_elementary_cocoa=$enableval
14691 fi
14692
14693
14694 if test "x$want_elementary_cocoa" != "xno"; then
14695
14696 pkg_failed=no
14697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_COCOA" >&5
14698 $as_echo_n "checking for ELEMENTARY_COCOA... " >&6; }
14699
14700 if test -n "$ELEMENTARY_COCOA_CFLAGS"; then
14701     pkg_cv_ELEMENTARY_COCOA_CFLAGS="$ELEMENTARY_COCOA_CFLAGS"
14702  elif test -n "$PKG_CONFIG"; then
14703     if test -n "$PKG_CONFIG" && \
14704     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.0.0\""; } >&5
14705   ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.0.0") 2>&5
14706   ac_status=$?
14707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14708   test $ac_status = 0; }; then
14709   pkg_cv_ELEMENTARY_COCOA_CFLAGS=`$PKG_CONFIG --cflags "ecore-cocoa >= 1.0.0" 2>/dev/null`
14710 else
14711   pkg_failed=yes
14712 fi
14713  else
14714     pkg_failed=untried
14715 fi
14716 if test -n "$ELEMENTARY_COCOA_LIBS"; then
14717     pkg_cv_ELEMENTARY_COCOA_LIBS="$ELEMENTARY_COCOA_LIBS"
14718  elif test -n "$PKG_CONFIG"; then
14719     if test -n "$PKG_CONFIG" && \
14720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-cocoa >= 1.0.0\""; } >&5
14721   ($PKG_CONFIG --exists --print-errors "ecore-cocoa >= 1.0.0") 2>&5
14722   ac_status=$?
14723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14724   test $ac_status = 0; }; then
14725   pkg_cv_ELEMENTARY_COCOA_LIBS=`$PKG_CONFIG --libs "ecore-cocoa >= 1.0.0" 2>/dev/null`
14726 else
14727   pkg_failed=yes
14728 fi
14729  else
14730     pkg_failed=untried
14731 fi
14732
14733
14734
14735 if test $pkg_failed = yes; then
14736         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14737 $as_echo "no" >&6; }
14738
14739 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14740         _pkg_short_errors_supported=yes
14741 else
14742         _pkg_short_errors_supported=no
14743 fi
14744         if test $_pkg_short_errors_supported = yes; then
14745                 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-cocoa >= 1.0.0" 2>&1`
14746         else
14747                 ELEMENTARY_COCOA_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-cocoa >= 1.0.0" 2>&1`
14748         fi
14749         # Put the nasty error message in config.log where it belongs
14750         echo "$ELEMENTARY_COCOA_PKG_ERRORS" >&5
14751
14752         have_elementary_cocoa="no"
14753
14754 elif test $pkg_failed = untried; then
14755         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14756 $as_echo "no" >&6; }
14757         have_elementary_cocoa="no"
14758
14759 else
14760         ELEMENTARY_COCOA_CFLAGS=$pkg_cv_ELEMENTARY_COCOA_CFLAGS
14761         ELEMENTARY_COCOA_LIBS=$pkg_cv_ELEMENTARY_COCOA_LIBS
14762         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14763 $as_echo "yes" >&6; }
14764
14765
14766 $as_echo "#define HAVE_ELEMENTARY_COCOA 1" >>confdefs.h
14767
14768        have_elementary_cocoa="yes"
14769        requirement_elm="ecore-cocoa >= 1.0.0 ${requirement_elm}"
14770
14771 fi
14772 else
14773     have_elementary_cocoa="no"
14774 fi
14775 if test "x$want_elementary_cocoa" = "xyes" -a "x$have_elementary_cocoa" = "xno"; then
14776     as_fn_error $? "ecore-cocoa support requested, but not found by pkg-config." "$LINENO" 5
14777 fi
14778
14779 have_elementary_win32="no"
14780 want_elementary_win32="auto"
14781 # Check whether --enable-ecore-win32 was given.
14782 if test "${enable_ecore_win32+set}" = set; then :
14783   enableval=$enable_ecore_win32; want_elementary_win32=$enableval
14784 fi
14785
14786
14787 if test "x$want_elementary_win32" != "xno"; then
14788
14789 pkg_failed=no
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WIN32" >&5
14791 $as_echo_n "checking for ELEMENTARY_WIN32... " >&6; }
14792
14793 if test -n "$ELEMENTARY_WIN32_CFLAGS"; then
14794     pkg_cv_ELEMENTARY_WIN32_CFLAGS="$ELEMENTARY_WIN32_CFLAGS"
14795  elif test -n "$PKG_CONFIG"; then
14796     if test -n "$PKG_CONFIG" && \
14797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.0.0\""; } >&5
14798   ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.0.0") 2>&5
14799   ac_status=$?
14800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14801   test $ac_status = 0; }; then
14802   pkg_cv_ELEMENTARY_WIN32_CFLAGS=`$PKG_CONFIG --cflags "ecore-win32 >= 1.0.0" 2>/dev/null`
14803 else
14804   pkg_failed=yes
14805 fi
14806  else
14807     pkg_failed=untried
14808 fi
14809 if test -n "$ELEMENTARY_WIN32_LIBS"; then
14810     pkg_cv_ELEMENTARY_WIN32_LIBS="$ELEMENTARY_WIN32_LIBS"
14811  elif test -n "$PKG_CONFIG"; then
14812     if test -n "$PKG_CONFIG" && \
14813     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-win32 >= 1.0.0\""; } >&5
14814   ($PKG_CONFIG --exists --print-errors "ecore-win32 >= 1.0.0") 2>&5
14815   ac_status=$?
14816   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14817   test $ac_status = 0; }; then
14818   pkg_cv_ELEMENTARY_WIN32_LIBS=`$PKG_CONFIG --libs "ecore-win32 >= 1.0.0" 2>/dev/null`
14819 else
14820   pkg_failed=yes
14821 fi
14822  else
14823     pkg_failed=untried
14824 fi
14825
14826
14827
14828 if test $pkg_failed = yes; then
14829         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14830 $as_echo "no" >&6; }
14831
14832 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14833         _pkg_short_errors_supported=yes
14834 else
14835         _pkg_short_errors_supported=no
14836 fi
14837         if test $_pkg_short_errors_supported = yes; then
14838                 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-win32 >= 1.0.0" 2>&1`
14839         else
14840                 ELEMENTARY_WIN32_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-win32 >= 1.0.0" 2>&1`
14841         fi
14842         # Put the nasty error message in config.log where it belongs
14843         echo "$ELEMENTARY_WIN32_PKG_ERRORS" >&5
14844
14845         have_elementary_win32="no"
14846
14847 elif test $pkg_failed = untried; then
14848         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14849 $as_echo "no" >&6; }
14850         have_elementary_win32="no"
14851
14852 else
14853         ELEMENTARY_WIN32_CFLAGS=$pkg_cv_ELEMENTARY_WIN32_CFLAGS
14854         ELEMENTARY_WIN32_LIBS=$pkg_cv_ELEMENTARY_WIN32_LIBS
14855         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14856 $as_echo "yes" >&6; }
14857
14858
14859 $as_echo "#define HAVE_ELEMENTARY_WIN32 1" >>confdefs.h
14860
14861        have_elementary_win32="yes"
14862        requirement_elm="ecore-win32 >= 1.0.0 ${requirement_elm}"
14863
14864 fi
14865 else
14866     have_elementary_win32="no"
14867 fi
14868 if test "x$want_elementary_win32" = "xyes" -a "x$have_elementary_win32" = "xno"; then
14869     as_fn_error $? "ecore-win32 support requested, but not found by pkg-config." "$LINENO" 5
14870 fi
14871
14872 have_elementary_wince="no"
14873 want_elementary_wince="auto"
14874 # Check whether --enable-ecore-wince was given.
14875 if test "${enable_ecore_wince+set}" = set; then :
14876   enableval=$enable_ecore_wince; want_elementary_wince=$enableval
14877 fi
14878
14879
14880 if test "x$want_elementary_wince" != "xno"; then
14881
14882 pkg_failed=no
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WINCE" >&5
14884 $as_echo_n "checking for ELEMENTARY_WINCE... " >&6; }
14885
14886 if test -n "$ELEMENTARY_WINCE_CFLAGS"; then
14887     pkg_cv_ELEMENTARY_WINCE_CFLAGS="$ELEMENTARY_WINCE_CFLAGS"
14888  elif test -n "$PKG_CONFIG"; then
14889     if test -n "$PKG_CONFIG" && \
14890     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.0.0\""; } >&5
14891   ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.0.0") 2>&5
14892   ac_status=$?
14893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14894   test $ac_status = 0; }; then
14895   pkg_cv_ELEMENTARY_WINCE_CFLAGS=`$PKG_CONFIG --cflags "ecore-wince >= 1.0.0" 2>/dev/null`
14896 else
14897   pkg_failed=yes
14898 fi
14899  else
14900     pkg_failed=untried
14901 fi
14902 if test -n "$ELEMENTARY_WINCE_LIBS"; then
14903     pkg_cv_ELEMENTARY_WINCE_LIBS="$ELEMENTARY_WINCE_LIBS"
14904  elif test -n "$PKG_CONFIG"; then
14905     if test -n "$PKG_CONFIG" && \
14906     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-wince >= 1.0.0\""; } >&5
14907   ($PKG_CONFIG --exists --print-errors "ecore-wince >= 1.0.0") 2>&5
14908   ac_status=$?
14909   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14910   test $ac_status = 0; }; then
14911   pkg_cv_ELEMENTARY_WINCE_LIBS=`$PKG_CONFIG --libs "ecore-wince >= 1.0.0" 2>/dev/null`
14912 else
14913   pkg_failed=yes
14914 fi
14915  else
14916     pkg_failed=untried
14917 fi
14918
14919
14920
14921 if test $pkg_failed = yes; then
14922         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14923 $as_echo "no" >&6; }
14924
14925 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14926         _pkg_short_errors_supported=yes
14927 else
14928         _pkg_short_errors_supported=no
14929 fi
14930         if test $_pkg_short_errors_supported = yes; then
14931                 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-wince >= 1.0.0" 2>&1`
14932         else
14933                 ELEMENTARY_WINCE_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-wince >= 1.0.0" 2>&1`
14934         fi
14935         # Put the nasty error message in config.log where it belongs
14936         echo "$ELEMENTARY_WINCE_PKG_ERRORS" >&5
14937
14938         have_elementary_wince="no"
14939
14940 elif test $pkg_failed = untried; then
14941         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14942 $as_echo "no" >&6; }
14943         have_elementary_wince="no"
14944
14945 else
14946         ELEMENTARY_WINCE_CFLAGS=$pkg_cv_ELEMENTARY_WINCE_CFLAGS
14947         ELEMENTARY_WINCE_LIBS=$pkg_cv_ELEMENTARY_WINCE_LIBS
14948         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14949 $as_echo "yes" >&6; }
14950
14951
14952 $as_echo "#define HAVE_ELEMENTARY_WINCE 1" >>confdefs.h
14953
14954        have_elementary_wince="yes"
14955        requirement_elm="ecore-wince >= 1.0.0 ${requirement_elm}"
14956
14957 fi
14958 else
14959     have_elementary_wince="no"
14960 fi
14961 if test "x$want_elementary_wince" = "xyes" -a "x$have_elementary_wince" = "xno"; then
14962     as_fn_error $? "ecore-wince support requested, but not found by pkg-config." "$LINENO" 5
14963 fi
14964
14965 ELM_EDBUS_DEF="#undef"
14966 have_elementary_edbus="no"
14967 want_elementary_edbus="auto"
14968 # Check whether --enable-edbus was given.
14969 if test "${enable_edbus+set}" = set; then :
14970   enableval=$enable_edbus; want_elementary_edbus=$enableval
14971 fi
14972
14973
14974 if test "x$want_elementary_edbus" != "xno"; then
14975
14976 pkg_failed=no
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EDBUS" >&5
14978 $as_echo_n "checking for ELEMENTARY_EDBUS... " >&6; }
14979
14980 if test -n "$ELEMENTARY_EDBUS_CFLAGS"; then
14981     pkg_cv_ELEMENTARY_EDBUS_CFLAGS="$ELEMENTARY_EDBUS_CFLAGS"
14982  elif test -n "$PKG_CONFIG"; then
14983     if test -n "$PKG_CONFIG" && \
14984     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
14985         edbus >= 1.0.0
14986        \""; } >&5
14987   ($PKG_CONFIG --exists --print-errors "
14988         edbus >= 1.0.0
14989        ") 2>&5
14990   ac_status=$?
14991   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14992   test $ac_status = 0; }; then
14993   pkg_cv_ELEMENTARY_EDBUS_CFLAGS=`$PKG_CONFIG --cflags "
14994         edbus >= 1.0.0
14995        " 2>/dev/null`
14996 else
14997   pkg_failed=yes
14998 fi
14999  else
15000     pkg_failed=untried
15001 fi
15002 if test -n "$ELEMENTARY_EDBUS_LIBS"; then
15003     pkg_cv_ELEMENTARY_EDBUS_LIBS="$ELEMENTARY_EDBUS_LIBS"
15004  elif test -n "$PKG_CONFIG"; then
15005     if test -n "$PKG_CONFIG" && \
15006     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15007         edbus >= 1.0.0
15008        \""; } >&5
15009   ($PKG_CONFIG --exists --print-errors "
15010         edbus >= 1.0.0
15011        ") 2>&5
15012   ac_status=$?
15013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15014   test $ac_status = 0; }; then
15015   pkg_cv_ELEMENTARY_EDBUS_LIBS=`$PKG_CONFIG --libs "
15016         edbus >= 1.0.0
15017        " 2>/dev/null`
15018 else
15019   pkg_failed=yes
15020 fi
15021  else
15022     pkg_failed=untried
15023 fi
15024
15025
15026
15027 if test $pkg_failed = yes; then
15028         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15030
15031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15032         _pkg_short_errors_supported=yes
15033 else
15034         _pkg_short_errors_supported=no
15035 fi
15036         if test $_pkg_short_errors_supported = yes; then
15037                 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15038         edbus >= 1.0.0
15039        " 2>&1`
15040         else
15041                 ELEMENTARY_EDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15042         edbus >= 1.0.0
15043        " 2>&1`
15044         fi
15045         # Put the nasty error message in config.log where it belongs
15046         echo "$ELEMENTARY_EDBUS_PKG_ERRORS" >&5
15047
15048         have_elementary_edbus="no"
15049
15050 elif test $pkg_failed = untried; then
15051         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15052 $as_echo "no" >&6; }
15053         have_elementary_edbus="no"
15054
15055 else
15056         ELEMENTARY_EDBUS_CFLAGS=$pkg_cv_ELEMENTARY_EDBUS_CFLAGS
15057         ELEMENTARY_EDBUS_LIBS=$pkg_cv_ELEMENTARY_EDBUS_LIBS
15058         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15059 $as_echo "yes" >&6; }
15060
15061
15062 $as_echo "#define HAVE_ELEMENTARY_EDBUS 1" >>confdefs.h
15063
15064         have_elementary_edbus="yes"
15065         ELM_EDBUS_DEF="#define"
15066         requirement_elm="edbus >= 1.0.0 ${requirement_elm}"
15067
15068 fi
15069 else
15070     have_elementary_edbus="no"
15071 fi
15072 if test "x$want_elementary_edbus" = "xyes" -a "x$have_elementary_edbus" = "xno"; then
15073     as_fn_error $? "E_DBus support requested, but no e_dbus found by pkg-config." "$LINENO" 5
15074 fi
15075
15076
15077 ELM_EFREET_DEF="#undef"
15078 have_elementary_efreet="no"
15079 want_elementary_efreet="auto"
15080 # Check whether --enable-efreet was given.
15081 if test "${enable_efreet+set}" = set; then :
15082   enableval=$enable_efreet; want_elementary_efreet=$enableval
15083 fi
15084
15085
15086 if test "x$want_elementary_efreet" != "xno"; then
15087
15088 pkg_failed=no
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EFREET" >&5
15090 $as_echo_n "checking for ELEMENTARY_EFREET... " >&6; }
15091
15092 if test -n "$ELEMENTARY_EFREET_CFLAGS"; then
15093     pkg_cv_ELEMENTARY_EFREET_CFLAGS="$ELEMENTARY_EFREET_CFLAGS"
15094  elif test -n "$PKG_CONFIG"; then
15095     if test -n "$PKG_CONFIG" && \
15096     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15097         efreet >= 1.0.0
15098         efreet-mime >= 1.0.0
15099         efreet-trash >= 1.0.0
15100        \""; } >&5
15101   ($PKG_CONFIG --exists --print-errors "
15102         efreet >= 1.0.0
15103         efreet-mime >= 1.0.0
15104         efreet-trash >= 1.0.0
15105        ") 2>&5
15106   ac_status=$?
15107   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15108   test $ac_status = 0; }; then
15109   pkg_cv_ELEMENTARY_EFREET_CFLAGS=`$PKG_CONFIG --cflags "
15110         efreet >= 1.0.0
15111         efreet-mime >= 1.0.0
15112         efreet-trash >= 1.0.0
15113        " 2>/dev/null`
15114 else
15115   pkg_failed=yes
15116 fi
15117  else
15118     pkg_failed=untried
15119 fi
15120 if test -n "$ELEMENTARY_EFREET_LIBS"; then
15121     pkg_cv_ELEMENTARY_EFREET_LIBS="$ELEMENTARY_EFREET_LIBS"
15122  elif test -n "$PKG_CONFIG"; then
15123     if test -n "$PKG_CONFIG" && \
15124     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15125         efreet >= 1.0.0
15126         efreet-mime >= 1.0.0
15127         efreet-trash >= 1.0.0
15128        \""; } >&5
15129   ($PKG_CONFIG --exists --print-errors "
15130         efreet >= 1.0.0
15131         efreet-mime >= 1.0.0
15132         efreet-trash >= 1.0.0
15133        ") 2>&5
15134   ac_status=$?
15135   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15136   test $ac_status = 0; }; then
15137   pkg_cv_ELEMENTARY_EFREET_LIBS=`$PKG_CONFIG --libs "
15138         efreet >= 1.0.0
15139         efreet-mime >= 1.0.0
15140         efreet-trash >= 1.0.0
15141        " 2>/dev/null`
15142 else
15143   pkg_failed=yes
15144 fi
15145  else
15146     pkg_failed=untried
15147 fi
15148
15149
15150
15151 if test $pkg_failed = yes; then
15152         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15153 $as_echo "no" >&6; }
15154
15155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15156         _pkg_short_errors_supported=yes
15157 else
15158         _pkg_short_errors_supported=no
15159 fi
15160         if test $_pkg_short_errors_supported = yes; then
15161                 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15162         efreet >= 1.0.0
15163         efreet-mime >= 1.0.0
15164         efreet-trash >= 1.0.0
15165        " 2>&1`
15166         else
15167                 ELEMENTARY_EFREET_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15168         efreet >= 1.0.0
15169         efreet-mime >= 1.0.0
15170         efreet-trash >= 1.0.0
15171        " 2>&1`
15172         fi
15173         # Put the nasty error message in config.log where it belongs
15174         echo "$ELEMENTARY_EFREET_PKG_ERRORS" >&5
15175
15176         have_elementary_efreet="no"
15177
15178 elif test $pkg_failed = untried; then
15179         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15180 $as_echo "no" >&6; }
15181         have_elementary_efreet="no"
15182
15183 else
15184         ELEMENTARY_EFREET_CFLAGS=$pkg_cv_ELEMENTARY_EFREET_CFLAGS
15185         ELEMENTARY_EFREET_LIBS=$pkg_cv_ELEMENTARY_EFREET_LIBS
15186         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15187 $as_echo "yes" >&6; }
15188
15189
15190 $as_echo "#define HAVE_ELEMENTARY_EFREET 1" >>confdefs.h
15191
15192         have_elementary_efreet="yes"
15193         ELM_EFREET_DEF="#define"
15194         requirement_elm="efreet >= 1.0.0 efreet-mime >= 1.0.0 efreet-trash >= 1.0.0 ${requirement_elm}"
15195
15196 fi
15197 else
15198     have_elementary_efreet="no"
15199 fi
15200 if test "x$want_elementary_efreet" = "xyes" -a "x$have_elementary_efreet" = "xno"; then
15201     as_fn_error $? "Efreet support requested, but no efreet/efreet-mime/efreet-trash found by pkg-config." "$LINENO" 5
15202 fi
15203
15204
15205 ELM_EWEATHER_DEF="#undef"
15206 have_elementary_eweather="no"
15207 want_elementary_eweather="auto"
15208 # Check whether --enable-eweather was given.
15209 if test "${enable_eweather+set}" = set; then :
15210   enableval=$enable_eweather; want_elementary_eweather=$enableval
15211 fi
15212
15213
15214 if test "x$want_elementary_eweather" != "xno"; then
15215
15216 pkg_failed=no
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EWEATHER" >&5
15218 $as_echo_n "checking for ELEMENTARY_EWEATHER... " >&6; }
15219
15220 if test -n "$ELEMENTARY_EWEATHER_CFLAGS"; then
15221     pkg_cv_ELEMENTARY_EWEATHER_CFLAGS="$ELEMENTARY_EWEATHER_CFLAGS"
15222  elif test -n "$PKG_CONFIG"; then
15223     if test -n "$PKG_CONFIG" && \
15224     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15225         eweather
15226        \""; } >&5
15227   ($PKG_CONFIG --exists --print-errors "
15228         eweather
15229        ") 2>&5
15230   ac_status=$?
15231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15232   test $ac_status = 0; }; then
15233   pkg_cv_ELEMENTARY_EWEATHER_CFLAGS=`$PKG_CONFIG --cflags "
15234         eweather
15235        " 2>/dev/null`
15236 else
15237   pkg_failed=yes
15238 fi
15239  else
15240     pkg_failed=untried
15241 fi
15242 if test -n "$ELEMENTARY_EWEATHER_LIBS"; then
15243     pkg_cv_ELEMENTARY_EWEATHER_LIBS="$ELEMENTARY_EWEATHER_LIBS"
15244  elif test -n "$PKG_CONFIG"; then
15245     if test -n "$PKG_CONFIG" && \
15246     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15247         eweather
15248        \""; } >&5
15249   ($PKG_CONFIG --exists --print-errors "
15250         eweather
15251        ") 2>&5
15252   ac_status=$?
15253   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15254   test $ac_status = 0; }; then
15255   pkg_cv_ELEMENTARY_EWEATHER_LIBS=`$PKG_CONFIG --libs "
15256         eweather
15257        " 2>/dev/null`
15258 else
15259   pkg_failed=yes
15260 fi
15261  else
15262     pkg_failed=untried
15263 fi
15264
15265
15266
15267 if test $pkg_failed = yes; then
15268         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15269 $as_echo "no" >&6; }
15270
15271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15272         _pkg_short_errors_supported=yes
15273 else
15274         _pkg_short_errors_supported=no
15275 fi
15276         if test $_pkg_short_errors_supported = yes; then
15277                 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15278         eweather
15279        " 2>&1`
15280         else
15281                 ELEMENTARY_EWEATHER_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15282         eweather
15283        " 2>&1`
15284         fi
15285         # Put the nasty error message in config.log where it belongs
15286         echo "$ELEMENTARY_EWEATHER_PKG_ERRORS" >&5
15287
15288         have_elementary_eweather="no"
15289
15290 elif test $pkg_failed = untried; then
15291         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15292 $as_echo "no" >&6; }
15293         have_elementary_eweather="no"
15294
15295 else
15296         ELEMENTARY_EWEATHER_CFLAGS=$pkg_cv_ELEMENTARY_EWEATHER_CFLAGS
15297         ELEMENTARY_EWEATHER_LIBS=$pkg_cv_ELEMENTARY_EWEATHER_LIBS
15298         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15299 $as_echo "yes" >&6; }
15300
15301
15302 $as_echo "#define HAVE_ELEMENTARY_EWEATHER 1" >>confdefs.h
15303
15304         have_elementary_eweather="yes"
15305         ELM_EWEATHER_DEF="#define"
15306         requirement_elm="eweather ${requirement_elm}"
15307
15308 fi
15309 else
15310     have_elementary_eweather="no"
15311 fi
15312 if test "x$want_elementary_eweather" = "xyes" -a "x$have_elementary_eweather" = "xno"; then
15313     as_fn_error $? "Eweather support requested, but no eweather found by pkg-config." "$LINENO" 5
15314 fi
15315
15316
15317 ELM_EMAP_DEF="#undef"
15318 have_elementary_emap="no"
15319 want_elementary_emap="auto"
15320 # Check whether --enable-emap was given.
15321 if test "${enable_emap+set}" = set; then :
15322   enableval=$enable_emap; want_elementary_emap=$enableval
15323 fi
15324
15325
15326 if test "x$want_elementary_emap" != "xno"; then
15327
15328 pkg_failed=no
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_EMAP" >&5
15330 $as_echo_n "checking for ELEMENTARY_EMAP... " >&6; }
15331
15332 if test -n "$ELEMENTARY_EMAP_CFLAGS"; then
15333     pkg_cv_ELEMENTARY_EMAP_CFLAGS="$ELEMENTARY_EMAP_CFLAGS"
15334  elif test -n "$PKG_CONFIG"; then
15335     if test -n "$PKG_CONFIG" && \
15336     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15337         emap
15338        \""; } >&5
15339   ($PKG_CONFIG --exists --print-errors "
15340         emap
15341        ") 2>&5
15342   ac_status=$?
15343   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15344   test $ac_status = 0; }; then
15345   pkg_cv_ELEMENTARY_EMAP_CFLAGS=`$PKG_CONFIG --cflags "
15346         emap
15347        " 2>/dev/null`
15348 else
15349   pkg_failed=yes
15350 fi
15351  else
15352     pkg_failed=untried
15353 fi
15354 if test -n "$ELEMENTARY_EMAP_LIBS"; then
15355     pkg_cv_ELEMENTARY_EMAP_LIBS="$ELEMENTARY_EMAP_LIBS"
15356  elif test -n "$PKG_CONFIG"; then
15357     if test -n "$PKG_CONFIG" && \
15358     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15359         emap
15360        \""; } >&5
15361   ($PKG_CONFIG --exists --print-errors "
15362         emap
15363        ") 2>&5
15364   ac_status=$?
15365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15366   test $ac_status = 0; }; then
15367   pkg_cv_ELEMENTARY_EMAP_LIBS=`$PKG_CONFIG --libs "
15368         emap
15369        " 2>/dev/null`
15370 else
15371   pkg_failed=yes
15372 fi
15373  else
15374     pkg_failed=untried
15375 fi
15376
15377
15378
15379 if test $pkg_failed = yes; then
15380         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15381 $as_echo "no" >&6; }
15382
15383 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15384         _pkg_short_errors_supported=yes
15385 else
15386         _pkg_short_errors_supported=no
15387 fi
15388         if test $_pkg_short_errors_supported = yes; then
15389                 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15390         emap
15391        " 2>&1`
15392         else
15393                 ELEMENTARY_EMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15394         emap
15395        " 2>&1`
15396         fi
15397         # Put the nasty error message in config.log where it belongs
15398         echo "$ELEMENTARY_EMAP_PKG_ERRORS" >&5
15399
15400         have_elementary_emap="no"
15401
15402 elif test $pkg_failed = untried; then
15403         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15404 $as_echo "no" >&6; }
15405         have_elementary_emap="no"
15406
15407 else
15408         ELEMENTARY_EMAP_CFLAGS=$pkg_cv_ELEMENTARY_EMAP_CFLAGS
15409         ELEMENTARY_EMAP_LIBS=$pkg_cv_ELEMENTARY_EMAP_LIBS
15410         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15411 $as_echo "yes" >&6; }
15412
15413
15414 $as_echo "#define HAVE_ELEMENTARY_EMAP 1" >>confdefs.h
15415
15416         have_elementary_emap="yes"
15417         ELM_EMAP_DEF="#define"
15418         requirement_elm="emap ${requirement_elm}"
15419
15420 fi
15421 else
15422     have_elementary_emap="no"
15423 fi
15424 if test "x$want_elementary_emap" = "xyes" -a "x$have_elementary_emap" = "xno"; then
15425     as_fn_error $? "Emap support requested, but no emap found by pkg-config." "$LINENO" 5
15426 fi
15427
15428
15429
15430
15431 ELM_ETHUMB_DEF="#undef"
15432 have_elementary_ethumb="no"
15433 want_elementary_ethumb="auto"
15434 # Check whether --enable-ethumb was given.
15435 if test "${enable_ethumb+set}" = set; then :
15436   enableval=$enable_ethumb; want_elementary_ethumb=$enableval
15437 fi
15438
15439
15440 if test "x$want_elementary_ethumb" != "xno"; then
15441
15442 pkg_failed=no
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_ETHUMB" >&5
15444 $as_echo_n "checking for ELEMENTARY_ETHUMB... " >&6; }
15445
15446 if test -n "$ELEMENTARY_ETHUMB_CFLAGS"; then
15447     pkg_cv_ELEMENTARY_ETHUMB_CFLAGS="$ELEMENTARY_ETHUMB_CFLAGS"
15448  elif test -n "$PKG_CONFIG"; then
15449     if test -n "$PKG_CONFIG" && \
15450     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15451         ethumb_client
15452        \""; } >&5
15453   ($PKG_CONFIG --exists --print-errors "
15454         ethumb_client
15455        ") 2>&5
15456   ac_status=$?
15457   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15458   test $ac_status = 0; }; then
15459   pkg_cv_ELEMENTARY_ETHUMB_CFLAGS=`$PKG_CONFIG --cflags "
15460         ethumb_client
15461        " 2>/dev/null`
15462 else
15463   pkg_failed=yes
15464 fi
15465  else
15466     pkg_failed=untried
15467 fi
15468 if test -n "$ELEMENTARY_ETHUMB_LIBS"; then
15469     pkg_cv_ELEMENTARY_ETHUMB_LIBS="$ELEMENTARY_ETHUMB_LIBS"
15470  elif test -n "$PKG_CONFIG"; then
15471     if test -n "$PKG_CONFIG" && \
15472     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15473         ethumb_client
15474        \""; } >&5
15475   ($PKG_CONFIG --exists --print-errors "
15476         ethumb_client
15477        ") 2>&5
15478   ac_status=$?
15479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480   test $ac_status = 0; }; then
15481   pkg_cv_ELEMENTARY_ETHUMB_LIBS=`$PKG_CONFIG --libs "
15482         ethumb_client
15483        " 2>/dev/null`
15484 else
15485   pkg_failed=yes
15486 fi
15487  else
15488     pkg_failed=untried
15489 fi
15490
15491
15492
15493 if test $pkg_failed = yes; then
15494         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15495 $as_echo "no" >&6; }
15496
15497 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15498         _pkg_short_errors_supported=yes
15499 else
15500         _pkg_short_errors_supported=no
15501 fi
15502         if test $_pkg_short_errors_supported = yes; then
15503                 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15504         ethumb_client
15505        " 2>&1`
15506         else
15507                 ELEMENTARY_ETHUMB_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15508         ethumb_client
15509        " 2>&1`
15510         fi
15511         # Put the nasty error message in config.log where it belongs
15512         echo "$ELEMENTARY_ETHUMB_PKG_ERRORS" >&5
15513
15514         have_elementary_ethumb="no"
15515
15516 elif test $pkg_failed = untried; then
15517         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15518 $as_echo "no" >&6; }
15519         have_elementary_ethumb="no"
15520
15521 else
15522         ELEMENTARY_ETHUMB_CFLAGS=$pkg_cv_ELEMENTARY_ETHUMB_CFLAGS
15523         ELEMENTARY_ETHUMB_LIBS=$pkg_cv_ELEMENTARY_ETHUMB_LIBS
15524         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15525 $as_echo "yes" >&6; }
15526
15527
15528 $as_echo "#define HAVE_ELEMENTARY_ETHUMB 1" >>confdefs.h
15529
15530         have_elementary_ethumb="yes"
15531         ELM_ETHUMB_DEF="#define"
15532         requirement_elm="ethumb_client ${requirement_elm}"
15533
15534 fi
15535 else
15536     have_elementary_ethumb="no"
15537 fi
15538 if test "x$want_elementary_ethumb" = "xyes" -a "x$have_elementary_ethumb" = "xno"; then
15539     as_fn_error $? "Ethumb support requested, but no ethumb found by pkg-config." "$LINENO" 5
15540 fi
15541
15542
15543 ELM_WEB_DEF="#undef"
15544 have_elementary_web="no"
15545 want_elementary_web="auto"
15546 # Check whether --enable-web was given.
15547 if test "${enable_web+set}" = set; then :
15548   enableval=$enable_web; want_elementary_web=$enableval
15549 fi
15550
15551
15552 if test "x$want_elementary_web" != "xno"; then
15553
15554 pkg_failed=no
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELEMENTARY_WEB" >&5
15556 $as_echo_n "checking for ELEMENTARY_WEB... " >&6; }
15557
15558 if test -n "$ELEMENTARY_WEB_CFLAGS"; then
15559     pkg_cv_ELEMENTARY_WEB_CFLAGS="$ELEMENTARY_WEB_CFLAGS"
15560  elif test -n "$PKG_CONFIG"; then
15561     if test -n "$PKG_CONFIG" && \
15562     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15563         ewebkit
15564        \""; } >&5
15565   ($PKG_CONFIG --exists --print-errors "
15566         ewebkit
15567        ") 2>&5
15568   ac_status=$?
15569   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15570   test $ac_status = 0; }; then
15571   pkg_cv_ELEMENTARY_WEB_CFLAGS=`$PKG_CONFIG --cflags "
15572         ewebkit
15573        " 2>/dev/null`
15574 else
15575   pkg_failed=yes
15576 fi
15577  else
15578     pkg_failed=untried
15579 fi
15580 if test -n "$ELEMENTARY_WEB_LIBS"; then
15581     pkg_cv_ELEMENTARY_WEB_LIBS="$ELEMENTARY_WEB_LIBS"
15582  elif test -n "$PKG_CONFIG"; then
15583     if test -n "$PKG_CONFIG" && \
15584     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
15585         ewebkit
15586        \""; } >&5
15587   ($PKG_CONFIG --exists --print-errors "
15588         ewebkit
15589        ") 2>&5
15590   ac_status=$?
15591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15592   test $ac_status = 0; }; then
15593   pkg_cv_ELEMENTARY_WEB_LIBS=`$PKG_CONFIG --libs "
15594         ewebkit
15595        " 2>/dev/null`
15596 else
15597   pkg_failed=yes
15598 fi
15599  else
15600     pkg_failed=untried
15601 fi
15602
15603
15604
15605 if test $pkg_failed = yes; then
15606         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15607 $as_echo "no" >&6; }
15608
15609 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15610         _pkg_short_errors_supported=yes
15611 else
15612         _pkg_short_errors_supported=no
15613 fi
15614         if test $_pkg_short_errors_supported = yes; then
15615                 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "
15616         ewebkit
15617        " 2>&1`
15618         else
15619                 ELEMENTARY_WEB_PKG_ERRORS=`$PKG_CONFIG --print-errors "
15620         ewebkit
15621        " 2>&1`
15622         fi
15623         # Put the nasty error message in config.log where it belongs
15624         echo "$ELEMENTARY_WEB_PKG_ERRORS" >&5
15625
15626         have_elementary_web="no"
15627
15628 elif test $pkg_failed = untried; then
15629         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15630 $as_echo "no" >&6; }
15631         have_elementary_web="no"
15632
15633 else
15634         ELEMENTARY_WEB_CFLAGS=$pkg_cv_ELEMENTARY_WEB_CFLAGS
15635         ELEMENTARY_WEB_LIBS=$pkg_cv_ELEMENTARY_WEB_LIBS
15636         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15637 $as_echo "yes" >&6; }
15638
15639
15640 $as_echo "#define HAVE_ELEMENTARY_WEB 1" >>confdefs.h
15641
15642         webkit_datadir=$($PKG_CONFIG ewebkit --variable=datadir)
15643
15644 cat >>confdefs.h <<_ACEOF
15645 #define WEBKIT_DATADIR "$webkit_datadir"
15646 _ACEOF
15647
15648         have_elementary_web="yes"
15649         ELM_WEB_DEF="#define"
15650 ## web_client? how about ewebkit? at least in current upstreak webkit
15651 ## there is no web_client.pc
15652 #        requirement_elm="web_client ${requirement_elm}"
15653         requirement_elm="ewebkit ${requirement_elm}"
15654
15655 fi
15656 else
15657     have_elementary_web="no"
15658 fi
15659 if test "x$want_elementary_web" = "xyes" -a "x$have_elementary_web" = "xno"; then
15660     as_fn_error $? "Web support requested, but no ewebkit found by pkg-config." "$LINENO" 5
15661 fi
15662
15663
15664 ELM_DEBUG_DEF="#undef"
15665 want_elementary_debug="no"
15666 # Check whether --enable-debug was given.
15667 if test "${enable_debug+set}" = set; then :
15668   enableval=$enable_debug; want_elementary_debug=$enableval
15669 fi
15670
15671
15672 if test "x$want_elementary_debug" = "xyes"; then
15673
15674 $as_echo "#define HAVE_ELEMENTARY_DEBUG 1" >>confdefs.h
15675
15676         ELM_DEBUG_DEF="#define"
15677 fi
15678
15679
15680 ELM_ALLOCA_H_DEF="#undef"
15681 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
15682 if test "x$ac_cv_header_alloca_h" = x""yes; then :
15683   ELM_ALLOCA_H_DEF="#define"
15684 fi
15685
15686
15687
15688
15689 ELM_LIBINTL_H_DEF="#undef"
15690 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15691 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15692   ELM_LIBINTL_H_DEF="#define"
15693 fi
15694
15695
15696
15697
15698 ELM_DIRENT_H_DEF="#undef"
15699 ac_fn_c_check_header_mongrel "$LINENO" "dirent.h" "ac_cv_header_dirent_h" "$ac_includes_default"
15700 if test "x$ac_cv_header_dirent_h" = x""yes; then :
15701   ELM_DIRENT_H_DEF="#define"
15702 fi
15703
15704
15705
15706
15707 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
15708 if test "x$ac_cv_header_sys_mman_h" = x""yes; then :
15709   have_mman="yes"
15710 else
15711   have_mman="no"
15712 fi
15713
15714
15715 if test "x${have_mman}" = "xyes"; then
15716
15717 $as_echo "#define HAVE_MMAN_H 1" >>confdefs.h
15718
15719 fi
15720
15721 my_libs="-lm"
15722
15723
15724
15725
15726
15727
15728
15729
15730 # Check whether --with-eet-eet was given.
15731 if test "${with_eet_eet+set}" = set; then :
15732   withval=$with_eet_eet; _efl_with_binary=${withval}
15733 else
15734   _efl_with_binary=$(pkg-config --variable=prefix eet)/bin/eet
15735 fi
15736
15737
15738 eet_eet=${_efl_with_binary}
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: eet_eet set to ${_efl_with_binary}" >&5
15740 $as_echo "$as_me: eet_eet set to ${_efl_with_binary}" >&6;}
15741
15742 with_binary_eet_eet=${_efl_with_binary}
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752 # Check whether --with-edje-cc was given.
15753 if test "${with_edje_cc+set}" = set; then :
15754   withval=$with_edje_cc; _efl_with_binary=${withval}
15755 else
15756   _efl_with_binary=$(pkg-config --variable=prefix edje)/bin/edje_cc
15757 fi
15758
15759
15760 edje_cc=${_efl_with_binary}
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: edje_cc set to ${_efl_with_binary}" >&5
15762 $as_echo "$as_me: edje_cc set to ${_efl_with_binary}" >&6;}
15763
15764 with_binary_edje_cc=${_efl_with_binary}
15765
15766
15767
15768
15769
15770
15771
15772 # Check whether --enable-doc was given.
15773 if test "${enable_doc+set}" = set; then :
15774   enableval=$enable_doc;
15775     if test "x${enableval}" = "xyes" ; then
15776        efl_enable_doc="yes"
15777     else
15778        efl_enable_doc="no"
15779     fi
15780
15781 else
15782   efl_enable_doc="yes"
15783 fi
15784
15785
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
15787 $as_echo_n "checking whether to build documentation... " >&6; }
15788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
15789 $as_echo "${efl_enable_doc}" >&6; }
15790
15791 if test "x${efl_enable_doc}" = "xyes" ; then
15792
15793
15794    efl_doxygen="doxygen"
15795
15796
15797 # Check whether --with-doxygen was given.
15798 if test "${with_doxygen+set}" = set; then :
15799   withval=$with_doxygen;       efl_doxygen=${withval}
15800        # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
15801 set dummy ${efl_doxygen}; ac_word=$2
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15803 $as_echo_n "checking for $ac_word... " >&6; }
15804 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
15805   $as_echo_n "(cached) " >&6
15806 else
15807   if test -n "$efl_have_doxygen"; then
15808   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
15809 else
15810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15811 for as_dir in $PATH
15812 do
15813   IFS=$as_save_IFS
15814   test -z "$as_dir" && as_dir=.
15815     for ac_exec_ext in '' $ac_executable_extensions; do
15816   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15817     ac_cv_prog_efl_have_doxygen="yes"
15818     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15819     break 2
15820   fi
15821 done
15822   done
15823 IFS=$as_save_IFS
15824
15825   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
15826 fi
15827 fi
15828 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
15829 if test -n "$efl_have_doxygen"; then
15830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
15831 $as_echo "$efl_have_doxygen" >&6; }
15832 else
15833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15834 $as_echo "no" >&6; }
15835 fi
15836
15837
15838        if test "x${efl_have_doxygen}" = "xno" ; then
15839           echo "WARNING:"
15840           echo "The doxygen program you specified:"
15841           echo "${efl_doxygen}"
15842           echo "was not found.  Please check the path and make sure "
15843           echo "the program exists and is executable."
15844           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
15845 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
15846        fi
15847
15848 else
15849   # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
15850 set dummy ${efl_doxygen}; ac_word=$2
15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15852 $as_echo_n "checking for $ac_word... " >&6; }
15853 if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
15854   $as_echo_n "(cached) " >&6
15855 else
15856   if test -n "$efl_have_doxygen"; then
15857   ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
15858 else
15859 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15860 for as_dir in $PATH
15861 do
15862   IFS=$as_save_IFS
15863   test -z "$as_dir" && as_dir=.
15864     for ac_exec_ext in '' $ac_executable_extensions; do
15865   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15866     ac_cv_prog_efl_have_doxygen="yes"
15867     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15868     break 2
15869   fi
15870 done
15871   done
15872 IFS=$as_save_IFS
15873
15874   test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
15875 fi
15876 fi
15877 efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
15878 if test -n "$efl_have_doxygen"; then
15879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
15880 $as_echo "$efl_have_doxygen" >&6; }
15881 else
15882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15883 $as_echo "no" >&6; }
15884 fi
15885
15886
15887        if test "x${efl_have_doxygen}" = "xno" ; then
15888           echo "WARNING:"
15889           echo "The doxygen program was not found in your execute path."
15890           echo "You may have doxygen installed somewhere not covered by your path."
15891           echo ""
15892           echo "If this is the case make sure you have the packages installed, AND"
15893           echo "that the doxygen program is in your execute path (see your"
15894           echo "shell manual page on setting the \$PATH environment variable), OR"
15895           echo "alternatively, specify the program to use with --with-doxygen."
15896           { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
15897 $as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
15898        fi
15899
15900 fi
15901
15902 fi
15903
15904
15905
15906 if ! test "x${efl_have_doxygen}" = "xyes" ; then
15907    efl_enable_doc="no"
15908 fi
15909
15910  if test "x${efl_enable_doc}" = "xyes"; then
15911   EFL_BUILD_DOC_TRUE=
15912   EFL_BUILD_DOC_FALSE='#'
15913 else
15914   EFL_BUILD_DOC_TRUE='#'
15915   EFL_BUILD_DOC_FALSE=
15916 fi
15917
15918
15919 if test "x${efl_enable_doc}" = "xyes" ; then
15920   build_doc="yes"
15921 else
15922   build_doc="no"
15923 fi
15924
15925
15926
15927
15928
15929
15930 have_elementary_test="yes"
15931
15932
15933 # Check whether --enable-elementary-test was given.
15934 if test "${enable_elementary_test+set}" = set; then :
15935   enableval=$enable_elementary_test;
15936     if test "x${enableval}" = "xyes" ; then
15937        have_elementary_test="yes"
15938     else
15939        have_elementary_test="no"
15940     fi
15941
15942 fi
15943
15944
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_test binary" >&5
15946 $as_echo_n "checking whether to build elementary_test binary... " >&6; }
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_test" >&5
15948 $as_echo "$have_elementary_test" >&6; }
15949
15950 if test "x$have_elementary_test" = "xyes"; then
15951    ELEMENTARY_TEST_PRG=elementary_test${EXEEXT}
15952 fi
15953
15954
15955
15956  if test "x$have_elementary_test" = "xyes"; then
15957   BUILD_ELEMENTARY_TEST_TRUE=
15958   BUILD_ELEMENTARY_TEST_FALSE='#'
15959 else
15960   BUILD_ELEMENTARY_TEST_TRUE='#'
15961   BUILD_ELEMENTARY_TEST_FALSE=
15962 fi
15963
15964
15965 if test "x$have_elementary_test" = "xyes"; then :
15966
15967 fi
15968
15969
15970
15971
15972
15973 have_elementary_config="yes"
15974
15975
15976 # Check whether --enable-elementary-config was given.
15977 if test "${enable_elementary_config+set}" = set; then :
15978   enableval=$enable_elementary_config;
15979     if test "x${enableval}" = "xyes" ; then
15980        have_elementary_config="yes"
15981     else
15982        have_elementary_config="no"
15983     fi
15984
15985 fi
15986
15987
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build elementary_config binary" >&5
15989 $as_echo_n "checking whether to build elementary_config binary... " >&6; }
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_elementary_config" >&5
15991 $as_echo "$have_elementary_config" >&6; }
15992
15993 if test "x$have_elementary_config" = "xyes"; then
15994    ELEMENTARY_CONFIG_PRG=elementary_config${EXEEXT}
15995 fi
15996
15997
15998
15999  if test "x$have_elementary_config" = "xyes"; then
16000   BUILD_ELEMENTARY_CONFIG_TRUE=
16001   BUILD_ELEMENTARY_CONFIG_FALSE='#'
16002 else
16003   BUILD_ELEMENTARY_CONFIG_TRUE='#'
16004   BUILD_ELEMENTARY_CONFIG_FALSE=
16005 fi
16006
16007
16008 if test "x$have_elementary_config" = "xyes"; then :
16009
16010 fi
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16021 $as_echo_n "checking whether NLS is requested... " >&6; }
16022     # Check whether --enable-nls was given.
16023 if test "${enable_nls+set}" = set; then :
16024   enableval=$enable_nls; USE_NLS=$enableval
16025 else
16026   USE_NLS=yes
16027 fi
16028
16029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16030 $as_echo "$USE_NLS" >&6; }
16031
16032
16033
16034
16035       GETTEXT_MACRO_VERSION=0.17
16036
16037
16038
16039
16040 # Prepare PATH_SEPARATOR.
16041 # The user is always right.
16042 if test "${PATH_SEPARATOR+set}" != set; then
16043   echo "#! /bin/sh" >conf$$.sh
16044   echo  "exit 0"   >>conf$$.sh
16045   chmod +x conf$$.sh
16046   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16047     PATH_SEPARATOR=';'
16048   else
16049     PATH_SEPARATOR=:
16050   fi
16051   rm -f conf$$.sh
16052 fi
16053
16054 # Find out how to test for executable files. Don't use a zero-byte file,
16055 # as systems may use methods other than mode bits to determine executability.
16056 cat >conf$$.file <<_ASEOF
16057 #! /bin/sh
16058 exit 0
16059 _ASEOF
16060 chmod +x conf$$.file
16061 if test -x conf$$.file >/dev/null 2>&1; then
16062   ac_executable_p="test -x"
16063 else
16064   ac_executable_p="test -f"
16065 fi
16066 rm -f conf$$.file
16067
16068 # Extract the first word of "msgfmt", so it can be a program name with args.
16069 set dummy msgfmt; ac_word=$2
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16071 $as_echo_n "checking for $ac_word... " >&6; }
16072 if test "${ac_cv_path_MSGFMT+set}" = set; then :
16073   $as_echo_n "(cached) " >&6
16074 else
16075   case "$MSGFMT" in
16076   [\\/]* | ?:[\\/]*)
16077     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
16078     ;;
16079   *)
16080     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16081     for ac_dir in $PATH; do
16082       IFS="$ac_save_IFS"
16083       test -z "$ac_dir" && ac_dir=.
16084       for ac_exec_ext in '' $ac_executable_extensions; do
16085         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16086           echo "$as_me: trying $ac_dir/$ac_word..." >&5
16087           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
16088      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
16089             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
16090             break 2
16091           fi
16092         fi
16093       done
16094     done
16095     IFS="$ac_save_IFS"
16096   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
16097     ;;
16098 esac
16099 fi
16100 MSGFMT="$ac_cv_path_MSGFMT"
16101 if test "$MSGFMT" != ":"; then
16102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
16103 $as_echo "$MSGFMT" >&6; }
16104 else
16105   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16106 $as_echo "no" >&6; }
16107 fi
16108
16109   # Extract the first word of "gmsgfmt", so it can be a program name with args.
16110 set dummy gmsgfmt; ac_word=$2
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16112 $as_echo_n "checking for $ac_word... " >&6; }
16113 if test "${ac_cv_path_GMSGFMT+set}" = set; then :
16114   $as_echo_n "(cached) " >&6
16115 else
16116   case $GMSGFMT in
16117   [\\/]* | ?:[\\/]*)
16118   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
16119   ;;
16120   *)
16121   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16122 for as_dir in $PATH
16123 do
16124   IFS=$as_save_IFS
16125   test -z "$as_dir" && as_dir=.
16126     for ac_exec_ext in '' $ac_executable_extensions; do
16127   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16128     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
16129     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16130     break 2
16131   fi
16132 done
16133   done
16134 IFS=$as_save_IFS
16135
16136   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
16137   ;;
16138 esac
16139 fi
16140 GMSGFMT=$ac_cv_path_GMSGFMT
16141 if test -n "$GMSGFMT"; then
16142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
16143 $as_echo "$GMSGFMT" >&6; }
16144 else
16145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16146 $as_echo "no" >&6; }
16147 fi
16148
16149
16150
16151     case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16152     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
16153     *) MSGFMT_015=$MSGFMT ;;
16154   esac
16155
16156   case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16157     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
16158     *) GMSGFMT_015=$GMSGFMT ;;
16159   esac
16160
16161
16162
16163 # Prepare PATH_SEPARATOR.
16164 # The user is always right.
16165 if test "${PATH_SEPARATOR+set}" != set; then
16166   echo "#! /bin/sh" >conf$$.sh
16167   echo  "exit 0"   >>conf$$.sh
16168   chmod +x conf$$.sh
16169   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16170     PATH_SEPARATOR=';'
16171   else
16172     PATH_SEPARATOR=:
16173   fi
16174   rm -f conf$$.sh
16175 fi
16176
16177 # Find out how to test for executable files. Don't use a zero-byte file,
16178 # as systems may use methods other than mode bits to determine executability.
16179 cat >conf$$.file <<_ASEOF
16180 #! /bin/sh
16181 exit 0
16182 _ASEOF
16183 chmod +x conf$$.file
16184 if test -x conf$$.file >/dev/null 2>&1; then
16185   ac_executable_p="test -x"
16186 else
16187   ac_executable_p="test -f"
16188 fi
16189 rm -f conf$$.file
16190
16191 # Extract the first word of "xgettext", so it can be a program name with args.
16192 set dummy xgettext; ac_word=$2
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16194 $as_echo_n "checking for $ac_word... " >&6; }
16195 if test "${ac_cv_path_XGETTEXT+set}" = set; then :
16196   $as_echo_n "(cached) " >&6
16197 else
16198   case "$XGETTEXT" in
16199   [\\/]* | ?:[\\/]*)
16200     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
16201     ;;
16202   *)
16203     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16204     for ac_dir in $PATH; do
16205       IFS="$ac_save_IFS"
16206       test -z "$ac_dir" && ac_dir=.
16207       for ac_exec_ext in '' $ac_executable_extensions; do
16208         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16209           echo "$as_me: trying $ac_dir/$ac_word..." >&5
16210           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
16211      (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
16212             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
16213             break 2
16214           fi
16215         fi
16216       done
16217     done
16218     IFS="$ac_save_IFS"
16219   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
16220     ;;
16221 esac
16222 fi
16223 XGETTEXT="$ac_cv_path_XGETTEXT"
16224 if test "$XGETTEXT" != ":"; then
16225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
16226 $as_echo "$XGETTEXT" >&6; }
16227 else
16228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16229 $as_echo "no" >&6; }
16230 fi
16231
16232     rm -f messages.po
16233
16234     case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
16235     '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
16236     *) XGETTEXT_015=$XGETTEXT ;;
16237   esac
16238
16239
16240
16241 # Prepare PATH_SEPARATOR.
16242 # The user is always right.
16243 if test "${PATH_SEPARATOR+set}" != set; then
16244   echo "#! /bin/sh" >conf$$.sh
16245   echo  "exit 0"   >>conf$$.sh
16246   chmod +x conf$$.sh
16247   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16248     PATH_SEPARATOR=';'
16249   else
16250     PATH_SEPARATOR=:
16251   fi
16252   rm -f conf$$.sh
16253 fi
16254
16255 # Find out how to test for executable files. Don't use a zero-byte file,
16256 # as systems may use methods other than mode bits to determine executability.
16257 cat >conf$$.file <<_ASEOF
16258 #! /bin/sh
16259 exit 0
16260 _ASEOF
16261 chmod +x conf$$.file
16262 if test -x conf$$.file >/dev/null 2>&1; then
16263   ac_executable_p="test -x"
16264 else
16265   ac_executable_p="test -f"
16266 fi
16267 rm -f conf$$.file
16268
16269 # Extract the first word of "msgmerge", so it can be a program name with args.
16270 set dummy msgmerge; ac_word=$2
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16272 $as_echo_n "checking for $ac_word... " >&6; }
16273 if test "${ac_cv_path_MSGMERGE+set}" = set; then :
16274   $as_echo_n "(cached) " >&6
16275 else
16276   case "$MSGMERGE" in
16277   [\\/]* | ?:[\\/]*)
16278     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
16279     ;;
16280   *)
16281     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
16282     for ac_dir in $PATH; do
16283       IFS="$ac_save_IFS"
16284       test -z "$ac_dir" && ac_dir=.
16285       for ac_exec_ext in '' $ac_executable_extensions; do
16286         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
16287           echo "$as_me: trying $ac_dir/$ac_word..." >&5
16288           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
16289             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
16290             break 2
16291           fi
16292         fi
16293       done
16294     done
16295     IFS="$ac_save_IFS"
16296   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
16297     ;;
16298 esac
16299 fi
16300 MSGMERGE="$ac_cv_path_MSGMERGE"
16301 if test "$MSGMERGE" != ":"; then
16302   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
16303 $as_echo "$MSGMERGE" >&6; }
16304 else
16305   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16306 $as_echo "no" >&6; }
16307 fi
16308
16309
16310         test -n "$localedir" || localedir='${datadir}/locale'
16311
16312
16313     test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
16314
16315
16316   ac_config_commands="$ac_config_commands po-directories"
16317
16318
16319
16320       if test "X$prefix" = "XNONE"; then
16321     acl_final_prefix="$ac_default_prefix"
16322   else
16323     acl_final_prefix="$prefix"
16324   fi
16325   if test "X$exec_prefix" = "XNONE"; then
16326     acl_final_exec_prefix='${prefix}'
16327   else
16328     acl_final_exec_prefix="$exec_prefix"
16329   fi
16330   acl_save_prefix="$prefix"
16331   prefix="$acl_final_prefix"
16332   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
16333   prefix="$acl_save_prefix"
16334
16335
16336 # Check whether --with-gnu-ld was given.
16337 if test "${with_gnu_ld+set}" = set; then :
16338   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
16339 else
16340   with_gnu_ld=no
16341 fi
16342
16343 # Prepare PATH_SEPARATOR.
16344 # The user is always right.
16345 if test "${PATH_SEPARATOR+set}" != set; then
16346   echo "#! /bin/sh" >conf$$.sh
16347   echo  "exit 0"   >>conf$$.sh
16348   chmod +x conf$$.sh
16349   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
16350     PATH_SEPARATOR=';'
16351   else
16352     PATH_SEPARATOR=:
16353   fi
16354   rm -f conf$$.sh
16355 fi
16356 ac_prog=ld
16357 if test "$GCC" = yes; then
16358   # Check if gcc -print-prog-name=ld gives a path.
16359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
16360 $as_echo_n "checking for ld used by GCC... " >&6; }
16361   case $host in
16362   *-*-mingw*)
16363     # gcc leaves a trailing carriage return which upsets mingw
16364     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
16365   *)
16366     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
16367   esac
16368   case $ac_prog in
16369     # Accept absolute paths.
16370     [\\/]* | [A-Za-z]:[\\/]*)
16371       re_direlt='/[^/][^/]*/\.\./'
16372       # Canonicalize the path of ld
16373       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
16374       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
16375         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
16376       done
16377       test -z "$LD" && LD="$ac_prog"
16378       ;;
16379   "")
16380     # If it fails, then pretend we aren't using GCC.
16381     ac_prog=ld
16382     ;;
16383   *)
16384     # If it is relative, then search for the first ld in PATH.
16385     with_gnu_ld=unknown
16386     ;;
16387   esac
16388 elif test "$with_gnu_ld" = yes; then
16389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
16390 $as_echo_n "checking for GNU ld... " >&6; }
16391 else
16392   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16393 $as_echo_n "checking for non-GNU ld... " >&6; }
16394 fi
16395 if test "${acl_cv_path_LD+set}" = set; then :
16396   $as_echo_n "(cached) " >&6
16397 else
16398   if test -z "$LD"; then
16399   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
16400   for ac_dir in $PATH; do
16401     test -z "$ac_dir" && ac_dir=.
16402     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
16403       acl_cv_path_LD="$ac_dir/$ac_prog"
16404       # Check to see if the program is GNU ld.  I'd rather use --version,
16405       # but apparently some GNU ld's only accept -v.
16406       # Break only if it was the GNU/non-GNU ld that we prefer.
16407       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
16408       *GNU* | *'with BFD'*)
16409         test "$with_gnu_ld" != no && break ;;
16410       *)
16411         test "$with_gnu_ld" != yes && break ;;
16412       esac
16413     fi
16414   done
16415   IFS="$ac_save_ifs"
16416 else
16417   acl_cv_path_LD="$LD" # Let the user override the test with a path.
16418 fi
16419 fi
16420
16421 LD="$acl_cv_path_LD"
16422 if test -n "$LD"; then
16423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
16424 $as_echo "$LD" >&6; }
16425 else
16426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16427 $as_echo "no" >&6; }
16428 fi
16429 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16431 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16432 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
16433   $as_echo_n "(cached) " >&6
16434 else
16435   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
16436 case `$LD -v 2>&1 </dev/null` in
16437 *GNU* | *'with BFD'*)
16438   acl_cv_prog_gnu_ld=yes ;;
16439 *)
16440   acl_cv_prog_gnu_ld=no ;;
16441 esac
16442 fi
16443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
16444 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
16445 with_gnu_ld=$acl_cv_prog_gnu_ld
16446
16447
16448
16449
16450                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
16451 $as_echo_n "checking for shared library run path origin... " >&6; }
16452 if test "${acl_cv_rpath+set}" = set; then :
16453   $as_echo_n "(cached) " >&6
16454 else
16455
16456     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
16457     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
16458     . ./conftest.sh
16459     rm -f ./conftest.sh
16460     acl_cv_rpath=done
16461
16462 fi
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
16464 $as_echo "$acl_cv_rpath" >&6; }
16465   wl="$acl_cv_wl"
16466   acl_libext="$acl_cv_libext"
16467   acl_shlibext="$acl_cv_shlibext"
16468   acl_libname_spec="$acl_cv_libname_spec"
16469   acl_library_names_spec="$acl_cv_library_names_spec"
16470   acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
16471   acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
16472   acl_hardcode_direct="$acl_cv_hardcode_direct"
16473   acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
16474     # Check whether --enable-rpath was given.
16475 if test "${enable_rpath+set}" = set; then :
16476   enableval=$enable_rpath; :
16477 else
16478   enable_rpath=yes
16479 fi
16480
16481
16482
16483                   acl_libdirstem=lib
16484   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
16485   if test -n "$searchpath"; then
16486     acl_save_IFS="${IFS=        }"; IFS=":"
16487     for searchdir in $searchpath; do
16488       if test -d "$searchdir"; then
16489         case "$searchdir" in
16490           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
16491           *) searchdir=`cd "$searchdir" && pwd`
16492              case "$searchdir" in
16493                */lib64 ) acl_libdirstem=lib64 ;;
16494              esac ;;
16495         esac
16496       fi
16497     done
16498     IFS="$acl_save_IFS"
16499   fi
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509     use_additional=yes
16510
16511   acl_save_prefix="$prefix"
16512   prefix="$acl_final_prefix"
16513   acl_save_exec_prefix="$exec_prefix"
16514   exec_prefix="$acl_final_exec_prefix"
16515
16516     eval additional_includedir=\"$includedir\"
16517     eval additional_libdir=\"$libdir\"
16518
16519   exec_prefix="$acl_save_exec_prefix"
16520   prefix="$acl_save_prefix"
16521
16522
16523 # Check whether --with-libiconv-prefix was given.
16524 if test "${with_libiconv_prefix+set}" = set; then :
16525   withval=$with_libiconv_prefix;
16526     if test "X$withval" = "Xno"; then
16527       use_additional=no
16528     else
16529       if test "X$withval" = "X"; then
16530
16531   acl_save_prefix="$prefix"
16532   prefix="$acl_final_prefix"
16533   acl_save_exec_prefix="$exec_prefix"
16534   exec_prefix="$acl_final_exec_prefix"
16535
16536           eval additional_includedir=\"$includedir\"
16537           eval additional_libdir=\"$libdir\"
16538
16539   exec_prefix="$acl_save_exec_prefix"
16540   prefix="$acl_save_prefix"
16541
16542       else
16543         additional_includedir="$withval/include"
16544         additional_libdir="$withval/$acl_libdirstem"
16545       fi
16546     fi
16547
16548 fi
16549
16550       LIBICONV=
16551   LTLIBICONV=
16552   INCICONV=
16553   LIBICONV_PREFIX=
16554   rpathdirs=
16555   ltrpathdirs=
16556   names_already_handled=
16557   names_next_round='iconv '
16558   while test -n "$names_next_round"; do
16559     names_this_round="$names_next_round"
16560     names_next_round=
16561     for name in $names_this_round; do
16562       already_handled=
16563       for n in $names_already_handled; do
16564         if test "$n" = "$name"; then
16565           already_handled=yes
16566           break
16567         fi
16568       done
16569       if test -z "$already_handled"; then
16570         names_already_handled="$names_already_handled $name"
16571                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
16572         eval value=\"\$HAVE_LIB$uppername\"
16573         if test -n "$value"; then
16574           if test "$value" = yes; then
16575             eval value=\"\$LIB$uppername\"
16576             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
16577             eval value=\"\$LTLIB$uppername\"
16578             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
16579           else
16580                                     :
16581           fi
16582         else
16583                               found_dir=
16584           found_la=
16585           found_so=
16586           found_a=
16587           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
16588           if test -n "$acl_shlibext"; then
16589             shrext=".$acl_shlibext"             # typically: shrext=.so
16590           else
16591             shrext=
16592           fi
16593           if test $use_additional = yes; then
16594             dir="$additional_libdir"
16595                                     if test -n "$acl_shlibext"; then
16596               if test -f "$dir/$libname$shrext"; then
16597                 found_dir="$dir"
16598                 found_so="$dir/$libname$shrext"
16599               else
16600                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16601                   ver=`(cd "$dir" && \
16602                         for f in "$libname$shrext".*; do echo "$f"; done \
16603                         | sed -e "s,^$libname$shrext\\\\.,," \
16604                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16605                         | sed 1q ) 2>/dev/null`
16606                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16607                     found_dir="$dir"
16608                     found_so="$dir/$libname$shrext.$ver"
16609                   fi
16610                 else
16611                   eval library_names=\"$acl_library_names_spec\"
16612                   for f in $library_names; do
16613                     if test -f "$dir/$f"; then
16614                       found_dir="$dir"
16615                       found_so="$dir/$f"
16616                       break
16617                     fi
16618                   done
16619                 fi
16620               fi
16621             fi
16622                         if test "X$found_dir" = "X"; then
16623               if test -f "$dir/$libname.$acl_libext"; then
16624                 found_dir="$dir"
16625                 found_a="$dir/$libname.$acl_libext"
16626               fi
16627             fi
16628             if test "X$found_dir" != "X"; then
16629               if test -f "$dir/$libname.la"; then
16630                 found_la="$dir/$libname.la"
16631               fi
16632             fi
16633           fi
16634           if test "X$found_dir" = "X"; then
16635             for x in $LDFLAGS $LTLIBICONV; do
16636
16637   acl_save_prefix="$prefix"
16638   prefix="$acl_final_prefix"
16639   acl_save_exec_prefix="$exec_prefix"
16640   exec_prefix="$acl_final_exec_prefix"
16641   eval x=\"$x\"
16642   exec_prefix="$acl_save_exec_prefix"
16643   prefix="$acl_save_prefix"
16644
16645               case "$x" in
16646                 -L*)
16647                   dir=`echo "X$x" | sed -e 's/^X-L//'`
16648                                     if test -n "$acl_shlibext"; then
16649                     if test -f "$dir/$libname$shrext"; then
16650                       found_dir="$dir"
16651                       found_so="$dir/$libname$shrext"
16652                     else
16653                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
16654                         ver=`(cd "$dir" && \
16655                               for f in "$libname$shrext".*; do echo "$f"; done \
16656                               | sed -e "s,^$libname$shrext\\\\.,," \
16657                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
16658                               | sed 1q ) 2>/dev/null`
16659                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
16660                           found_dir="$dir"
16661                           found_so="$dir/$libname$shrext.$ver"
16662                         fi
16663                       else
16664                         eval library_names=\"$acl_library_names_spec\"
16665                         for f in $library_names; do
16666                           if test -f "$dir/$f"; then
16667                             found_dir="$dir"
16668                             found_so="$dir/$f"
16669                             break
16670                           fi
16671                         done
16672                       fi
16673                     fi
16674                   fi
16675                                     if test "X$found_dir" = "X"; then
16676                     if test -f "$dir/$libname.$acl_libext"; then
16677                       found_dir="$dir"
16678                       found_a="$dir/$libname.$acl_libext"
16679                     fi
16680                   fi
16681                   if test "X$found_dir" != "X"; then
16682                     if test -f "$dir/$libname.la"; then
16683                       found_la="$dir/$libname.la"
16684                     fi
16685                   fi
16686                   ;;
16687               esac
16688               if test "X$found_dir" != "X"; then
16689                 break
16690               fi
16691             done
16692           fi
16693           if test "X$found_dir" != "X"; then
16694                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
16695             if test "X$found_so" != "X"; then
16696                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
16697                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16698               else
16699                                                                                 haveit=
16700                 for x in $ltrpathdirs; do
16701                   if test "X$x" = "X$found_dir"; then
16702                     haveit=yes
16703                     break
16704                   fi
16705                 done
16706                 if test -z "$haveit"; then
16707                   ltrpathdirs="$ltrpathdirs $found_dir"
16708                 fi
16709                                 if test "$acl_hardcode_direct" = yes; then
16710                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16711                 else
16712                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
16713                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16714                                                             haveit=
16715                     for x in $rpathdirs; do
16716                       if test "X$x" = "X$found_dir"; then
16717                         haveit=yes
16718                         break
16719                       fi
16720                     done
16721                     if test -z "$haveit"; then
16722                       rpathdirs="$rpathdirs $found_dir"
16723                     fi
16724                   else
16725                                                                                 haveit=
16726                     for x in $LDFLAGS $LIBICONV; do
16727
16728   acl_save_prefix="$prefix"
16729   prefix="$acl_final_prefix"
16730   acl_save_exec_prefix="$exec_prefix"
16731   exec_prefix="$acl_final_exec_prefix"
16732   eval x=\"$x\"
16733   exec_prefix="$acl_save_exec_prefix"
16734   prefix="$acl_save_prefix"
16735
16736                       if test "X$x" = "X-L$found_dir"; then
16737                         haveit=yes
16738                         break
16739                       fi
16740                     done
16741                     if test -z "$haveit"; then
16742                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
16743                     fi
16744                     if test "$acl_hardcode_minus_L" != no; then
16745                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
16746                     else
16747                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16748                     fi
16749                   fi
16750                 fi
16751               fi
16752             else
16753               if test "X$found_a" != "X"; then
16754                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
16755               else
16756                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
16757               fi
16758             fi
16759                         additional_includedir=
16760             case "$found_dir" in
16761               */$acl_libdirstem | */$acl_libdirstem/)
16762                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
16763                 LIBICONV_PREFIX="$basedir"
16764                 additional_includedir="$basedir/include"
16765                 ;;
16766             esac
16767             if test "X$additional_includedir" != "X"; then
16768                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
16769                 haveit=
16770                 if test "X$additional_includedir" = "X/usr/local/include"; then
16771                   if test -n "$GCC"; then
16772                     case $host_os in
16773                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16774                     esac
16775                   fi
16776                 fi
16777                 if test -z "$haveit"; then
16778                   for x in $CPPFLAGS $INCICONV; do
16779
16780   acl_save_prefix="$prefix"
16781   prefix="$acl_final_prefix"
16782   acl_save_exec_prefix="$exec_prefix"
16783   exec_prefix="$acl_final_exec_prefix"
16784   eval x=\"$x\"
16785   exec_prefix="$acl_save_exec_prefix"
16786   prefix="$acl_save_prefix"
16787
16788                     if test "X$x" = "X-I$additional_includedir"; then
16789                       haveit=yes
16790                       break
16791                     fi
16792                   done
16793                   if test -z "$haveit"; then
16794                     if test -d "$additional_includedir"; then
16795                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
16796                     fi
16797                   fi
16798                 fi
16799               fi
16800             fi
16801                         if test -n "$found_la"; then
16802                                                         save_libdir="$libdir"
16803               case "$found_la" in
16804                 */* | *\\*) . "$found_la" ;;
16805                 *) . "./$found_la" ;;
16806               esac
16807               libdir="$save_libdir"
16808                             for dep in $dependency_libs; do
16809                 case "$dep" in
16810                   -L*)
16811                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
16812                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
16813                       haveit=
16814                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
16815                         if test -n "$GCC"; then
16816                           case $host_os in
16817                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
16818                           esac
16819                         fi
16820                       fi
16821                       if test -z "$haveit"; then
16822                         haveit=
16823                         for x in $LDFLAGS $LIBICONV; do
16824
16825   acl_save_prefix="$prefix"
16826   prefix="$acl_final_prefix"
16827   acl_save_exec_prefix="$exec_prefix"
16828   exec_prefix="$acl_final_exec_prefix"
16829   eval x=\"$x\"
16830   exec_prefix="$acl_save_exec_prefix"
16831   prefix="$acl_save_prefix"
16832
16833                           if test "X$x" = "X-L$additional_libdir"; then
16834                             haveit=yes
16835                             break
16836                           fi
16837                         done
16838                         if test -z "$haveit"; then
16839                           if test -d "$additional_libdir"; then
16840                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
16841                           fi
16842                         fi
16843                         haveit=
16844                         for x in $LDFLAGS $LTLIBICONV; do
16845
16846   acl_save_prefix="$prefix"
16847   prefix="$acl_final_prefix"
16848   acl_save_exec_prefix="$exec_prefix"
16849   exec_prefix="$acl_final_exec_prefix"
16850   eval x=\"$x\"
16851   exec_prefix="$acl_save_exec_prefix"
16852   prefix="$acl_save_prefix"
16853
16854                           if test "X$x" = "X-L$additional_libdir"; then
16855                             haveit=yes
16856                             break
16857                           fi
16858                         done
16859                         if test -z "$haveit"; then
16860                           if test -d "$additional_libdir"; then
16861                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
16862                           fi
16863                         fi
16864                       fi
16865                     fi
16866                     ;;
16867                   -R*)
16868                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
16869                     if test "$enable_rpath" != no; then
16870                                                                   haveit=
16871                       for x in $rpathdirs; do
16872                         if test "X$x" = "X$dir"; then
16873                           haveit=yes
16874                           break
16875                         fi
16876                       done
16877                       if test -z "$haveit"; then
16878                         rpathdirs="$rpathdirs $dir"
16879                       fi
16880                                                                   haveit=
16881                       for x in $ltrpathdirs; do
16882                         if test "X$x" = "X$dir"; then
16883                           haveit=yes
16884                           break
16885                         fi
16886                       done
16887                       if test -z "$haveit"; then
16888                         ltrpathdirs="$ltrpathdirs $dir"
16889                       fi
16890                     fi
16891                     ;;
16892                   -l*)
16893                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
16894                     ;;
16895                   *.la)
16896                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
16897                     ;;
16898                   *)
16899                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
16900                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
16901                     ;;
16902                 esac
16903               done
16904             fi
16905           else
16906                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
16907             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
16908           fi
16909         fi
16910       fi
16911     done
16912   done
16913   if test "X$rpathdirs" != "X"; then
16914     if test -n "$acl_hardcode_libdir_separator"; then
16915                         alldirs=
16916       for found_dir in $rpathdirs; do
16917         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
16918       done
16919             acl_save_libdir="$libdir"
16920       libdir="$alldirs"
16921       eval flag=\"$acl_hardcode_libdir_flag_spec\"
16922       libdir="$acl_save_libdir"
16923       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16924     else
16925             for found_dir in $rpathdirs; do
16926         acl_save_libdir="$libdir"
16927         libdir="$found_dir"
16928         eval flag=\"$acl_hardcode_libdir_flag_spec\"
16929         libdir="$acl_save_libdir"
16930         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
16931       done
16932     fi
16933   fi
16934   if test "X$ltrpathdirs" != "X"; then
16935             for found_dir in $ltrpathdirs; do
16936       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
16937     done
16938   fi
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
16965 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
16966 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
16967   $as_echo_n "(cached) " >&6
16968 else
16969   gt_save_LIBS="$LIBS"
16970      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
16971      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h.  */
16973 #include <CoreFoundation/CFPreferences.h>
16974 int
16975 main ()
16976 {
16977 CFPreferencesCopyAppValue(NULL, NULL)
16978   ;
16979   return 0;
16980 }
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983   gt_cv_func_CFPreferencesCopyAppValue=yes
16984 else
16985   gt_cv_func_CFPreferencesCopyAppValue=no
16986 fi
16987 rm -f core conftest.err conftest.$ac_objext \
16988     conftest$ac_exeext conftest.$ac_ext
16989      LIBS="$gt_save_LIBS"
16990 fi
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
16992 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
16993   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
16994
16995 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
16996
16997   fi
16998     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
16999 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
17000 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
17001   $as_echo_n "(cached) " >&6
17002 else
17003   gt_save_LIBS="$LIBS"
17004      LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
17005      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h.  */
17007 #include <CoreFoundation/CFLocale.h>
17008 int
17009 main ()
17010 {
17011 CFLocaleCopyCurrent();
17012   ;
17013   return 0;
17014 }
17015 _ACEOF
17016 if ac_fn_c_try_link "$LINENO"; then :
17017   gt_cv_func_CFLocaleCopyCurrent=yes
17018 else
17019   gt_cv_func_CFLocaleCopyCurrent=no
17020 fi
17021 rm -f core conftest.err conftest.$ac_objext \
17022     conftest$ac_exeext conftest.$ac_ext
17023      LIBS="$gt_save_LIBS"
17024 fi
17025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
17026 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
17027   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17028
17029 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
17030
17031   fi
17032   INTL_MACOSX_LIBS=
17033   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
17034     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
17035   fi
17036
17037
17038
17039
17040
17041
17042   LIBINTL=
17043   LTLIBINTL=
17044   POSUB=
17045
17046     case " $gt_needs " in
17047     *" need-formatstring-macros "*) gt_api_version=3 ;;
17048     *" need-ngettext "*) gt_api_version=2 ;;
17049     *) gt_api_version=1 ;;
17050   esac
17051   gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
17052   gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
17053
17054     if test "$USE_NLS" = "yes"; then
17055     gt_use_preinstalled_gnugettext=no
17056
17057
17058         if test $gt_api_version -ge 3; then
17059           gt_revision_test_code='
17060 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
17061 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
17062 #endif
17063 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
17064 '
17065         else
17066           gt_revision_test_code=
17067         fi
17068         if test $gt_api_version -ge 2; then
17069           gt_expression_test_code=' + * ngettext ("", "", 0)'
17070         else
17071           gt_expression_test_code=
17072         fi
17073
17074         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
17075 $as_echo_n "checking for GNU gettext in libc... " >&6; }
17076 if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
17077   $as_echo_n "(cached) " >&6
17078 else
17079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17080 /* end confdefs.h.  */
17081 #include <libintl.h>
17082 $gt_revision_test_code
17083 extern int _nl_msg_cat_cntr;
17084 extern int *_nl_domain_bindings;
17085 int
17086 main ()
17087 {
17088 bindtextdomain ("", "");
17089 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
17090   ;
17091   return 0;
17092 }
17093 _ACEOF
17094 if ac_fn_c_try_link "$LINENO"; then :
17095   eval "$gt_func_gnugettext_libc=yes"
17096 else
17097   eval "$gt_func_gnugettext_libc=no"
17098 fi
17099 rm -f core conftest.err conftest.$ac_objext \
17100     conftest$ac_exeext conftest.$ac_ext
17101 fi
17102 eval ac_res=\$$gt_func_gnugettext_libc
17103                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17104 $as_echo "$ac_res" >&6; }
17105
17106         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
17107
17108
17109
17110
17111
17112           am_save_CPPFLAGS="$CPPFLAGS"
17113
17114   for element in $INCICONV; do
17115     haveit=
17116     for x in $CPPFLAGS; do
17117
17118   acl_save_prefix="$prefix"
17119   prefix="$acl_final_prefix"
17120   acl_save_exec_prefix="$exec_prefix"
17121   exec_prefix="$acl_final_exec_prefix"
17122   eval x=\"$x\"
17123   exec_prefix="$acl_save_exec_prefix"
17124   prefix="$acl_save_prefix"
17125
17126       if test "X$x" = "X$element"; then
17127         haveit=yes
17128         break
17129       fi
17130     done
17131     if test -z "$haveit"; then
17132       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17133     fi
17134   done
17135
17136
17137   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
17138 $as_echo_n "checking for iconv... " >&6; }
17139 if test "${am_cv_func_iconv+set}" = set; then :
17140   $as_echo_n "(cached) " >&6
17141 else
17142
17143     am_cv_func_iconv="no, consider installing GNU libiconv"
17144     am_cv_lib_iconv=no
17145     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17146 /* end confdefs.h.  */
17147 #include <stdlib.h>
17148 #include <iconv.h>
17149 int
17150 main ()
17151 {
17152 iconv_t cd = iconv_open("","");
17153        iconv(cd,NULL,NULL,NULL,NULL);
17154        iconv_close(cd);
17155   ;
17156   return 0;
17157 }
17158 _ACEOF
17159 if ac_fn_c_try_link "$LINENO"; then :
17160   am_cv_func_iconv=yes
17161 fi
17162 rm -f core conftest.err conftest.$ac_objext \
17163     conftest$ac_exeext conftest.$ac_ext
17164     if test "$am_cv_func_iconv" != yes; then
17165       am_save_LIBS="$LIBS"
17166       LIBS="$LIBS $LIBICONV"
17167       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17168 /* end confdefs.h.  */
17169 #include <stdlib.h>
17170 #include <iconv.h>
17171 int
17172 main ()
17173 {
17174 iconv_t cd = iconv_open("","");
17175          iconv(cd,NULL,NULL,NULL,NULL);
17176          iconv_close(cd);
17177   ;
17178   return 0;
17179 }
17180 _ACEOF
17181 if ac_fn_c_try_link "$LINENO"; then :
17182   am_cv_lib_iconv=yes
17183         am_cv_func_iconv=yes
17184 fi
17185 rm -f core conftest.err conftest.$ac_objext \
17186     conftest$ac_exeext conftest.$ac_ext
17187       LIBS="$am_save_LIBS"
17188     fi
17189
17190 fi
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
17192 $as_echo "$am_cv_func_iconv" >&6; }
17193   if test "$am_cv_func_iconv" = yes; then
17194     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
17195 $as_echo_n "checking for working iconv... " >&6; }
17196 if test "${am_cv_func_iconv_works+set}" = set; then :
17197   $as_echo_n "(cached) " >&6
17198 else
17199
17200             am_save_LIBS="$LIBS"
17201       if test $am_cv_lib_iconv = yes; then
17202         LIBS="$LIBS $LIBICONV"
17203       fi
17204       if test "$cross_compiling" = yes; then :
17205   case "$host_os" in
17206            aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
17207            *)            am_cv_func_iconv_works="guessing yes" ;;
17208          esac
17209 else
17210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17211 /* end confdefs.h.  */
17212
17213 #include <iconv.h>
17214 #include <string.h>
17215 int main ()
17216 {
17217   /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
17218      returns.  */
17219   {
17220     iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
17221     if (cd_utf8_to_88591 != (iconv_t)(-1))
17222       {
17223         static const char input[] = "\342\202\254"; /* EURO SIGN */
17224         char buf[10];
17225         const char *inptr = input;
17226         size_t inbytesleft = strlen (input);
17227         char *outptr = buf;
17228         size_t outbytesleft = sizeof (buf);
17229         size_t res = iconv (cd_utf8_to_88591,
17230                             (char **) &inptr, &inbytesleft,
17231                             &outptr, &outbytesleft);
17232         if (res == 0)
17233           return 1;
17234       }
17235   }
17236 #if 0 /* This bug could be worked around by the caller.  */
17237   /* Test against HP-UX 11.11 bug: Positive return value instead of 0.  */
17238   {
17239     iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
17240     if (cd_88591_to_utf8 != (iconv_t)(-1))
17241       {
17242         static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
17243         char buf[50];
17244         const char *inptr = input;
17245         size_t inbytesleft = strlen (input);
17246         char *outptr = buf;
17247         size_t outbytesleft = sizeof (buf);
17248         size_t res = iconv (cd_88591_to_utf8,
17249                             (char **) &inptr, &inbytesleft,
17250                             &outptr, &outbytesleft);
17251         if ((int)res > 0)
17252           return 1;
17253       }
17254   }
17255 #endif
17256   /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
17257      provided.  */
17258   if (/* Try standardized names.  */
17259       iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
17260       /* Try IRIX, OSF/1 names.  */
17261       && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
17262       /* Try AIX names.  */
17263       && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
17264       /* Try HP-UX names.  */
17265       && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
17266     return 1;
17267   return 0;
17268 }
17269 _ACEOF
17270 if ac_fn_c_try_run "$LINENO"; then :
17271   am_cv_func_iconv_works=yes
17272 else
17273   am_cv_func_iconv_works=no
17274 fi
17275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17276   conftest.$ac_objext conftest.beam conftest.$ac_ext
17277 fi
17278
17279       LIBS="$am_save_LIBS"
17280
17281 fi
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
17283 $as_echo "$am_cv_func_iconv_works" >&6; }
17284     case "$am_cv_func_iconv_works" in
17285       *no) am_func_iconv=no am_cv_lib_iconv=no ;;
17286       *)   am_func_iconv=yes ;;
17287     esac
17288   else
17289     am_func_iconv=no am_cv_lib_iconv=no
17290   fi
17291   if test "$am_func_iconv" = yes; then
17292
17293 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
17294
17295   fi
17296   if test "$am_cv_lib_iconv" = yes; then
17297     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
17298 $as_echo_n "checking how to link with libiconv... " >&6; }
17299     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
17300 $as_echo "$LIBICONV" >&6; }
17301   else
17302             CPPFLAGS="$am_save_CPPFLAGS"
17303     LIBICONV=
17304     LTLIBICONV=
17305   fi
17306
17307
17308
17309
17310
17311
17312
17313
17314     use_additional=yes
17315
17316   acl_save_prefix="$prefix"
17317   prefix="$acl_final_prefix"
17318   acl_save_exec_prefix="$exec_prefix"
17319   exec_prefix="$acl_final_exec_prefix"
17320
17321     eval additional_includedir=\"$includedir\"
17322     eval additional_libdir=\"$libdir\"
17323
17324   exec_prefix="$acl_save_exec_prefix"
17325   prefix="$acl_save_prefix"
17326
17327
17328 # Check whether --with-libintl-prefix was given.
17329 if test "${with_libintl_prefix+set}" = set; then :
17330   withval=$with_libintl_prefix;
17331     if test "X$withval" = "Xno"; then
17332       use_additional=no
17333     else
17334       if test "X$withval" = "X"; then
17335
17336   acl_save_prefix="$prefix"
17337   prefix="$acl_final_prefix"
17338   acl_save_exec_prefix="$exec_prefix"
17339   exec_prefix="$acl_final_exec_prefix"
17340
17341           eval additional_includedir=\"$includedir\"
17342           eval additional_libdir=\"$libdir\"
17343
17344   exec_prefix="$acl_save_exec_prefix"
17345   prefix="$acl_save_prefix"
17346
17347       else
17348         additional_includedir="$withval/include"
17349         additional_libdir="$withval/$acl_libdirstem"
17350       fi
17351     fi
17352
17353 fi
17354
17355       LIBINTL=
17356   LTLIBINTL=
17357   INCINTL=
17358   LIBINTL_PREFIX=
17359   rpathdirs=
17360   ltrpathdirs=
17361   names_already_handled=
17362   names_next_round='intl '
17363   while test -n "$names_next_round"; do
17364     names_this_round="$names_next_round"
17365     names_next_round=
17366     for name in $names_this_round; do
17367       already_handled=
17368       for n in $names_already_handled; do
17369         if test "$n" = "$name"; then
17370           already_handled=yes
17371           break
17372         fi
17373       done
17374       if test -z "$already_handled"; then
17375         names_already_handled="$names_already_handled $name"
17376                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
17377         eval value=\"\$HAVE_LIB$uppername\"
17378         if test -n "$value"; then
17379           if test "$value" = yes; then
17380             eval value=\"\$LIB$uppername\"
17381             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
17382             eval value=\"\$LTLIB$uppername\"
17383             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
17384           else
17385                                     :
17386           fi
17387         else
17388                               found_dir=
17389           found_la=
17390           found_so=
17391           found_a=
17392           eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
17393           if test -n "$acl_shlibext"; then
17394             shrext=".$acl_shlibext"             # typically: shrext=.so
17395           else
17396             shrext=
17397           fi
17398           if test $use_additional = yes; then
17399             dir="$additional_libdir"
17400                                     if test -n "$acl_shlibext"; then
17401               if test -f "$dir/$libname$shrext"; then
17402                 found_dir="$dir"
17403                 found_so="$dir/$libname$shrext"
17404               else
17405                 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17406                   ver=`(cd "$dir" && \
17407                         for f in "$libname$shrext".*; do echo "$f"; done \
17408                         | sed -e "s,^$libname$shrext\\\\.,," \
17409                         | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17410                         | sed 1q ) 2>/dev/null`
17411                   if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17412                     found_dir="$dir"
17413                     found_so="$dir/$libname$shrext.$ver"
17414                   fi
17415                 else
17416                   eval library_names=\"$acl_library_names_spec\"
17417                   for f in $library_names; do
17418                     if test -f "$dir/$f"; then
17419                       found_dir="$dir"
17420                       found_so="$dir/$f"
17421                       break
17422                     fi
17423                   done
17424                 fi
17425               fi
17426             fi
17427                         if test "X$found_dir" = "X"; then
17428               if test -f "$dir/$libname.$acl_libext"; then
17429                 found_dir="$dir"
17430                 found_a="$dir/$libname.$acl_libext"
17431               fi
17432             fi
17433             if test "X$found_dir" != "X"; then
17434               if test -f "$dir/$libname.la"; then
17435                 found_la="$dir/$libname.la"
17436               fi
17437             fi
17438           fi
17439           if test "X$found_dir" = "X"; then
17440             for x in $LDFLAGS $LTLIBINTL; do
17441
17442   acl_save_prefix="$prefix"
17443   prefix="$acl_final_prefix"
17444   acl_save_exec_prefix="$exec_prefix"
17445   exec_prefix="$acl_final_exec_prefix"
17446   eval x=\"$x\"
17447   exec_prefix="$acl_save_exec_prefix"
17448   prefix="$acl_save_prefix"
17449
17450               case "$x" in
17451                 -L*)
17452                   dir=`echo "X$x" | sed -e 's/^X-L//'`
17453                                     if test -n "$acl_shlibext"; then
17454                     if test -f "$dir/$libname$shrext"; then
17455                       found_dir="$dir"
17456                       found_so="$dir/$libname$shrext"
17457                     else
17458                       if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
17459                         ver=`(cd "$dir" && \
17460                               for f in "$libname$shrext".*; do echo "$f"; done \
17461                               | sed -e "s,^$libname$shrext\\\\.,," \
17462                               | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
17463                               | sed 1q ) 2>/dev/null`
17464                         if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
17465                           found_dir="$dir"
17466                           found_so="$dir/$libname$shrext.$ver"
17467                         fi
17468                       else
17469                         eval library_names=\"$acl_library_names_spec\"
17470                         for f in $library_names; do
17471                           if test -f "$dir/$f"; then
17472                             found_dir="$dir"
17473                             found_so="$dir/$f"
17474                             break
17475                           fi
17476                         done
17477                       fi
17478                     fi
17479                   fi
17480                                     if test "X$found_dir" = "X"; then
17481                     if test -f "$dir/$libname.$acl_libext"; then
17482                       found_dir="$dir"
17483                       found_a="$dir/$libname.$acl_libext"
17484                     fi
17485                   fi
17486                   if test "X$found_dir" != "X"; then
17487                     if test -f "$dir/$libname.la"; then
17488                       found_la="$dir/$libname.la"
17489                     fi
17490                   fi
17491                   ;;
17492               esac
17493               if test "X$found_dir" != "X"; then
17494                 break
17495               fi
17496             done
17497           fi
17498           if test "X$found_dir" != "X"; then
17499                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
17500             if test "X$found_so" != "X"; then
17501                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
17502                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17503               else
17504                                                                                 haveit=
17505                 for x in $ltrpathdirs; do
17506                   if test "X$x" = "X$found_dir"; then
17507                     haveit=yes
17508                     break
17509                   fi
17510                 done
17511                 if test -z "$haveit"; then
17512                   ltrpathdirs="$ltrpathdirs $found_dir"
17513                 fi
17514                                 if test "$acl_hardcode_direct" = yes; then
17515                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17516                 else
17517                   if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
17518                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17519                                                             haveit=
17520                     for x in $rpathdirs; do
17521                       if test "X$x" = "X$found_dir"; then
17522                         haveit=yes
17523                         break
17524                       fi
17525                     done
17526                     if test -z "$haveit"; then
17527                       rpathdirs="$rpathdirs $found_dir"
17528                     fi
17529                   else
17530                                                                                 haveit=
17531                     for x in $LDFLAGS $LIBINTL; do
17532
17533   acl_save_prefix="$prefix"
17534   prefix="$acl_final_prefix"
17535   acl_save_exec_prefix="$exec_prefix"
17536   exec_prefix="$acl_final_exec_prefix"
17537   eval x=\"$x\"
17538   exec_prefix="$acl_save_exec_prefix"
17539   prefix="$acl_save_prefix"
17540
17541                       if test "X$x" = "X-L$found_dir"; then
17542                         haveit=yes
17543                         break
17544                       fi
17545                     done
17546                     if test -z "$haveit"; then
17547                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
17548                     fi
17549                     if test "$acl_hardcode_minus_L" != no; then
17550                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
17551                     else
17552                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17553                     fi
17554                   fi
17555                 fi
17556               fi
17557             else
17558               if test "X$found_a" != "X"; then
17559                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
17560               else
17561                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
17562               fi
17563             fi
17564                         additional_includedir=
17565             case "$found_dir" in
17566               */$acl_libdirstem | */$acl_libdirstem/)
17567                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
17568                 LIBINTL_PREFIX="$basedir"
17569                 additional_includedir="$basedir/include"
17570                 ;;
17571             esac
17572             if test "X$additional_includedir" != "X"; then
17573                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
17574                 haveit=
17575                 if test "X$additional_includedir" = "X/usr/local/include"; then
17576                   if test -n "$GCC"; then
17577                     case $host_os in
17578                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17579                     esac
17580                   fi
17581                 fi
17582                 if test -z "$haveit"; then
17583                   for x in $CPPFLAGS $INCINTL; do
17584
17585   acl_save_prefix="$prefix"
17586   prefix="$acl_final_prefix"
17587   acl_save_exec_prefix="$exec_prefix"
17588   exec_prefix="$acl_final_exec_prefix"
17589   eval x=\"$x\"
17590   exec_prefix="$acl_save_exec_prefix"
17591   prefix="$acl_save_prefix"
17592
17593                     if test "X$x" = "X-I$additional_includedir"; then
17594                       haveit=yes
17595                       break
17596                     fi
17597                   done
17598                   if test -z "$haveit"; then
17599                     if test -d "$additional_includedir"; then
17600                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
17601                     fi
17602                   fi
17603                 fi
17604               fi
17605             fi
17606                         if test -n "$found_la"; then
17607                                                         save_libdir="$libdir"
17608               case "$found_la" in
17609                 */* | *\\*) . "$found_la" ;;
17610                 *) . "./$found_la" ;;
17611               esac
17612               libdir="$save_libdir"
17613                             for dep in $dependency_libs; do
17614                 case "$dep" in
17615                   -L*)
17616                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
17617                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
17618                       haveit=
17619                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
17620                         if test -n "$GCC"; then
17621                           case $host_os in
17622                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
17623                           esac
17624                         fi
17625                       fi
17626                       if test -z "$haveit"; then
17627                         haveit=
17628                         for x in $LDFLAGS $LIBINTL; do
17629
17630   acl_save_prefix="$prefix"
17631   prefix="$acl_final_prefix"
17632   acl_save_exec_prefix="$exec_prefix"
17633   exec_prefix="$acl_final_exec_prefix"
17634   eval x=\"$x\"
17635   exec_prefix="$acl_save_exec_prefix"
17636   prefix="$acl_save_prefix"
17637
17638                           if test "X$x" = "X-L$additional_libdir"; then
17639                             haveit=yes
17640                             break
17641                           fi
17642                         done
17643                         if test -z "$haveit"; then
17644                           if test -d "$additional_libdir"; then
17645                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
17646                           fi
17647                         fi
17648                         haveit=
17649                         for x in $LDFLAGS $LTLIBINTL; do
17650
17651   acl_save_prefix="$prefix"
17652   prefix="$acl_final_prefix"
17653   acl_save_exec_prefix="$exec_prefix"
17654   exec_prefix="$acl_final_exec_prefix"
17655   eval x=\"$x\"
17656   exec_prefix="$acl_save_exec_prefix"
17657   prefix="$acl_save_prefix"
17658
17659                           if test "X$x" = "X-L$additional_libdir"; then
17660                             haveit=yes
17661                             break
17662                           fi
17663                         done
17664                         if test -z "$haveit"; then
17665                           if test -d "$additional_libdir"; then
17666                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
17667                           fi
17668                         fi
17669                       fi
17670                     fi
17671                     ;;
17672                   -R*)
17673                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
17674                     if test "$enable_rpath" != no; then
17675                                                                   haveit=
17676                       for x in $rpathdirs; do
17677                         if test "X$x" = "X$dir"; then
17678                           haveit=yes
17679                           break
17680                         fi
17681                       done
17682                       if test -z "$haveit"; then
17683                         rpathdirs="$rpathdirs $dir"
17684                       fi
17685                                                                   haveit=
17686                       for x in $ltrpathdirs; do
17687                         if test "X$x" = "X$dir"; then
17688                           haveit=yes
17689                           break
17690                         fi
17691                       done
17692                       if test -z "$haveit"; then
17693                         ltrpathdirs="$ltrpathdirs $dir"
17694                       fi
17695                     fi
17696                     ;;
17697                   -l*)
17698                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
17699                     ;;
17700                   *.la)
17701                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
17702                     ;;
17703                   *)
17704                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
17705                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
17706                     ;;
17707                 esac
17708               done
17709             fi
17710           else
17711                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
17712             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
17713           fi
17714         fi
17715       fi
17716     done
17717   done
17718   if test "X$rpathdirs" != "X"; then
17719     if test -n "$acl_hardcode_libdir_separator"; then
17720                         alldirs=
17721       for found_dir in $rpathdirs; do
17722         alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
17723       done
17724             acl_save_libdir="$libdir"
17725       libdir="$alldirs"
17726       eval flag=\"$acl_hardcode_libdir_flag_spec\"
17727       libdir="$acl_save_libdir"
17728       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17729     else
17730             for found_dir in $rpathdirs; do
17731         acl_save_libdir="$libdir"
17732         libdir="$found_dir"
17733         eval flag=\"$acl_hardcode_libdir_flag_spec\"
17734         libdir="$acl_save_libdir"
17735         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
17736       done
17737     fi
17738   fi
17739   if test "X$ltrpathdirs" != "X"; then
17740             for found_dir in $ltrpathdirs; do
17741       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
17742     done
17743   fi
17744
17745           { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
17746 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
17747 if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
17748   $as_echo_n "(cached) " >&6
17749 else
17750   gt_save_CPPFLAGS="$CPPFLAGS"
17751             CPPFLAGS="$CPPFLAGS $INCINTL"
17752             gt_save_LIBS="$LIBS"
17753             LIBS="$LIBS $LIBINTL"
17754                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h.  */
17756 #include <libintl.h>
17757 $gt_revision_test_code
17758 extern int _nl_msg_cat_cntr;
17759 extern
17760 #ifdef __cplusplus
17761 "C"
17762 #endif
17763 const char *_nl_expand_alias (const char *);
17764 int
17765 main ()
17766 {
17767 bindtextdomain ("", "");
17768 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17769   ;
17770   return 0;
17771 }
17772 _ACEOF
17773 if ac_fn_c_try_link "$LINENO"; then :
17774   eval "$gt_func_gnugettext_libintl=yes"
17775 else
17776   eval "$gt_func_gnugettext_libintl=no"
17777 fi
17778 rm -f core conftest.err conftest.$ac_objext \
17779     conftest$ac_exeext conftest.$ac_ext
17780                         if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
17781               LIBS="$LIBS $LIBICONV"
17782               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h.  */
17784 #include <libintl.h>
17785 $gt_revision_test_code
17786 extern int _nl_msg_cat_cntr;
17787 extern
17788 #ifdef __cplusplus
17789 "C"
17790 #endif
17791 const char *_nl_expand_alias (const char *);
17792 int
17793 main ()
17794 {
17795 bindtextdomain ("", "");
17796 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
17797   ;
17798   return 0;
17799 }
17800 _ACEOF
17801 if ac_fn_c_try_link "$LINENO"; then :
17802   LIBINTL="$LIBINTL $LIBICONV"
17803                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
17804                 eval "$gt_func_gnugettext_libintl=yes"
17805
17806 fi
17807 rm -f core conftest.err conftest.$ac_objext \
17808     conftest$ac_exeext conftest.$ac_ext
17809             fi
17810             CPPFLAGS="$gt_save_CPPFLAGS"
17811             LIBS="$gt_save_LIBS"
17812 fi
17813 eval ac_res=\$$gt_func_gnugettext_libintl
17814                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17815 $as_echo "$ac_res" >&6; }
17816         fi
17817
17818                                         if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
17819            || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
17820                 && test "$PACKAGE" != gettext-runtime \
17821                 && test "$PACKAGE" != gettext-tools; }; then
17822           gt_use_preinstalled_gnugettext=yes
17823         else
17824                     LIBINTL=
17825           LTLIBINTL=
17826           INCINTL=
17827         fi
17828
17829
17830
17831     if test -n "$INTL_MACOSX_LIBS"; then
17832       if test "$gt_use_preinstalled_gnugettext" = "yes" \
17833          || test "$nls_cv_use_gnu_gettext" = "yes"; then
17834                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
17835         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
17836       fi
17837     fi
17838
17839     if test "$gt_use_preinstalled_gnugettext" = "yes" \
17840        || test "$nls_cv_use_gnu_gettext" = "yes"; then
17841
17842 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
17843
17844     else
17845       USE_NLS=no
17846     fi
17847   fi
17848
17849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
17850 $as_echo_n "checking whether to use NLS... " >&6; }
17851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17852 $as_echo "$USE_NLS" >&6; }
17853   if test "$USE_NLS" = "yes"; then
17854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
17855 $as_echo_n "checking where the gettext function comes from... " >&6; }
17856     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17857       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17858         gt_source="external libintl"
17859       else
17860         gt_source="libc"
17861       fi
17862     else
17863       gt_source="included intl directory"
17864     fi
17865     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
17866 $as_echo "$gt_source" >&6; }
17867   fi
17868
17869   if test "$USE_NLS" = "yes"; then
17870
17871     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
17872       if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
17873         { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
17874 $as_echo_n "checking how to link with libintl... " >&6; }
17875         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
17876 $as_echo "$LIBINTL" >&6; }
17877
17878   for element in $INCINTL; do
17879     haveit=
17880     for x in $CPPFLAGS; do
17881
17882   acl_save_prefix="$prefix"
17883   prefix="$acl_final_prefix"
17884   acl_save_exec_prefix="$exec_prefix"
17885   exec_prefix="$acl_final_exec_prefix"
17886   eval x=\"$x\"
17887   exec_prefix="$acl_save_exec_prefix"
17888   prefix="$acl_save_prefix"
17889
17890       if test "X$x" = "X$element"; then
17891         haveit=yes
17892         break
17893       fi
17894     done
17895     if test -z "$haveit"; then
17896       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
17897     fi
17898   done
17899
17900       fi
17901
17902
17903 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
17904
17905
17906 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
17907
17908     fi
17909
17910         POSUB=po
17911   fi
17912
17913
17914
17915     INTLLIBS="$LIBINTL"
17916
17917
17918
17919
17920
17921
17922 po_makefile_in=po/Makefile.in
17923 have_po="yes"
17924
17925
17926
17927 if test "x${POSUB}" = "x" ; then
17928    have_po="no"
17929 fi
17930
17931  if test "x${have_po}" = "xyes"; then
17932   HAVE_PO_TRUE=
17933   HAVE_PO_FALSE='#'
17934 else
17935   HAVE_PO_TRUE='#'
17936   HAVE_PO_FALSE=
17937 fi
17938
17939
17940
17941
17942 default_max="4096"
17943 ac_ext=c
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948
17949
17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
17951 $as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h.  */
17954
17955 #include <limits.h>
17956
17957 int
17958 main ()
17959 {
17960
17961 int i = PATH_MAX;
17962
17963   ;
17964   return 0;
17965 }
17966 _ACEOF
17967 if ac_fn_c_try_compile "$LINENO"; then :
17968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17969 $as_echo "yes" >&6; }
17970 else
17971
17972
17973 cat >>confdefs.h <<_ACEOF
17974 #define PATH_MAX ${default_max}
17975 _ACEOF
17976
17977     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
17978 $as_echo "no: using ${default_max}" >&6; }
17979
17980 fi
17981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982
17983 ac_ext=c
17984 ac_cpp='$CPP $CPPFLAGS'
17985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17988
17989
17990
17991
17992 elementary_base_dir=".elementary"
17993
17994 # Check whether --with-elementary-base-dir was given.
17995 if test "${with_elementary_base_dir+set}" = set; then :
17996   withval=$with_elementary_base_dir; elementary_base_dir=${withval}
17997 else
17998   elementary_base_dir=".elementary"
17999 fi
18000
18001
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&5
18003 $as_echo "$as_me: ELEMENTARY_BASE_DIR set to ${elementary_base_dir}" >&6;}
18004
18005 cat >>confdefs.h <<_ACEOF
18006 #define ELEMENTARY_BASE_DIR "${elementary_base_dir}"
18007 _ACEOF
18008
18009
18010 ### Build and install examples
18011
18012
18013
18014 # Check whether --enable-build-examples was given.
18015 if test "${enable_build_examples+set}" = set; then :
18016   enableval=$enable_build_examples;
18017     if test "x${enableval}" = "xyes" ; then
18018        _efl_enable_build_examples="yes"
18019     else
18020        _efl_enable_build_examples="no"
18021     fi
18022
18023 else
18024   _efl_enable_build_examples="no"
18025 fi
18026
18027
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
18029 $as_echo_n "checking whether examples are built... " >&6; }
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
18031 $as_echo "${_efl_enable_build_examples}" >&6; }
18032
18033  if test "x${_efl_enable_build_examples}" = "xyes"; then
18034   EFL_BUILD_EXAMPLES_TRUE=
18035   EFL_BUILD_EXAMPLES_FALSE='#'
18036 else
18037   EFL_BUILD_EXAMPLES_TRUE='#'
18038   EFL_BUILD_EXAMPLES_FALSE=
18039 fi
18040
18041
18042 if test "x$_efl_enable_build_examples" = "xyes"; then :
18043   enable_build_examples="yes"
18044 else
18045   enable_build_examples="no"
18046 fi
18047
18048
18049
18050
18051 # Check whether --enable-install-examples was given.
18052 if test "${enable_install_examples+set}" = set; then :
18053   enableval=$enable_install_examples;
18054     if test "x${enableval}" = "xyes" ; then
18055        _efl_enable_install_examples="yes"
18056     else
18057        _efl_enable_install_examples="no"
18058     fi
18059
18060 else
18061   _efl_enable_install_examples="no"
18062 fi
18063
18064
18065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
18066 $as_echo_n "checking whether examples are installed... " >&6; }
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
18068 $as_echo "${_efl_enable_install_examples}" >&6; }
18069
18070  if test "x${_efl_enable_install_examples}" = "xyes"; then
18071   EFL_INSTALL_EXAMPLES_TRUE=
18072   EFL_INSTALL_EXAMPLES_FALSE='#'
18073 else
18074   EFL_INSTALL_EXAMPLES_TRUE='#'
18075   EFL_INSTALL_EXAMPLES_FALSE=
18076 fi
18077
18078
18079 if test "x$_efl_enable_install_examples" = "xyes"; then :
18080   enable_install_examples="yes"
18081 else
18082   enable_install_examples="no"
18083 fi
18084
18085
18086
18087 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/test_entry/Makefile src/modules/test_map/Makefile src/modules/ctxpopup_copypasteUI/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/illume/Makefile config/slp/Makefile $po_makefile_in"
18088
18089 cat >confcache <<\_ACEOF
18090 # This file is a shell script that caches the results of configure
18091 # tests run on this system so they can be shared between configure
18092 # scripts and configure runs, see configure's option --config-cache.
18093 # It is not useful on other systems.  If it contains results you don't
18094 # want to keep, you may remove or edit it.
18095 #
18096 # config.status only pays attention to the cache file if you give it
18097 # the --recheck option to rerun configure.
18098 #
18099 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18100 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18101 # following values.
18102
18103 _ACEOF
18104
18105 # The following way of writing the cache mishandles newlines in values,
18106 # but we know of no workaround that is simple, portable, and efficient.
18107 # So, we kill variables containing newlines.
18108 # Ultrix sh set writes to stderr and can't be redirected directly,
18109 # and sets the high bit in the cache file unless we assign to the vars.
18110 (
18111   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18112     eval ac_val=\$$ac_var
18113     case $ac_val in #(
18114     *${as_nl}*)
18115       case $ac_var in #(
18116       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18117 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18118       esac
18119       case $ac_var in #(
18120       _ | IFS | as_nl) ;; #(
18121       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18122       *) { eval $ac_var=; unset $ac_var;} ;;
18123       esac ;;
18124     esac
18125   done
18126
18127   (set) 2>&1 |
18128     case $as_nl`(ac_space=' '; set) 2>&1` in #(
18129     *${as_nl}ac_space=\ *)
18130       # `set' does not quote correctly, so add quotes: double-quote
18131       # substitution turns \\\\ into \\, and sed turns \\ into \.
18132       sed -n \
18133         "s/'/'\\\\''/g;
18134           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18135       ;; #(
18136     *)
18137       # `set' quotes correctly as required by POSIX, so do not add quotes.
18138       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18139       ;;
18140     esac |
18141     sort
18142 ) |
18143   sed '
18144      /^ac_cv_env_/b end
18145      t clear
18146      :clear
18147      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18148      t end
18149      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18150      :end' >>confcache
18151 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18152   if test -w "$cache_file"; then
18153     test "x$cache_file" != "x/dev/null" &&
18154       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18155 $as_echo "$as_me: updating cache $cache_file" >&6;}
18156     cat confcache >$cache_file
18157   else
18158     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18159 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18160   fi
18161 fi
18162 rm -f confcache
18163
18164 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18165 # Let make expand exec_prefix.
18166 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18167
18168 DEFS=-DHAVE_CONFIG_H
18169
18170 ac_libobjs=
18171 ac_ltlibobjs=
18172 U=
18173 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18174   # 1. Remove the extension, and $U if already installed.
18175   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18176   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18177   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18178   #    will be set to the directory where LIBOBJS objects are built.
18179   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18180   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18181 done
18182 LIBOBJS=$ac_libobjs
18183
18184 LTLIBOBJS=$ac_ltlibobjs
18185
18186
18187  if test -n "$EXEEXT"; then
18188   am__EXEEXT_TRUE=
18189   am__EXEEXT_FALSE='#'
18190 else
18191   am__EXEEXT_TRUE='#'
18192   am__EXEEXT_FALSE=
18193 fi
18194
18195 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18196   as_fn_error $? "conditional \"AMDEP\" was never defined.
18197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18198 fi
18199 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18200   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18202 fi
18203
18204 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18205   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18207 fi
18208 if test -z "${BUILD_RUN_TRUE}" && test -z "${BUILD_RUN_FALSE}"; then
18209   as_fn_error $? "conditional \"BUILD_RUN\" was never defined.
18210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18211 fi
18212 if test -z "${BUILD_MODULES_TRUE}" && test -z "${BUILD_MODULES_FALSE}"; then
18213   as_fn_error $? "conditional \"BUILD_MODULES\" was never defined.
18214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18215 fi
18216 if test -z "${BUILD_QUICKLAUNCH_TRUE}" && test -z "${BUILD_QUICKLAUNCH_FALSE}"; then
18217   as_fn_error $? "conditional \"BUILD_QUICKLAUNCH\" was never defined.
18218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18219 fi
18220 if test -z "${ELEMENTARY_WINDOWS_BUILD_TRUE}" && test -z "${ELEMENTARY_WINDOWS_BUILD_FALSE}"; then
18221   as_fn_error $? "conditional \"ELEMENTARY_WINDOWS_BUILD\" was never defined.
18222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18223 fi
18224 if test -z "${HAVE_ECORE_IMF_TRUE}" && test -z "${HAVE_ECORE_IMF_FALSE}"; then
18225   as_fn_error $? "conditional \"HAVE_ECORE_IMF\" was never defined.
18226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18227 fi
18228 if test -z "${HAVE_ECORE_CON_TRUE}" && test -z "${HAVE_ECORE_CON_FALSE}"; then
18229   as_fn_error $? "conditional \"HAVE_ECORE_CON\" was never defined.
18230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18231 fi
18232 if test -z "${HAVE_EIO_TRUE}" && test -z "${HAVE_EIO_FALSE}"; then
18233   as_fn_error $? "conditional \"HAVE_EIO\" was never defined.
18234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18235 fi
18236 if test -z "${HAVE_EMOTION_TRUE}" && test -z "${HAVE_EMOTION_FALSE}"; then
18237   as_fn_error $? "conditional \"HAVE_EMOTION\" was never defined.
18238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18239 fi
18240 if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
18241   as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
18242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18243 fi
18244 if test -z "${BUILD_ELEMENTARY_TEST_TRUE}" && test -z "${BUILD_ELEMENTARY_TEST_FALSE}"; then
18245   as_fn_error $? "conditional \"BUILD_ELEMENTARY_TEST\" was never defined.
18246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18247 fi
18248 if test -z "${BUILD_ELEMENTARY_CONFIG_TRUE}" && test -z "${BUILD_ELEMENTARY_CONFIG_FALSE}"; then
18249   as_fn_error $? "conditional \"BUILD_ELEMENTARY_CONFIG\" was never defined.
18250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18251 fi
18252 if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
18253   as_fn_error $? "conditional \"HAVE_PO\" was never defined.
18254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18255 fi
18256 if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
18257   as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
18258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18259 fi
18260 if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
18261   as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
18262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
18263 fi
18264
18265 : ${CONFIG_STATUS=./config.status}
18266 ac_write_fail=0
18267 ac_clean_files_save=$ac_clean_files
18268 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18270 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18271 as_write_fail=0
18272 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18273 #! $SHELL
18274 # Generated by $as_me.
18275 # Run this file to recreate the current configuration.
18276 # Compiler output produced by configure, useful for debugging
18277 # configure, is in config.log if it exists.
18278
18279 debug=false
18280 ac_cs_recheck=false
18281 ac_cs_silent=false
18282
18283 SHELL=\${CONFIG_SHELL-$SHELL}
18284 export SHELL
18285 _ASEOF
18286 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18287 ## -------------------- ##
18288 ## M4sh Initialization. ##
18289 ## -------------------- ##
18290
18291 # Be more Bourne compatible
18292 DUALCASE=1; export DUALCASE # for MKS sh
18293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18294   emulate sh
18295   NULLCMD=:
18296   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18297   # is contrary to our usage.  Disable this feature.
18298   alias -g '${1+"$@"}'='"$@"'
18299   setopt NO_GLOB_SUBST
18300 else
18301   case `(set -o) 2>/dev/null` in #(
18302   *posix*) :
18303     set -o posix ;; #(
18304   *) :
18305      ;;
18306 esac
18307 fi
18308
18309
18310 as_nl='
18311 '
18312 export as_nl
18313 # Printing a long string crashes Solaris 7 /usr/bin/printf.
18314 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18317 # Prefer a ksh shell builtin over an external printf program on Solaris,
18318 # but without wasting forks for bash or zsh.
18319 if test -z "$BASH_VERSION$ZSH_VERSION" \
18320     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18321   as_echo='print -r --'
18322   as_echo_n='print -rn --'
18323 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18324   as_echo='printf %s\n'
18325   as_echo_n='printf %s'
18326 else
18327   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18328     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18329     as_echo_n='/usr/ucb/echo -n'
18330   else
18331     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18332     as_echo_n_body='eval
18333       arg=$1;
18334       case $arg in #(
18335       *"$as_nl"*)
18336         expr "X$arg" : "X\\(.*\\)$as_nl";
18337         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18338       esac;
18339       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18340     '
18341     export as_echo_n_body
18342     as_echo_n='sh -c $as_echo_n_body as_echo'
18343   fi
18344   export as_echo_body
18345   as_echo='sh -c $as_echo_body as_echo'
18346 fi
18347
18348 # The user is always right.
18349 if test "${PATH_SEPARATOR+set}" != set; then
18350   PATH_SEPARATOR=:
18351   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18352     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18353       PATH_SEPARATOR=';'
18354   }
18355 fi
18356
18357
18358 # IFS
18359 # We need space, tab and new line, in precisely that order.  Quoting is
18360 # there to prevent editors from complaining about space-tab.
18361 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
18362 # splitting by setting IFS to empty value.)
18363 IFS=" ""        $as_nl"
18364
18365 # Find who we are.  Look in the path if we contain no directory separator.
18366 case $0 in #((
18367   *[\\/]* ) as_myself=$0 ;;
18368   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18369 for as_dir in $PATH
18370 do
18371   IFS=$as_save_IFS
18372   test -z "$as_dir" && as_dir=.
18373     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18374   done
18375 IFS=$as_save_IFS
18376
18377      ;;
18378 esac
18379 # We did not find ourselves, most probably we were run as `sh COMMAND'
18380 # in which case we are not to be found in the path.
18381 if test "x$as_myself" = x; then
18382   as_myself=$0
18383 fi
18384 if test ! -f "$as_myself"; then
18385   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18386   exit 1
18387 fi
18388
18389 # Unset variables that we do not need and which cause bugs (e.g. in
18390 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18391 # suppresses any "Segmentation fault" message there.  '((' could
18392 # trigger a bug in pdksh 5.2.14.
18393 for as_var in BASH_ENV ENV MAIL MAILPATH
18394 do eval test x\${$as_var+set} = xset \
18395   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18396 done
18397 PS1='$ '
18398 PS2='> '
18399 PS4='+ '
18400
18401 # NLS nuisances.
18402 LC_ALL=C
18403 export LC_ALL
18404 LANGUAGE=C
18405 export LANGUAGE
18406
18407 # CDPATH.
18408 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18409
18410
18411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
18412 # ----------------------------------------
18413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18415 # script with STATUS, using 1 if that was 0.
18416 as_fn_error ()
18417 {
18418   as_status=$1; test $as_status -eq 0 && as_status=1
18419   if test "$4"; then
18420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
18422   fi
18423   $as_echo "$as_me: error: $2" >&2
18424   as_fn_exit $as_status
18425 } # as_fn_error
18426
18427
18428 # as_fn_set_status STATUS
18429 # -----------------------
18430 # Set $? to STATUS, without forking.
18431 as_fn_set_status ()
18432 {
18433   return $1
18434 } # as_fn_set_status
18435
18436 # as_fn_exit STATUS
18437 # -----------------
18438 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18439 as_fn_exit ()
18440 {
18441   set +e
18442   as_fn_set_status $1
18443   exit $1
18444 } # as_fn_exit
18445
18446 # as_fn_unset VAR
18447 # ---------------
18448 # Portably unset VAR.
18449 as_fn_unset ()
18450 {
18451   { eval $1=; unset $1;}
18452 }
18453 as_unset=as_fn_unset
18454 # as_fn_append VAR VALUE
18455 # ----------------------
18456 # Append the text in VALUE to the end of the definition contained in VAR. Take
18457 # advantage of any shell optimizations that allow amortized linear growth over
18458 # repeated appends, instead of the typical quadratic growth present in naive
18459 # implementations.
18460 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18461   eval 'as_fn_append ()
18462   {
18463     eval $1+=\$2
18464   }'
18465 else
18466   as_fn_append ()
18467   {
18468     eval $1=\$$1\$2
18469   }
18470 fi # as_fn_append
18471
18472 # as_fn_arith ARG...
18473 # ------------------
18474 # Perform arithmetic evaluation on the ARGs, and store the result in the
18475 # global $as_val. Take advantage of shells that can avoid forks. The arguments
18476 # must be portable across $(()) and expr.
18477 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18478   eval 'as_fn_arith ()
18479   {
18480     as_val=$(( $* ))
18481   }'
18482 else
18483   as_fn_arith ()
18484   {
18485     as_val=`expr "$@" || test $? -eq 1`
18486   }
18487 fi # as_fn_arith
18488
18489
18490 if expr a : '\(a\)' >/dev/null 2>&1 &&
18491    test "X`expr 00001 : '.*\(...\)'`" = X001; then
18492   as_expr=expr
18493 else
18494   as_expr=false
18495 fi
18496
18497 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18498   as_basename=basename
18499 else
18500   as_basename=false
18501 fi
18502
18503 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18504   as_dirname=dirname
18505 else
18506   as_dirname=false
18507 fi
18508
18509 as_me=`$as_basename -- "$0" ||
18510 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18511          X"$0" : 'X\(//\)$' \| \
18512          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18513 $as_echo X/"$0" |
18514     sed '/^.*\/\([^/][^/]*\)\/*$/{
18515             s//\1/
18516             q
18517           }
18518           /^X\/\(\/\/\)$/{
18519             s//\1/
18520             q
18521           }
18522           /^X\/\(\/\).*/{
18523             s//\1/
18524             q
18525           }
18526           s/.*/./; q'`
18527
18528 # Avoid depending upon Character Ranges.
18529 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18530 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18531 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18532 as_cr_digits='0123456789'
18533 as_cr_alnum=$as_cr_Letters$as_cr_digits
18534
18535 ECHO_C= ECHO_N= ECHO_T=
18536 case `echo -n x` in #(((((
18537 -n*)
18538   case `echo 'xy\c'` in
18539   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
18540   xy)  ECHO_C='\c';;
18541   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
18542        ECHO_T=' ';;
18543   esac;;
18544 *)
18545   ECHO_N='-n';;
18546 esac
18547
18548 rm -f conf$$ conf$$.exe conf$$.file
18549 if test -d conf$$.dir; then
18550   rm -f conf$$.dir/conf$$.file
18551 else
18552   rm -f conf$$.dir
18553   mkdir conf$$.dir 2>/dev/null
18554 fi
18555 if (echo >conf$$.file) 2>/dev/null; then
18556   if ln -s conf$$.file conf$$ 2>/dev/null; then
18557     as_ln_s='ln -s'
18558     # ... but there are two gotchas:
18559     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18560     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18561     # In both cases, we have to default to `cp -p'.
18562     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18563       as_ln_s='cp -p'
18564   elif ln conf$$.file conf$$ 2>/dev/null; then
18565     as_ln_s=ln
18566   else
18567     as_ln_s='cp -p'
18568   fi
18569 else
18570   as_ln_s='cp -p'
18571 fi
18572 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18573 rmdir conf$$.dir 2>/dev/null
18574
18575
18576 # as_fn_mkdir_p
18577 # -------------
18578 # Create "$as_dir" as a directory, including parents if necessary.
18579 as_fn_mkdir_p ()
18580 {
18581
18582   case $as_dir in #(
18583   -*) as_dir=./$as_dir;;
18584   esac
18585   test -d "$as_dir" || eval $as_mkdir_p || {
18586     as_dirs=
18587     while :; do
18588       case $as_dir in #(
18589       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18590       *) as_qdir=$as_dir;;
18591       esac
18592       as_dirs="'$as_qdir' $as_dirs"
18593       as_dir=`$as_dirname -- "$as_dir" ||
18594 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18595          X"$as_dir" : 'X\(//\)[^/]' \| \
18596          X"$as_dir" : 'X\(//\)$' \| \
18597          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18598 $as_echo X"$as_dir" |
18599     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18600             s//\1/
18601             q
18602           }
18603           /^X\(\/\/\)[^/].*/{
18604             s//\1/
18605             q
18606           }
18607           /^X\(\/\/\)$/{
18608             s//\1/
18609             q
18610           }
18611           /^X\(\/\).*/{
18612             s//\1/
18613             q
18614           }
18615           s/.*/./; q'`
18616       test -d "$as_dir" && break
18617     done
18618     test -z "$as_dirs" || eval "mkdir $as_dirs"
18619   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18620
18621
18622 } # as_fn_mkdir_p
18623 if mkdir -p . 2>/dev/null; then
18624   as_mkdir_p='mkdir -p "$as_dir"'
18625 else
18626   test -d ./-p && rmdir ./-p
18627   as_mkdir_p=false
18628 fi
18629
18630 if test -x / >/dev/null 2>&1; then
18631   as_test_x='test -x'
18632 else
18633   if ls -dL / >/dev/null 2>&1; then
18634     as_ls_L_option=L
18635   else
18636     as_ls_L_option=
18637   fi
18638   as_test_x='
18639     eval sh -c '\''
18640       if test -d "$1"; then
18641         test -d "$1/.";
18642       else
18643         case $1 in #(
18644         -*)set "./$1";;
18645         esac;
18646         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18647         ???[sx]*):;;*)false;;esac;fi
18648     '\'' sh
18649   '
18650 fi
18651 as_executable_p=$as_test_x
18652
18653 # Sed expression to map a string onto a valid CPP name.
18654 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18655
18656 # Sed expression to map a string onto a valid variable name.
18657 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18658
18659
18660 exec 6>&1
18661 ## ----------------------------------- ##
18662 ## Main body of $CONFIG_STATUS script. ##
18663 ## ----------------------------------- ##
18664 _ASEOF
18665 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18666
18667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18668 # Save the log message, to keep $0 and so on meaningful, and to
18669 # report actual input values of CONFIG_FILES etc. instead of their
18670 # values after options handling.
18671 ac_log="
18672 This file was extended by elementary $as_me 0.8.0.67547, which was
18673 generated by GNU Autoconf 2.67.  Invocation command line was
18674
18675   CONFIG_FILES    = $CONFIG_FILES
18676   CONFIG_HEADERS  = $CONFIG_HEADERS
18677   CONFIG_LINKS    = $CONFIG_LINKS
18678   CONFIG_COMMANDS = $CONFIG_COMMANDS
18679   $ $0 $@
18680
18681 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18682 "
18683
18684 _ACEOF
18685
18686 case $ac_config_files in *"
18687 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18688 esac
18689
18690 case $ac_config_headers in *"
18691 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18692 esac
18693
18694
18695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18696 # Files that config.status was made for.
18697 config_files="$ac_config_files"
18698 config_headers="$ac_config_headers"
18699 config_commands="$ac_config_commands"
18700
18701 _ACEOF
18702
18703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18704 ac_cs_usage="\
18705 \`$as_me' instantiates files and other configuration actions
18706 from templates according to the current configuration.  Unless the files
18707 and actions are specified as TAGs, all are instantiated by default.
18708
18709 Usage: $0 [OPTION]... [TAG]...
18710
18711   -h, --help       print this help, then exit
18712   -V, --version    print version number and configuration settings, then exit
18713       --config     print configuration, then exit
18714   -q, --quiet, --silent
18715                    do not print progress messages
18716   -d, --debug      don't remove temporary files
18717       --recheck    update $as_me by reconfiguring in the same conditions
18718       --file=FILE[:TEMPLATE]
18719                    instantiate the configuration file FILE
18720       --header=FILE[:TEMPLATE]
18721                    instantiate the configuration header FILE
18722
18723 Configuration files:
18724 $config_files
18725
18726 Configuration headers:
18727 $config_headers
18728
18729 Configuration commands:
18730 $config_commands
18731
18732 Report bugs to <enlightenment-devel@lists.sourceforge.net>."
18733
18734 _ACEOF
18735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18736 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18737 ac_cs_version="\\
18738 elementary config.status 0.8.0.67547
18739 configured by $0, generated by GNU Autoconf 2.67,
18740   with options \\"\$ac_cs_config\\"
18741
18742 Copyright (C) 2010 Free Software Foundation, Inc.
18743 This config.status script is free software; the Free Software Foundation
18744 gives unlimited permission to copy, distribute and modify it."
18745
18746 ac_pwd='$ac_pwd'
18747 srcdir='$srcdir'
18748 INSTALL='$INSTALL'
18749 MKDIR_P='$MKDIR_P'
18750 AWK='$AWK'
18751 test -n "\$AWK" || AWK=awk
18752 _ACEOF
18753
18754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18755 # The default lists apply if the user does not specify any file.
18756 ac_need_defaults=:
18757 while test $# != 0
18758 do
18759   case $1 in
18760   --*=?*)
18761     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18762     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18763     ac_shift=:
18764     ;;
18765   --*=)
18766     ac_option=`expr "X$1" : 'X\([^=]*\)='`
18767     ac_optarg=
18768     ac_shift=:
18769     ;;
18770   *)
18771     ac_option=$1
18772     ac_optarg=$2
18773     ac_shift=shift
18774     ;;
18775   esac
18776
18777   case $ac_option in
18778   # Handling of the options.
18779   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18780     ac_cs_recheck=: ;;
18781   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18782     $as_echo "$ac_cs_version"; exit ;;
18783   --config | --confi | --conf | --con | --co | --c )
18784     $as_echo "$ac_cs_config"; exit ;;
18785   --debug | --debu | --deb | --de | --d | -d )
18786     debug=: ;;
18787   --file | --fil | --fi | --f )
18788     $ac_shift
18789     case $ac_optarg in
18790     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18791     '') as_fn_error $? "missing file argument" ;;
18792     esac
18793     as_fn_append CONFIG_FILES " '$ac_optarg'"
18794     ac_need_defaults=false;;
18795   --header | --heade | --head | --hea )
18796     $ac_shift
18797     case $ac_optarg in
18798     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18799     esac
18800     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18801     ac_need_defaults=false;;
18802   --he | --h)
18803     # Conflict between --help and --header
18804     as_fn_error $? "ambiguous option: \`$1'
18805 Try \`$0 --help' for more information.";;
18806   --help | --hel | -h )
18807     $as_echo "$ac_cs_usage"; exit ;;
18808   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18809   | -silent | --silent | --silen | --sile | --sil | --si | --s)
18810     ac_cs_silent=: ;;
18811
18812   # This is an error.
18813   -*) as_fn_error $? "unrecognized option: \`$1'
18814 Try \`$0 --help' for more information." ;;
18815
18816   *) as_fn_append ac_config_targets " $1"
18817      ac_need_defaults=false ;;
18818
18819   esac
18820   shift
18821 done
18822
18823 ac_configure_extra_args=
18824
18825 if $ac_cs_silent; then
18826   exec 6>/dev/null
18827   ac_configure_extra_args="$ac_configure_extra_args --silent"
18828 fi
18829
18830 _ACEOF
18831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18832 if \$ac_cs_recheck; then
18833   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18834   shift
18835   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18836   CONFIG_SHELL='$SHELL'
18837   export CONFIG_SHELL
18838   exec "\$@"
18839 fi
18840
18841 _ACEOF
18842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18843 exec 5>>config.log
18844 {
18845   echo
18846   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18847 ## Running $as_me. ##
18848 _ASBOX
18849   $as_echo "$ac_log"
18850 } >&5
18851
18852 _ACEOF
18853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18854 #
18855 # INIT-COMMANDS
18856 #
18857 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18858
18859
18860 # The HP-UX ksh and POSIX shell print the target directory to stdout
18861 # if CDPATH is set.
18862 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18863
18864 sed_quote_subst='$sed_quote_subst'
18865 double_quote_subst='$double_quote_subst'
18866 delay_variable_subst='$delay_variable_subst'
18867 AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
18868 DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18869 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18870 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18871 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18872 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18873 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18874 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18875 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18876 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18877 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18878 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18879 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18880 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18881 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18882 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18883 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18884 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18885 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18886 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18887 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18888 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18889 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18890 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18891 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18892 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18893 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18894 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18895 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18896 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18897 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18898 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18899 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18900 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18901 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18902 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18903 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18904 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18905 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18906 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18907 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18908 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18909 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18910 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18911 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18912 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18913 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18914 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18915 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18916 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18917 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18918 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18919 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
18920 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
18921 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
18922 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
18923 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
18924 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
18925 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
18926 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
18927 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
18928 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18929 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
18930 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
18931 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18932 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18933 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
18934 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
18935 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18936 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18937 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
18938 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18939 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18940 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18941 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18942 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18943 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18944 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
18945 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18946 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
18947 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
18948 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
18949 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
18950 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
18951 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
18952 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
18953 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18954 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
18955 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
18956 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
18957 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
18958 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
18959 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18960 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18961 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
18962 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18963 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
18964 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
18965 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18966 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
18967 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
18968 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18969 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
18970 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
18971 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18972 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
18973 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
18974 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18975 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18976 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18977 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
18978 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
18979 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18980 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
18981 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
18982 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
18983 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
18984 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
18985 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
18986 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
18987
18988 LTCC='$LTCC'
18989 LTCFLAGS='$LTCFLAGS'
18990 compiler='$compiler_DEFAULT'
18991
18992 # Quote evaled strings.
18993 for var in SED \
18994 GREP \
18995 EGREP \
18996 FGREP \
18997 LD \
18998 NM \
18999 LN_S \
19000 lt_SP2NL \
19001 lt_NL2SP \
19002 reload_flag \
19003 deplibs_check_method \
19004 file_magic_cmd \
19005 AR \
19006 AR_FLAGS \
19007 STRIP \
19008 RANLIB \
19009 CC \
19010 CFLAGS \
19011 compiler \
19012 lt_cv_sys_global_symbol_pipe \
19013 lt_cv_sys_global_symbol_to_cdecl \
19014 lt_cv_sys_global_symbol_to_c_name_address \
19015 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19016 SHELL \
19017 ECHO \
19018 lt_prog_compiler_no_builtin_flag \
19019 lt_prog_compiler_wl \
19020 lt_prog_compiler_pic \
19021 lt_prog_compiler_static \
19022 lt_cv_prog_compiler_c_o \
19023 need_locks \
19024 DSYMUTIL \
19025 NMEDIT \
19026 LIPO \
19027 OTOOL \
19028 OTOOL64 \
19029 shrext_cmds \
19030 export_dynamic_flag_spec \
19031 whole_archive_flag_spec \
19032 compiler_needs_object \
19033 with_gnu_ld \
19034 allow_undefined_flag \
19035 no_undefined_flag \
19036 hardcode_libdir_flag_spec \
19037 hardcode_libdir_flag_spec_ld \
19038 hardcode_libdir_separator \
19039 fix_srcfile_path \
19040 exclude_expsyms \
19041 include_expsyms \
19042 file_list_spec \
19043 variables_saved_for_relink \
19044 libname_spec \
19045 library_names_spec \
19046 soname_spec \
19047 finish_eval \
19048 old_striplib \
19049 striplib; do
19050     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19051     *[\\\\\\\`\\"\\\$]*)
19052       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19053       ;;
19054     *)
19055       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19056       ;;
19057     esac
19058 done
19059
19060 # Double-quote double-evaled strings.
19061 for var in reload_cmds \
19062 old_postinstall_cmds \
19063 old_postuninstall_cmds \
19064 old_archive_cmds \
19065 extract_expsyms_cmds \
19066 old_archive_from_new_cmds \
19067 old_archive_from_expsyms_cmds \
19068 archive_cmds \
19069 archive_expsym_cmds \
19070 module_cmds \
19071 module_expsym_cmds \
19072 export_symbols_cmds \
19073 prelink_cmds \
19074 postinstall_cmds \
19075 postuninstall_cmds \
19076 finish_cmds \
19077 sys_lib_search_path_spec \
19078 sys_lib_dlsearch_path_spec; do
19079     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19080     *[\\\\\\\`\\"\\\$]*)
19081       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19082       ;;
19083     *)
19084       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19085       ;;
19086     esac
19087 done
19088
19089 # Fix-up fallback echo if it was mangled by the above quoting rules.
19090 case \$lt_ECHO in
19091 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19092   ;;
19093 esac
19094
19095 ac_aux_dir='$ac_aux_dir'
19096 xsi_shell='$xsi_shell'
19097 lt_shell_append='$lt_shell_append'
19098
19099 # See if we are running on zsh, and set the options which allow our
19100 # commands through without removal of \ escapes INIT.
19101 if test -n "\${ZSH_VERSION+set}" ; then
19102    setopt NO_GLOB_SUBST
19103 fi
19104
19105
19106     PACKAGE='$PACKAGE'
19107     VERSION='$VERSION'
19108     TIMESTAMP='$TIMESTAMP'
19109     RM='$RM'
19110     ofile='$ofile'
19111
19112
19113
19114 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
19115     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
19116     # from automake < 1.5.
19117     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
19118     # Capture the value of LINGUAS because we need it to compute CATALOGS.
19119     LINGUAS="${LINGUAS-%UNSET%}"
19120
19121
19122 _ACEOF
19123
19124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19125
19126 # Handling of arguments.
19127 for ac_config_target in $ac_config_targets
19128 do
19129   case $ac_config_target in
19130     "elementary_config.h") CONFIG_HEADERS="$CONFIG_HEADERS elementary_config.h" ;;
19131     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19132     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19133     "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
19134     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19135     "elementary.spec") CONFIG_FILES="$CONFIG_FILES elementary.spec" ;;
19136     "elementary.pc") CONFIG_FILES="$CONFIG_FILES elementary.pc" ;;
19137     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
19138     "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
19139     "doc/widgets/Makefile") CONFIG_FILES="$CONFIG_FILES doc/widgets/Makefile" ;;
19140     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
19141     "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
19142     "src/lib/Elementary.h") CONFIG_FILES="$CONFIG_FILES src/lib/Elementary.h" ;;
19143     "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
19144     "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
19145     "src/modules/access_output/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/access_output/Makefile" ;;
19146     "src/modules/test_entry/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_entry/Makefile" ;;
19147     "src/modules/test_map/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/test_map/Makefile" ;;
19148     "src/modules/ctxpopup_copypasteUI/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/ctxpopup_copypasteUI/Makefile" ;;
19149     "src/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES src/edje_externals/Makefile" ;;
19150     "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
19151     "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
19152     "data/themes/Makefile") CONFIG_FILES="$CONFIG_FILES data/themes/Makefile" ;;
19153     "data/images/Makefile") CONFIG_FILES="$CONFIG_FILES data/images/Makefile" ;;
19154     "data/objects/Makefile") CONFIG_FILES="$CONFIG_FILES data/objects/Makefile" ;;
19155     "data/desktop/Makefile") CONFIG_FILES="$CONFIG_FILES data/desktop/Makefile" ;;
19156     "data/edje_externals/Makefile") CONFIG_FILES="$CONFIG_FILES data/edje_externals/Makefile" ;;
19157     "config/Makefile") CONFIG_FILES="$CONFIG_FILES config/Makefile" ;;
19158     "config/default/Makefile") CONFIG_FILES="$CONFIG_FILES config/default/Makefile" ;;
19159     "config/standard/Makefile") CONFIG_FILES="$CONFIG_FILES config/standard/Makefile" ;;
19160     "config/illume/Makefile") CONFIG_FILES="$CONFIG_FILES config/illume/Makefile" ;;
19161     "config/slp/Makefile") CONFIG_FILES="$CONFIG_FILES config/slp/Makefile" ;;
19162     "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
19163
19164   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
19165   esac
19166 done
19167
19168
19169 # If the user did not use the arguments to specify the items to instantiate,
19170 # then the envvar interface is used.  Set only those that are not.
19171 # We use the long form for the default assignment because of an extremely
19172 # bizarre bug on SunOS 4.1.3.
19173 if $ac_need_defaults; then
19174   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19175   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19176   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19177 fi
19178
19179 # Have a temporary directory for convenience.  Make it in the build tree
19180 # simply because there is no reason against having it here, and in addition,
19181 # creating and moving files from /tmp can sometimes cause problems.
19182 # Hook for its removal unless debugging.
19183 # Note that there is a small window in which the directory will not be cleaned:
19184 # after its creation but before its name has been assigned to `$tmp'.
19185 $debug ||
19186 {
19187   tmp=
19188   trap 'exit_status=$?
19189   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19190 ' 0
19191   trap 'as_fn_exit 1' 1 2 13 15
19192 }
19193 # Create a (secure) tmp directory for tmp files.
19194
19195 {
19196   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19197   test -n "$tmp" && test -d "$tmp"
19198 }  ||
19199 {
19200   tmp=./conf$$-$RANDOM
19201   (umask 077 && mkdir "$tmp")
19202 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19203
19204 # Set up the scripts for CONFIG_FILES section.
19205 # No need to generate them if there are no CONFIG_FILES.
19206 # This happens for instance with `./config.status config.h'.
19207 if test -n "$CONFIG_FILES"; then
19208
19209
19210 ac_cr=`echo X | tr X '\015'`
19211 # On cygwin, bash can eat \r inside `` if the user requested igncr.
19212 # But we know of no other shell where ac_cr would be empty at this
19213 # point, so we can use a bashism as a fallback.
19214 if test "x$ac_cr" = x; then
19215   eval ac_cr=\$\'\\r\'
19216 fi
19217 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19218 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19219   ac_cs_awk_cr='\\r'
19220 else
19221   ac_cs_awk_cr=$ac_cr
19222 fi
19223
19224 echo 'BEGIN {' >"$tmp/subs1.awk" &&
19225 _ACEOF
19226
19227
19228 {
19229   echo "cat >conf$$subs.awk <<_ACEOF" &&
19230   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19231   echo "_ACEOF"
19232 } >conf$$subs.sh ||
19233   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19234 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19235 ac_delim='%!_!# '
19236 for ac_last_try in false false false false false :; do
19237   . ./conf$$subs.sh ||
19238     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19239
19240   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19241   if test $ac_delim_n = $ac_delim_num; then
19242     break
19243   elif $ac_last_try; then
19244     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19245   else
19246     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19247   fi
19248 done
19249 rm -f conf$$subs.sh
19250
19251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19252 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
19253 _ACEOF
19254 sed -n '
19255 h
19256 s/^/S["/; s/!.*/"]=/
19257 p
19258 g
19259 s/^[^!]*!//
19260 :repl
19261 t repl
19262 s/'"$ac_delim"'$//
19263 t delim
19264 :nl
19265 h
19266 s/\(.\{148\}\)..*/\1/
19267 t more1
19268 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19269 p
19270 n
19271 b repl
19272 :more1
19273 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19274 p
19275 g
19276 s/.\{148\}//
19277 t nl
19278 :delim
19279 h
19280 s/\(.\{148\}\)..*/\1/
19281 t more2
19282 s/["\\]/\\&/g; s/^/"/; s/$/"/
19283 p
19284 b
19285 :more2
19286 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19287 p
19288 g
19289 s/.\{148\}//
19290 t delim
19291 ' <conf$$subs.awk | sed '
19292 /^[^""]/{
19293   N
19294   s/\n//
19295 }
19296 ' >>$CONFIG_STATUS || ac_write_fail=1
19297 rm -f conf$$subs.awk
19298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19299 _ACAWK
19300 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
19301   for (key in S) S_is_set[key] = 1
19302   FS = "\a"
19303
19304 }
19305 {
19306   line = $ 0
19307   nfields = split(line, field, "@")
19308   substed = 0
19309   len = length(field[1])
19310   for (i = 2; i < nfields; i++) {
19311     key = field[i]
19312     keylen = length(key)
19313     if (S_is_set[key]) {
19314       value = S[key]
19315       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19316       len += length(value) + length(field[++i])
19317       substed = 1
19318     } else
19319       len += 1 + keylen
19320   }
19321
19322   print line
19323 }
19324
19325 _ACAWK
19326 _ACEOF
19327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19328 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19329   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19330 else
19331   cat
19332 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19333   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19334 _ACEOF
19335
19336 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
19337 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
19338 # trailing colons and then remove the whole line if VPATH becomes empty
19339 # (actually we leave an empty line to preserve line numbers).
19340 if test "x$srcdir" = x.; then
19341   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
19342 h
19343 s///
19344 s/^/:/
19345 s/[      ]*$/:/
19346 s/:\$(srcdir):/:/g
19347 s/:\${srcdir}:/:/g
19348 s/:@srcdir@:/:/g
19349 s/^:*//
19350 s/:*$//
19351 x
19352 s/\(=[   ]*\).*/\1/
19353 G
19354 s/\n//
19355 s/^[^=]*=[       ]*$//
19356 }'
19357 fi
19358
19359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19360 fi # test -n "$CONFIG_FILES"
19361
19362 # Set up the scripts for CONFIG_HEADERS section.
19363 # No need to generate them if there are no CONFIG_HEADERS.
19364 # This happens for instance with `./config.status Makefile'.
19365 if test -n "$CONFIG_HEADERS"; then
19366 cat >"$tmp/defines.awk" <<\_ACAWK ||
19367 BEGIN {
19368 _ACEOF
19369
19370 # Transform confdefs.h into an awk script `defines.awk', embedded as
19371 # here-document in config.status, that substitutes the proper values into
19372 # config.h.in to produce config.h.
19373
19374 # Create a delimiter string that does not exist in confdefs.h, to ease
19375 # handling of long lines.
19376 ac_delim='%!_!# '
19377 for ac_last_try in false false :; do
19378   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19379   if test -z "$ac_t"; then
19380     break
19381   elif $ac_last_try; then
19382     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19383   else
19384     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19385   fi
19386 done
19387
19388 # For the awk script, D is an array of macro values keyed by name,
19389 # likewise P contains macro parameters if any.  Preserve backslash
19390 # newline sequences.
19391
19392 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19393 sed -n '
19394 s/.\{148\}/&'"$ac_delim"'/g
19395 t rset
19396 :rset
19397 s/^[     ]*#[    ]*define[       ][      ]*/ /
19398 t def
19399 d
19400 :def
19401 s/\\$//
19402 t bsnl
19403 s/["\\]/\\&/g
19404 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19405 D["\1"]=" \3"/p
19406 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
19407 d
19408 :bsnl
19409 s/["\\]/\\&/g
19410 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
19411 D["\1"]=" \3\\\\\\n"\\/p
19412 t cont
19413 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19414 t cont
19415 d
19416 :cont
19417 n
19418 s/.\{148\}/&'"$ac_delim"'/g
19419 t clear
19420 :clear
19421 s/\\$//
19422 t bsnlc
19423 s/["\\]/\\&/g; s/^/"/; s/$/"/p
19424 d
19425 :bsnlc
19426 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19427 b cont
19428 ' <confdefs.h | sed '
19429 s/'"$ac_delim"'/"\\\
19430 "/g' >>$CONFIG_STATUS || ac_write_fail=1
19431
19432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19433   for (key in D) D_is_set[key] = 1
19434   FS = "\a"
19435 }
19436 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19437   line = \$ 0
19438   split(line, arg, " ")
19439   if (arg[1] == "#") {
19440     defundef = arg[2]
19441     mac1 = arg[3]
19442   } else {
19443     defundef = substr(arg[1], 2)
19444     mac1 = arg[2]
19445   }
19446   split(mac1, mac2, "(") #)
19447   macro = mac2[1]
19448   prefix = substr(line, 1, index(line, defundef) - 1)
19449   if (D_is_set[macro]) {
19450     # Preserve the white space surrounding the "#".
19451     print prefix "define", macro P[macro] D[macro]
19452     next
19453   } else {
19454     # Replace #undef with comments.  This is necessary, for example,
19455     # in the case of _POSIX_SOURCE, which is predefined and required
19456     # on some systems where configure will not decide to define it.
19457     if (defundef == "undef") {
19458       print "/*", prefix defundef, macro, "*/"
19459       next
19460     }
19461   }
19462 }
19463 { print }
19464 _ACAWK
19465 _ACEOF
19466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19467   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
19468 fi # test -n "$CONFIG_HEADERS"
19469
19470
19471 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
19472 shift
19473 for ac_tag
19474 do
19475   case $ac_tag in
19476   :[FHLC]) ac_mode=$ac_tag; continue;;
19477   esac
19478   case $ac_mode$ac_tag in
19479   :[FHL]*:*);;
19480   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
19481   :[FH]-) ac_tag=-:-;;
19482   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19483   esac
19484   ac_save_IFS=$IFS
19485   IFS=:
19486   set x $ac_tag
19487   IFS=$ac_save_IFS
19488   shift
19489   ac_file=$1
19490   shift
19491
19492   case $ac_mode in
19493   :L) ac_source=$1;;
19494   :[FH])
19495     ac_file_inputs=
19496     for ac_f
19497     do
19498       case $ac_f in
19499       -) ac_f="$tmp/stdin";;
19500       *) # Look for the file first in the build tree, then in the source tree
19501          # (if the path is not absolute).  The absolute path cannot be DOS-style,
19502          # because $ac_f cannot contain `:'.
19503          test -f "$ac_f" ||
19504            case $ac_f in
19505            [\\/$]*) false;;
19506            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19507            esac ||
19508            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
19509       esac
19510       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19511       as_fn_append ac_file_inputs " '$ac_f'"
19512     done
19513
19514     # Let's still pretend it is `configure' which instantiates (i.e., don't
19515     # use $as_me), people would be surprised to read:
19516     #    /* config.h.  Generated by config.status.  */
19517     configure_input='Generated from '`
19518           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19519         `' by configure.'
19520     if test x"$ac_file" != x-; then
19521       configure_input="$ac_file.  $configure_input"
19522       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19523 $as_echo "$as_me: creating $ac_file" >&6;}
19524     fi
19525     # Neutralize special characters interpreted by sed in replacement strings.
19526     case $configure_input in #(
19527     *\&* | *\|* | *\\* )
19528        ac_sed_conf_input=`$as_echo "$configure_input" |
19529        sed 's/[\\\\&|]/\\\\&/g'`;; #(
19530     *) ac_sed_conf_input=$configure_input;;
19531     esac
19532
19533     case $ac_tag in
19534     *:-:* | *:-) cat >"$tmp/stdin" \
19535       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
19536     esac
19537     ;;
19538   esac
19539
19540   ac_dir=`$as_dirname -- "$ac_file" ||
19541 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19542          X"$ac_file" : 'X\(//\)[^/]' \| \
19543          X"$ac_file" : 'X\(//\)$' \| \
19544          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19545 $as_echo X"$ac_file" |
19546     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19547             s//\1/
19548             q
19549           }
19550           /^X\(\/\/\)[^/].*/{
19551             s//\1/
19552             q
19553           }
19554           /^X\(\/\/\)$/{
19555             s//\1/
19556             q
19557           }
19558           /^X\(\/\).*/{
19559             s//\1/
19560             q
19561           }
19562           s/.*/./; q'`
19563   as_dir="$ac_dir"; as_fn_mkdir_p
19564   ac_builddir=.
19565
19566 case "$ac_dir" in
19567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19568 *)
19569   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19570   # A ".." for each directory in $ac_dir_suffix.
19571   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19572   case $ac_top_builddir_sub in
19573   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19574   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19575   esac ;;
19576 esac
19577 ac_abs_top_builddir=$ac_pwd
19578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
19579 # for backward compatibility:
19580 ac_top_builddir=$ac_top_build_prefix
19581
19582 case $srcdir in
19583   .)  # We are building in place.
19584     ac_srcdir=.
19585     ac_top_srcdir=$ac_top_builddir_sub
19586     ac_abs_top_srcdir=$ac_pwd ;;
19587   [\\/]* | ?:[\\/]* )  # Absolute name.
19588     ac_srcdir=$srcdir$ac_dir_suffix;
19589     ac_top_srcdir=$srcdir
19590     ac_abs_top_srcdir=$srcdir ;;
19591   *) # Relative name.
19592     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19593     ac_top_srcdir=$ac_top_build_prefix$srcdir
19594     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19595 esac
19596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19597
19598
19599   case $ac_mode in
19600   :F)
19601   #
19602   # CONFIG_FILE
19603   #
19604
19605   case $INSTALL in
19606   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19607   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19608   esac
19609   ac_MKDIR_P=$MKDIR_P
19610   case $MKDIR_P in
19611   [\\/$]* | ?:[\\/]* ) ;;
19612   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19613   esac
19614 _ACEOF
19615
19616 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19617 # If the template does not know about datarootdir, expand it.
19618 # FIXME: This hack should be removed a few years after 2.60.
19619 ac_datarootdir_hack=; ac_datarootdir_seen=
19620 ac_sed_dataroot='
19621 /datarootdir/ {
19622   p
19623   q
19624 }
19625 /@datadir@/p
19626 /@docdir@/p
19627 /@infodir@/p
19628 /@localedir@/p
19629 /@mandir@/p'
19630 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19631 *datarootdir*) ac_datarootdir_seen=yes;;
19632 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19633   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19634 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19635 _ACEOF
19636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19637   ac_datarootdir_hack='
19638   s&@datadir@&$datadir&g
19639   s&@docdir@&$docdir&g
19640   s&@infodir@&$infodir&g
19641   s&@localedir@&$localedir&g
19642   s&@mandir@&$mandir&g
19643   s&\\\${datarootdir}&$datarootdir&g' ;;
19644 esac
19645 _ACEOF
19646
19647 # Neutralize VPATH when `$srcdir' = `.'.
19648 # Shell code in configure.ac might set extrasub.
19649 # FIXME: do we really want to maintain this feature?
19650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19651 ac_sed_extra="$ac_vpsub
19652 $extrasub
19653 _ACEOF
19654 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19655 :t
19656 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19657 s|@configure_input@|$ac_sed_conf_input|;t t
19658 s&@top_builddir@&$ac_top_builddir_sub&;t t
19659 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19660 s&@srcdir@&$ac_srcdir&;t t
19661 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19662 s&@top_srcdir@&$ac_top_srcdir&;t t
19663 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19664 s&@builddir@&$ac_builddir&;t t
19665 s&@abs_builddir@&$ac_abs_builddir&;t t
19666 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19667 s&@INSTALL@&$ac_INSTALL&;t t
19668 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19669 $ac_datarootdir_hack
19670 "
19671 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19672   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19673
19674 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19675   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19676   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19677   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19678 which seems to be undefined.  Please make sure it is defined" >&5
19679 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19680 which seems to be undefined.  Please make sure it is defined" >&2;}
19681
19682   rm -f "$tmp/stdin"
19683   case $ac_file in
19684   -) cat "$tmp/out" && rm -f "$tmp/out";;
19685   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19686   esac \
19687   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19688  ;;
19689   :H)
19690   #
19691   # CONFIG_HEADER
19692   #
19693   if test x"$ac_file" != x-; then
19694     {
19695       $as_echo "/* $configure_input  */" \
19696       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19697     } >"$tmp/config.h" \
19698       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19699     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19700       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19701 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19702     else
19703       rm -f "$ac_file"
19704       mv "$tmp/config.h" "$ac_file" \
19705         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19706     fi
19707   else
19708     $as_echo "/* $configure_input  */" \
19709       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19710       || as_fn_error $? "could not create -" "$LINENO" 5
19711   fi
19712 # Compute "$ac_file"'s index in $config_headers.
19713 _am_arg="$ac_file"
19714 _am_stamp_count=1
19715 for _am_header in $config_headers :; do
19716   case $_am_header in
19717     $_am_arg | $_am_arg:* )
19718       break ;;
19719     * )
19720       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19721   esac
19722 done
19723 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19724 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19725          X"$_am_arg" : 'X\(//\)[^/]' \| \
19726          X"$_am_arg" : 'X\(//\)$' \| \
19727          X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19728 $as_echo X"$_am_arg" |
19729     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19730             s//\1/
19731             q
19732           }
19733           /^X\(\/\/\)[^/].*/{
19734             s//\1/
19735             q
19736           }
19737           /^X\(\/\/\)$/{
19738             s//\1/
19739             q
19740           }
19741           /^X\(\/\).*/{
19742             s//\1/
19743             q
19744           }
19745           s/.*/./; q'`/stamp-h$_am_stamp_count
19746  ;;
19747
19748   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19749 $as_echo "$as_me: executing $ac_file commands" >&6;}
19750  ;;
19751   esac
19752
19753
19754   case $ac_file$ac_mode in
19755     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19756   # Autoconf 2.62 quotes --file arguments for eval, but not when files
19757   # are listed without --file.  Let's play safe and only enable the eval
19758   # if we detect the quoting.
19759   case $CONFIG_FILES in
19760   *\'*) eval set x "$CONFIG_FILES" ;;
19761   *)   set x $CONFIG_FILES ;;
19762   esac
19763   shift
19764   for mf
19765   do
19766     # Strip MF so we end up with the name of the file.
19767     mf=`echo "$mf" | sed -e 's/:.*$//'`
19768     # Check whether this is an Automake generated Makefile or not.
19769     # We used to match only the files named `Makefile.in', but
19770     # some people rename them; so instead we look at the file content.
19771     # Grep'ing the first line is not enough: some people post-process
19772     # each Makefile.in and add a new line on top of each file to say so.
19773     # Grep'ing the whole file is not good either: AIX grep has a line
19774     # limit of 2048, but all sed's we know have understand at least 4000.
19775     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19776       dirpart=`$as_dirname -- "$mf" ||
19777 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19778          X"$mf" : 'X\(//\)[^/]' \| \
19779          X"$mf" : 'X\(//\)$' \| \
19780          X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19781 $as_echo X"$mf" |
19782     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19783             s//\1/
19784             q
19785           }
19786           /^X\(\/\/\)[^/].*/{
19787             s//\1/
19788             q
19789           }
19790           /^X\(\/\/\)$/{
19791             s//\1/
19792             q
19793           }
19794           /^X\(\/\).*/{
19795             s//\1/
19796             q
19797           }
19798           s/.*/./; q'`
19799     else
19800       continue
19801     fi
19802     # Extract the definition of DEPDIR, am__include, and am__quote
19803     # from the Makefile without running `make'.
19804     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19805     test -z "$DEPDIR" && continue
19806     am__include=`sed -n 's/^am__include = //p' < "$mf"`
19807     test -z "am__include" && continue
19808     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19809     # When using ansi2knr, U may be empty or an underscore; expand it
19810     U=`sed -n 's/^U = //p' < "$mf"`
19811     # Find all dependency output files, they are included files with
19812     # $(DEPDIR) in their names.  We invoke sed twice because it is the
19813     # simplest approach to changing $(DEPDIR) to its actual value in the
19814     # expansion.
19815     for file in `sed -n "
19816       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19817          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19818       # Make sure the directory exists.
19819       test -f "$dirpart/$file" && continue
19820       fdir=`$as_dirname -- "$file" ||
19821 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19822          X"$file" : 'X\(//\)[^/]' \| \
19823          X"$file" : 'X\(//\)$' \| \
19824          X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19825 $as_echo X"$file" |
19826     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19827             s//\1/
19828             q
19829           }
19830           /^X\(\/\/\)[^/].*/{
19831             s//\1/
19832             q
19833           }
19834           /^X\(\/\/\)$/{
19835             s//\1/
19836             q
19837           }
19838           /^X\(\/\).*/{
19839             s//\1/
19840             q
19841           }
19842           s/.*/./; q'`
19843       as_dir=$dirpart/$fdir; as_fn_mkdir_p
19844       # echo "creating $dirpart/$file"
19845       echo '# dummy' > "$dirpart/$file"
19846     done
19847   done
19848 }
19849  ;;
19850     "libtool":C)
19851
19852     # See if we are running on zsh, and set the options which allow our
19853     # commands through without removal of \ escapes.
19854     if test -n "${ZSH_VERSION+set}" ; then
19855       setopt NO_GLOB_SUBST
19856     fi
19857
19858     cfgfile="${ofile}T"
19859     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19860     $RM "$cfgfile"
19861
19862     cat <<_LT_EOF >> "$cfgfile"
19863 #! $SHELL
19864
19865 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19866 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19867 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19868 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19869 #
19870 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19871 #                 2006, 2007, 2008 Free Software Foundation, Inc.
19872 #   Written by Gordon Matzigkeit, 1996
19873 #
19874 #   This file is part of GNU Libtool.
19875 #
19876 # GNU Libtool is free software; you can redistribute it and/or
19877 # modify it under the terms of the GNU General Public License as
19878 # published by the Free Software Foundation; either version 2 of
19879 # the License, or (at your option) any later version.
19880 #
19881 # As a special exception to the GNU General Public License,
19882 # if you distribute this file as part of a program or library that
19883 # is built using GNU Libtool, you may include this file under the
19884 # same distribution terms that you use for the rest of that program.
19885 #
19886 # GNU Libtool is distributed in the hope that it will be useful,
19887 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19888 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19889 # GNU General Public License for more details.
19890 #
19891 # You should have received a copy of the GNU General Public License
19892 # along with GNU Libtool; see the file COPYING.  If not, a copy
19893 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19894 # obtained by writing to the Free Software Foundation, Inc.,
19895 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19896
19897
19898 # The names of the tagged configurations supported by this script.
19899 available_tags=""
19900
19901 # ### BEGIN LIBTOOL CONFIG
19902
19903 # Assembler program.
19904 AS=$AS
19905
19906 # DLL creation program.
19907 DLLTOOL=$DLLTOOL
19908
19909 # Object dumper program.
19910 OBJDUMP=$OBJDUMP
19911
19912 # Which release of libtool.m4 was used?
19913 macro_version=$macro_version
19914 macro_revision=$macro_revision
19915
19916 # Whether or not to build shared libraries.
19917 build_libtool_libs=$enable_shared
19918
19919 # Whether or not to build static libraries.
19920 build_old_libs=$enable_static
19921
19922 # What type of objects to build.
19923 pic_mode=$pic_mode
19924
19925 # Whether or not to optimize for fast installation.
19926 fast_install=$enable_fast_install
19927
19928 # The host system.
19929 host_alias=$host_alias
19930 host=$host
19931 host_os=$host_os
19932
19933 # The build system.
19934 build_alias=$build_alias
19935 build=$build
19936 build_os=$build_os
19937
19938 # A sed program that does not truncate output.
19939 SED=$lt_SED
19940
19941 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19942 Xsed="\$SED -e 1s/^X//"
19943
19944 # A grep program that handles long lines.
19945 GREP=$lt_GREP
19946
19947 # An ERE matcher.
19948 EGREP=$lt_EGREP
19949
19950 # A literal string matcher.
19951 FGREP=$lt_FGREP
19952
19953 # A BSD- or MS-compatible name lister.
19954 NM=$lt_NM
19955
19956 # Whether we need soft or hard links.
19957 LN_S=$lt_LN_S
19958
19959 # What is the maximum length of a command?
19960 max_cmd_len=$max_cmd_len
19961
19962 # Object file suffix (normally "o").
19963 objext=$ac_objext
19964
19965 # Executable file suffix (normally "").
19966 exeext=$exeext
19967
19968 # whether the shell understands "unset".
19969 lt_unset=$lt_unset
19970
19971 # turn spaces into newlines.
19972 SP2NL=$lt_lt_SP2NL
19973
19974 # turn newlines into spaces.
19975 NL2SP=$lt_lt_NL2SP
19976
19977 # How to create reloadable object files.
19978 reload_flag=$lt_reload_flag
19979 reload_cmds=$lt_reload_cmds
19980
19981 # Method to check whether dependent libraries are shared objects.
19982 deplibs_check_method=$lt_deplibs_check_method
19983
19984 # Command to use when deplibs_check_method == "file_magic".
19985 file_magic_cmd=$lt_file_magic_cmd
19986
19987 # The archiver.
19988 AR=$lt_AR
19989 AR_FLAGS=$lt_AR_FLAGS
19990
19991 # A symbol stripping program.
19992 STRIP=$lt_STRIP
19993
19994 # Commands used to install an old-style archive.
19995 RANLIB=$lt_RANLIB
19996 old_postinstall_cmds=$lt_old_postinstall_cmds
19997 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19998
19999 # A C compiler.
20000 LTCC=$lt_CC
20001
20002 # LTCC compiler flags.
20003 LTCFLAGS=$lt_CFLAGS
20004
20005 # Take the output of nm and produce a listing of raw symbols and C names.
20006 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20007
20008 # Transform the output of nm in a proper C declaration.
20009 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20010
20011 # Transform the output of nm in a C name address pair.
20012 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20013
20014 # Transform the output of nm in a C name address pair when lib prefix is needed.
20015 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20016
20017 # The name of the directory that contains temporary libtool files.
20018 objdir=$objdir
20019
20020 # Shell to use when invoking shell scripts.
20021 SHELL=$lt_SHELL
20022
20023 # An echo program that does not interpret backslashes.
20024 ECHO=$lt_ECHO
20025
20026 # Used to examine libraries when file_magic_cmd begins with "file".
20027 MAGIC_CMD=$MAGIC_CMD
20028
20029 # Must we lock files when doing compilation?
20030 need_locks=$lt_need_locks
20031
20032 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20033 DSYMUTIL=$lt_DSYMUTIL
20034
20035 # Tool to change global to local symbols on Mac OS X.
20036 NMEDIT=$lt_NMEDIT
20037
20038 # Tool to manipulate fat objects and archives on Mac OS X.
20039 LIPO=$lt_LIPO
20040
20041 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
20042 OTOOL=$lt_OTOOL
20043
20044 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20045 OTOOL64=$lt_OTOOL64
20046
20047 # Old archive suffix (normally "a").
20048 libext=$libext
20049
20050 # Shared library suffix (normally ".so").
20051 shrext_cmds=$lt_shrext_cmds
20052
20053 # The commands to extract the exported symbol list from a shared archive.
20054 extract_expsyms_cmds=$lt_extract_expsyms_cmds
20055
20056 # Variables whose values should be saved in libtool wrapper scripts and
20057 # restored at link time.
20058 variables_saved_for_relink=$lt_variables_saved_for_relink
20059
20060 # Do we need the "lib" prefix for modules?
20061 need_lib_prefix=$need_lib_prefix
20062
20063 # Do we need a version for libraries?
20064 need_version=$need_version
20065
20066 # Library versioning type.
20067 version_type=$version_type
20068
20069 # Shared library runtime path variable.
20070 runpath_var=$runpath_var
20071
20072 # Shared library path variable.
20073 shlibpath_var=$shlibpath_var
20074
20075 # Is shlibpath searched before the hard-coded library search path?
20076 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20077
20078 # Format of library name prefix.
20079 libname_spec=$lt_libname_spec
20080
20081 # List of archive names.  First name is the real one, the rest are links.
20082 # The last name is the one that the linker finds with -lNAME
20083 library_names_spec=$lt_library_names_spec
20084
20085 # The coded name of the library, if different from the real name.
20086 soname_spec=$lt_soname_spec
20087
20088 # Command to use after installation of a shared archive.
20089 postinstall_cmds=$lt_postinstall_cmds
20090
20091 # Command to use after uninstallation of a shared archive.
20092 postuninstall_cmds=$lt_postuninstall_cmds
20093
20094 # Commands used to finish a libtool library installation in a directory.
20095 finish_cmds=$lt_finish_cmds
20096
20097 # As "finish_cmds", except a single script fragment to be evaled but
20098 # not shown.
20099 finish_eval=$lt_finish_eval
20100
20101 # Whether we should hardcode library paths into libraries.
20102 hardcode_into_libs=$hardcode_into_libs
20103
20104 # Compile-time system search path for libraries.
20105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20106
20107 # Run-time system search path for libraries.
20108 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20109
20110 # Whether dlopen is supported.
20111 dlopen_support=$enable_dlopen
20112
20113 # Whether dlopen of programs is supported.
20114 dlopen_self=$enable_dlopen_self
20115
20116 # Whether dlopen of statically linked programs is supported.
20117 dlopen_self_static=$enable_dlopen_self_static
20118
20119 # Commands to strip libraries.
20120 old_striplib=$lt_old_striplib
20121 striplib=$lt_striplib
20122
20123
20124 # The linker used to build libraries.
20125 LD=$lt_LD
20126
20127 # Commands used to build an old-style archive.
20128 old_archive_cmds=$lt_old_archive_cmds
20129
20130 # A language specific compiler.
20131 CC=$lt_compiler
20132
20133 # Is the compiler the GNU compiler?
20134 with_gcc=$GCC
20135
20136 # Compiler flag to turn off builtin functions.
20137 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20138
20139 # How to pass a linker flag through the compiler.
20140 wl=$lt_lt_prog_compiler_wl
20141
20142 # Additional compiler flags for building library objects.
20143 pic_flag=$lt_lt_prog_compiler_pic
20144
20145 # Compiler flag to prevent dynamic linking.
20146 link_static_flag=$lt_lt_prog_compiler_static
20147
20148 # Does compiler simultaneously support -c and -o options?
20149 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20150
20151 # Whether or not to add -lc for building shared libraries.
20152 build_libtool_need_lc=$archive_cmds_need_lc
20153
20154 # Whether or not to disallow shared libs when runtime libs are static.
20155 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20156
20157 # Compiler flag to allow reflexive dlopens.
20158 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20159
20160 # Compiler flag to generate shared objects directly from archives.
20161 whole_archive_flag_spec=$lt_whole_archive_flag_spec
20162
20163 # Whether the compiler copes with passing no objects directly.
20164 compiler_needs_object=$lt_compiler_needs_object
20165
20166 # Create an old-style archive from a shared archive.
20167 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20168
20169 # Create a temporary old-style archive to link instead of a shared archive.
20170 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20171
20172 # Commands used to build a shared archive.
20173 archive_cmds=$lt_archive_cmds
20174 archive_expsym_cmds=$lt_archive_expsym_cmds
20175
20176 # Commands used to build a loadable module if different from building
20177 # a shared archive.
20178 module_cmds=$lt_module_cmds
20179 module_expsym_cmds=$lt_module_expsym_cmds
20180
20181 # Whether we are building with GNU ld or not.
20182 with_gnu_ld=$lt_with_gnu_ld
20183
20184 # Flag that allows shared libraries with undefined symbols to be built.
20185 allow_undefined_flag=$lt_allow_undefined_flag
20186
20187 # Flag that enforces no undefined symbols.
20188 no_undefined_flag=$lt_no_undefined_flag
20189
20190 # Flag to hardcode \$libdir into a binary during linking.
20191 # This must work even if \$libdir does not exist
20192 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20193
20194 # If ld is used when linking, flag to hardcode \$libdir into a binary
20195 # during linking.  This must work even if \$libdir does not exist.
20196 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20197
20198 # Whether we need a single "-rpath" flag with a separated argument.
20199 hardcode_libdir_separator=$lt_hardcode_libdir_separator
20200
20201 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20202 # DIR into the resulting binary.
20203 hardcode_direct=$hardcode_direct
20204
20205 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20206 # DIR into the resulting binary and the resulting library dependency is
20207 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20208 # library is relocated.
20209 hardcode_direct_absolute=$hardcode_direct_absolute
20210
20211 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20212 # into the resulting binary.
20213 hardcode_minus_L=$hardcode_minus_L
20214
20215 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20216 # into the resulting binary.
20217 hardcode_shlibpath_var=$hardcode_shlibpath_var
20218
20219 # Set to "yes" if building a shared library automatically hardcodes DIR
20220 # into the library and all subsequent libraries and executables linked
20221 # against it.
20222 hardcode_automatic=$hardcode_automatic
20223
20224 # Set to yes if linker adds runtime paths of dependent libraries
20225 # to runtime path list.
20226 inherit_rpath=$inherit_rpath
20227
20228 # Whether libtool must link a program against all its dependency libraries.
20229 link_all_deplibs=$link_all_deplibs
20230
20231 # Fix the shell variable \$srcfile for the compiler.
20232 fix_srcfile_path=$lt_fix_srcfile_path
20233
20234 # Set to "yes" if exported symbols are required.
20235 always_export_symbols=$always_export_symbols
20236
20237 # The commands to list exported symbols.
20238 export_symbols_cmds=$lt_export_symbols_cmds
20239
20240 # Symbols that should not be listed in the preloaded symbols.
20241 exclude_expsyms=$lt_exclude_expsyms
20242
20243 # Symbols that must always be exported.
20244 include_expsyms=$lt_include_expsyms
20245
20246 # Commands necessary for linking programs (against libraries) with templates.
20247 prelink_cmds=$lt_prelink_cmds
20248
20249 # Specify filename containing input files.
20250 file_list_spec=$lt_file_list_spec
20251
20252 # How to hardcode a shared library path into an executable.
20253 hardcode_action=$hardcode_action
20254
20255 # ### END LIBTOOL CONFIG
20256
20257 _LT_EOF
20258
20259   case $host_os in
20260   aix3*)
20261     cat <<\_LT_EOF >> "$cfgfile"
20262 # AIX sometimes has problems with the GCC collect2 program.  For some
20263 # reason, if we set the COLLECT_NAMES environment variable, the problems
20264 # vanish in a puff of smoke.
20265 if test "X${COLLECT_NAMES+set}" != Xset; then
20266   COLLECT_NAMES=
20267   export COLLECT_NAMES
20268 fi
20269 _LT_EOF
20270     ;;
20271   esac
20272
20273
20274 ltmain="$ac_aux_dir/ltmain.sh"
20275
20276
20277   # We use sed instead of cat because bash on DJGPP gets confused if
20278   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20279   # text mode, it properly converts lines to CR/LF.  This bash problem
20280   # is reportedly fixed, but why not run on old versions too?
20281   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20282     || (rm -f "$cfgfile"; exit 1)
20283
20284   case $xsi_shell in
20285   yes)
20286     cat << \_LT_EOF >> "$cfgfile"
20287
20288 # func_dirname file append nondir_replacement
20289 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20290 # otherwise set result to NONDIR_REPLACEMENT.
20291 func_dirname ()
20292 {
20293   case ${1} in
20294     */*) func_dirname_result="${1%/*}${2}" ;;
20295     *  ) func_dirname_result="${3}" ;;
20296   esac
20297 }
20298
20299 # func_basename file
20300 func_basename ()
20301 {
20302   func_basename_result="${1##*/}"
20303 }
20304
20305 # func_dirname_and_basename file append nondir_replacement
20306 # perform func_basename and func_dirname in a single function
20307 # call:
20308 #   dirname:  Compute the dirname of FILE.  If nonempty,
20309 #             add APPEND to the result, otherwise set result
20310 #             to NONDIR_REPLACEMENT.
20311 #             value returned in "$func_dirname_result"
20312 #   basename: Compute filename of FILE.
20313 #             value retuned in "$func_basename_result"
20314 # Implementation must be kept synchronized with func_dirname
20315 # and func_basename. For efficiency, we do not delegate to
20316 # those functions but instead duplicate the functionality here.
20317 func_dirname_and_basename ()
20318 {
20319   case ${1} in
20320     */*) func_dirname_result="${1%/*}${2}" ;;
20321     *  ) func_dirname_result="${3}" ;;
20322   esac
20323   func_basename_result="${1##*/}"
20324 }
20325
20326 # func_stripname prefix suffix name
20327 # strip PREFIX and SUFFIX off of NAME.
20328 # PREFIX and SUFFIX must not contain globbing or regex special
20329 # characters, hashes, percent signs, but SUFFIX may contain a leading
20330 # dot (in which case that matches only a dot).
20331 func_stripname ()
20332 {
20333   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20334   # positional parameters, so assign one to ordinary parameter first.
20335   func_stripname_result=${3}
20336   func_stripname_result=${func_stripname_result#"${1}"}
20337   func_stripname_result=${func_stripname_result%"${2}"}
20338 }
20339
20340 # func_opt_split
20341 func_opt_split ()
20342 {
20343   func_opt_split_opt=${1%%=*}
20344   func_opt_split_arg=${1#*=}
20345 }
20346
20347 # func_lo2o object
20348 func_lo2o ()
20349 {
20350   case ${1} in
20351     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20352     *)    func_lo2o_result=${1} ;;
20353   esac
20354 }
20355
20356 # func_xform libobj-or-source
20357 func_xform ()
20358 {
20359   func_xform_result=${1%.*}.lo
20360 }
20361
20362 # func_arith arithmetic-term...
20363 func_arith ()
20364 {
20365   func_arith_result=$(( $* ))
20366 }
20367
20368 # func_len string
20369 # STRING may not start with a hyphen.
20370 func_len ()
20371 {
20372   func_len_result=${#1}
20373 }
20374
20375 _LT_EOF
20376     ;;
20377   *) # Bourne compatible functions.
20378     cat << \_LT_EOF >> "$cfgfile"
20379
20380 # func_dirname file append nondir_replacement
20381 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20382 # otherwise set result to NONDIR_REPLACEMENT.
20383 func_dirname ()
20384 {
20385   # Extract subdirectory from the argument.
20386   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20387   if test "X$func_dirname_result" = "X${1}"; then
20388     func_dirname_result="${3}"
20389   else
20390     func_dirname_result="$func_dirname_result${2}"
20391   fi
20392 }
20393
20394 # func_basename file
20395 func_basename ()
20396 {
20397   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20398 }
20399
20400
20401 # func_stripname prefix suffix name
20402 # strip PREFIX and SUFFIX off of NAME.
20403 # PREFIX and SUFFIX must not contain globbing or regex special
20404 # characters, hashes, percent signs, but SUFFIX may contain a leading
20405 # dot (in which case that matches only a dot).
20406 # func_strip_suffix prefix name
20407 func_stripname ()
20408 {
20409   case ${2} in
20410     .*) func_stripname_result=`$ECHO "X${3}" \
20411            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20412     *)  func_stripname_result=`$ECHO "X${3}" \
20413            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20414   esac
20415 }
20416
20417 # sed scripts:
20418 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20419 my_sed_long_arg='1s/^-[^=]*=//'
20420
20421 # func_opt_split
20422 func_opt_split ()
20423 {
20424   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20425   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20426 }
20427
20428 # func_lo2o object
20429 func_lo2o ()
20430 {
20431   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20432 }
20433
20434 # func_xform libobj-or-source
20435 func_xform ()
20436 {
20437   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20438 }
20439
20440 # func_arith arithmetic-term...
20441 func_arith ()
20442 {
20443   func_arith_result=`expr "$@"`
20444 }
20445
20446 # func_len string
20447 # STRING may not start with a hyphen.
20448 func_len ()
20449 {
20450   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20451 }
20452
20453 _LT_EOF
20454 esac
20455
20456 case $lt_shell_append in
20457   yes)
20458     cat << \_LT_EOF >> "$cfgfile"
20459
20460 # func_append var value
20461 # Append VALUE to the end of shell variable VAR.
20462 func_append ()
20463 {
20464   eval "$1+=\$2"
20465 }
20466 _LT_EOF
20467     ;;
20468   *)
20469     cat << \_LT_EOF >> "$cfgfile"
20470
20471 # func_append var value
20472 # Append VALUE to the end of shell variable VAR.
20473 func_append ()
20474 {
20475   eval "$1=\$$1\$2"
20476 }
20477
20478 _LT_EOF
20479     ;;
20480   esac
20481
20482
20483   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20484     || (rm -f "$cfgfile"; exit 1)
20485
20486   mv -f "$cfgfile" "$ofile" ||
20487     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20488   chmod +x "$ofile"
20489
20490  ;;
20491     "po-directories":C)
20492     for ac_file in $CONFIG_FILES; do
20493       # Support "outfile[:infile[:infile...]]"
20494       case "$ac_file" in
20495         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
20496       esac
20497       # PO directories have a Makefile.in generated from Makefile.in.in.
20498       case "$ac_file" in */Makefile.in)
20499         # Adjust a relative srcdir.
20500         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
20501         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
20502         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
20503         # In autoconf-2.13 it is called $ac_given_srcdir.
20504         # In autoconf-2.50 it is called $srcdir.
20505         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
20506         case "$ac_given_srcdir" in
20507           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
20508           /*) top_srcdir="$ac_given_srcdir" ;;
20509           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
20510         esac
20511         # Treat a directory as a PO directory if and only if it has a
20512         # POTFILES.in file. This allows packages to have multiple PO
20513         # directories under different names or in different locations.
20514         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
20515           rm -f "$ac_dir/POTFILES"
20516           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
20517           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
20518           POMAKEFILEDEPS="POTFILES.in"
20519           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
20520           # on $ac_dir but don't depend on user-specified configuration
20521           # parameters.
20522           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
20523             # The LINGUAS file contains the set of available languages.
20524             if test -n "$OBSOLETE_ALL_LINGUAS"; then
20525               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
20526             fi
20527             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
20528             # Hide the ALL_LINGUAS assigment from automake < 1.5.
20529             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
20530             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
20531           else
20532             # The set of available languages was given in configure.in.
20533             # Hide the ALL_LINGUAS assigment from automake < 1.5.
20534             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
20535           fi
20536           # Compute POFILES
20537           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
20538           # Compute UPDATEPOFILES
20539           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
20540           # Compute DUMMYPOFILES
20541           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
20542           # Compute GMOFILES
20543           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
20544           case "$ac_given_srcdir" in
20545             .) srcdirpre= ;;
20546             *) srcdirpre='$(srcdir)/' ;;
20547           esac
20548           POFILES=
20549           UPDATEPOFILES=
20550           DUMMYPOFILES=
20551           GMOFILES=
20552           for lang in $ALL_LINGUAS; do
20553             POFILES="$POFILES $srcdirpre$lang.po"
20554             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
20555             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
20556             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
20557           done
20558           # CATALOGS depends on both $ac_dir and the user's LINGUAS
20559           # environment variable.
20560           INST_LINGUAS=
20561           if test -n "$ALL_LINGUAS"; then
20562             for presentlang in $ALL_LINGUAS; do
20563               useit=no
20564               if test "%UNSET%" != "$LINGUAS"; then
20565                 desiredlanguages="$LINGUAS"
20566               else
20567                 desiredlanguages="$ALL_LINGUAS"
20568               fi
20569               for desiredlang in $desiredlanguages; do
20570                 # Use the presentlang catalog if desiredlang is
20571                 #   a. equal to presentlang, or
20572                 #   b. a variant of presentlang (because in this case,
20573                 #      presentlang can be used as a fallback for messages
20574                 #      which are not translated in the desiredlang catalog).
20575                 case "$desiredlang" in
20576                   "$presentlang"*) useit=yes;;
20577                 esac
20578               done
20579               if test $useit = yes; then
20580                 INST_LINGUAS="$INST_LINGUAS $presentlang"
20581               fi
20582             done
20583           fi
20584           CATALOGS=
20585           if test -n "$INST_LINGUAS"; then
20586             for lang in $INST_LINGUAS; do
20587               CATALOGS="$CATALOGS $lang.gmo"
20588             done
20589           fi
20590           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
20591           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"
20592           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
20593             if test -f "$f"; then
20594               case "$f" in
20595                 *.orig | *.bak | *~) ;;
20596                 *) cat "$f" >> "$ac_dir/Makefile" ;;
20597               esac
20598             fi
20599           done
20600         fi
20601         ;;
20602       esac
20603     done ;;
20604
20605   esac
20606 done # for ac_tag
20607
20608
20609 as_fn_exit 0
20610 _ACEOF
20611 ac_clean_files=$ac_clean_files_save
20612
20613 test $ac_write_fail = 0 ||
20614   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20615
20616
20617 # configure is writing to config.log, and then calls config.status.
20618 # config.status does its own redirection, appending to config.log.
20619 # Unfortunately, on DOS this fails, as config.log is still kept open
20620 # by configure, so config.status won't be able to write to it; its
20621 # output is simply discarded.  So we exec the FD to /dev/null,
20622 # effectively closing config.log, so it can be properly (re)opened and
20623 # appended to by config.status.  When coming back to configure, we
20624 # need to make the FD available again.
20625 if test "$no_create" != yes; then
20626   ac_cs_success=:
20627   ac_config_status_args=
20628   test "$silent" = yes &&
20629     ac_config_status_args="$ac_config_status_args --quiet"
20630   exec 5>/dev/null
20631   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20632   exec 5>>config.log
20633   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20634   # would make configure fail if this is the last instruction.
20635   $ac_cs_success || as_fn_exit 1
20636 fi
20637 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20638   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20639 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20640 fi
20641
20642
20643 #####################################################################
20644 ## Info
20645
20646 echo
20647 echo
20648 echo
20649 echo "------------------------------------------------------------------------"
20650 echo "$PACKAGE $VERSION"
20651 echo "------------------------------------------------------------------------"
20652 echo
20653 echo "Configuration Options Summary:"
20654 echo
20655 echo "  Engines:"
20656 echo "    X11....................: ${have_elementary_x}"
20657 echo "    Framebuffer............: ${have_elementary_fb}"
20658 echo "    PSL1GHT................: ${have_elementary_psl1ght}"
20659 echo "    SDL....................: ${have_elementary_sdl}"
20660 echo "    Cocoa..................: ${have_elementary_cocoa}"
20661 echo "    Windows XP.............: ${have_elementary_win32}"
20662 echo "    Windows CE.............: ${have_elementary_wince}"
20663 echo
20664 echo "  Features:"
20665 echo "    Ecore_IMF..............: ${have_ecore_imf}"
20666 echo "    Ecore_Con..............: ${have_ecore_con}"
20667 echo "    EDBus..................: ${have_elementary_edbus}"
20668 echo "    EFreet.................: ${have_elementary_efreet}"
20669 echo "    EWeather...............: ${have_elementary_eweather}"
20670 echo "    EMap...................: ${have_elementary_emap}"
20671 echo "    Ethumb.................: ${have_elementary_ethumb}"
20672 echo "    Web (WebKit)...........: ${have_elementary_web}"
20673 echo "    Quick Launch...........: ${have_fork}"
20674 echo "    EIO....................: ${have_eio}"
20675 echo "    Emotion................: ${have_emotion}"
20676 echo
20677 echo "  eet......................: ${eet_eet}"
20678 echo "  edje_cc..................: ${edje_cc}"
20679 echo
20680 echo "  Build elementary_test....: ${have_elementary_test}"
20681 echo "  Examples.................: ${enable_build_examples}"
20682 echo "  Examples installed.......: ${enable_install_examples}"
20683 echo "  Build elementary_config..: ${have_elementary_config}"
20684 echo
20685 echo "Compilation................: make (or gmake)"
20686 echo "  CPPFLAGS.................: $CPPFLAGS"
20687 echo "  CFLAGS...................: $CFLAGS"
20688 echo "  LDFLAGS..................: $LDFLAGS"
20689 echo
20690 echo "Installation...............: make install (as root if needed, with 'su' or 'sudo')"
20691 echo "  prefix...................: $prefix"
20692 echo