aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ecore/configure
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/ecore/configure
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/ecore/configure')
-rwxr-xr-xlibraries/ecore/configure34352
1 files changed, 0 insertions, 34352 deletions
diff --git a/libraries/ecore/configure b/libraries/ecore/configure
deleted file mode 100755
index 1b2ed41..0000000
--- a/libraries/ecore/configure
+++ /dev/null
@@ -1,34352 +0,0 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for ecore 1.2.0-alpha.
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
20DUALCASE=1; export DUALCASE # for MKS sh
21if 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
28else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_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.
47if 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 --'
51elif (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'
54else
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'
74fi
75
76# The user is always right.
77if 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 }
83fi
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.)
91IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
94case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
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
103IFS=$as_save_IFS
104
105 ;;
106esac
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.
109if test "x$as_myself" = x; then
110 as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
115fi
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.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if 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
146else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152esac
153fi
154"
155 as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169 exitcode=1; echo positional parameters were not saved.
170fi
171test 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
176test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
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
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
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
211fi; }
212IFS=$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+"$@"}
224fi
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
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257 { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_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.
272as_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.
282as_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.
332if (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 }'
337else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342fi # 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.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359fi # 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.
367as_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
378if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381else
382 as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387else
388 as_basename=false
389fi
390
391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393else
394 as_dirname=false
395fi
396
397as_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.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_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
455ECHO_C= ECHO_N= ECHO_T=
456case `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';;
466esac
467
468rm -f conf$$ conf$$.exe conf$$.file
469if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471else
472 rm -f conf$$.dir
473 mkdir conf$$.dir 2>/dev/null
474fi
475if (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
489else
490 as_ln_s='cp -p'
491fi
492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
494
495if mkdir -p . 2>/dev/null; then
496 as_mkdir_p='mkdir -p "$as_dir"'
497else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
500fi
501
502if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504else
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 '
522fi
523as_executable_p=$as_test_x
524
525# Sed expression to map a string onto a valid CPP name.
526as_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.
529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
531
532
533# Check that we are running under the correct shell.
534SHELL=${CONFIG_SHELL-/bin/sh}
535
536case X$lt_ECHO in
537X*--fallback-echo)
538 # Remove one level of quotation (which was required for Make).
539 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
540 ;;
541esac
542
543ECHO=${lt_ECHO-echo}
544if test "X$1" = X--no-reexec; then
545 # Discard the --no-reexec flag, and continue.
546 shift
547elif test "X$1" = X--fallback-echo; then
548 # Avoid inline document here, it may be left over
549 :
550elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551 # Yippee, $ECHO works!
552 :
553else
554 # Restart under the correct shell.
555 exec $SHELL "$0" --no-reexec ${1+"$@"}
556fi
557
558if 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
565fi
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
571if 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
669fi
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.
673lt_ECHO=$ECHO
674if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
676fi
677
678
679
680
681test -n "$DJDIR" || exec 7<&0 </dev/null
682exec 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.
687ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
688
689#
690# Initializations.
691#
692ac_default_prefix=/usr/local
693ac_clean_files=
694ac_config_libobj_dir=.
695LIBOBJS=
696cross_compiling=no
697subdirs=
698MFLAGS=
699MAKEFLAGS=
700
701# Identity of this package.
702PACKAGE_NAME='ecore'
703PACKAGE_TARNAME='ecore'
704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='ecore 1.2.0-alpha'
706PACKAGE_BUGREPORT='enlightenment-devel@lists.sourceforge.net'
707PACKAGE_URL=''
708
709ac_unique_file="configure.ac"
710# Factoring default headers for most tests.
711ac_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
746gt_needs=
747ac_subst_vars='am__EXEEXT_FALSE
748am__EXEEXT_TRUE
749LTLIBOBJS
750LIBOBJS
751requirements_ecore_wayland
752requirements_ecore_imf_scim
753requirements_ecore_imf_xim
754requirements_ecore_wince
755requirements_ecore_win32
756requirements_ecore_x
757requirements_ecore_psl1ght
758requirements_ecore_sdl
759requirements_ecore_cocoa
760requirements_ecore_ipc
761requirements_ecore_input_evas
762requirements_ecore_input
763requirements_ecore_imf_evas
764requirements_ecore_imf
765requirements_ecore_file
766requirements_ecore_fb
767requirements_ecore_evas
768requirements_ecore_directfb
769requirements_ecore_con
770requirements_ecore
771EFL_INSTALL_EXAMPLES_FALSE
772EFL_INSTALL_EXAMPLES_TRUE
773EFL_BUILD_EXAMPLES_FALSE
774EFL_BUILD_EXAMPLES_TRUE
775EFL_ENABLE_TESTS_FALSE
776EFL_ENABLE_TESTS_TRUE
777CHECK_LIBS
778CHECK_CFLAGS
779WAYLAND_EGL_LIBS
780WAYLAND_EGL_CFLAGS
781ecore_wayland_libs
782ecore_wayland_cflags
783BUILD_ECORE_WAYLAND_FALSE
784BUILD_ECORE_WAYLAND_TRUE
785WAYLAND_LIBS
786WAYLAND_CFLAGS
787XCB_X11_LIBS
788XCB_X11_CFLAGS
789ecore_evas_libs
790ecore_evas_cflags
791BUILD_ECORE_EVAS_FALSE
792BUILD_ECORE_EVAS_TRUE
793ecore_wince_libs
794ecore_wince_cflags
795BUILD_ECORE_WINCE_FALSE
796BUILD_ECORE_WINCE_TRUE
797ecore_directfb_libs
798ecore_directfb_cflags
799BUILD_ECORE_DIRECTFB_FALSE
800BUILD_ECORE_DIRECTFB_TRUE
801TSLIB_LIBS
802TSLIB_CFLAGS
803ecore_fb_libs
804ecore_fb_cflags
805BUILD_ECORE_FB_FALSE
806BUILD_ECORE_FB_TRUE
807ecore_psl1ght_libs
808ecore_psl1ght_cflags
809BUILD_ECORE_PSL1GHT_FALSE
810BUILD_ECORE_PSL1GHT_TRUE
811ecore_sdl_libs
812ecore_sdl_cflags
813BUILD_ECORE_SDL_FALSE
814BUILD_ECORE_SDL_TRUE
815ecore_cocoa_libs
816ecore_cocoa_cflags
817BUILD_ECORE_COCOA_FALSE
818BUILD_ECORE_COCOA_TRUE
819ecore_win32_libs
820ecore_win32_cflags
821BUILD_ECORE_WIN32_FALSE
822BUILD_ECORE_WIN32_TRUE
823ecore_x_libs
824ecore_x_cflags
825BUILD_ECORE_X_FALSE
826BUILD_ECORE_X_TRUE
827ecore_imf_scim_libs
828ecore_imf_scim_cflags
829BUILD_ECORE_IMF_SCIM_FALSE
830BUILD_ECORE_IMF_SCIM_TRUE
831SCIM_LIBS
832SCIM_CFLAGS
833ecore_imf_xim_libs
834ecore_imf_xim_cflags
835BUILD_ECORE_IMF_XIM_FALSE
836BUILD_ECORE_IMF_XIM_TRUE
837ecore_input_evas_libs
838ecore_input_evas_cflags
839BUILD_ECORE_INPUT_EVAS_FALSE
840BUILD_ECORE_INPUT_EVAS_TRUE
841ecore_input_libs
842ecore_input_cflags
843BUILD_ECORE_INPUT_FALSE
844BUILD_ECORE_INPUT_TRUE
845ecore_imf_evas_libs
846ecore_imf_evas_cflags
847BUILD_ECORE_IMF_EVAS_FALSE
848BUILD_ECORE_IMF_EVAS_TRUE
849ecore_imf_libs
850ecore_imf_cflags
851BUILD_ECORE_IMF_FALSE
852BUILD_ECORE_IMF_TRUE
853BUILD_ECORE_CONFIG_FALSE
854BUILD_ECORE_CONFIG_TRUE
855ecore_file_libs
856ecore_file_cflags
857BUILD_ECORE_FILE_FALSE
858BUILD_ECORE_FILE_TRUE
859ecore_ipc_libs
860ecore_ipc_cflags
861BUILD_ECORE_IPC_FALSE
862BUILD_ECORE_IPC_TRUE
863HAVE_CARES_FALSE
864HAVE_CARES_TRUE
865CARES_LIBS
866CARES_CFLAGS
867SSL_LIBS
868SSL_CFLAGS
869LIBGCRYPT_LIBS
870LIBGCRYPT_CFLAGS
871LIBGCRYPT_CONFIG
872TLS2_LIBS
873TLS2_CFLAGS
874TLS_LIBS
875TLS_CFLAGS
876CURL_LIBS
877CURL_CFLAGS
878ecore_con_libs
879ecore_con_cflags
880BUILD_ECORE_CON_FALSE
881BUILD_ECORE_CON_TRUE
882SHM_OPEN_LIBS
883ALLOCA
884lt_enable_auto_import
885WIN32_CFLAGS
886WIN32_CPPFLAGS
887EFL_PTHREAD_LIBS
888EFL_PTHREAD_CFLAGS
889cocoa_ldflags
890EVAS_LIBS
891EVAS_CFLAGS
892BUILD_ECORE_X_XCB_FALSE
893BUILD_ECORE_X_XCB_TRUE
894BUILD_ECORE_X_XLIB_FALSE
895BUILD_ECORE_X_XLIB_TRUE
896ecore_x_libs_private
897x_libs
898x_includes
899x_cflags
900XI2_LIBS
901XI2_CFLAGS
902XSS_LIBS
903XSS_CFLAGS
904XTEST_LIBS
905XTEST_CFLAGS
906XRENDER_LIBS
907XRENDER_CFLAGS
908XGESTURE_LIBS
909XGESTURE_CFLAGS
910XRANDR_LIBS
911XRANDR_CFLAGS
912XPRINT_LIBS
913XPRINT_CFLAGS
914XINERAMA_LIBS
915XINERAMA_CFLAGS
916XFIXES_LIBS
917XFIXES_CFLAGS
918XDPMS_LIBS
919XDPMS_CFLAGS
920XDAMAGE_LIBS
921XDAMAGE_CFLAGS
922XCOMPOSITE_LIBS
923XCOMPOSITE_CFLAGS
924XKB_LIBS
925XKB_CFLAGS
926Xcursor_libs
927Xcursor_cflags
928X_EXTRA_LIBS
929X_LIBS
930X_PRE_LIBS
931X_CFLAGS
932XMKMF
933have_ecore_x_xcb_define
934XCB_CURSOR_LIBS
935XCB_CURSOR_CFLAGS
936XCB_XINPUT_LIBS
937XCB_XINPUT_CFLAGS
938XCB_XTEST_LIBS
939XCB_XTEST_CFLAGS
940XCB_XPRINT_LIBS
941XCB_XPRINT_CFLAGS
942XCB_XINERAMA_LIBS
943XCB_XINERAMA_CFLAGS
944XCB_XFIXES_LIBS
945XCB_XFIXES_CFLAGS
946XCB_SYNC_LIBS
947XCB_SYNC_CFLAGS
948XCB_XGESTURE_LIBS
949XCB_XGESTURE_CFLAGS
950XCB_SHAPE_LIBS
951XCB_SHAPE_CFLAGS
952XCB_SCREENSAVER_LIBS
953XCB_SCREENSAVER_CFLAGS
954XCB_RENDER_LIBS
955XCB_RENDER_CFLAGS
956XCB_RANDR_LIBS
957XCB_RANDR_CFLAGS
958XCB_DPMS_LIBS
959XCB_DPMS_CFLAGS
960XCB_DAMAGE_LIBS
961XCB_DAMAGE_CFLAGS
962XCB_COMPOSITE_LIBS
963XCB_COMPOSITE_CFLAGS
964PIXMAN_LIBS
965PIXMAN_CFLAGS
966ECORE_XCB_LIBS
967ECORE_XCB_CFLAGS
968KEYSYMDEFS
969DIRECTFB_LIBS
970DIRECTFB_CFLAGS
971SDL_CONFIG
972SDL_LIBS
973SDL_CFLAGS
974GLIB_LIBS
975GLIB_CFLAGS
976EINA_LIBS
977EINA_CFLAGS
978rt_libs
979dlopen_libs
980WIN32_LIBS
981ECORE_HAVE_PS3_FALSE
982ECORE_HAVE_PS3_TRUE
983ECORE_HAVE_WIN32_FALSE
984ECORE_HAVE_WIN32_TRUE
985ECORE_HAVE_WINCE_FALSE
986ECORE_HAVE_WINCE_TRUE
987EFL_ECORE_PSL1GHT_BUILD
988EFL_ECORE_SDL_BUILD
989EFL_ECORE_WIN32_BUILD
990EFL_ECORE_WINCE_BUILD
991EFL_ECORE_IPC_BUILD
992EFL_ECORE_INPUT_EVAS_BUILD
993EFL_ECORE_INPUT_BUILD
994EFL_ECORE_IMF_EVAS_BUILD
995EFL_ECORE_IMF_BUILD
996EFL_ECORE_FILE_BUILD
997EFL_ECORE_EVAS_BUILD
998EFL_ECORE_CON_BUILD
999EFL_ECORE_BUILD
1000ECORE_HAVE_EXOTIC_FALSE
1001ECORE_HAVE_EXOTIC_TRUE
1002EXOTIC_LIBS
1003EXOTIC_CFLAGS
1004ESCAPE_LIBS
1005ESCAPE_CFLAGS
1006EVIL_LIBS
1007EVIL_CFLAGS
1008pkgconfig_requires_private
1009PKG_CONFIG_LIBDIR
1010PKG_CONFIG_PATH
1011PKG_CONFIG
1012EFL_BUILD_DOC_FALSE
1013EFL_BUILD_DOC_TRUE
1014efl_doxygen
1015efl_have_doxygen
1016CXXCPP
1017am__fastdepCXX_FALSE
1018am__fastdepCXX_TRUE
1019CXXDEPMODE
1020ac_ct_CXX
1021CXXFLAGS
1022CXX
1023am__fastdepOBJC_FALSE
1024am__fastdepOBJC_TRUE
1025OBJCDEPMODE
1026ac_ct_OBJC
1027OBJCFLAGS
1028OBJC
1029HAVE_PO_FALSE
1030HAVE_PO_TRUE
1031POSUB
1032LTLIBINTL
1033LIBINTL
1034INTLLIBS
1035LTLIBICONV
1036LIBICONV
1037INTL_MACOSX_LIBS
1038XGETTEXT_EXTRA_OPTIONS
1039MSGMERGE
1040XGETTEXT_015
1041XGETTEXT
1042GMSGFMT_015
1043MSGFMT_015
1044GMSGFMT
1045MSGFMT
1046GETTEXT_MACRO_VERSION
1047USE_NLS
1048VMAJ
1049release_info
1050version_info
1051OTOOL64
1052OTOOL
1053LIPO
1054NMEDIT
1055DSYMUTIL
1056lt_ECHO
1057RANLIB
1058AR
1059LN_S
1060NM
1061ac_ct_DUMPBIN
1062DUMPBIN
1063LD
1064FGREP
1065SED
1066LIBTOOL
1067OBJDUMP
1068DLLTOOL
1069AS
1070host_os
1071host_vendor
1072host_cpu
1073host
1074build_os
1075build_vendor
1076build_cpu
1077build
1078EGREP
1079GREP
1080CPP
1081am__fastdepCC_FALSE
1082am__fastdepCC_TRUE
1083CCDEPMODE
1084AMDEPBACKSLASH
1085AMDEP_FALSE
1086AMDEP_TRUE
1087am__quote
1088am__include
1089DEPDIR
1090OBJEXT
1091EXEEXT
1092ac_ct_CC
1093CPPFLAGS
1094LDFLAGS
1095CFLAGS
1096CC
1097AM_BACKSLASH
1098AM_DEFAULT_VERBOSITY
1099am__untar
1100am__tar
1101AMTAR
1102am__leading_dot
1103SET_MAKE
1104AWK
1105mkdir_p
1106MKDIR_P
1107INSTALL_STRIP_PROGRAM
1108STRIP
1109install_sh
1110MAKEINFO
1111AUTOHEADER
1112AUTOMAKE
1113AUTOCONF
1114ACLOCAL
1115VERSION
1116PACKAGE
1117CYGPATH_W
1118am__isrc
1119INSTALL_DATA
1120INSTALL_SCRIPT
1121INSTALL_PROGRAM
1122target_alias
1123host_alias
1124build_alias
1125LIBS
1126ECHO_T
1127ECHO_N
1128ECHO_C
1129DEFS
1130mandir
1131localedir
1132libdir
1133psdir
1134pdfdir
1135dvidir
1136htmldir
1137infodir
1138docdir
1139oldincludedir
1140includedir
1141localstatedir
1142sharedstatedir
1143sysconfdir
1144datadir
1145datarootdir
1146libexecdir
1147sbindir
1148bindir
1149program_transform_name
1150prefix
1151exec_prefix
1152PACKAGE_URL
1153PACKAGE_BUGREPORT
1154PACKAGE_STRING
1155PACKAGE_VERSION
1156PACKAGE_TARNAME
1157PACKAGE_NAME
1158PATH_SEPARATOR
1159SHELL'
1160ac_subst_files=''
1161ac_user_opts='
1162enable_option_checking
1163enable_silent_rules
1164enable_dependency_tracking
1165enable_shared
1166enable_static
1167with_pic
1168enable_fast_install
1169with_gnu_ld
1170enable_libtool_lock
1171enable_nls
1172enable_rpath
1173with_libiconv_prefix
1174with_libintl_prefix
1175with_internal_maximum_log_level
1176enable_glib_integration_always
1177enable_g_main_loop
1178enable_local_sockets
1179enable_abstract_sockets
1180enable_simple_x11
1181enable_xim
1182enable_doc
1183with_doxygen
1184enable_ecore_timer_dump
1185enable_glib
1186with_sdl_config
1187enable_ecore_x_composite
1188enable_ecore_x_damage
1189enable_ecore_x_dpms
1190enable_ecore_x_randr
1191enable_ecore_x_render
1192enable_ecore_x_screensaver
1193enable_ecore_x_shape
1194enable_ecore_x_gesture
1195enable_ecore_x_sync
1196enable_ecore_x_xfixes
1197enable_ecore_x_xinerama
1198enable_ecore_x_xprint
1199enable_ecore_x_xtest
1200enable_ecore_x_cursor
1201enable_ecore_x_input
1202enable_ecore_x_dri
1203enable_ecore_x_xcb
1204with_iconv_link
1205with_x
1206enable_largefile
1207enable_epoll
1208enable_posix_threads
1209enable_win32_threads
1210enable_debug_threads
1211enable_thread_safety
1212enable_atfile_source
1213enable_ecore_con
1214enable_ipv6
1215enable_curl
1216enable_gnutls
1217with_libgcrypt_prefix
1218with_libgcrypt_exec_prefix
1219enable_openssl
1220enable_cares
1221enable_ecore_ipc
1222enable_ecore_file
1223enable_poll
1224enable_inotify
1225enable_notify_win32
1226enable_ecore_imf
1227enable_ecore_imf_evas
1228enable_ecore_input
1229enable_ecore_input_evas
1230enable_ecore_imf_xim
1231enable_ecore_imf_scim
1232enable_ecore_x
1233enable_ecore_win32
1234enable_ecore_cocoa
1235enable_ecore_sdl
1236enable_ecore_psl1ght
1237enable_ecore_fb
1238enable_tslib
1239enable_ecore_directfb
1240enable_ecore_wince
1241enable_ecore_evas
1242enable_ecore_evas_software_buffer
1243enable_ecore_evas_software_x11
1244enable_ecore_evas_opengl_x11
1245enable_ecore_evas_software_16_x11
1246enable_ecore_evas_software_8_x11
1247enable_ecore_evas_software_gdi
1248enable_ecore_evas_software_ddraw
1249enable_ecore_evas_direct3d
1250enable_ecore_evas_opengl_glew
1251enable_ecore_evas_software_16_ddraw
1252enable_ecore_evas_opengl_sdl
1253enable_ecore_evas_opengl_cocoa
1254enable_ecore_evas_directfb
1255enable_ecore_evas_fb
1256enable_ecore_evas_software_16_wince
1257enable_ecore_evas_ews
1258enable_ecore_evas_psl1ght
1259enable_ecore_wayland
1260enable_ecore_evas_wayland_shm
1261enable_ecore_evas_wayland_egl
1262enable_tests
1263enable_build_examples
1264enable_install_examples
1265'
1266 ac_precious_vars='build_alias
1267host_alias
1268target_alias
1269CC
1270CFLAGS
1271LDFLAGS
1272LIBS
1273CPPFLAGS
1274CPP
1275OBJC
1276OBJCFLAGS
1277CXX
1278CXXFLAGS
1279CCC
1280CXXCPP
1281PKG_CONFIG
1282PKG_CONFIG_PATH
1283PKG_CONFIG_LIBDIR
1284EVIL_CFLAGS
1285EVIL_LIBS
1286ESCAPE_CFLAGS
1287ESCAPE_LIBS
1288EXOTIC_CFLAGS
1289EXOTIC_LIBS
1290EINA_CFLAGS
1291EINA_LIBS
1292GLIB_CFLAGS
1293GLIB_LIBS
1294SDL_CFLAGS
1295SDL_LIBS
1296DIRECTFB_CFLAGS
1297DIRECTFB_LIBS
1298ECORE_XCB_CFLAGS
1299ECORE_XCB_LIBS
1300PIXMAN_CFLAGS
1301PIXMAN_LIBS
1302XCB_COMPOSITE_CFLAGS
1303XCB_COMPOSITE_LIBS
1304XCB_DAMAGE_CFLAGS
1305XCB_DAMAGE_LIBS
1306XCB_DPMS_CFLAGS
1307XCB_DPMS_LIBS
1308XCB_RANDR_CFLAGS
1309XCB_RANDR_LIBS
1310XCB_RENDER_CFLAGS
1311XCB_RENDER_LIBS
1312XCB_SCREENSAVER_CFLAGS
1313XCB_SCREENSAVER_LIBS
1314XCB_SHAPE_CFLAGS
1315XCB_SHAPE_LIBS
1316XCB_XGESTURE_CFLAGS
1317XCB_XGESTURE_LIBS
1318XCB_SYNC_CFLAGS
1319XCB_SYNC_LIBS
1320XCB_XFIXES_CFLAGS
1321XCB_XFIXES_LIBS
1322XCB_XINERAMA_CFLAGS
1323XCB_XINERAMA_LIBS
1324XCB_XPRINT_CFLAGS
1325XCB_XPRINT_LIBS
1326XCB_XTEST_CFLAGS
1327XCB_XTEST_LIBS
1328XCB_XINPUT_CFLAGS
1329XCB_XINPUT_LIBS
1330XCB_CURSOR_CFLAGS
1331XCB_CURSOR_LIBS
1332XMKMF
1333EVAS_CFLAGS
1334EVAS_LIBS
1335CURL_CFLAGS
1336CURL_LIBS
1337TLS_CFLAGS
1338TLS_LIBS
1339TLS2_CFLAGS
1340TLS2_LIBS
1341SSL_CFLAGS
1342SSL_LIBS
1343CARES_CFLAGS
1344CARES_LIBS
1345SCIM_CFLAGS
1346SCIM_LIBS
1347TSLIB_CFLAGS
1348TSLIB_LIBS
1349XCB_X11_CFLAGS
1350XCB_X11_LIBS
1351WAYLAND_CFLAGS
1352WAYLAND_LIBS
1353WAYLAND_EGL_CFLAGS
1354WAYLAND_EGL_LIBS
1355CHECK_CFLAGS
1356CHECK_LIBS'
1357
1358
1359# Initialize some variables set by options.
1360ac_init_help=
1361ac_init_version=false
1362ac_unrecognized_opts=
1363ac_unrecognized_sep=
1364# The variables have the same names as the options, with
1365# dashes changed to underlines.
1366cache_file=/dev/null
1367exec_prefix=NONE
1368no_create=
1369no_recursion=
1370prefix=NONE
1371program_prefix=NONE
1372program_suffix=NONE
1373program_transform_name=s,x,x,
1374silent=
1375site=
1376srcdir=
1377verbose=
1378x_includes=NONE
1379x_libraries=NONE
1380
1381# Installation directory options.
1382# These are left unexpanded so users can "make install exec_prefix=/foo"
1383# and all the variables that are supposed to be based on exec_prefix
1384# by default will actually change.
1385# Use braces instead of parens because sh, perl, etc. also accept them.
1386# (The list follows the same order as the GNU Coding Standards.)
1387bindir='${exec_prefix}/bin'
1388sbindir='${exec_prefix}/sbin'
1389libexecdir='${exec_prefix}/libexec'
1390datarootdir='${prefix}/share'
1391datadir='${datarootdir}'
1392sysconfdir='${prefix}/etc'
1393sharedstatedir='${prefix}/com'
1394localstatedir='${prefix}/var'
1395includedir='${prefix}/include'
1396oldincludedir='/usr/include'
1397docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1398infodir='${datarootdir}/info'
1399htmldir='${docdir}'
1400dvidir='${docdir}'
1401pdfdir='${docdir}'
1402psdir='${docdir}'
1403libdir='${exec_prefix}/lib'
1404localedir='${datarootdir}/locale'
1405mandir='${datarootdir}/man'
1406
1407ac_prev=
1408ac_dashdash=
1409for ac_option
1410do
1411 # If the previous option needs an argument, assign it.
1412 if test -n "$ac_prev"; then
1413 eval $ac_prev=\$ac_option
1414 ac_prev=
1415 continue
1416 fi
1417
1418 case $ac_option in
1419 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1420 *=) ac_optarg= ;;
1421 *) ac_optarg=yes ;;
1422 esac
1423
1424 # Accept the important Cygnus configure options, so we can diagnose typos.
1425
1426 case $ac_dashdash$ac_option in
1427 --)
1428 ac_dashdash=yes ;;
1429
1430 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1431 ac_prev=bindir ;;
1432 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1433 bindir=$ac_optarg ;;
1434
1435 -build | --build | --buil | --bui | --bu)
1436 ac_prev=build_alias ;;
1437 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1438 build_alias=$ac_optarg ;;
1439
1440 -cache-file | --cache-file | --cache-fil | --cache-fi \
1441 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1442 ac_prev=cache_file ;;
1443 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1444 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1445 cache_file=$ac_optarg ;;
1446
1447 --config-cache | -C)
1448 cache_file=config.cache ;;
1449
1450 -datadir | --datadir | --datadi | --datad)
1451 ac_prev=datadir ;;
1452 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1453 datadir=$ac_optarg ;;
1454
1455 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1456 | --dataroo | --dataro | --datar)
1457 ac_prev=datarootdir ;;
1458 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1459 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1460 datarootdir=$ac_optarg ;;
1461
1462 -disable-* | --disable-*)
1463 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1464 # Reject names that are not valid shell variable names.
1465 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1466 as_fn_error $? "invalid feature name: $ac_useropt"
1467 ac_useropt_orig=$ac_useropt
1468 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1469 case $ac_user_opts in
1470 *"
1471"enable_$ac_useropt"
1472"*) ;;
1473 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1474 ac_unrecognized_sep=', ';;
1475 esac
1476 eval enable_$ac_useropt=no ;;
1477
1478 -docdir | --docdir | --docdi | --doc | --do)
1479 ac_prev=docdir ;;
1480 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1481 docdir=$ac_optarg ;;
1482
1483 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1484 ac_prev=dvidir ;;
1485 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1486 dvidir=$ac_optarg ;;
1487
1488 -enable-* | --enable-*)
1489 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1490 # Reject names that are not valid shell variable names.
1491 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1492 as_fn_error $? "invalid feature name: $ac_useropt"
1493 ac_useropt_orig=$ac_useropt
1494 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1495 case $ac_user_opts in
1496 *"
1497"enable_$ac_useropt"
1498"*) ;;
1499 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1500 ac_unrecognized_sep=', ';;
1501 esac
1502 eval enable_$ac_useropt=\$ac_optarg ;;
1503
1504 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1505 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1506 | --exec | --exe | --ex)
1507 ac_prev=exec_prefix ;;
1508 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1509 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1510 | --exec=* | --exe=* | --ex=*)
1511 exec_prefix=$ac_optarg ;;
1512
1513 -gas | --gas | --ga | --g)
1514 # Obsolete; use --with-gas.
1515 with_gas=yes ;;
1516
1517 -help | --help | --hel | --he | -h)
1518 ac_init_help=long ;;
1519 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1520 ac_init_help=recursive ;;
1521 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1522 ac_init_help=short ;;
1523
1524 -host | --host | --hos | --ho)
1525 ac_prev=host_alias ;;
1526 -host=* | --host=* | --hos=* | --ho=*)
1527 host_alias=$ac_optarg ;;
1528
1529 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1530 ac_prev=htmldir ;;
1531 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1532 | --ht=*)
1533 htmldir=$ac_optarg ;;
1534
1535 -includedir | --includedir | --includedi | --included | --include \
1536 | --includ | --inclu | --incl | --inc)
1537 ac_prev=includedir ;;
1538 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1539 | --includ=* | --inclu=* | --incl=* | --inc=*)
1540 includedir=$ac_optarg ;;
1541
1542 -infodir | --infodir | --infodi | --infod | --info | --inf)
1543 ac_prev=infodir ;;
1544 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1545 infodir=$ac_optarg ;;
1546
1547 -libdir | --libdir | --libdi | --libd)
1548 ac_prev=libdir ;;
1549 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1550 libdir=$ac_optarg ;;
1551
1552 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1553 | --libexe | --libex | --libe)
1554 ac_prev=libexecdir ;;
1555 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1556 | --libexe=* | --libex=* | --libe=*)
1557 libexecdir=$ac_optarg ;;
1558
1559 -localedir | --localedir | --localedi | --localed | --locale)
1560 ac_prev=localedir ;;
1561 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1562 localedir=$ac_optarg ;;
1563
1564 -localstatedir | --localstatedir | --localstatedi | --localstated \
1565 | --localstate | --localstat | --localsta | --localst | --locals)
1566 ac_prev=localstatedir ;;
1567 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1568 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1569 localstatedir=$ac_optarg ;;
1570
1571 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1572 ac_prev=mandir ;;
1573 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1574 mandir=$ac_optarg ;;
1575
1576 -nfp | --nfp | --nf)
1577 # Obsolete; use --without-fp.
1578 with_fp=no ;;
1579
1580 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1581 | --no-cr | --no-c | -n)
1582 no_create=yes ;;
1583
1584 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1585 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1586 no_recursion=yes ;;
1587
1588 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1589 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1590 | --oldin | --oldi | --old | --ol | --o)
1591 ac_prev=oldincludedir ;;
1592 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1593 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1594 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1595 oldincludedir=$ac_optarg ;;
1596
1597 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1598 ac_prev=prefix ;;
1599 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1600 prefix=$ac_optarg ;;
1601
1602 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1603 | --program-pre | --program-pr | --program-p)
1604 ac_prev=program_prefix ;;
1605 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1606 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1607 program_prefix=$ac_optarg ;;
1608
1609 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1610 | --program-suf | --program-su | --program-s)
1611 ac_prev=program_suffix ;;
1612 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1613 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1614 program_suffix=$ac_optarg ;;
1615
1616 -program-transform-name | --program-transform-name \
1617 | --program-transform-nam | --program-transform-na \
1618 | --program-transform-n | --program-transform- \
1619 | --program-transform | --program-transfor \
1620 | --program-transfo | --program-transf \
1621 | --program-trans | --program-tran \
1622 | --progr-tra | --program-tr | --program-t)
1623 ac_prev=program_transform_name ;;
1624 -program-transform-name=* | --program-transform-name=* \
1625 | --program-transform-nam=* | --program-transform-na=* \
1626 | --program-transform-n=* | --program-transform-=* \
1627 | --program-transform=* | --program-transfor=* \
1628 | --program-transfo=* | --program-transf=* \
1629 | --program-trans=* | --program-tran=* \
1630 | --progr-tra=* | --program-tr=* | --program-t=*)
1631 program_transform_name=$ac_optarg ;;
1632
1633 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1634 ac_prev=pdfdir ;;
1635 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1636 pdfdir=$ac_optarg ;;
1637
1638 -psdir | --psdir | --psdi | --psd | --ps)
1639 ac_prev=psdir ;;
1640 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1641 psdir=$ac_optarg ;;
1642
1643 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1644 | -silent | --silent | --silen | --sile | --sil)
1645 silent=yes ;;
1646
1647 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1648 ac_prev=sbindir ;;
1649 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1650 | --sbi=* | --sb=*)
1651 sbindir=$ac_optarg ;;
1652
1653 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1654 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1655 | --sharedst | --shareds | --shared | --share | --shar \
1656 | --sha | --sh)
1657 ac_prev=sharedstatedir ;;
1658 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1659 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1660 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1661 | --sha=* | --sh=*)
1662 sharedstatedir=$ac_optarg ;;
1663
1664 -site | --site | --sit)
1665 ac_prev=site ;;
1666 -site=* | --site=* | --sit=*)
1667 site=$ac_optarg ;;
1668
1669 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1670 ac_prev=srcdir ;;
1671 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1672 srcdir=$ac_optarg ;;
1673
1674 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1675 | --syscon | --sysco | --sysc | --sys | --sy)
1676 ac_prev=sysconfdir ;;
1677 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1678 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1679 sysconfdir=$ac_optarg ;;
1680
1681 -target | --target | --targe | --targ | --tar | --ta | --t)
1682 ac_prev=target_alias ;;
1683 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1684 target_alias=$ac_optarg ;;
1685
1686 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1687 verbose=yes ;;
1688
1689 -version | --version | --versio | --versi | --vers | -V)
1690 ac_init_version=: ;;
1691
1692 -with-* | --with-*)
1693 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1694 # Reject names that are not valid shell variable names.
1695 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1696 as_fn_error $? "invalid package name: $ac_useropt"
1697 ac_useropt_orig=$ac_useropt
1698 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1699 case $ac_user_opts in
1700 *"
1701"with_$ac_useropt"
1702"*) ;;
1703 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1704 ac_unrecognized_sep=', ';;
1705 esac
1706 eval with_$ac_useropt=\$ac_optarg ;;
1707
1708 -without-* | --without-*)
1709 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1710 # Reject names that are not valid shell variable names.
1711 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1712 as_fn_error $? "invalid package name: $ac_useropt"
1713 ac_useropt_orig=$ac_useropt
1714 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1715 case $ac_user_opts in
1716 *"
1717"with_$ac_useropt"
1718"*) ;;
1719 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1720 ac_unrecognized_sep=', ';;
1721 esac
1722 eval with_$ac_useropt=no ;;
1723
1724 --x)
1725 # Obsolete; use --with-x.
1726 with_x=yes ;;
1727
1728 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1729 | --x-incl | --x-inc | --x-in | --x-i)
1730 ac_prev=x_includes ;;
1731 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1732 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1733 x_includes=$ac_optarg ;;
1734
1735 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1736 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1737 ac_prev=x_libraries ;;
1738 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1739 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1740 x_libraries=$ac_optarg ;;
1741
1742 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1743Try \`$0 --help' for more information"
1744 ;;
1745
1746 *=*)
1747 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1748 # Reject names that are not valid shell variable names.
1749 case $ac_envvar in #(
1750 '' | [0-9]* | *[!_$as_cr_alnum]* )
1751 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1752 esac
1753 eval $ac_envvar=\$ac_optarg
1754 export $ac_envvar ;;
1755
1756 *)
1757 # FIXME: should be removed in autoconf 3.0.
1758 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1759 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1760 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1761 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1762 ;;
1763
1764 esac
1765done
1766
1767if test -n "$ac_prev"; then
1768 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1769 as_fn_error $? "missing argument to $ac_option"
1770fi
1771
1772if test -n "$ac_unrecognized_opts"; then
1773 case $enable_option_checking in
1774 no) ;;
1775 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1776 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1777 esac
1778fi
1779
1780# Check all directory arguments for consistency.
1781for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1782 datadir sysconfdir sharedstatedir localstatedir includedir \
1783 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1784 libdir localedir mandir
1785do
1786 eval ac_val=\$$ac_var
1787 # Remove trailing slashes.
1788 case $ac_val in
1789 */ )
1790 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1791 eval $ac_var=\$ac_val;;
1792 esac
1793 # Be sure to have absolute directory names.
1794 case $ac_val in
1795 [\\/$]* | ?:[\\/]* ) continue;;
1796 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1797 esac
1798 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1799done
1800
1801# There might be people who depend on the old broken behavior: `$host'
1802# used to hold the argument of --host etc.
1803# FIXME: To remove some day.
1804build=$build_alias
1805host=$host_alias
1806target=$target_alias
1807
1808# FIXME: To remove some day.
1809if test "x$host_alias" != x; then
1810 if test "x$build_alias" = x; then
1811 cross_compiling=maybe
1812 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1813 If a cross compiler is detected then cross compile mode will be used" >&2
1814 elif test "x$build_alias" != "x$host_alias"; then
1815 cross_compiling=yes
1816 fi
1817fi
1818
1819ac_tool_prefix=
1820test -n "$host_alias" && ac_tool_prefix=$host_alias-
1821
1822test "$silent" = yes && exec 6>/dev/null
1823
1824
1825ac_pwd=`pwd` && test -n "$ac_pwd" &&
1826ac_ls_di=`ls -di .` &&
1827ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1828 as_fn_error $? "working directory cannot be determined"
1829test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1830 as_fn_error $? "pwd does not report name of working directory"
1831
1832
1833# Find the source files, if location was not specified.
1834if test -z "$srcdir"; then
1835 ac_srcdir_defaulted=yes
1836 # Try the directory containing this script, then the parent directory.
1837 ac_confdir=`$as_dirname -- "$as_myself" ||
1838$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1839 X"$as_myself" : 'X\(//\)[^/]' \| \
1840 X"$as_myself" : 'X\(//\)$' \| \
1841 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1842$as_echo X"$as_myself" |
1843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1844 s//\1/
1845 q
1846 }
1847 /^X\(\/\/\)[^/].*/{
1848 s//\1/
1849 q
1850 }
1851 /^X\(\/\/\)$/{
1852 s//\1/
1853 q
1854 }
1855 /^X\(\/\).*/{
1856 s//\1/
1857 q
1858 }
1859 s/.*/./; q'`
1860 srcdir=$ac_confdir
1861 if test ! -r "$srcdir/$ac_unique_file"; then
1862 srcdir=..
1863 fi
1864else
1865 ac_srcdir_defaulted=no
1866fi
1867if test ! -r "$srcdir/$ac_unique_file"; then
1868 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1869 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1870fi
1871ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1872ac_abs_confdir=`(
1873 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1874 pwd)`
1875# When building in place, set srcdir=.
1876if test "$ac_abs_confdir" = "$ac_pwd"; then
1877 srcdir=.
1878fi
1879# Remove unnecessary trailing slashes from srcdir.
1880# Double slashes in file names in object file debugging info
1881# mess up M-x gdb in Emacs.
1882case $srcdir in
1883*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1884esac
1885for ac_var in $ac_precious_vars; do
1886 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1887 eval ac_env_${ac_var}_value=\$${ac_var}
1888 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1889 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1890done
1891
1892#
1893# Report the --help message.
1894#
1895if test "$ac_init_help" = "long"; then
1896 # Omit some internal or obsolete options to make the list less imposing.
1897 # This message is too long to be a string in the A/UX 3.1 sh.
1898 cat <<_ACEOF
1899\`configure' configures ecore 1.2.0-alpha to adapt to many kinds of systems.
1900
1901Usage: $0 [OPTION]... [VAR=VALUE]...
1902
1903To assign environment variables (e.g., CC, CFLAGS...), specify them as
1904VAR=VALUE. See below for descriptions of some of the useful variables.
1905
1906Defaults for the options are specified in brackets.
1907
1908Configuration:
1909 -h, --help display this help and exit
1910 --help=short display options specific to this package
1911 --help=recursive display the short help of all the included packages
1912 -V, --version display version information and exit
1913 -q, --quiet, --silent do not print \`checking ...' messages
1914 --cache-file=FILE cache test results in FILE [disabled]
1915 -C, --config-cache alias for \`--cache-file=config.cache'
1916 -n, --no-create do not create output files
1917 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1918
1919Installation directories:
1920 --prefix=PREFIX install architecture-independent files in PREFIX
1921 [$ac_default_prefix]
1922 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1923 [PREFIX]
1924
1925By default, \`make install' will install all the files in
1926\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1927an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1928for instance \`--prefix=\$HOME'.
1929
1930For better control, use the options below.
1931
1932Fine tuning of the installation directories:
1933 --bindir=DIR user executables [EPREFIX/bin]
1934 --sbindir=DIR system admin executables [EPREFIX/sbin]
1935 --libexecdir=DIR program executables [EPREFIX/libexec]
1936 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1937 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1938 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1939 --libdir=DIR object code libraries [EPREFIX/lib]
1940 --includedir=DIR C header files [PREFIX/include]
1941 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1942 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1943 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1944 --infodir=DIR info documentation [DATAROOTDIR/info]
1945 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1946 --mandir=DIR man documentation [DATAROOTDIR/man]
1947 --docdir=DIR documentation root [DATAROOTDIR/doc/ecore]
1948 --htmldir=DIR html documentation [DOCDIR]
1949 --dvidir=DIR dvi documentation [DOCDIR]
1950 --pdfdir=DIR pdf documentation [DOCDIR]
1951 --psdir=DIR ps documentation [DOCDIR]
1952_ACEOF
1953
1954 cat <<\_ACEOF
1955
1956Program names:
1957 --program-prefix=PREFIX prepend PREFIX to installed program names
1958 --program-suffix=SUFFIX append SUFFIX to installed program names
1959 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1960
1961X features:
1962 --x-includes=DIR X include files are in DIR
1963 --x-libraries=DIR X library files are in DIR
1964
1965System types:
1966 --build=BUILD configure for building on BUILD [guessed]
1967 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1968_ACEOF
1969fi
1970
1971if test -n "$ac_init_help"; then
1972 case $ac_init_help in
1973 short | recursive ) echo "Configuration of ecore 1.2.0-alpha:";;
1974 esac
1975 cat <<\_ACEOF
1976
1977Optional Features:
1978 --disable-option-checking ignore unrecognized --enable/--with options
1979 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1980 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1981 --enable-silent-rules less verbose build output (undo: `make V=1')
1982 --disable-silent-rules verbose build output (undo: `make V=0')
1983 --disable-dependency-tracking speeds up one-time build
1984 --enable-dependency-tracking do not reject slow dependency extractors
1985 --enable-shared[=PKGS] build shared libraries [default=yes]
1986 --enable-static[=PKGS] build static libraries [default=yes]
1987 --enable-fast-install[=PKGS]
1988 optimize for fast installation [default=yes]
1989 --disable-libtool-lock avoid locking (might break parallel builds)
1990 --disable-nls do not use Native Language Support
1991 --disable-rpath do not hardcode runtime library paths
1992 --enable-glib-integration-always
1993 enable glib integration when ecore_init() is called
1994 always
1995 --enable-g-main-loop ecore_main_loop based on g_main_loop
1996 --disable-local-sockets disable local sockets.
1997 --disable-abstract-sockets
1998 disable abstract sockets.
1999 --enable-simple-x11 enable simple x11 linking
2000 --disable-xim disable X Input Method.
2001 --disable-doc Disable documentation build [default=enabled]
2002 --disable-ecore-timer-dump
2003 disable tracking of timer allocation.
2004 [default=enable]
2005 --disable-glib disable glib support. [default=detect]
2006 --disable-ecore-x-composite
2007 disable the ecore_x support for Xcomposite
2008 extension. [default=detect]
2009 --disable-ecore-x-damage
2010 disable the ecore_x support for Xdamage extension.
2011 [default=detect]
2012 --disable-ecore-x-dpms disable the ecore_x support for Xdpms extension.
2013 [default=detect]
2014 --disable-ecore-x-randr disable the ecore_x support for Xrandr extension.
2015 [default=detect]
2016 --disable-ecore-x-render
2017 disable the ecore_x support for Xrender extension.
2018 [default=detect]
2019 --disable-ecore-x-screensaver
2020 disable the ecore_x support for Xscreensaver
2021 extension. [default=detect]
2022 --disable-ecore-x-shape disable the ecore_x support for Xshape extension.
2023 [default=detect]
2024 --enable-ecore-x-gesture
2025 enable the ecore_x support for Xgesture extension.
2026 [default=detect]
2027 --disable-ecore-x-sync disable the ecore_x support for Xsync extension.
2028 [default=detect]
2029 --disable-ecore-x-xfixes
2030 disable the ecore_x support for Xfixes extension.
2031 [default=detect]
2032 --disable-ecore-x-xinerama
2033 disable the ecore_x support for Xinerama extension.
2034 [default=detect]
2035 --disable-ecore-x-xprint
2036 disable the ecore_x support for Xprint extension.
2037 [default=detect]
2038 --disable-ecore-x-xtest disable the ecore_x support for Xtest extension.
2039 [default=detect]
2040 --disable-ecore-x-cursor
2041 disable the ecore_x support for Xcursor extension.
2042 [default=detect]
2043 --disable-ecore-x-input disable the ecore_x support for Xinput/Xinput2
2044 extension. [default=detect]
2045 --disable-ecore-x-dri disable the ecore_x support for DRI extension.
2046 [default=detect]
2047 --enable-ecore-x-xcb enable the ecore_x module with XCB backend.
2048 [default=disabled]
2049 --disable-largefile omit support for large files
2050 --enable-epoll enable or disable epoll support
2051 --disable-posix-threads enable POSIX threads code [default=auto]
2052 --disable-win32-threads enable Win32 threads code [default=no]
2053 --enable-debug-threads disable assert when you forgot to call
2054 eina_threads_init
2055 --enable-thread-safety enable or disable thread safety
2056 --disable-atfile-source disable use of atfile source functions as openat and
2057 mkdirat [default=detect]
2058 --enable-ecore-con enable the ecore_con module
2059 --disable-ipv6 disable ipv6 functionality [default=detect]
2060 --disable-curl disable curl support
2061 --disable-gnutls disable gnutls support
2062 --disable-openssl disable openssl support
2063 --disable-cares disable cares support
2064 --enable-ecore-ipc enable the ecore_ipc module
2065 --enable-ecore-file enable the ecore_file module
2066 --disable-poll disable poll in the ecore_file module
2067 --disable-inotify disable inotify in the ecore_file module
2068 --disable-notify-win32 disable Windows notification in the ecore_file
2069 module
2070 --enable-ecore-imf enable the ecore_imf module
2071 --enable-ecore-imf-evas enable the ecore_imf_evas module
2072 --enable-ecore-input enable the ecore_input module
2073 --enable-ecore-input-evas
2074 enable the ecore_input_evas module
2075 --enable-ecore-imf-xim enable the ecore_imf_xim module
2076 --enable-ecore-imf-scim enable the ecore_imf_scim module
2077 --enable-ecore-x enable the ecore_x module
2078 --enable-ecore-win32 enable the ecore_win32 module
2079 --enable-ecore-cocoa enable the ecore_cocoa module
2080 --enable-ecore-sdl enable the ecore_sdl module
2081 --enable-ecore-psl1ght enable the ecore_psl1ght module
2082 --enable-ecore-fb enable the ecore_fb module
2083 --disable-tslib disable the tslib support in ecore (currently
2084 ecore-fb). [default=detect]
2085 --enable-ecore-directfb enable the ecore_directfb module
2086 --enable-ecore-wince enable the ecore_wince module
2087 --enable-ecore-evas enable the ecore_evas module
2088 --enable-ecore-evas-software-buffer
2089 enable Software Buffer support in the ecore_evas
2090 module.
2091 --enable-ecore-evas-software-x11
2092 enable Software X11 support in the ecore_evas
2093 module.
2094 --enable-ecore-evas-opengl-x11
2095 enable OpenGL Xlib support in the ecore_evas module.
2096 --enable-ecore-evas-software-16-x11
2097 enable Software Xlib 16 bits support in the
2098 ecore_evas module.
2099 --enable-ecore-evas-software-8-x11
2100 enable Software 8bit X11 support in the ecore_evas
2101 module.
2102 --enable-ecore-evas-software-gdi
2103 enable Software GDI support in the ecore_evas
2104 module.
2105 --enable-ecore-evas-software-ddraw
2106 enable Software DirectDraw support in the ecore_evas
2107 module.
2108 --enable-ecore-evas-direct3d
2109 enable Direct3d support in the ecore_evas module.
2110 --enable-ecore-evas-opengl-glew
2111 enable Glew OpenGL support in the ecore_evas module.
2112 --enable-ecore-evas-software-16-ddraw
2113 enable 16 bpp Software DirectDraw support in the
2114 ecore_evas module.
2115 --enable-ecore-evas-opengl-sdl
2116 enable OpenGL SDL support in the ecore_evas module.
2117 --enable-ecore-evas-opengl-cocoa
2118 enable OpenGL Cocoa support in the ecore_evas
2119 module.
2120 --enable-ecore-evas-directfb
2121 enable DirectFB support in the ecore_evas module.
2122 --enable-ecore-evas-fb enable Linux Framebuffer support in the ecore_evas
2123 module.
2124 --enable-ecore-evas-software-16-wince
2125 enable 16 bpp Software Windows CE support in the
2126 ecore_evas module.
2127 --enable-ecore-evas-ews enable Ecore Evas Single Process Windowing System
2128 support in the ecore_evas module.
2129 --enable-ecore-evas-psl1ght
2130 enable PSL1GHT support in the ecore_evas module.
2131 --enable-ecore-wayland enable the ecore_wayland module
2132 --enable-ecore-evas-wayland-shm
2133 enable Wayland Shm support in the ecore_evas module.
2134 --enable-ecore-evas-wayland-egl
2135 enable Wayland Egl support in the ecore_evas module.
2136 --enable-tests enable tests [default=disabled]
2137 --enable-build-examples enable building examples [default=disabled]
2138 --enable-install-examples
2139 enable installing example source files
2140 [default=disabled]
2141
2142Optional Packages:
2143 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2144 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2145 --with-pic try to use only PIC/non-PIC objects [default=use
2146 both]
2147 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2148 --with-gnu-ld assume the C compiler uses GNU ld default=no
2149 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
2150 --without-libiconv-prefix don't search for libiconv in includedir and libdir
2151 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
2152 --without-libintl-prefix don't search for libintl in includedir and libdir
2153 --with-internal-maximum-log-level=NUMBER
2154 limit ecore internal log level to the given number,
2155 any call to EINA_LOG() with values greater than this
2156 will be compiled out, ignoring runtime settings, but
2157 saving function calls.
2158 --with-doxygen=FILE doxygen program to use [default=doxygen]
2159 --with-sdl-config=PATH use sdl-config specified
2160 --with-iconv-link=ICONV_LINK
2161 explicitly specify an iconv link option
2162 --with-x use the X Window System
2163 --with-libgcrypt-prefix=PFX Prefix where libgcrypt is installed (optional)
2164 --with-libgcrypt-exec-prefix=PFX Exec prefix where libgcrypt is installed (optional)
2165
2166Some influential environment variables:
2167 CC C compiler command
2168 CFLAGS C compiler flags
2169 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2170 nonstandard directory <lib dir>
2171 LIBS libraries to pass to the linker, e.g. -l<library>
2172 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2173 you have headers in a nonstandard directory <include dir>
2174 CPP C preprocessor
2175 OBJC Objective C compiler command
2176 OBJCFLAGS Objective C compiler flags
2177 CXX C++ compiler command
2178 CXXFLAGS C++ compiler flags
2179 CXXCPP C++ preprocessor
2180 PKG_CONFIG path to pkg-config utility
2181 PKG_CONFIG_PATH
2182 directories to add to pkg-config's search path
2183 PKG_CONFIG_LIBDIR
2184 path overriding pkg-config's built-in search path
2185 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2186 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2187 ESCAPE_CFLAGS
2188 C compiler flags for ESCAPE, overriding pkg-config
2189 ESCAPE_LIBS linker flags for ESCAPE, overriding pkg-config
2190 EXOTIC_CFLAGS
2191 C compiler flags for EXOTIC, overriding pkg-config
2192 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2193 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2194 EINA_LIBS linker flags for EINA, overriding pkg-config
2195 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
2196 GLIB_LIBS linker flags for GLIB, overriding pkg-config
2197 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2198 SDL_LIBS linker flags for SDL, overriding pkg-config
2199 DIRECTFB_CFLAGS
2200 C compiler flags for DIRECTFB, overriding pkg-config
2201 DIRECTFB_LIBS
2202 linker flags for DIRECTFB, overriding pkg-config
2203 ECORE_XCB_CFLAGS
2204 C compiler flags for ECORE_XCB, overriding pkg-config
2205 ECORE_XCB_LIBS
2206 linker flags for ECORE_XCB, overriding pkg-config
2207 PIXMAN_CFLAGS
2208 C compiler flags for PIXMAN, overriding pkg-config
2209 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2210 XCB_COMPOSITE_CFLAGS
2211 C compiler flags for XCB_COMPOSITE, overriding pkg-config
2212 XCB_COMPOSITE_LIBS
2213 linker flags for XCB_COMPOSITE, overriding pkg-config
2214 XCB_DAMAGE_CFLAGS
2215 C compiler flags for XCB_DAMAGE, overriding pkg-config
2216 XCB_DAMAGE_LIBS
2217 linker flags for XCB_DAMAGE, overriding pkg-config
2218 XCB_DPMS_CFLAGS
2219 C compiler flags for XCB_DPMS, overriding pkg-config
2220 XCB_DPMS_LIBS
2221 linker flags for XCB_DPMS, overriding pkg-config
2222 XCB_RANDR_CFLAGS
2223 C compiler flags for XCB_RANDR, overriding pkg-config
2224 XCB_RANDR_LIBS
2225 linker flags for XCB_RANDR, overriding pkg-config
2226 XCB_RENDER_CFLAGS
2227 C compiler flags for XCB_RENDER, overriding pkg-config
2228 XCB_RENDER_LIBS
2229 linker flags for XCB_RENDER, overriding pkg-config
2230 XCB_SCREENSAVER_CFLAGS
2231 C compiler flags for XCB_SCREENSAVER, overriding pkg-config
2232 XCB_SCREENSAVER_LIBS
2233 linker flags for XCB_SCREENSAVER, overriding pkg-config
2234 XCB_SHAPE_CFLAGS
2235 C compiler flags for XCB_SHAPE, overriding pkg-config
2236 XCB_SHAPE_LIBS
2237 linker flags for XCB_SHAPE, overriding pkg-config
2238 XCB_XGESTURE_CFLAGS
2239 C compiler flags for XCB_XGESTURE, overriding pkg-config
2240 XCB_XGESTURE_LIBS
2241 linker flags for XCB_XGESTURE, overriding pkg-config
2242 XCB_SYNC_CFLAGS
2243 C compiler flags for XCB_SYNC, overriding pkg-config
2244 XCB_SYNC_LIBS
2245 linker flags for XCB_SYNC, overriding pkg-config
2246 XCB_XFIXES_CFLAGS
2247 C compiler flags for XCB_XFIXES, overriding pkg-config
2248 XCB_XFIXES_LIBS
2249 linker flags for XCB_XFIXES, overriding pkg-config
2250 XCB_XINERAMA_CFLAGS
2251 C compiler flags for XCB_XINERAMA, overriding pkg-config
2252 XCB_XINERAMA_LIBS
2253 linker flags for XCB_XINERAMA, overriding pkg-config
2254 XCB_XPRINT_CFLAGS
2255 C compiler flags for XCB_XPRINT, overriding pkg-config
2256 XCB_XPRINT_LIBS
2257 linker flags for XCB_XPRINT, overriding pkg-config
2258 XCB_XTEST_CFLAGS
2259 C compiler flags for XCB_XTEST, overriding pkg-config
2260 XCB_XTEST_LIBS
2261 linker flags for XCB_XTEST, overriding pkg-config
2262 XCB_XINPUT_CFLAGS
2263 C compiler flags for XCB_XINPUT, overriding pkg-config
2264 XCB_XINPUT_LIBS
2265 linker flags for XCB_XINPUT, overriding pkg-config
2266 XCB_CURSOR_CFLAGS
2267 C compiler flags for XCB_CURSOR, overriding pkg-config
2268 XCB_CURSOR_LIBS
2269 linker flags for XCB_CURSOR, overriding pkg-config
2270 XMKMF Path to xmkmf, Makefile generator for X Window System
2271 EVAS_CFLAGS C compiler flags for EVAS, overriding pkg-config
2272 EVAS_LIBS linker flags for EVAS, overriding pkg-config
2273 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config
2274 CURL_LIBS linker flags for CURL, overriding pkg-config
2275 TLS_CFLAGS C compiler flags for TLS, overriding pkg-config
2276 TLS_LIBS linker flags for TLS, overriding pkg-config
2277 TLS2_CFLAGS C compiler flags for TLS2, overriding pkg-config
2278 TLS2_LIBS linker flags for TLS2, overriding pkg-config
2279 SSL_CFLAGS C compiler flags for SSL, overriding pkg-config
2280 SSL_LIBS linker flags for SSL, overriding pkg-config
2281 CARES_CFLAGS
2282 C compiler flags for CARES, overriding pkg-config
2283 CARES_LIBS linker flags for CARES, overriding pkg-config
2284 SCIM_CFLAGS C compiler flags for SCIM, overriding pkg-config
2285 SCIM_LIBS linker flags for SCIM, overriding pkg-config
2286 TSLIB_CFLAGS
2287 C compiler flags for TSLIB, overriding pkg-config
2288 TSLIB_LIBS linker flags for TSLIB, overriding pkg-config
2289 XCB_X11_CFLAGS
2290 C compiler flags for XCB_X11, overriding pkg-config
2291 XCB_X11_LIBS
2292 linker flags for XCB_X11, overriding pkg-config
2293 WAYLAND_CFLAGS
2294 C compiler flags for WAYLAND, overriding pkg-config
2295 WAYLAND_LIBS
2296 linker flags for WAYLAND, overriding pkg-config
2297 WAYLAND_EGL_CFLAGS
2298 C compiler flags for WAYLAND_EGL, overriding pkg-config
2299 WAYLAND_EGL_LIBS
2300 linker flags for WAYLAND_EGL, overriding pkg-config
2301 CHECK_CFLAGS
2302 C compiler flags for CHECK, overriding pkg-config
2303 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2304
2305Use these variables to override the choices made by `configure' or to help
2306it to find libraries and programs with nonstandard names/locations.
2307
2308Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2309_ACEOF
2310ac_status=$?
2311fi
2312
2313if test "$ac_init_help" = "recursive"; then
2314 # If there are subdirs, report their specific --help.
2315 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2316 test -d "$ac_dir" ||
2317 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2318 continue
2319 ac_builddir=.
2320
2321case "$ac_dir" in
2322.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2323*)
2324 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2325 # A ".." for each directory in $ac_dir_suffix.
2326 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2327 case $ac_top_builddir_sub in
2328 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2329 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2330 esac ;;
2331esac
2332ac_abs_top_builddir=$ac_pwd
2333ac_abs_builddir=$ac_pwd$ac_dir_suffix
2334# for backward compatibility:
2335ac_top_builddir=$ac_top_build_prefix
2336
2337case $srcdir in
2338 .) # We are building in place.
2339 ac_srcdir=.
2340 ac_top_srcdir=$ac_top_builddir_sub
2341 ac_abs_top_srcdir=$ac_pwd ;;
2342 [\\/]* | ?:[\\/]* ) # Absolute name.
2343 ac_srcdir=$srcdir$ac_dir_suffix;
2344 ac_top_srcdir=$srcdir
2345 ac_abs_top_srcdir=$srcdir ;;
2346 *) # Relative name.
2347 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2348 ac_top_srcdir=$ac_top_build_prefix$srcdir
2349 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2350esac
2351ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2352
2353 cd "$ac_dir" || { ac_status=$?; continue; }
2354 # Check for guested configure.
2355 if test -f "$ac_srcdir/configure.gnu"; then
2356 echo &&
2357 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2358 elif test -f "$ac_srcdir/configure"; then
2359 echo &&
2360 $SHELL "$ac_srcdir/configure" --help=recursive
2361 else
2362 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2363 fi || ac_status=$?
2364 cd "$ac_pwd" || { ac_status=$?; break; }
2365 done
2366fi
2367
2368test -n "$ac_init_help" && exit $ac_status
2369if $ac_init_version; then
2370 cat <<\_ACEOF
2371ecore configure 1.2.0-alpha
2372generated by GNU Autoconf 2.67
2373
2374Copyright (C) 2010 Free Software Foundation, Inc.
2375This configure script is free software; the Free Software Foundation
2376gives unlimited permission to copy, distribute and modify it.
2377_ACEOF
2378 exit
2379fi
2380
2381## ------------------------ ##
2382## Autoconf initialization. ##
2383## ------------------------ ##
2384
2385# ac_fn_c_try_compile LINENO
2386# --------------------------
2387# Try to compile conftest.$ac_ext, and return whether this succeeded.
2388ac_fn_c_try_compile ()
2389{
2390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2391 rm -f conftest.$ac_objext
2392 if { { ac_try="$ac_compile"
2393case "(($ac_try" in
2394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2395 *) ac_try_echo=$ac_try;;
2396esac
2397eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2398$as_echo "$ac_try_echo"; } >&5
2399 (eval "$ac_compile") 2>conftest.err
2400 ac_status=$?
2401 if test -s conftest.err; then
2402 grep -v '^ *+' conftest.err >conftest.er1
2403 cat conftest.er1 >&5
2404 mv -f conftest.er1 conftest.err
2405 fi
2406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2407 test $ac_status = 0; } && {
2408 test -z "$ac_c_werror_flag" ||
2409 test ! -s conftest.err
2410 } && test -s conftest.$ac_objext; then :
2411 ac_retval=0
2412else
2413 $as_echo "$as_me: failed program was:" >&5
2414sed 's/^/| /' conftest.$ac_ext >&5
2415
2416 ac_retval=1
2417fi
2418 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2419 as_fn_set_status $ac_retval
2420
2421} # ac_fn_c_try_compile
2422
2423# ac_fn_c_try_cpp LINENO
2424# ----------------------
2425# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2426ac_fn_c_try_cpp ()
2427{
2428 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2429 if { { ac_try="$ac_cpp conftest.$ac_ext"
2430case "(($ac_try" in
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2433esac
2434eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2435$as_echo "$ac_try_echo"; } >&5
2436 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2437 ac_status=$?
2438 if test -s conftest.err; then
2439 grep -v '^ *+' conftest.err >conftest.er1
2440 cat conftest.er1 >&5
2441 mv -f conftest.er1 conftest.err
2442 fi
2443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2444 test $ac_status = 0; } > conftest.i && {
2445 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2446 test ! -s conftest.err
2447 }; then :
2448 ac_retval=0
2449else
2450 $as_echo "$as_me: failed program was:" >&5
2451sed 's/^/| /' conftest.$ac_ext >&5
2452
2453 ac_retval=1
2454fi
2455 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2456 as_fn_set_status $ac_retval
2457
2458} # ac_fn_c_try_cpp
2459
2460# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2461# -------------------------------------------------------
2462# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2463# the include files in INCLUDES and setting the cache variable VAR
2464# accordingly.
2465ac_fn_c_check_header_mongrel ()
2466{
2467 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2468 if eval "test \"\${$3+set}\"" = set; then :
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2470$as_echo_n "checking for $2... " >&6; }
2471if eval "test \"\${$3+set}\"" = set; then :
2472 $as_echo_n "(cached) " >&6
2473fi
2474eval ac_res=\$$3
2475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2476$as_echo "$ac_res" >&6; }
2477else
2478 # Is the header compilable?
2479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2480$as_echo_n "checking $2 usability... " >&6; }
2481cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2482/* end confdefs.h. */
2483$4
2484#include <$2>
2485_ACEOF
2486if ac_fn_c_try_compile "$LINENO"; then :
2487 ac_header_compiler=yes
2488else
2489 ac_header_compiler=no
2490fi
2491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2493$as_echo "$ac_header_compiler" >&6; }
2494
2495# Is the header present?
2496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2497$as_echo_n "checking $2 presence... " >&6; }
2498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2499/* end confdefs.h. */
2500#include <$2>
2501_ACEOF
2502if ac_fn_c_try_cpp "$LINENO"; then :
2503 ac_header_preproc=yes
2504else
2505 ac_header_preproc=no
2506fi
2507rm -f conftest.err conftest.i conftest.$ac_ext
2508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2509$as_echo "$ac_header_preproc" >&6; }
2510
2511# So? What about this header?
2512case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2513 yes:no: )
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2515$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2517$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2518 ;;
2519 no:yes:* )
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2521$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2523$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2525$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2527$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2529$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2530( $as_echo "## -------------------------------------------------------- ##
2531## Report this to enlightenment-devel@lists.sourceforge.net ##
2532## -------------------------------------------------------- ##"
2533 ) | sed "s/^/$as_me: WARNING: /" >&2
2534 ;;
2535esac
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2537$as_echo_n "checking for $2... " >&6; }
2538if eval "test \"\${$3+set}\"" = set; then :
2539 $as_echo_n "(cached) " >&6
2540else
2541 eval "$3=\$ac_header_compiler"
2542fi
2543eval ac_res=\$$3
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2545$as_echo "$ac_res" >&6; }
2546fi
2547 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2548
2549} # ac_fn_c_check_header_mongrel
2550
2551# ac_fn_c_try_run LINENO
2552# ----------------------
2553# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2554# that executables *can* be run.
2555ac_fn_c_try_run ()
2556{
2557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2558 if { { ac_try="$ac_link"
2559case "(($ac_try" in
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2562esac
2563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564$as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_link") 2>&5
2566 ac_status=$?
2567 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2568 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2569 { { case "(($ac_try" in
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2572esac
2573eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574$as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_try") 2>&5
2576 ac_status=$?
2577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2578 test $ac_status = 0; }; }; then :
2579 ac_retval=0
2580else
2581 $as_echo "$as_me: program exited with status $ac_status" >&5
2582 $as_echo "$as_me: failed program was:" >&5
2583sed 's/^/| /' conftest.$ac_ext >&5
2584
2585 ac_retval=$ac_status
2586fi
2587 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2588 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2589 as_fn_set_status $ac_retval
2590
2591} # ac_fn_c_try_run
2592
2593# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2594# -------------------------------------------------------
2595# Tests whether HEADER exists and can be compiled using the include files in
2596# INCLUDES, setting the cache variable VAR accordingly.
2597ac_fn_c_check_header_compile ()
2598{
2599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2601$as_echo_n "checking for $2... " >&6; }
2602if eval "test \"\${$3+set}\"" = set; then :
2603 $as_echo_n "(cached) " >&6
2604else
2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2606/* end confdefs.h. */
2607$4
2608#include <$2>
2609_ACEOF
2610if ac_fn_c_try_compile "$LINENO"; then :
2611 eval "$3=yes"
2612else
2613 eval "$3=no"
2614fi
2615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2616fi
2617eval ac_res=\$$3
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2619$as_echo "$ac_res" >&6; }
2620 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2621
2622} # ac_fn_c_check_header_compile
2623
2624# ac_fn_c_try_link LINENO
2625# -----------------------
2626# Try to link conftest.$ac_ext, and return whether this succeeded.
2627ac_fn_c_try_link ()
2628{
2629 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2630 rm -f conftest.$ac_objext conftest$ac_exeext
2631 if { { ac_try="$ac_link"
2632case "(($ac_try" in
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2635esac
2636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2637$as_echo "$ac_try_echo"; } >&5
2638 (eval "$ac_link") 2>conftest.err
2639 ac_status=$?
2640 if test -s conftest.err; then
2641 grep -v '^ *+' conftest.err >conftest.er1
2642 cat conftest.er1 >&5
2643 mv -f conftest.er1 conftest.err
2644 fi
2645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2646 test $ac_status = 0; } && {
2647 test -z "$ac_c_werror_flag" ||
2648 test ! -s conftest.err
2649 } && test -s conftest$ac_exeext && {
2650 test "$cross_compiling" = yes ||
2651 $as_test_x conftest$ac_exeext
2652 }; then :
2653 ac_retval=0
2654else
2655 $as_echo "$as_me: failed program was:" >&5
2656sed 's/^/| /' conftest.$ac_ext >&5
2657
2658 ac_retval=1
2659fi
2660 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2661 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2662 # interfere with the next link command; also delete a directory that is
2663 # left behind by Apple's compiler. We do this before executing the actions.
2664 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2665 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2666 as_fn_set_status $ac_retval
2667
2668} # ac_fn_c_try_link
2669
2670# ac_fn_c_check_func LINENO FUNC VAR
2671# ----------------------------------
2672# Tests whether FUNC exists, setting the cache variable VAR accordingly
2673ac_fn_c_check_func ()
2674{
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2677$as_echo_n "checking for $2... " >&6; }
2678if eval "test \"\${$3+set}\"" = set; then :
2679 $as_echo_n "(cached) " >&6
2680else
2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2682/* end confdefs.h. */
2683/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2685#define $2 innocuous_$2
2686
2687/* System header to define __stub macros and hopefully few prototypes,
2688 which can conflict with char $2 (); below.
2689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2690 <limits.h> exists even on freestanding compilers. */
2691
2692#ifdef __STDC__
2693# include <limits.h>
2694#else
2695# include <assert.h>
2696#endif
2697
2698#undef $2
2699
2700/* Override any GCC internal prototype to avoid an error.
2701 Use char because int might match the return type of a GCC
2702 builtin and then its argument prototype would still apply. */
2703#ifdef __cplusplus
2704extern "C"
2705#endif
2706char $2 ();
2707/* The GNU C library defines this for functions which it implements
2708 to always fail with ENOSYS. Some functions are actually named
2709 something starting with __ and the normal name is an alias. */
2710#if defined __stub_$2 || defined __stub___$2
2711choke me
2712#endif
2713
2714int
2715main ()
2716{
2717return $2 ();
2718 ;
2719 return 0;
2720}
2721_ACEOF
2722if ac_fn_c_try_link "$LINENO"; then :
2723 eval "$3=yes"
2724else
2725 eval "$3=no"
2726fi
2727rm -f core conftest.err conftest.$ac_objext \
2728 conftest$ac_exeext conftest.$ac_ext
2729fi
2730eval ac_res=\$$3
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2732$as_echo "$ac_res" >&6; }
2733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2734
2735} # ac_fn_c_check_func
2736
2737# ac_fn_objc_try_compile LINENO
2738# -----------------------------
2739# Try to compile conftest.$ac_ext, and return whether this succeeded.
2740ac_fn_objc_try_compile ()
2741{
2742 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2743 rm -f conftest.$ac_objext
2744 if { { ac_try="$ac_compile"
2745case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748esac
2749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2750$as_echo "$ac_try_echo"; } >&5
2751 (eval "$ac_compile") 2>conftest.err
2752 ac_status=$?
2753 if test -s conftest.err; then
2754 grep -v '^ *+' conftest.err >conftest.er1
2755 cat conftest.er1 >&5
2756 mv -f conftest.er1 conftest.err
2757 fi
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; } && {
2760 test -z "$ac_objc_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then :
2763 ac_retval=0
2764else
2765 $as_echo "$as_me: failed program was:" >&5
2766sed 's/^/| /' conftest.$ac_ext >&5
2767
2768 ac_retval=1
2769fi
2770 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2771 as_fn_set_status $ac_retval
2772
2773} # ac_fn_objc_try_compile
2774
2775# ac_fn_cxx_try_compile LINENO
2776# ----------------------------
2777# Try to compile conftest.$ac_ext, and return whether this succeeded.
2778ac_fn_cxx_try_compile ()
2779{
2780 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2781 rm -f conftest.$ac_objext
2782 if { { ac_try="$ac_compile"
2783case "(($ac_try" in
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2786esac
2787eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788$as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_compile") 2>conftest.err
2790 ac_status=$?
2791 if test -s conftest.err; then
2792 grep -v '^ *+' conftest.err >conftest.er1
2793 cat conftest.er1 >&5
2794 mv -f conftest.er1 conftest.err
2795 fi
2796 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2797 test $ac_status = 0; } && {
2798 test -z "$ac_cxx_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then :
2801 ac_retval=0
2802else
2803 $as_echo "$as_me: failed program was:" >&5
2804sed 's/^/| /' conftest.$ac_ext >&5
2805
2806 ac_retval=1
2807fi
2808 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2809 as_fn_set_status $ac_retval
2810
2811} # ac_fn_cxx_try_compile
2812
2813# ac_fn_cxx_try_cpp LINENO
2814# ------------------------
2815# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2816ac_fn_cxx_try_cpp ()
2817{
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 if { { ac_try="$ac_cpp conftest.$ac_ext"
2820case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823esac
2824eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2825$as_echo "$ac_try_echo"; } >&5
2826 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2827 ac_status=$?
2828 if test -s conftest.err; then
2829 grep -v '^ *+' conftest.err >conftest.er1
2830 cat conftest.er1 >&5
2831 mv -f conftest.er1 conftest.err
2832 fi
2833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2834 test $ac_status = 0; } > conftest.i && {
2835 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2836 test ! -s conftest.err
2837 }; then :
2838 ac_retval=0
2839else
2840 $as_echo "$as_me: failed program was:" >&5
2841sed 's/^/| /' conftest.$ac_ext >&5
2842
2843 ac_retval=1
2844fi
2845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2846 as_fn_set_status $ac_retval
2847
2848} # ac_fn_cxx_try_cpp
2849
2850# ac_fn_cxx_try_link LINENO
2851# -------------------------
2852# Try to link conftest.$ac_ext, and return whether this succeeded.
2853ac_fn_cxx_try_link ()
2854{
2855 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2856 rm -f conftest.$ac_objext conftest$ac_exeext
2857 if { { ac_try="$ac_link"
2858case "(($ac_try" in
2859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2860 *) ac_try_echo=$ac_try;;
2861esac
2862eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2863$as_echo "$ac_try_echo"; } >&5
2864 (eval "$ac_link") 2>conftest.err
2865 ac_status=$?
2866 if test -s conftest.err; then
2867 grep -v '^ *+' conftest.err >conftest.er1
2868 cat conftest.er1 >&5
2869 mv -f conftest.er1 conftest.err
2870 fi
2871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2872 test $ac_status = 0; } && {
2873 test -z "$ac_cxx_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest$ac_exeext && {
2876 test "$cross_compiling" = yes ||
2877 $as_test_x conftest$ac_exeext
2878 }; then :
2879 ac_retval=0
2880else
2881 $as_echo "$as_me: failed program was:" >&5
2882sed 's/^/| /' conftest.$ac_ext >&5
2883
2884 ac_retval=1
2885fi
2886 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2887 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2888 # interfere with the next link command; also delete a directory that is
2889 # left behind by Apple's compiler. We do this before executing the actions.
2890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2891 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2892 as_fn_set_status $ac_retval
2893
2894} # ac_fn_cxx_try_link
2895
2896# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2897# ---------------------------------------------
2898# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2899# accordingly.
2900ac_fn_c_check_decl ()
2901{
2902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2903 as_decl_name=`echo $2|sed 's/ *(.*//'`
2904 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2906$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2907if eval "test \"\${$3+set}\"" = set; then :
2908 $as_echo_n "(cached) " >&6
2909else
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911/* end confdefs.h. */
2912$4
2913int
2914main ()
2915{
2916#ifndef $as_decl_name
2917#ifdef __cplusplus
2918 (void) $as_decl_use;
2919#else
2920 (void) $as_decl_name;
2921#endif
2922#endif
2923
2924 ;
2925 return 0;
2926}
2927_ACEOF
2928if ac_fn_c_try_compile "$LINENO"; then :
2929 eval "$3=yes"
2930else
2931 eval "$3=no"
2932fi
2933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934fi
2935eval ac_res=\$$3
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2937$as_echo "$ac_res" >&6; }
2938 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2939
2940} # ac_fn_c_check_decl
2941
2942# ac_fn_objc_try_link LINENO
2943# --------------------------
2944# Try to link conftest.$ac_ext, and return whether this succeeded.
2945ac_fn_objc_try_link ()
2946{
2947 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2948 rm -f conftest.$ac_objext conftest$ac_exeext
2949 if { { ac_try="$ac_link"
2950case "(($ac_try" in
2951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2952 *) ac_try_echo=$ac_try;;
2953esac
2954eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2955$as_echo "$ac_try_echo"; } >&5
2956 (eval "$ac_link") 2>conftest.err
2957 ac_status=$?
2958 if test -s conftest.err; then
2959 grep -v '^ *+' conftest.err >conftest.er1
2960 cat conftest.er1 >&5
2961 mv -f conftest.er1 conftest.err
2962 fi
2963 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2964 test $ac_status = 0; } && {
2965 test -z "$ac_objc_werror_flag" ||
2966 test ! -s conftest.err
2967 } && test -s conftest$ac_exeext && {
2968 test "$cross_compiling" = yes ||
2969 $as_test_x conftest$ac_exeext
2970 }; then :
2971 ac_retval=0
2972else
2973 $as_echo "$as_me: failed program was:" >&5
2974sed 's/^/| /' conftest.$ac_ext >&5
2975
2976 ac_retval=1
2977fi
2978 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2979 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2980 # interfere with the next link command; also delete a directory that is
2981 # left behind by Apple's compiler. We do this before executing the actions.
2982 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2983 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2984 as_fn_set_status $ac_retval
2985
2986} # ac_fn_objc_try_link
2987
2988# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2989# --------------------------------------------
2990# Tries to find the compile-time value of EXPR in a program that includes
2991# INCLUDES, setting VAR accordingly. Returns whether the value could be
2992# computed
2993ac_fn_c_compute_int ()
2994{
2995 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2996 if test "$cross_compiling" = yes; then
2997 # Depending upon the size, compute the lo and hi bounds.
2998cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2999/* end confdefs.h. */
3000$4
3001int
3002main ()
3003{
3004static int test_array [1 - 2 * !(($2) >= 0)];
3005test_array [0] = 0
3006
3007 ;
3008 return 0;
3009}
3010_ACEOF
3011if ac_fn_c_try_compile "$LINENO"; then :
3012 ac_lo=0 ac_mid=0
3013 while :; do
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015/* end confdefs.h. */
3016$4
3017int
3018main ()
3019{
3020static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3021test_array [0] = 0
3022
3023 ;
3024 return 0;
3025}
3026_ACEOF
3027if ac_fn_c_try_compile "$LINENO"; then :
3028 ac_hi=$ac_mid; break
3029else
3030 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3031 if test $ac_lo -le $ac_mid; then
3032 ac_lo= ac_hi=
3033 break
3034 fi
3035 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3036fi
3037rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 done
3039else
3040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3041/* end confdefs.h. */
3042$4
3043int
3044main ()
3045{
3046static int test_array [1 - 2 * !(($2) < 0)];
3047test_array [0] = 0
3048
3049 ;
3050 return 0;
3051}
3052_ACEOF
3053if ac_fn_c_try_compile "$LINENO"; then :
3054 ac_hi=-1 ac_mid=-1
3055 while :; do
3056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3057/* end confdefs.h. */
3058$4
3059int
3060main ()
3061{
3062static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3063test_array [0] = 0
3064
3065 ;
3066 return 0;
3067}
3068_ACEOF
3069if ac_fn_c_try_compile "$LINENO"; then :
3070 ac_lo=$ac_mid; break
3071else
3072 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3073 if test $ac_mid -le $ac_hi; then
3074 ac_lo= ac_hi=
3075 break
3076 fi
3077 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3078fi
3079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3080 done
3081else
3082 ac_lo= ac_hi=
3083fi
3084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3085fi
3086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3087# Binary search between lo and hi bounds.
3088while test "x$ac_lo" != "x$ac_hi"; do
3089 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3091/* end confdefs.h. */
3092$4
3093int
3094main ()
3095{
3096static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3097test_array [0] = 0
3098
3099 ;
3100 return 0;
3101}
3102_ACEOF
3103if ac_fn_c_try_compile "$LINENO"; then :
3104 ac_hi=$ac_mid
3105else
3106 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3107fi
3108rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109done
3110case $ac_lo in #((
3111?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3112'') ac_retval=1 ;;
3113esac
3114 else
3115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3116/* end confdefs.h. */
3117$4
3118static long int longval () { return $2; }
3119static unsigned long int ulongval () { return $2; }
3120#include <stdio.h>
3121#include <stdlib.h>
3122int
3123main ()
3124{
3125
3126 FILE *f = fopen ("conftest.val", "w");
3127 if (! f)
3128 return 1;
3129 if (($2) < 0)
3130 {
3131 long int i = longval ();
3132 if (i != ($2))
3133 return 1;
3134 fprintf (f, "%ld", i);
3135 }
3136 else
3137 {
3138 unsigned long int i = ulongval ();
3139 if (i != ($2))
3140 return 1;
3141 fprintf (f, "%lu", i);
3142 }
3143 /* Do not output a trailing newline, as this causes \r\n confusion
3144 on some platforms. */
3145 return ferror (f) || fclose (f) != 0;
3146
3147 ;
3148 return 0;
3149}
3150_ACEOF
3151if ac_fn_c_try_run "$LINENO"; then :
3152 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3153else
3154 ac_retval=1
3155fi
3156rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3157 conftest.$ac_objext conftest.beam conftest.$ac_ext
3158rm -f conftest.val
3159
3160 fi
3161 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3162 as_fn_set_status $ac_retval
3163
3164} # ac_fn_c_compute_int
3165
3166# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3167# -------------------------------------------
3168# Tests whether TYPE exists after having included INCLUDES, setting cache
3169# variable VAR accordingly.
3170ac_fn_c_check_type ()
3171{
3172 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3174$as_echo_n "checking for $2... " >&6; }
3175if eval "test \"\${$3+set}\"" = set; then :
3176 $as_echo_n "(cached) " >&6
3177else
3178 eval "$3=no"
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180/* end confdefs.h. */
3181$4
3182int
3183main ()
3184{
3185if (sizeof ($2))
3186 return 0;
3187 ;
3188 return 0;
3189}
3190_ACEOF
3191if ac_fn_c_try_compile "$LINENO"; then :
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193/* end confdefs.h. */
3194$4
3195int
3196main ()
3197{
3198if (sizeof (($2)))
3199 return 0;
3200 ;
3201 return 0;
3202}
3203_ACEOF
3204if ac_fn_c_try_compile "$LINENO"; then :
3205
3206else
3207 eval "$3=yes"
3208fi
3209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210fi
3211rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212fi
3213eval ac_res=\$$3
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3215$as_echo "$ac_res" >&6; }
3216 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3217
3218} # ac_fn_c_check_type
3219cat >config.log <<_ACEOF
3220This file contains any messages produced by compilers while
3221running configure, to aid debugging if configure makes a mistake.
3222
3223It was created by ecore $as_me 1.2.0-alpha, which was
3224generated by GNU Autoconf 2.67. Invocation command line was
3225
3226 $ $0 $@
3227
3228_ACEOF
3229exec 5>>config.log
3230{
3231cat <<_ASUNAME
3232## --------- ##
3233## Platform. ##
3234## --------- ##
3235
3236hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3237uname -m = `(uname -m) 2>/dev/null || echo unknown`
3238uname -r = `(uname -r) 2>/dev/null || echo unknown`
3239uname -s = `(uname -s) 2>/dev/null || echo unknown`
3240uname -v = `(uname -v) 2>/dev/null || echo unknown`
3241
3242/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3243/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3244
3245/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3246/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3247/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3248/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3249/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3250/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3251/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3252
3253_ASUNAME
3254
3255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256for as_dir in $PATH
3257do
3258 IFS=$as_save_IFS
3259 test -z "$as_dir" && as_dir=.
3260 $as_echo "PATH: $as_dir"
3261 done
3262IFS=$as_save_IFS
3263
3264} >&5
3265
3266cat >&5 <<_ACEOF
3267
3268
3269## ----------- ##
3270## Core tests. ##
3271## ----------- ##
3272
3273_ACEOF
3274
3275
3276# Keep a trace of the command line.
3277# Strip out --no-create and --no-recursion so they do not pile up.
3278# Strip out --silent because we don't want to record it for future runs.
3279# Also quote any args containing shell meta-characters.
3280# Make two passes to allow for proper duplicate-argument suppression.
3281ac_configure_args=
3282ac_configure_args0=
3283ac_configure_args1=
3284ac_must_keep_next=false
3285for ac_pass in 1 2
3286do
3287 for ac_arg
3288 do
3289 case $ac_arg in
3290 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3292 | -silent | --silent | --silen | --sile | --sil)
3293 continue ;;
3294 *\'*)
3295 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3296 esac
3297 case $ac_pass in
3298 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3299 2)
3300 as_fn_append ac_configure_args1 " '$ac_arg'"
3301 if test $ac_must_keep_next = true; then
3302 ac_must_keep_next=false # Got value, back to normal.
3303 else
3304 case $ac_arg in
3305 *=* | --config-cache | -C | -disable-* | --disable-* \
3306 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3307 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3308 | -with-* | --with-* | -without-* | --without-* | --x)
3309 case "$ac_configure_args0 " in
3310 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3311 esac
3312 ;;
3313 -* ) ac_must_keep_next=true ;;
3314 esac
3315 fi
3316 as_fn_append ac_configure_args " '$ac_arg'"
3317 ;;
3318 esac
3319 done
3320done
3321{ ac_configure_args0=; unset ac_configure_args0;}
3322{ ac_configure_args1=; unset ac_configure_args1;}
3323
3324# When interrupted or exit'd, cleanup temporary files, and complete
3325# config.log. We remove comments because anyway the quotes in there
3326# would cause problems or look ugly.
3327# WARNING: Use '\'' to represent an apostrophe within the trap.
3328# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3329trap 'exit_status=$?
3330 # Save into config.log some information that might help in debugging.
3331 {
3332 echo
3333
3334 $as_echo "## ---------------- ##
3335## Cache variables. ##
3336## ---------------- ##"
3337 echo
3338 # The following way of writing the cache mishandles newlines in values,
3339(
3340 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3341 eval ac_val=\$$ac_var
3342 case $ac_val in #(
3343 *${as_nl}*)
3344 case $ac_var in #(
3345 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3346$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3347 esac
3348 case $ac_var in #(
3349 _ | IFS | as_nl) ;; #(
3350 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3351 *) { eval $ac_var=; unset $ac_var;} ;;
3352 esac ;;
3353 esac
3354 done
3355 (set) 2>&1 |
3356 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3357 *${as_nl}ac_space=\ *)
3358 sed -n \
3359 "s/'\''/'\''\\\\'\'''\''/g;
3360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3361 ;; #(
3362 *)
3363 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3364 ;;
3365 esac |
3366 sort
3367)
3368 echo
3369
3370 $as_echo "## ----------------- ##
3371## Output variables. ##
3372## ----------------- ##"
3373 echo
3374 for ac_var in $ac_subst_vars
3375 do
3376 eval ac_val=\$$ac_var
3377 case $ac_val in
3378 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3379 esac
3380 $as_echo "$ac_var='\''$ac_val'\''"
3381 done | sort
3382 echo
3383
3384 if test -n "$ac_subst_files"; then
3385 $as_echo "## ------------------- ##
3386## File substitutions. ##
3387## ------------------- ##"
3388 echo
3389 for ac_var in $ac_subst_files
3390 do
3391 eval ac_val=\$$ac_var
3392 case $ac_val in
3393 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3394 esac
3395 $as_echo "$ac_var='\''$ac_val'\''"
3396 done | sort
3397 echo
3398 fi
3399
3400 if test -s confdefs.h; then
3401 $as_echo "## ----------- ##
3402## confdefs.h. ##
3403## ----------- ##"
3404 echo
3405 cat confdefs.h
3406 echo
3407 fi
3408 test "$ac_signal" != 0 &&
3409 $as_echo "$as_me: caught signal $ac_signal"
3410 $as_echo "$as_me: exit $exit_status"
3411 } >&5
3412 rm -f core *.core core.conftest.* &&
3413 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3414 exit $exit_status
3415' 0
3416for ac_signal in 1 2 13 15; do
3417 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3418done
3419ac_signal=0
3420
3421# confdefs.h avoids OS command line length limits that DEFS can exceed.
3422rm -f -r conftest* confdefs.h
3423
3424$as_echo "/* confdefs.h */" > confdefs.h
3425
3426# Predefined preprocessor variables.
3427
3428cat >>confdefs.h <<_ACEOF
3429#define PACKAGE_NAME "$PACKAGE_NAME"
3430_ACEOF
3431
3432cat >>confdefs.h <<_ACEOF
3433#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3434_ACEOF
3435
3436cat >>confdefs.h <<_ACEOF
3437#define PACKAGE_VERSION "$PACKAGE_VERSION"
3438_ACEOF
3439
3440cat >>confdefs.h <<_ACEOF
3441#define PACKAGE_STRING "$PACKAGE_STRING"
3442_ACEOF
3443
3444cat >>confdefs.h <<_ACEOF
3445#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3446_ACEOF
3447
3448cat >>confdefs.h <<_ACEOF
3449#define PACKAGE_URL "$PACKAGE_URL"
3450_ACEOF
3451
3452
3453# Let the site file select an alternate cache file if it wants to.
3454# Prefer an explicitly selected file to automatically selected ones.
3455ac_site_file1=NONE
3456ac_site_file2=NONE
3457if test -n "$CONFIG_SITE"; then
3458 # We do not want a PATH search for config.site.
3459 case $CONFIG_SITE in #((
3460 -*) ac_site_file1=./$CONFIG_SITE;;
3461 */*) ac_site_file1=$CONFIG_SITE;;
3462 *) ac_site_file1=./$CONFIG_SITE;;
3463 esac
3464elif test "x$prefix" != xNONE; then
3465 ac_site_file1=$prefix/share/config.site
3466 ac_site_file2=$prefix/etc/config.site
3467else
3468 ac_site_file1=$ac_default_prefix/share/config.site
3469 ac_site_file2=$ac_default_prefix/etc/config.site
3470fi
3471for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3472do
3473 test "x$ac_site_file" = xNONE && continue
3474 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3476$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3477 sed 's/^/| /' "$ac_site_file" >&5
3478 . "$ac_site_file" \
3479 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3481as_fn_error $? "failed to load site script $ac_site_file
3482See \`config.log' for more details" "$LINENO" 5 ; }
3483 fi
3484done
3485
3486if test -r "$cache_file"; then
3487 # Some versions of bash will fail to source /dev/null (special files
3488 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3489 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3491$as_echo "$as_me: loading cache $cache_file" >&6;}
3492 case $cache_file in
3493 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3494 *) . "./$cache_file";;
3495 esac
3496 fi
3497else
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3499$as_echo "$as_me: creating cache $cache_file" >&6;}
3500 >$cache_file
3501fi
3502
3503gt_needs="$gt_needs "
3504# Check that the precious variables saved in the cache have kept the same
3505# value.
3506ac_cache_corrupted=false
3507for ac_var in $ac_precious_vars; do
3508 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3509 eval ac_new_set=\$ac_env_${ac_var}_set
3510 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3511 eval ac_new_val=\$ac_env_${ac_var}_value
3512 case $ac_old_set,$ac_new_set in
3513 set,)
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3515$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3516 ac_cache_corrupted=: ;;
3517 ,set)
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3519$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3520 ac_cache_corrupted=: ;;
3521 ,);;
3522 *)
3523 if test "x$ac_old_val" != "x$ac_new_val"; then
3524 # differences in whitespace do not lead to failure.
3525 ac_old_val_w=`echo x $ac_old_val`
3526 ac_new_val_w=`echo x $ac_new_val`
3527 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3529$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3530 ac_cache_corrupted=:
3531 else
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3533$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3534 eval $ac_var=\$ac_old_val
3535 fi
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3537$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3539$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3540 fi;;
3541 esac
3542 # Pass precious variables to config.status.
3543 if test "$ac_new_set" = set; then
3544 case $ac_new_val in
3545 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3546 *) ac_arg=$ac_var=$ac_new_val ;;
3547 esac
3548 case " $ac_configure_args " in
3549 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3550 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3551 esac
3552 fi
3553done
3554if $ac_cache_corrupted; then
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3556$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3558$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3559 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3560fi
3561## -------------------- ##
3562## Main body of script. ##
3563## -------------------- ##
3564
3565ac_ext=c
3566ac_cpp='$CPP $CPPFLAGS'
3567ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3568ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3569ac_compiler_gnu=$ac_cv_c_compiler_gnu
3570
3571
3572
3573
3574
3575
3576ac_config_headers="$ac_config_headers config.h"
3577
3578
3579
3580
3581am__api_version='1.11'
3582
3583ac_aux_dir=
3584for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3585 if test -f "$ac_dir/install-sh"; then
3586 ac_aux_dir=$ac_dir
3587 ac_install_sh="$ac_aux_dir/install-sh -c"
3588 break
3589 elif test -f "$ac_dir/install.sh"; then
3590 ac_aux_dir=$ac_dir
3591 ac_install_sh="$ac_aux_dir/install.sh -c"
3592 break
3593 elif test -f "$ac_dir/shtool"; then
3594 ac_aux_dir=$ac_dir
3595 ac_install_sh="$ac_aux_dir/shtool install -c"
3596 break
3597 fi
3598done
3599if test -z "$ac_aux_dir"; then
3600 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3601fi
3602
3603# These three variables are undocumented and unsupported,
3604# and are intended to be withdrawn in a future Autoconf release.
3605# They can cause serious problems if a builder's source tree is in a directory
3606# whose full name contains unusual characters.
3607ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3608ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3609ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3610
3611
3612# Find a good install program. We prefer a C program (faster),
3613# so one script is as good as another. But avoid the broken or
3614# incompatible versions:
3615# SysV /etc/install, /usr/sbin/install
3616# SunOS /usr/etc/install
3617# IRIX /sbin/install
3618# AIX /bin/install
3619# AmigaOS /C/install, which installs bootblocks on floppy discs
3620# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3621# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3622# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3623# OS/2's system install, which has a completely different semantic
3624# ./install, which can be erroneously created by make from ./install.sh.
3625# Reject install programs that cannot install multiple files.
3626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3627$as_echo_n "checking for a BSD-compatible install... " >&6; }
3628if test -z "$INSTALL"; then
3629if test "${ac_cv_path_install+set}" = set; then :
3630 $as_echo_n "(cached) " >&6
3631else
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633for as_dir in $PATH
3634do
3635 IFS=$as_save_IFS
3636 test -z "$as_dir" && as_dir=.
3637 # Account for people who put trailing slashes in PATH elements.
3638case $as_dir/ in #((
3639 ./ | .// | /[cC]/* | \
3640 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3641 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3642 /usr/ucb/* ) ;;
3643 *)
3644 # OSF1 and SCO ODT 3.0 have their own names for install.
3645 # Don't use installbsd from OSF since it installs stuff as root
3646 # by default.
3647 for ac_prog in ginstall scoinst install; do
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3650 if test $ac_prog = install &&
3651 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3652 # AIX install. It has an incompatible calling convention.
3653 :
3654 elif test $ac_prog = install &&
3655 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3656 # program-specific install script used by HP pwplus--don't use.
3657 :
3658 else
3659 rm -rf conftest.one conftest.two conftest.dir
3660 echo one > conftest.one
3661 echo two > conftest.two
3662 mkdir conftest.dir
3663 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3664 test -s conftest.one && test -s conftest.two &&
3665 test -s conftest.dir/conftest.one &&
3666 test -s conftest.dir/conftest.two
3667 then
3668 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3669 break 3
3670 fi
3671 fi
3672 fi
3673 done
3674 done
3675 ;;
3676esac
3677
3678 done
3679IFS=$as_save_IFS
3680
3681rm -rf conftest.one conftest.two conftest.dir
3682
3683fi
3684 if test "${ac_cv_path_install+set}" = set; then
3685 INSTALL=$ac_cv_path_install
3686 else
3687 # As a last resort, use the slow shell script. Don't cache a
3688 # value for INSTALL within a source directory, because that will
3689 # break other packages using the cache if that directory is
3690 # removed, or if the value is a relative name.
3691 INSTALL=$ac_install_sh
3692 fi
3693fi
3694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3695$as_echo "$INSTALL" >&6; }
3696
3697# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3698# It thinks the first close brace ends the variable substitution.
3699test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3700
3701test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3702
3703test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3704
3705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3706$as_echo_n "checking whether build environment is sane... " >&6; }
3707# Just in case
3708sleep 1
3709echo timestamp > conftest.file
3710# Reject unsafe characters in $srcdir or the absolute working directory
3711# name. Accept space and tab only in the latter.
3712am_lf='
3713'
3714case `pwd` in
3715 *[\\\"\#\$\&\'\`$am_lf]*)
3716 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3717esac
3718case $srcdir in
3719 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3720 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3721esac
3722
3723# Do `set' in a subshell so we don't clobber the current shell's
3724# arguments. Must try -L first in case configure is actually a
3725# symlink; some systems play weird games with the mod time of symlinks
3726# (eg FreeBSD returns the mod time of the symlink's containing
3727# directory).
3728if (
3729 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3730 if test "$*" = "X"; then
3731 # -L didn't work.
3732 set X `ls -t "$srcdir/configure" conftest.file`
3733 fi
3734 rm -f conftest.file
3735 if test "$*" != "X $srcdir/configure conftest.file" \
3736 && test "$*" != "X conftest.file $srcdir/configure"; then
3737
3738 # If neither matched, then we have a broken ls. This can happen
3739 # if, for instance, CONFIG_SHELL is bash and it inherits a
3740 # broken ls alias from the environment. This has actually
3741 # happened. Such a system could not be considered "sane".
3742 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3743alias in your environment" "$LINENO" 5
3744 fi
3745
3746 test "$2" = conftest.file
3747 )
3748then
3749 # Ok.
3750 :
3751else
3752 as_fn_error $? "newly created file is older than distributed files!
3753Check your system clock" "$LINENO" 5
3754fi
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3756$as_echo "yes" >&6; }
3757test "$program_prefix" != NONE &&
3758 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3759# Use a double $ so make ignores it.
3760test "$program_suffix" != NONE &&
3761 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3762# Double any \ or $.
3763# By default was `s,x,x', remove it if useless.
3764ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3765program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3766
3767# expand $ac_aux_dir to an absolute path
3768am_aux_dir=`cd $ac_aux_dir && pwd`
3769
3770if test x"${MISSING+set}" != xset; then
3771 case $am_aux_dir in
3772 *\ * | *\ *)
3773 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3774 *)
3775 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3776 esac
3777fi
3778# Use eval to expand $SHELL
3779if eval "$MISSING --run true"; then
3780 am_missing_run="$MISSING --run "
3781else
3782 am_missing_run=
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3784$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3785fi
3786
3787if test x"${install_sh}" != xset; then
3788 case $am_aux_dir in
3789 *\ * | *\ *)
3790 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3791 *)
3792 install_sh="\${SHELL} $am_aux_dir/install-sh"
3793 esac
3794fi
3795
3796# Installed binaries are usually stripped using `strip' when the user
3797# run `make install-strip'. However `strip' might not be the right
3798# tool to use in cross-compilation environments, therefore Automake
3799# will honor the `STRIP' environment variable to overrule this program.
3800if test "$cross_compiling" != no; then
3801 if test -n "$ac_tool_prefix"; then
3802 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3803set dummy ${ac_tool_prefix}strip; ac_word=$2
3804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3805$as_echo_n "checking for $ac_word... " >&6; }
3806if test "${ac_cv_prog_STRIP+set}" = set; then :
3807 $as_echo_n "(cached) " >&6
3808else
3809 if test -n "$STRIP"; then
3810 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3811else
3812as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813for as_dir in $PATH
3814do
3815 IFS=$as_save_IFS
3816 test -z "$as_dir" && as_dir=.
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3819 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3821 break 2
3822 fi
3823done
3824 done
3825IFS=$as_save_IFS
3826
3827fi
3828fi
3829STRIP=$ac_cv_prog_STRIP
3830if test -n "$STRIP"; then
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3832$as_echo "$STRIP" >&6; }
3833else
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3835$as_echo "no" >&6; }
3836fi
3837
3838
3839fi
3840if test -z "$ac_cv_prog_STRIP"; then
3841 ac_ct_STRIP=$STRIP
3842 # Extract the first word of "strip", so it can be a program name with args.
3843set dummy strip; ac_word=$2
3844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845$as_echo_n "checking for $ac_word... " >&6; }
3846if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3847 $as_echo_n "(cached) " >&6
3848else
3849 if test -n "$ac_ct_STRIP"; then
3850 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3851else
3852as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853for as_dir in $PATH
3854do
3855 IFS=$as_save_IFS
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3859 ac_cv_prog_ac_ct_STRIP="strip"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 break 2
3862 fi
3863done
3864 done
3865IFS=$as_save_IFS
3866
3867fi
3868fi
3869ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3870if test -n "$ac_ct_STRIP"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3872$as_echo "$ac_ct_STRIP" >&6; }
3873else
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875$as_echo "no" >&6; }
3876fi
3877
3878 if test "x$ac_ct_STRIP" = x; then
3879 STRIP=":"
3880 else
3881 case $cross_compiling:$ac_tool_warned in
3882yes:)
3883{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3884$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3885ac_tool_warned=yes ;;
3886esac
3887 STRIP=$ac_ct_STRIP
3888 fi
3889else
3890 STRIP="$ac_cv_prog_STRIP"
3891fi
3892
3893fi
3894INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3895
3896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3897$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3898if test -z "$MKDIR_P"; then
3899 if test "${ac_cv_path_mkdir+set}" = set; then :
3900 $as_echo_n "(cached) " >&6
3901else
3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3903for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3904do
3905 IFS=$as_save_IFS
3906 test -z "$as_dir" && as_dir=.
3907 for ac_prog in mkdir gmkdir; do
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3910 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3911 'mkdir (GNU coreutils) '* | \
3912 'mkdir (coreutils) '* | \
3913 'mkdir (fileutils) '4.1*)
3914 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3915 break 3;;
3916 esac
3917 done
3918 done
3919 done
3920IFS=$as_save_IFS
3921
3922fi
3923
3924 test -d ./--version && rmdir ./--version
3925 if test "${ac_cv_path_mkdir+set}" = set; then
3926 MKDIR_P="$ac_cv_path_mkdir -p"
3927 else
3928 # As a last resort, use the slow shell script. Don't cache a
3929 # value for MKDIR_P within a source directory, because that will
3930 # break other packages using the cache if that directory is
3931 # removed, or if the value is a relative name.
3932 MKDIR_P="$ac_install_sh -d"
3933 fi
3934fi
3935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3936$as_echo "$MKDIR_P" >&6; }
3937
3938mkdir_p="$MKDIR_P"
3939case $mkdir_p in
3940 [\\/$]* | ?:[\\/]*) ;;
3941 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3942esac
3943
3944for ac_prog in gawk mawk nawk awk
3945do
3946 # Extract the first word of "$ac_prog", so it can be a program name with args.
3947set dummy $ac_prog; ac_word=$2
3948{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949$as_echo_n "checking for $ac_word... " >&6; }
3950if test "${ac_cv_prog_AWK+set}" = set; then :
3951 $as_echo_n "(cached) " >&6
3952else
3953 if test -n "$AWK"; then
3954 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3955else
3956as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3957for as_dir in $PATH
3958do
3959 IFS=$as_save_IFS
3960 test -z "$as_dir" && as_dir=.
3961 for ac_exec_ext in '' $ac_executable_extensions; do
3962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3963 ac_cv_prog_AWK="$ac_prog"
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 break 2
3966 fi
3967done
3968 done
3969IFS=$as_save_IFS
3970
3971fi
3972fi
3973AWK=$ac_cv_prog_AWK
3974if test -n "$AWK"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3976$as_echo "$AWK" >&6; }
3977else
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979$as_echo "no" >&6; }
3980fi
3981
3982
3983 test -n "$AWK" && break
3984done
3985
3986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3987$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3988set x ${MAKE-make}
3989ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3990if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
3991 $as_echo_n "(cached) " >&6
3992else
3993 cat >conftest.make <<\_ACEOF
3994SHELL = /bin/sh
3995all:
3996 @echo '@@@%%%=$(MAKE)=@@@%%%'
3997_ACEOF
3998# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3999case `${MAKE-make} -f conftest.make 2>/dev/null` in
4000 *@@@%%%=?*=@@@%%%*)
4001 eval ac_cv_prog_make_${ac_make}_set=yes;;
4002 *)
4003 eval ac_cv_prog_make_${ac_make}_set=no;;
4004esac
4005rm -f conftest.make
4006fi
4007if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4009$as_echo "yes" >&6; }
4010 SET_MAKE=
4011else
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013$as_echo "no" >&6; }
4014 SET_MAKE="MAKE=${MAKE-make}"
4015fi
4016
4017rm -rf .tst 2>/dev/null
4018mkdir .tst 2>/dev/null
4019if test -d .tst; then
4020 am__leading_dot=.
4021else
4022 am__leading_dot=_
4023fi
4024rmdir .tst 2>/dev/null
4025
4026if test "`cd $srcdir && pwd`" != "`pwd`"; then
4027 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4028 # is not polluted with repeated "-I."
4029 am__isrc=' -I$(srcdir)'
4030 # test to see if srcdir already configured
4031 if test -f $srcdir/config.status; then
4032 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4033 fi
4034fi
4035
4036# test whether we have cygpath
4037if test -z "$CYGPATH_W"; then
4038 if (cygpath --version) >/dev/null 2>/dev/null; then
4039 CYGPATH_W='cygpath -w'
4040 else
4041 CYGPATH_W=echo
4042 fi
4043fi
4044
4045
4046# Define the identity of the package.
4047 PACKAGE='ecore'
4048 VERSION='1.2.0-alpha'
4049
4050
4051cat >>confdefs.h <<_ACEOF
4052#define PACKAGE "$PACKAGE"
4053_ACEOF
4054
4055
4056cat >>confdefs.h <<_ACEOF
4057#define VERSION "$VERSION"
4058_ACEOF
4059
4060# Some tools Automake needs.
4061
4062ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4063
4064
4065AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4066
4067
4068AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4069
4070
4071AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4072
4073
4074MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4075
4076# We need awk for the "check" target. The system "awk" is bad on
4077# some platforms.
4078# Always define AMTAR for backward compatibility.
4079
4080AMTAR=${AMTAR-"${am_missing_run}tar"}
4081
4082am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4083
4084
4085
4086
4087
4088# Check whether --enable-silent-rules was given.
4089if test "${enable_silent_rules+set}" = set; then :
4090 enableval=$enable_silent_rules;
4091fi
4092
4093case $enable_silent_rules in
4094yes) AM_DEFAULT_VERBOSITY=0;;
4095no) AM_DEFAULT_VERBOSITY=1;;
4096*) AM_DEFAULT_VERBOSITY=0;;
4097esac
4098AM_BACKSLASH='\'
4099
4100
4101DEPDIR="${am__leading_dot}deps"
4102
4103ac_config_commands="$ac_config_commands depfiles"
4104
4105
4106am_make=${MAKE-make}
4107cat > confinc << 'END'
4108am__doit:
4109 @echo this is the am__doit target
4110.PHONY: am__doit
4111END
4112# If we don't find an include directive, just comment out the code.
4113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4114$as_echo_n "checking for style of include used by $am_make... " >&6; }
4115am__include="#"
4116am__quote=
4117_am_result=none
4118# First try GNU make style include.
4119echo "include confinc" > confmf
4120# Ignore all kinds of additional output from `make'.
4121case `$am_make -s -f confmf 2> /dev/null` in #(
4122*the\ am__doit\ target*)
4123 am__include=include
4124 am__quote=
4125 _am_result=GNU
4126 ;;
4127esac
4128# Now try BSD make style include.
4129if test "$am__include" = "#"; then
4130 echo '.include "confinc"' > confmf
4131 case `$am_make -s -f confmf 2> /dev/null` in #(
4132 *the\ am__doit\ target*)
4133 am__include=.include
4134 am__quote="\""
4135 _am_result=BSD
4136 ;;
4137 esac
4138fi
4139
4140
4141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4142$as_echo "$_am_result" >&6; }
4143rm -f confinc confmf
4144
4145# Check whether --enable-dependency-tracking was given.
4146if test "${enable_dependency_tracking+set}" = set; then :
4147 enableval=$enable_dependency_tracking;
4148fi
4149
4150if test "x$enable_dependency_tracking" != xno; then
4151 am_depcomp="$ac_aux_dir/depcomp"
4152 AMDEPBACKSLASH='\'
4153fi
4154 if test "x$enable_dependency_tracking" != xno; then
4155 AMDEP_TRUE=
4156 AMDEP_FALSE='#'
4157else
4158 AMDEP_TRUE='#'
4159 AMDEP_FALSE=
4160fi
4161
4162
4163ac_ext=c
4164ac_cpp='$CPP $CPPFLAGS'
4165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4167ac_compiler_gnu=$ac_cv_c_compiler_gnu
4168if test -n "$ac_tool_prefix"; then
4169 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4170set dummy ${ac_tool_prefix}gcc; ac_word=$2
4171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172$as_echo_n "checking for $ac_word... " >&6; }
4173if test "${ac_cv_prog_CC+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4175else
4176 if test -n "$CC"; then
4177 ac_cv_prog_CC="$CC" # Let the user override the test.
4178else
4179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180for as_dir in $PATH
4181do
4182 IFS=$as_save_IFS
4183 test -z "$as_dir" && as_dir=.
4184 for ac_exec_ext in '' $ac_executable_extensions; do
4185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4186 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 break 2
4189 fi
4190done
4191 done
4192IFS=$as_save_IFS
4193
4194fi
4195fi
4196CC=$ac_cv_prog_CC
4197if test -n "$CC"; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4199$as_echo "$CC" >&6; }
4200else
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202$as_echo "no" >&6; }
4203fi
4204
4205
4206fi
4207if test -z "$ac_cv_prog_CC"; then
4208 ac_ct_CC=$CC
4209 # Extract the first word of "gcc", so it can be a program name with args.
4210set dummy gcc; ac_word=$2
4211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212$as_echo_n "checking for $ac_word... " >&6; }
4213if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4215else
4216 if test -n "$ac_ct_CC"; then
4217 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4218else
4219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4220for as_dir in $PATH
4221do
4222 IFS=$as_save_IFS
4223 test -z "$as_dir" && as_dir=.
4224 for ac_exec_ext in '' $ac_executable_extensions; do
4225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4226 ac_cv_prog_ac_ct_CC="gcc"
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 break 2
4229 fi
4230done
4231 done
4232IFS=$as_save_IFS
4233
4234fi
4235fi
4236ac_ct_CC=$ac_cv_prog_ac_ct_CC
4237if test -n "$ac_ct_CC"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4239$as_echo "$ac_ct_CC" >&6; }
4240else
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242$as_echo "no" >&6; }
4243fi
4244
4245 if test "x$ac_ct_CC" = x; then
4246 CC=""
4247 else
4248 case $cross_compiling:$ac_tool_warned in
4249yes:)
4250{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4251$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4252ac_tool_warned=yes ;;
4253esac
4254 CC=$ac_ct_CC
4255 fi
4256else
4257 CC="$ac_cv_prog_CC"
4258fi
4259
4260if test -z "$CC"; then
4261 if test -n "$ac_tool_prefix"; then
4262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4263set dummy ${ac_tool_prefix}cc; ac_word=$2
4264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265$as_echo_n "checking for $ac_word... " >&6; }
4266if test "${ac_cv_prog_CC+set}" = set; then :
4267 $as_echo_n "(cached) " >&6
4268else
4269 if test -n "$CC"; then
4270 ac_cv_prog_CC="$CC" # Let the user override the test.
4271else
4272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4273for as_dir in $PATH
4274do
4275 IFS=$as_save_IFS
4276 test -z "$as_dir" && as_dir=.
4277 for ac_exec_ext in '' $ac_executable_extensions; do
4278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279 ac_cv_prog_CC="${ac_tool_prefix}cc"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 break 2
4282 fi
4283done
4284 done
4285IFS=$as_save_IFS
4286
4287fi
4288fi
4289CC=$ac_cv_prog_CC
4290if test -n "$CC"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4292$as_echo "$CC" >&6; }
4293else
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295$as_echo "no" >&6; }
4296fi
4297
4298
4299 fi
4300fi
4301if test -z "$CC"; then
4302 # Extract the first word of "cc", so it can be a program name with args.
4303set dummy cc; ac_word=$2
4304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305$as_echo_n "checking for $ac_word... " >&6; }
4306if test "${ac_cv_prog_CC+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4308else
4309 if test -n "$CC"; then
4310 ac_cv_prog_CC="$CC" # Let the user override the test.
4311else
4312 ac_prog_rejected=no
4313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4314for as_dir in $PATH
4315do
4316 IFS=$as_save_IFS
4317 test -z "$as_dir" && as_dir=.
4318 for ac_exec_ext in '' $ac_executable_extensions; do
4319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4320 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4321 ac_prog_rejected=yes
4322 continue
4323 fi
4324 ac_cv_prog_CC="cc"
4325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4326 break 2
4327 fi
4328done
4329 done
4330IFS=$as_save_IFS
4331
4332if test $ac_prog_rejected = yes; then
4333 # We found a bogon in the path, so make sure we never use it.
4334 set dummy $ac_cv_prog_CC
4335 shift
4336 if test $# != 0; then
4337 # We chose a different compiler from the bogus one.
4338 # However, it has the same basename, so the bogon will be chosen
4339 # first if we set CC to just the basename; use the full file name.
4340 shift
4341 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4342 fi
4343fi
4344fi
4345fi
4346CC=$ac_cv_prog_CC
4347if test -n "$CC"; then
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4349$as_echo "$CC" >&6; }
4350else
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4352$as_echo "no" >&6; }
4353fi
4354
4355
4356fi
4357if test -z "$CC"; then
4358 if test -n "$ac_tool_prefix"; then
4359 for ac_prog in cl.exe
4360 do
4361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4362set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4364$as_echo_n "checking for $ac_word... " >&6; }
4365if test "${ac_cv_prog_CC+set}" = set; then :
4366 $as_echo_n "(cached) " >&6
4367else
4368 if test -n "$CC"; then
4369 ac_cv_prog_CC="$CC" # Let the user override the test.
4370else
4371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4372for as_dir in $PATH
4373do
4374 IFS=$as_save_IFS
4375 test -z "$as_dir" && as_dir=.
4376 for ac_exec_ext in '' $ac_executable_extensions; do
4377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4378 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4380 break 2
4381 fi
4382done
4383 done
4384IFS=$as_save_IFS
4385
4386fi
4387fi
4388CC=$ac_cv_prog_CC
4389if test -n "$CC"; then
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4391$as_echo "$CC" >&6; }
4392else
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4394$as_echo "no" >&6; }
4395fi
4396
4397
4398 test -n "$CC" && break
4399 done
4400fi
4401if test -z "$CC"; then
4402 ac_ct_CC=$CC
4403 for ac_prog in cl.exe
4404do
4405 # Extract the first word of "$ac_prog", so it can be a program name with args.
4406set dummy $ac_prog; ac_word=$2
4407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408$as_echo_n "checking for $ac_word... " >&6; }
4409if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4410 $as_echo_n "(cached) " >&6
4411else
4412 if test -n "$ac_ct_CC"; then
4413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4414else
4415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416for as_dir in $PATH
4417do
4418 IFS=$as_save_IFS
4419 test -z "$as_dir" && as_dir=.
4420 for ac_exec_ext in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_ac_ct_CC="$ac_prog"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 break 2
4425 fi
4426done
4427 done
4428IFS=$as_save_IFS
4429
4430fi
4431fi
4432ac_ct_CC=$ac_cv_prog_ac_ct_CC
4433if test -n "$ac_ct_CC"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4435$as_echo "$ac_ct_CC" >&6; }
4436else
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438$as_echo "no" >&6; }
4439fi
4440
4441
4442 test -n "$ac_ct_CC" && break
4443done
4444
4445 if test "x$ac_ct_CC" = x; then
4446 CC=""
4447 else
4448 case $cross_compiling:$ac_tool_warned in
4449yes:)
4450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4452ac_tool_warned=yes ;;
4453esac
4454 CC=$ac_ct_CC
4455 fi
4456fi
4457
4458fi
4459
4460
4461test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4463as_fn_error $? "no acceptable C compiler found in \$PATH
4464See \`config.log' for more details" "$LINENO" 5 ; }
4465
4466# Provide some information about the compiler.
4467$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4468set X $ac_compile
4469ac_compiler=$2
4470for ac_option in --version -v -V -qversion; do
4471 { { ac_try="$ac_compiler $ac_option >&5"
4472case "(($ac_try" in
4473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4474 *) ac_try_echo=$ac_try;;
4475esac
4476eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4477$as_echo "$ac_try_echo"; } >&5
4478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4479 ac_status=$?
4480 if test -s conftest.err; then
4481 sed '10a\
4482... rest of stderr output deleted ...
4483 10q' conftest.err >conftest.er1
4484 cat conftest.er1 >&5
4485 fi
4486 rm -f conftest.er1 conftest.err
4487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4488 test $ac_status = 0; }
4489done
4490
4491cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492/* end confdefs.h. */
4493
4494int
4495main ()
4496{
4497
4498 ;
4499 return 0;
4500}
4501_ACEOF
4502ac_clean_files_save=$ac_clean_files
4503ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4504# Try to create an executable without -o first, disregard a.out.
4505# It will help us diagnose broken compilers, and finding out an intuition
4506# of exeext.
4507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4508$as_echo_n "checking whether the C compiler works... " >&6; }
4509ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4510
4511# The possible output files:
4512ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4513
4514ac_rmfiles=
4515for ac_file in $ac_files
4516do
4517 case $ac_file in
4518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4519 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4520 esac
4521done
4522rm -f $ac_rmfiles
4523
4524if { { ac_try="$ac_link_default"
4525case "(($ac_try" in
4526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4527 *) ac_try_echo=$ac_try;;
4528esac
4529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4530$as_echo "$ac_try_echo"; } >&5
4531 (eval "$ac_link_default") 2>&5
4532 ac_status=$?
4533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4534 test $ac_status = 0; }; then :
4535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4536# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4537# in a Makefile. We should not override ac_cv_exeext if it was cached,
4538# so that the user can short-circuit this test for compilers unknown to
4539# Autoconf.
4540for ac_file in $ac_files ''
4541do
4542 test -f "$ac_file" || continue
4543 case $ac_file in
4544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4545 ;;
4546 [ab].out )
4547 # We found the default executable, but exeext='' is most
4548 # certainly right.
4549 break;;
4550 *.* )
4551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4552 then :; else
4553 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4554 fi
4555 # We set ac_cv_exeext here because the later test for it is not
4556 # safe: cross compilers may not add the suffix if given an `-o'
4557 # argument, so we may need to know it at that point already.
4558 # Even if this section looks crufty: it has the advantage of
4559 # actually working.
4560 break;;
4561 * )
4562 break;;
4563 esac
4564done
4565test "$ac_cv_exeext" = no && ac_cv_exeext=
4566
4567else
4568 ac_file=''
4569fi
4570if test -z "$ac_file"; then :
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4572$as_echo "no" >&6; }
4573$as_echo "$as_me: failed program was:" >&5
4574sed 's/^/| /' conftest.$ac_ext >&5
4575
4576{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4578as_fn_error 77 "C compiler cannot create executables
4579See \`config.log' for more details" "$LINENO" 5 ; }
4580else
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4582$as_echo "yes" >&6; }
4583fi
4584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4585$as_echo_n "checking for C compiler default output file name... " >&6; }
4586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4587$as_echo "$ac_file" >&6; }
4588ac_exeext=$ac_cv_exeext
4589
4590rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4591ac_clean_files=$ac_clean_files_save
4592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4593$as_echo_n "checking for suffix of executables... " >&6; }
4594if { { ac_try="$ac_link"
4595case "(($ac_try" in
4596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4597 *) ac_try_echo=$ac_try;;
4598esac
4599eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4600$as_echo "$ac_try_echo"; } >&5
4601 (eval "$ac_link") 2>&5
4602 ac_status=$?
4603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4604 test $ac_status = 0; }; then :
4605 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4606# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4607# work properly (i.e., refer to `conftest.exe'), while it won't with
4608# `rm'.
4609for ac_file in conftest.exe conftest conftest.*; do
4610 test -f "$ac_file" || continue
4611 case $ac_file in
4612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4613 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4614 break;;
4615 * ) break;;
4616 esac
4617done
4618else
4619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4620$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4621as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4622See \`config.log' for more details" "$LINENO" 5 ; }
4623fi
4624rm -f conftest conftest$ac_cv_exeext
4625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4626$as_echo "$ac_cv_exeext" >&6; }
4627
4628rm -f conftest.$ac_ext
4629EXEEXT=$ac_cv_exeext
4630ac_exeext=$EXEEXT
4631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4632/* end confdefs.h. */
4633#include <stdio.h>
4634int
4635main ()
4636{
4637FILE *f = fopen ("conftest.out", "w");
4638 return ferror (f) || fclose (f) != 0;
4639
4640 ;
4641 return 0;
4642}
4643_ACEOF
4644ac_clean_files="$ac_clean_files conftest.out"
4645# Check that the compiler produces executables we can run. If not, either
4646# the compiler is broken, or we cross compile.
4647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4648$as_echo_n "checking whether we are cross compiling... " >&6; }
4649if test "$cross_compiling" != yes; then
4650 { { ac_try="$ac_link"
4651case "(($ac_try" in
4652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4653 *) ac_try_echo=$ac_try;;
4654esac
4655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4656$as_echo "$ac_try_echo"; } >&5
4657 (eval "$ac_link") 2>&5
4658 ac_status=$?
4659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4660 test $ac_status = 0; }
4661 if { ac_try='./conftest$ac_cv_exeext'
4662 { { case "(($ac_try" in
4663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4664 *) ac_try_echo=$ac_try;;
4665esac
4666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4667$as_echo "$ac_try_echo"; } >&5
4668 (eval "$ac_try") 2>&5
4669 ac_status=$?
4670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4671 test $ac_status = 0; }; }; then
4672 cross_compiling=no
4673 else
4674 if test "$cross_compiling" = maybe; then
4675 cross_compiling=yes
4676 else
4677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4678$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4679as_fn_error $? "cannot run C compiled programs.
4680If you meant to cross compile, use \`--host'.
4681See \`config.log' for more details" "$LINENO" 5 ; }
4682 fi
4683 fi
4684fi
4685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4686$as_echo "$cross_compiling" >&6; }
4687
4688rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4689ac_clean_files=$ac_clean_files_save
4690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4691$as_echo_n "checking for suffix of object files... " >&6; }
4692if test "${ac_cv_objext+set}" = set; then :
4693 $as_echo_n "(cached) " >&6
4694else
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696/* end confdefs.h. */
4697
4698int
4699main ()
4700{
4701
4702 ;
4703 return 0;
4704}
4705_ACEOF
4706rm -f conftest.o conftest.obj
4707if { { ac_try="$ac_compile"
4708case "(($ac_try" in
4709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4710 *) ac_try_echo=$ac_try;;
4711esac
4712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4713$as_echo "$ac_try_echo"; } >&5
4714 (eval "$ac_compile") 2>&5
4715 ac_status=$?
4716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4717 test $ac_status = 0; }; then :
4718 for ac_file in conftest.o conftest.obj conftest.*; do
4719 test -f "$ac_file" || continue;
4720 case $ac_file in
4721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4722 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4723 break;;
4724 esac
4725done
4726else
4727 $as_echo "$as_me: failed program was:" >&5
4728sed 's/^/| /' conftest.$ac_ext >&5
4729
4730{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4732as_fn_error $? "cannot compute suffix of object files: cannot compile
4733See \`config.log' for more details" "$LINENO" 5 ; }
4734fi
4735rm -f conftest.$ac_cv_objext conftest.$ac_ext
4736fi
4737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4738$as_echo "$ac_cv_objext" >&6; }
4739OBJEXT=$ac_cv_objext
4740ac_objext=$OBJEXT
4741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4742$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4743if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4744 $as_echo_n "(cached) " >&6
4745else
4746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4747/* end confdefs.h. */
4748
4749int
4750main ()
4751{
4752#ifndef __GNUC__
4753 choke me
4754#endif
4755
4756 ;
4757 return 0;
4758}
4759_ACEOF
4760if ac_fn_c_try_compile "$LINENO"; then :
4761 ac_compiler_gnu=yes
4762else
4763 ac_compiler_gnu=no
4764fi
4765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4766ac_cv_c_compiler_gnu=$ac_compiler_gnu
4767
4768fi
4769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4770$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4771if test $ac_compiler_gnu = yes; then
4772 GCC=yes
4773else
4774 GCC=
4775fi
4776ac_test_CFLAGS=${CFLAGS+set}
4777ac_save_CFLAGS=$CFLAGS
4778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4779$as_echo_n "checking whether $CC accepts -g... " >&6; }
4780if test "${ac_cv_prog_cc_g+set}" = set; then :
4781 $as_echo_n "(cached) " >&6
4782else
4783 ac_save_c_werror_flag=$ac_c_werror_flag
4784 ac_c_werror_flag=yes
4785 ac_cv_prog_cc_g=no
4786 CFLAGS="-g"
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788/* end confdefs.h. */
4789
4790int
4791main ()
4792{
4793
4794 ;
4795 return 0;
4796}
4797_ACEOF
4798if ac_fn_c_try_compile "$LINENO"; then :
4799 ac_cv_prog_cc_g=yes
4800else
4801 CFLAGS=""
4802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4803/* end confdefs.h. */
4804
4805int
4806main ()
4807{
4808
4809 ;
4810 return 0;
4811}
4812_ACEOF
4813if ac_fn_c_try_compile "$LINENO"; then :
4814
4815else
4816 ac_c_werror_flag=$ac_save_c_werror_flag
4817 CFLAGS="-g"
4818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4819/* end confdefs.h. */
4820
4821int
4822main ()
4823{
4824
4825 ;
4826 return 0;
4827}
4828_ACEOF
4829if ac_fn_c_try_compile "$LINENO"; then :
4830 ac_cv_prog_cc_g=yes
4831fi
4832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833fi
4834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4835fi
4836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4837 ac_c_werror_flag=$ac_save_c_werror_flag
4838fi
4839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4840$as_echo "$ac_cv_prog_cc_g" >&6; }
4841if test "$ac_test_CFLAGS" = set; then
4842 CFLAGS=$ac_save_CFLAGS
4843elif test $ac_cv_prog_cc_g = yes; then
4844 if test "$GCC" = yes; then
4845 CFLAGS="-g -O2"
4846 else
4847 CFLAGS="-g"
4848 fi
4849else
4850 if test "$GCC" = yes; then
4851 CFLAGS="-O2"
4852 else
4853 CFLAGS=
4854 fi
4855fi
4856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4857$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4858if test "${ac_cv_prog_cc_c89+set}" = set; then :
4859 $as_echo_n "(cached) " >&6
4860else
4861 ac_cv_prog_cc_c89=no
4862ac_save_CC=$CC
4863cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4864/* end confdefs.h. */
4865#include <stdarg.h>
4866#include <stdio.h>
4867#include <sys/types.h>
4868#include <sys/stat.h>
4869/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4870struct buf { int x; };
4871FILE * (*rcsopen) (struct buf *, struct stat *, int);
4872static char *e (p, i)
4873 char **p;
4874 int i;
4875{
4876 return p[i];
4877}
4878static char *f (char * (*g) (char **, int), char **p, ...)
4879{
4880 char *s;
4881 va_list v;
4882 va_start (v,p);
4883 s = g (p, va_arg (v,int));
4884 va_end (v);
4885 return s;
4886}
4887
4888/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4889 function prototypes and stuff, but not '\xHH' hex character constants.
4890 These don't provoke an error unfortunately, instead are silently treated
4891 as 'x'. The following induces an error, until -std is added to get
4892 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4893 array size at least. It's necessary to write '\x00'==0 to get something
4894 that's true only with -std. */
4895int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4896
4897/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4898 inside strings and character constants. */
4899#define FOO(x) 'x'
4900int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4901
4902int test (int i, double x);
4903struct s1 {int (*f) (int a);};
4904struct s2 {int (*f) (double a);};
4905int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4906int argc;
4907char **argv;
4908int
4909main ()
4910{
4911return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4912 ;
4913 return 0;
4914}
4915_ACEOF
4916for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4917 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4918do
4919 CC="$ac_save_CC $ac_arg"
4920 if ac_fn_c_try_compile "$LINENO"; then :
4921 ac_cv_prog_cc_c89=$ac_arg
4922fi
4923rm -f core conftest.err conftest.$ac_objext
4924 test "x$ac_cv_prog_cc_c89" != "xno" && break
4925done
4926rm -f conftest.$ac_ext
4927CC=$ac_save_CC
4928
4929fi
4930# AC_CACHE_VAL
4931case "x$ac_cv_prog_cc_c89" in
4932 x)
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4934$as_echo "none needed" >&6; } ;;
4935 xno)
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4937$as_echo "unsupported" >&6; } ;;
4938 *)
4939 CC="$CC $ac_cv_prog_cc_c89"
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4941$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4942esac
4943if test "x$ac_cv_prog_cc_c89" != xno; then :
4944
4945fi
4946
4947ac_ext=c
4948ac_cpp='$CPP $CPPFLAGS'
4949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4951ac_compiler_gnu=$ac_cv_c_compiler_gnu
4952
4953depcc="$CC" am_compiler_list=
4954
4955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4956$as_echo_n "checking dependency style of $depcc... " >&6; }
4957if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4958 $as_echo_n "(cached) " >&6
4959else
4960 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4961 # We make a subdir and do the tests there. Otherwise we can end up
4962 # making bogus files that we don't know about and never remove. For
4963 # instance it was reported that on HP-UX the gcc test will end up
4964 # making a dummy file named `D' -- because `-MD' means `put the output
4965 # in D'.
4966 mkdir conftest.dir
4967 # Copy depcomp to subdir because otherwise we won't find it if we're
4968 # using a relative directory.
4969 cp "$am_depcomp" conftest.dir
4970 cd conftest.dir
4971 # We will build objects and dependencies in a subdirectory because
4972 # it helps to detect inapplicable dependency modes. For instance
4973 # both Tru64's cc and ICC support -MD to output dependencies as a
4974 # side effect of compilation, but ICC will put the dependencies in
4975 # the current directory while Tru64 will put them in the object
4976 # directory.
4977 mkdir sub
4978
4979 am_cv_CC_dependencies_compiler_type=none
4980 if test "$am_compiler_list" = ""; then
4981 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4982 fi
4983 am__universal=false
4984 case " $depcc " in #(
4985 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4986 esac
4987
4988 for depmode in $am_compiler_list; do
4989 # Setup a source with many dependencies, because some compilers
4990 # like to wrap large dependency lists on column 80 (with \), and
4991 # we should not choose a depcomp mode which is confused by this.
4992 #
4993 # We need to recreate these files for each test, as the compiler may
4994 # overwrite some of them when testing with obscure command lines.
4995 # This happens at least with the AIX C compiler.
4996 : > sub/conftest.c
4997 for i in 1 2 3 4 5 6; do
4998 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4999 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5000 # Solaris 8's {/usr,}/bin/sh.
5001 touch sub/conftst$i.h
5002 done
5003 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5004
5005 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5006 # mode. It turns out that the SunPro C++ compiler does not properly
5007 # handle `-M -o', and we need to detect this. Also, some Intel
5008 # versions had trouble with output in subdirs
5009 am__obj=sub/conftest.${OBJEXT-o}
5010 am__minus_obj="-o $am__obj"
5011 case $depmode in
5012 gcc)
5013 # This depmode causes a compiler race in universal mode.
5014 test "$am__universal" = false || continue
5015 ;;
5016 nosideeffect)
5017 # after this tag, mechanisms are not by side-effect, so they'll
5018 # only be used when explicitly requested
5019 if test "x$enable_dependency_tracking" = xyes; then
5020 continue
5021 else
5022 break
5023 fi
5024 ;;
5025 msvisualcpp | msvcmsys)
5026 # This compiler won't grok `-c -o', but also, the minuso test has
5027 # not run yet. These depmodes are late enough in the game, and
5028 # so weak that their functioning should not be impacted.
5029 am__obj=conftest.${OBJEXT-o}
5030 am__minus_obj=
5031 ;;
5032 none) break ;;
5033 esac
5034 if depmode=$depmode \
5035 source=sub/conftest.c object=$am__obj \
5036 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5037 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5038 >/dev/null 2>conftest.err &&
5039 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5040 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5041 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5042 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5043 # icc doesn't choke on unknown options, it will just issue warnings
5044 # or remarks (even with -Werror). So we grep stderr for any message
5045 # that says an option was ignored or not supported.
5046 # When given -MP, icc 7.0 and 7.1 complain thusly:
5047 # icc: Command line warning: ignoring option '-M'; no argument required
5048 # The diagnosis changed in icc 8.0:
5049 # icc: Command line remark: option '-MP' not supported
5050 if (grep 'ignoring option' conftest.err ||
5051 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5052 am_cv_CC_dependencies_compiler_type=$depmode
5053 break
5054 fi
5055 fi
5056 done
5057
5058 cd ..
5059 rm -rf conftest.dir
5060else
5061 am_cv_CC_dependencies_compiler_type=none
5062fi
5063
5064fi
5065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5066$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5067CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5068
5069 if
5070 test "x$enable_dependency_tracking" != xno \
5071 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5072 am__fastdepCC_TRUE=
5073 am__fastdepCC_FALSE='#'
5074else
5075 am__fastdepCC_TRUE='#'
5076 am__fastdepCC_FALSE=
5077fi
5078
5079
5080
5081ac_ext=c
5082ac_cpp='$CPP $CPPFLAGS'
5083ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5084ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5085ac_compiler_gnu=$ac_cv_c_compiler_gnu
5086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5087$as_echo_n "checking how to run the C preprocessor... " >&6; }
5088# On Suns, sometimes $CPP names a directory.
5089if test -n "$CPP" && test -d "$CPP"; then
5090 CPP=
5091fi
5092if test -z "$CPP"; then
5093 if test "${ac_cv_prog_CPP+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5095else
5096 # Double quotes because CPP needs to be expanded
5097 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5098 do
5099 ac_preproc_ok=false
5100for ac_c_preproc_warn_flag in '' yes
5101do
5102 # Use a header file that comes with gcc, so configuring glibc
5103 # with a fresh cross-compiler works.
5104 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5105 # <limits.h> exists even on freestanding compilers.
5106 # On the NeXT, cc -E runs the code through the compiler's parser,
5107 # not just through cpp. "Syntax error" is here to catch this case.
5108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5109/* end confdefs.h. */
5110#ifdef __STDC__
5111# include <limits.h>
5112#else
5113# include <assert.h>
5114#endif
5115 Syntax error
5116_ACEOF
5117if ac_fn_c_try_cpp "$LINENO"; then :
5118
5119else
5120 # Broken: fails on valid input.
5121continue
5122fi
5123rm -f conftest.err conftest.i conftest.$ac_ext
5124
5125 # OK, works on sane cases. Now check whether nonexistent headers
5126 # can be detected and how.
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128/* end confdefs.h. */
5129#include <ac_nonexistent.h>
5130_ACEOF
5131if ac_fn_c_try_cpp "$LINENO"; then :
5132 # Broken: success on invalid input.
5133continue
5134else
5135 # Passes both tests.
5136ac_preproc_ok=:
5137break
5138fi
5139rm -f conftest.err conftest.i conftest.$ac_ext
5140
5141done
5142# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5143rm -f conftest.i conftest.err conftest.$ac_ext
5144if $ac_preproc_ok; then :
5145 break
5146fi
5147
5148 done
5149 ac_cv_prog_CPP=$CPP
5150
5151fi
5152 CPP=$ac_cv_prog_CPP
5153else
5154 ac_cv_prog_CPP=$CPP
5155fi
5156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5157$as_echo "$CPP" >&6; }
5158ac_preproc_ok=false
5159for ac_c_preproc_warn_flag in '' yes
5160do
5161 # Use a header file that comes with gcc, so configuring glibc
5162 # with a fresh cross-compiler works.
5163 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5164 # <limits.h> exists even on freestanding compilers.
5165 # On the NeXT, cc -E runs the code through the compiler's parser,
5166 # not just through cpp. "Syntax error" is here to catch this case.
5167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5168/* end confdefs.h. */
5169#ifdef __STDC__
5170# include <limits.h>
5171#else
5172# include <assert.h>
5173#endif
5174 Syntax error
5175_ACEOF
5176if ac_fn_c_try_cpp "$LINENO"; then :
5177
5178else
5179 # Broken: fails on valid input.
5180continue
5181fi
5182rm -f conftest.err conftest.i conftest.$ac_ext
5183
5184 # OK, works on sane cases. Now check whether nonexistent headers
5185 # can be detected and how.
5186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5187/* end confdefs.h. */
5188#include <ac_nonexistent.h>
5189_ACEOF
5190if ac_fn_c_try_cpp "$LINENO"; then :
5191 # Broken: success on invalid input.
5192continue
5193else
5194 # Passes both tests.
5195ac_preproc_ok=:
5196break
5197fi
5198rm -f conftest.err conftest.i conftest.$ac_ext
5199
5200done
5201# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5202rm -f conftest.i conftest.err conftest.$ac_ext
5203if $ac_preproc_ok; then :
5204
5205else
5206 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5207$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5208as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5209See \`config.log' for more details" "$LINENO" 5 ; }
5210fi
5211
5212ac_ext=c
5213ac_cpp='$CPP $CPPFLAGS'
5214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5216ac_compiler_gnu=$ac_cv_c_compiler_gnu
5217
5218
5219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5220$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5221if test "${ac_cv_path_GREP+set}" = set; then :
5222 $as_echo_n "(cached) " >&6
5223else
5224 if test -z "$GREP"; then
5225 ac_path_GREP_found=false
5226 # Loop through the user's path and test for each of PROGNAME-LIST
5227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5228for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5229do
5230 IFS=$as_save_IFS
5231 test -z "$as_dir" && as_dir=.
5232 for ac_prog in grep ggrep; do
5233 for ac_exec_ext in '' $ac_executable_extensions; do
5234 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5235 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5236# Check for GNU ac_path_GREP and select it if it is found.
5237 # Check for GNU $ac_path_GREP
5238case `"$ac_path_GREP" --version 2>&1` in
5239*GNU*)
5240 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5241*)
5242 ac_count=0
5243 $as_echo_n 0123456789 >"conftest.in"
5244 while :
5245 do
5246 cat "conftest.in" "conftest.in" >"conftest.tmp"
5247 mv "conftest.tmp" "conftest.in"
5248 cp "conftest.in" "conftest.nl"
5249 $as_echo 'GREP' >> "conftest.nl"
5250 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5251 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5252 as_fn_arith $ac_count + 1 && ac_count=$as_val
5253 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5254 # Best one so far, save it but keep looking for a better one
5255 ac_cv_path_GREP="$ac_path_GREP"
5256 ac_path_GREP_max=$ac_count
5257 fi
5258 # 10*(2^10) chars as input seems more than enough
5259 test $ac_count -gt 10 && break
5260 done
5261 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5262esac
5263
5264 $ac_path_GREP_found && break 3
5265 done
5266 done
5267 done
5268IFS=$as_save_IFS
5269 if test -z "$ac_cv_path_GREP"; then
5270 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5271 fi
5272else
5273 ac_cv_path_GREP=$GREP
5274fi
5275
5276fi
5277{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5278$as_echo "$ac_cv_path_GREP" >&6; }
5279 GREP="$ac_cv_path_GREP"
5280
5281
5282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5283$as_echo_n "checking for egrep... " >&6; }
5284if test "${ac_cv_path_EGREP+set}" = set; then :
5285 $as_echo_n "(cached) " >&6
5286else
5287 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5288 then ac_cv_path_EGREP="$GREP -E"
5289 else
5290 if test -z "$EGREP"; then
5291 ac_path_EGREP_found=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5294for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5295do
5296 IFS=$as_save_IFS
5297 test -z "$as_dir" && as_dir=.
5298 for ac_prog in egrep; do
5299 for ac_exec_ext in '' $ac_executable_extensions; do
5300 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5301 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5302# Check for GNU ac_path_EGREP and select it if it is found.
5303 # Check for GNU $ac_path_EGREP
5304case `"$ac_path_EGREP" --version 2>&1` in
5305*GNU*)
5306 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5307*)
5308 ac_count=0
5309 $as_echo_n 0123456789 >"conftest.in"
5310 while :
5311 do
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 $as_echo 'EGREP' >> "conftest.nl"
5316 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5317 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5318 as_fn_arith $ac_count + 1 && ac_count=$as_val
5319 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_EGREP="$ac_path_EGREP"
5322 ac_path_EGREP_max=$ac_count
5323 fi
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5326 done
5327 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5328esac
5329
5330 $ac_path_EGREP_found && break 3
5331 done
5332 done
5333 done
5334IFS=$as_save_IFS
5335 if test -z "$ac_cv_path_EGREP"; then
5336 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5337 fi
5338else
5339 ac_cv_path_EGREP=$EGREP
5340fi
5341
5342 fi
5343fi
5344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5345$as_echo "$ac_cv_path_EGREP" >&6; }
5346 EGREP="$ac_cv_path_EGREP"
5347
5348
5349{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5350$as_echo_n "checking for ANSI C header files... " >&6; }
5351if test "${ac_cv_header_stdc+set}" = set; then :
5352 $as_echo_n "(cached) " >&6
5353else
5354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5355/* end confdefs.h. */
5356#include <stdlib.h>
5357#include <stdarg.h>
5358#include <string.h>
5359#include <float.h>
5360
5361int
5362main ()
5363{
5364
5365 ;
5366 return 0;
5367}
5368_ACEOF
5369if ac_fn_c_try_compile "$LINENO"; then :
5370 ac_cv_header_stdc=yes
5371else
5372 ac_cv_header_stdc=no
5373fi
5374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5375
5376if test $ac_cv_header_stdc = yes; then
5377 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379/* end confdefs.h. */
5380#include <string.h>
5381
5382_ACEOF
5383if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5384 $EGREP "memchr" >/dev/null 2>&1; then :
5385
5386else
5387 ac_cv_header_stdc=no
5388fi
5389rm -f conftest*
5390
5391fi
5392
5393if test $ac_cv_header_stdc = yes; then
5394 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396/* end confdefs.h. */
5397#include <stdlib.h>
5398
5399_ACEOF
5400if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5401 $EGREP "free" >/dev/null 2>&1; then :
5402
5403else
5404 ac_cv_header_stdc=no
5405fi
5406rm -f conftest*
5407
5408fi
5409
5410if test $ac_cv_header_stdc = yes; then
5411 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5412 if test "$cross_compiling" = yes; then :
5413 :
5414else
5415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5416/* end confdefs.h. */
5417#include <ctype.h>
5418#include <stdlib.h>
5419#if ((' ' & 0x0FF) == 0x020)
5420# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5421# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5422#else
5423# define ISLOWER(c) \
5424 (('a' <= (c) && (c) <= 'i') \
5425 || ('j' <= (c) && (c) <= 'r') \
5426 || ('s' <= (c) && (c) <= 'z'))
5427# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5428#endif
5429
5430#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5431int
5432main ()
5433{
5434 int i;
5435 for (i = 0; i < 256; i++)
5436 if (XOR (islower (i), ISLOWER (i))
5437 || toupper (i) != TOUPPER (i))
5438 return 2;
5439 return 0;
5440}
5441_ACEOF
5442if ac_fn_c_try_run "$LINENO"; then :
5443
5444else
5445 ac_cv_header_stdc=no
5446fi
5447rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5448 conftest.$ac_objext conftest.beam conftest.$ac_ext
5449fi
5450
5451fi
5452fi
5453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5454$as_echo "$ac_cv_header_stdc" >&6; }
5455if test $ac_cv_header_stdc = yes; then
5456
5457$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5458
5459fi
5460
5461# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5462for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5463 inttypes.h stdint.h unistd.h
5464do :
5465 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5466ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5467"
5468if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5469 cat >>confdefs.h <<_ACEOF
5470#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5471_ACEOF
5472
5473fi
5474
5475done
5476
5477
5478
5479 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5480if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5481 MINIX=yes
5482else
5483 MINIX=
5484fi
5485
5486
5487 if test "$MINIX" = yes; then
5488
5489$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5490
5491
5492$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5493
5494
5495$as_echo "#define _MINIX 1" >>confdefs.h
5496
5497 fi
5498
5499
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5501$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5502if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5503 $as_echo_n "(cached) " >&6
5504else
5505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5506/* end confdefs.h. */
5507
5508# define __EXTENSIONS__ 1
5509 $ac_includes_default
5510int
5511main ()
5512{
5513
5514 ;
5515 return 0;
5516}
5517_ACEOF
5518if ac_fn_c_try_compile "$LINENO"; then :
5519 ac_cv_safe_to_define___extensions__=yes
5520else
5521 ac_cv_safe_to_define___extensions__=no
5522fi
5523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5524fi
5525{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5526$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5527 test $ac_cv_safe_to_define___extensions__ = yes &&
5528 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5529
5530 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5531
5532 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5533
5534 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5535
5536 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5537
5538
5539
5540
5541# Make sure we can run config.sub.
5542$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5543 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5544
5545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5546$as_echo_n "checking build system type... " >&6; }
5547if test "${ac_cv_build+set}" = set; then :
5548 $as_echo_n "(cached) " >&6
5549else
5550 ac_build_alias=$build_alias
5551test "x$ac_build_alias" = x &&
5552 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5553test "x$ac_build_alias" = x &&
5554 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5555ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5556 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5557
5558fi
5559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5560$as_echo "$ac_cv_build" >&6; }
5561case $ac_cv_build in
5562*-*-*) ;;
5563*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5564esac
5565build=$ac_cv_build
5566ac_save_IFS=$IFS; IFS='-'
5567set x $ac_cv_build
5568shift
5569build_cpu=$1
5570build_vendor=$2
5571shift; shift
5572# Remember, the first character of IFS is used to create $*,
5573# except with old shells:
5574build_os=$*
5575IFS=$ac_save_IFS
5576case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5577
5578
5579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5580$as_echo_n "checking host system type... " >&6; }
5581if test "${ac_cv_host+set}" = set; then :
5582 $as_echo_n "(cached) " >&6
5583else
5584 if test "x$host_alias" = x; then
5585 ac_cv_host=$ac_cv_build
5586else
5587 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5588 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5589fi
5590
5591fi
5592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5593$as_echo "$ac_cv_host" >&6; }
5594case $ac_cv_host in
5595*-*-*) ;;
5596*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5597esac
5598host=$ac_cv_host
5599ac_save_IFS=$IFS; IFS='-'
5600set x $ac_cv_host
5601shift
5602host_cpu=$1
5603host_vendor=$2
5604shift; shift
5605# Remember, the first character of IFS is used to create $*,
5606# except with old shells:
5607host_os=$*
5608IFS=$ac_save_IFS
5609case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5610
5611
5612enable_win32_dll=yes
5613
5614case $host in
5615*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
5616 if test -n "$ac_tool_prefix"; then
5617 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5618set dummy ${ac_tool_prefix}as; ac_word=$2
5619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5620$as_echo_n "checking for $ac_word... " >&6; }
5621if test "${ac_cv_prog_AS+set}" = set; then :
5622 $as_echo_n "(cached) " >&6
5623else
5624 if test -n "$AS"; then
5625 ac_cv_prog_AS="$AS" # Let the user override the test.
5626else
5627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5628for as_dir in $PATH
5629do
5630 IFS=$as_save_IFS
5631 test -z "$as_dir" && as_dir=.
5632 for ac_exec_ext in '' $ac_executable_extensions; do
5633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5634 ac_cv_prog_AS="${ac_tool_prefix}as"
5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5636 break 2
5637 fi
5638done
5639 done
5640IFS=$as_save_IFS
5641
5642fi
5643fi
5644AS=$ac_cv_prog_AS
5645if test -n "$AS"; then
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5647$as_echo "$AS" >&6; }
5648else
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5650$as_echo "no" >&6; }
5651fi
5652
5653
5654fi
5655if test -z "$ac_cv_prog_AS"; then
5656 ac_ct_AS=$AS
5657 # Extract the first word of "as", so it can be a program name with args.
5658set dummy as; ac_word=$2
5659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5660$as_echo_n "checking for $ac_word... " >&6; }
5661if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5662 $as_echo_n "(cached) " >&6
5663else
5664 if test -n "$ac_ct_AS"; then
5665 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5666else
5667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5668for as_dir in $PATH
5669do
5670 IFS=$as_save_IFS
5671 test -z "$as_dir" && as_dir=.
5672 for ac_exec_ext in '' $ac_executable_extensions; do
5673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5674 ac_cv_prog_ac_ct_AS="as"
5675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5676 break 2
5677 fi
5678done
5679 done
5680IFS=$as_save_IFS
5681
5682fi
5683fi
5684ac_ct_AS=$ac_cv_prog_ac_ct_AS
5685if test -n "$ac_ct_AS"; then
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5687$as_echo "$ac_ct_AS" >&6; }
5688else
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5690$as_echo "no" >&6; }
5691fi
5692
5693 if test "x$ac_ct_AS" = x; then
5694 AS="false"
5695 else
5696 case $cross_compiling:$ac_tool_warned in
5697yes:)
5698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5700ac_tool_warned=yes ;;
5701esac
5702 AS=$ac_ct_AS
5703 fi
5704else
5705 AS="$ac_cv_prog_AS"
5706fi
5707
5708 if test -n "$ac_tool_prefix"; then
5709 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5710set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5712$as_echo_n "checking for $ac_word... " >&6; }
5713if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5714 $as_echo_n "(cached) " >&6
5715else
5716 if test -n "$DLLTOOL"; then
5717 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5718else
5719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720for as_dir in $PATH
5721do
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5726 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 break 2
5729 fi
5730done
5731 done
5732IFS=$as_save_IFS
5733
5734fi
5735fi
5736DLLTOOL=$ac_cv_prog_DLLTOOL
5737if test -n "$DLLTOOL"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5739$as_echo "$DLLTOOL" >&6; }
5740else
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5742$as_echo "no" >&6; }
5743fi
5744
5745
5746fi
5747if test -z "$ac_cv_prog_DLLTOOL"; then
5748 ac_ct_DLLTOOL=$DLLTOOL
5749 # Extract the first word of "dlltool", so it can be a program name with args.
5750set dummy dlltool; ac_word=$2
5751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5752$as_echo_n "checking for $ac_word... " >&6; }
5753if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5754 $as_echo_n "(cached) " >&6
5755else
5756 if test -n "$ac_ct_DLLTOOL"; then
5757 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5758else
5759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5760for as_dir in $PATH
5761do
5762 IFS=$as_save_IFS
5763 test -z "$as_dir" && as_dir=.
5764 for ac_exec_ext in '' $ac_executable_extensions; do
5765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5766 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5768 break 2
5769 fi
5770done
5771 done
5772IFS=$as_save_IFS
5773
5774fi
5775fi
5776ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5777if test -n "$ac_ct_DLLTOOL"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5779$as_echo "$ac_ct_DLLTOOL" >&6; }
5780else
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5782$as_echo "no" >&6; }
5783fi
5784
5785 if test "x$ac_ct_DLLTOOL" = x; then
5786 DLLTOOL="false"
5787 else
5788 case $cross_compiling:$ac_tool_warned in
5789yes:)
5790{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5791$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5792ac_tool_warned=yes ;;
5793esac
5794 DLLTOOL=$ac_ct_DLLTOOL
5795 fi
5796else
5797 DLLTOOL="$ac_cv_prog_DLLTOOL"
5798fi
5799
5800 if test -n "$ac_tool_prefix"; then
5801 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5802set dummy ${ac_tool_prefix}objdump; ac_word=$2
5803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804$as_echo_n "checking for $ac_word... " >&6; }
5805if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5806 $as_echo_n "(cached) " >&6
5807else
5808 if test -n "$OBJDUMP"; then
5809 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5810else
5811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812for as_dir in $PATH
5813do
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_exec_ext in '' $ac_executable_extensions; do
5817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5818 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5820 break 2
5821 fi
5822done
5823 done
5824IFS=$as_save_IFS
5825
5826fi
5827fi
5828OBJDUMP=$ac_cv_prog_OBJDUMP
5829if test -n "$OBJDUMP"; then
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5831$as_echo "$OBJDUMP" >&6; }
5832else
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5834$as_echo "no" >&6; }
5835fi
5836
5837
5838fi
5839if test -z "$ac_cv_prog_OBJDUMP"; then
5840 ac_ct_OBJDUMP=$OBJDUMP
5841 # Extract the first word of "objdump", so it can be a program name with args.
5842set dummy objdump; ac_word=$2
5843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5844$as_echo_n "checking for $ac_word... " >&6; }
5845if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5846 $as_echo_n "(cached) " >&6
5847else
5848 if test -n "$ac_ct_OBJDUMP"; then
5849 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5850else
5851as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852for as_dir in $PATH
5853do
5854 IFS=$as_save_IFS
5855 test -z "$as_dir" && as_dir=.
5856 for ac_exec_ext in '' $ac_executable_extensions; do
5857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5858 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860 break 2
5861 fi
5862done
5863 done
5864IFS=$as_save_IFS
5865
5866fi
5867fi
5868ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5869if test -n "$ac_ct_OBJDUMP"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5871$as_echo "$ac_ct_OBJDUMP" >&6; }
5872else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5874$as_echo "no" >&6; }
5875fi
5876
5877 if test "x$ac_ct_OBJDUMP" = x; then
5878 OBJDUMP="false"
5879 else
5880 case $cross_compiling:$ac_tool_warned in
5881yes:)
5882{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5883$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5884ac_tool_warned=yes ;;
5885esac
5886 OBJDUMP=$ac_ct_OBJDUMP
5887 fi
5888else
5889 OBJDUMP="$ac_cv_prog_OBJDUMP"
5890fi
5891
5892 ;;
5893esac
5894
5895test -z "$AS" && AS=as
5896
5897
5898
5899
5900
5901test -z "$DLLTOOL" && DLLTOOL=dlltool
5902
5903
5904
5905
5906
5907test -z "$OBJDUMP" && OBJDUMP=objdump
5908
5909
5910
5911
5912
5913
5914
5915case `pwd` in
5916 *\ * | *\ *)
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5918$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5919esac
5920
5921
5922
5923macro_version='2.2.6b'
5924macro_revision='1.3017'
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938ltmain="$ac_aux_dir/ltmain.sh"
5939
5940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5941$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5942if test "${ac_cv_path_SED+set}" = set; then :
5943 $as_echo_n "(cached) " >&6
5944else
5945 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5946 for ac_i in 1 2 3 4 5 6 7; do
5947 ac_script="$ac_script$as_nl$ac_script"
5948 done
5949 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5950 { ac_script=; unset ac_script;}
5951 if test -z "$SED"; then
5952 ac_path_SED_found=false
5953 # Loop through the user's path and test for each of PROGNAME-LIST
5954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955for as_dir in $PATH
5956do
5957 IFS=$as_save_IFS
5958 test -z "$as_dir" && as_dir=.
5959 for ac_prog in sed gsed; do
5960 for ac_exec_ext in '' $ac_executable_extensions; do
5961 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5962 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5963# Check for GNU ac_path_SED and select it if it is found.
5964 # Check for GNU $ac_path_SED
5965case `"$ac_path_SED" --version 2>&1` in
5966*GNU*)
5967 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5968*)
5969 ac_count=0
5970 $as_echo_n 0123456789 >"conftest.in"
5971 while :
5972 do
5973 cat "conftest.in" "conftest.in" >"conftest.tmp"
5974 mv "conftest.tmp" "conftest.in"
5975 cp "conftest.in" "conftest.nl"
5976 $as_echo '' >> "conftest.nl"
5977 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5978 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5979 as_fn_arith $ac_count + 1 && ac_count=$as_val
5980 if test $ac_count -gt ${ac_path_SED_max-0}; then
5981 # Best one so far, save it but keep looking for a better one
5982 ac_cv_path_SED="$ac_path_SED"
5983 ac_path_SED_max=$ac_count
5984 fi
5985 # 10*(2^10) chars as input seems more than enough
5986 test $ac_count -gt 10 && break
5987 done
5988 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5989esac
5990
5991 $ac_path_SED_found && break 3
5992 done
5993 done
5994 done
5995IFS=$as_save_IFS
5996 if test -z "$ac_cv_path_SED"; then
5997 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5998 fi
5999else
6000 ac_cv_path_SED=$SED
6001fi
6002
6003fi
6004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6005$as_echo "$ac_cv_path_SED" >&6; }
6006 SED="$ac_cv_path_SED"
6007 rm -f conftest.sed
6008
6009test -z "$SED" && SED=sed
6010Xsed="$SED -e 1s/^X//"
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6023$as_echo_n "checking for fgrep... " >&6; }
6024if test "${ac_cv_path_FGREP+set}" = set; then :
6025 $as_echo_n "(cached) " >&6
6026else
6027 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6028 then ac_cv_path_FGREP="$GREP -F"
6029 else
6030 if test -z "$FGREP"; then
6031 ac_path_FGREP_found=false
6032 # Loop through the user's path and test for each of PROGNAME-LIST
6033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6035do
6036 IFS=$as_save_IFS
6037 test -z "$as_dir" && as_dir=.
6038 for ac_prog in fgrep; do
6039 for ac_exec_ext in '' $ac_executable_extensions; do
6040 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6041 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6042# Check for GNU ac_path_FGREP and select it if it is found.
6043 # Check for GNU $ac_path_FGREP
6044case `"$ac_path_FGREP" --version 2>&1` in
6045*GNU*)
6046 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6047*)
6048 ac_count=0
6049 $as_echo_n 0123456789 >"conftest.in"
6050 while :
6051 do
6052 cat "conftest.in" "conftest.in" >"conftest.tmp"
6053 mv "conftest.tmp" "conftest.in"
6054 cp "conftest.in" "conftest.nl"
6055 $as_echo 'FGREP' >> "conftest.nl"
6056 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6058 as_fn_arith $ac_count + 1 && ac_count=$as_val
6059 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6060 # Best one so far, save it but keep looking for a better one
6061 ac_cv_path_FGREP="$ac_path_FGREP"
6062 ac_path_FGREP_max=$ac_count
6063 fi
6064 # 10*(2^10) chars as input seems more than enough
6065 test $ac_count -gt 10 && break
6066 done
6067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6068esac
6069
6070 $ac_path_FGREP_found && break 3
6071 done
6072 done
6073 done
6074IFS=$as_save_IFS
6075 if test -z "$ac_cv_path_FGREP"; then
6076 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6077 fi
6078else
6079 ac_cv_path_FGREP=$FGREP
6080fi
6081
6082 fi
6083fi
6084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6085$as_echo "$ac_cv_path_FGREP" >&6; }
6086 FGREP="$ac_cv_path_FGREP"
6087
6088
6089test -z "$GREP" && GREP=grep
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109# Check whether --with-gnu-ld was given.
6110if test "${with_gnu_ld+set}" = set; then :
6111 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6112else
6113 with_gnu_ld=no
6114fi
6115
6116ac_prog=ld
6117if test "$GCC" = yes; then
6118 # Check if gcc -print-prog-name=ld gives a path.
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6120$as_echo_n "checking for ld used by $CC... " >&6; }
6121 case $host in
6122 *-*-mingw*)
6123 # gcc leaves a trailing carriage return which upsets mingw
6124 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6125 *)
6126 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6127 esac
6128 case $ac_prog in
6129 # Accept absolute paths.
6130 [\\/]* | ?:[\\/]*)
6131 re_direlt='/[^/][^/]*/\.\./'
6132 # Canonicalize the pathname of ld
6133 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6134 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6135 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6136 done
6137 test -z "$LD" && LD="$ac_prog"
6138 ;;
6139 "")
6140 # If it fails, then pretend we aren't using GCC.
6141 ac_prog=ld
6142 ;;
6143 *)
6144 # If it is relative, then search for the first ld in PATH.
6145 with_gnu_ld=unknown
6146 ;;
6147 esac
6148elif test "$with_gnu_ld" = yes; then
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6150$as_echo_n "checking for GNU ld... " >&6; }
6151else
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6153$as_echo_n "checking for non-GNU ld... " >&6; }
6154fi
6155if test "${lt_cv_path_LD+set}" = set; then :
6156 $as_echo_n "(cached) " >&6
6157else
6158 if test -z "$LD"; then
6159 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6160 for ac_dir in $PATH; do
6161 IFS="$lt_save_ifs"
6162 test -z "$ac_dir" && ac_dir=.
6163 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6164 lt_cv_path_LD="$ac_dir/$ac_prog"
6165 # Check to see if the program is GNU ld. I'd rather use --version,
6166 # but apparently some variants of GNU ld only accept -v.
6167 # Break only if it was the GNU/non-GNU ld that we prefer.
6168 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6169 *GNU* | *'with BFD'*)
6170 test "$with_gnu_ld" != no && break
6171 ;;
6172 *)
6173 test "$with_gnu_ld" != yes && break
6174 ;;
6175 esac
6176 fi
6177 done
6178 IFS="$lt_save_ifs"
6179else
6180 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6181fi
6182fi
6183
6184LD="$lt_cv_path_LD"
6185if test -n "$LD"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6187$as_echo "$LD" >&6; }
6188else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190$as_echo "no" >&6; }
6191fi
6192test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6194$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6195if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6197else
6198 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6199case `$LD -v 2>&1 </dev/null` in
6200*GNU* | *'with BFD'*)
6201 lt_cv_prog_gnu_ld=yes
6202 ;;
6203*)
6204 lt_cv_prog_gnu_ld=no
6205 ;;
6206esac
6207fi
6208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6209$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6210with_gnu_ld=$lt_cv_prog_gnu_ld
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6221$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6222if test "${lt_cv_path_NM+set}" = set; then :
6223 $as_echo_n "(cached) " >&6
6224else
6225 if test -n "$NM"; then
6226 # Let the user override the test.
6227 lt_cv_path_NM="$NM"
6228else
6229 lt_nm_to_check="${ac_tool_prefix}nm"
6230 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6231 lt_nm_to_check="$lt_nm_to_check nm"
6232 fi
6233 for lt_tmp_nm in $lt_nm_to_check; do
6234 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6235 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6236 IFS="$lt_save_ifs"
6237 test -z "$ac_dir" && ac_dir=.
6238 tmp_nm="$ac_dir/$lt_tmp_nm"
6239 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6240 # Check to see if the nm accepts a BSD-compat flag.
6241 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6242 # nm: unknown option "B" ignored
6243 # Tru64's nm complains that /dev/null is an invalid object file
6244 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6245 */dev/null* | *'Invalid file or object type'*)
6246 lt_cv_path_NM="$tmp_nm -B"
6247 break
6248 ;;
6249 *)
6250 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6251 */dev/null*)
6252 lt_cv_path_NM="$tmp_nm -p"
6253 break
6254 ;;
6255 *)
6256 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6257 continue # so that we can try to find one that supports BSD flags
6258 ;;
6259 esac
6260 ;;
6261 esac
6262 fi
6263 done
6264 IFS="$lt_save_ifs"
6265 done
6266 : ${lt_cv_path_NM=no}
6267fi
6268fi
6269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6270$as_echo "$lt_cv_path_NM" >&6; }
6271if test "$lt_cv_path_NM" != "no"; then
6272 NM="$lt_cv_path_NM"
6273else
6274 # Didn't find any BSD compatible name lister, look for dumpbin.
6275 if test -n "$ac_tool_prefix"; then
6276 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6277 do
6278 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6279set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281$as_echo_n "checking for $ac_word... " >&6; }
6282if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6283 $as_echo_n "(cached) " >&6
6284else
6285 if test -n "$DUMPBIN"; then
6286 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6287else
6288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289for as_dir in $PATH
6290do
6291 IFS=$as_save_IFS
6292 test -z "$as_dir" && as_dir=.
6293 for ac_exec_ext in '' $ac_executable_extensions; do
6294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6295 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297 break 2
6298 fi
6299done
6300 done
6301IFS=$as_save_IFS
6302
6303fi
6304fi
6305DUMPBIN=$ac_cv_prog_DUMPBIN
6306if test -n "$DUMPBIN"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6308$as_echo "$DUMPBIN" >&6; }
6309else
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311$as_echo "no" >&6; }
6312fi
6313
6314
6315 test -n "$DUMPBIN" && break
6316 done
6317fi
6318if test -z "$DUMPBIN"; then
6319 ac_ct_DUMPBIN=$DUMPBIN
6320 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6321do
6322 # Extract the first word of "$ac_prog", so it can be a program name with args.
6323set dummy $ac_prog; ac_word=$2
6324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325$as_echo_n "checking for $ac_word... " >&6; }
6326if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6327 $as_echo_n "(cached) " >&6
6328else
6329 if test -n "$ac_ct_DUMPBIN"; then
6330 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6331else
6332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333for as_dir in $PATH
6334do
6335 IFS=$as_save_IFS
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6339 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6341 break 2
6342 fi
6343done
6344 done
6345IFS=$as_save_IFS
6346
6347fi
6348fi
6349ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6350if test -n "$ac_ct_DUMPBIN"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6352$as_echo "$ac_ct_DUMPBIN" >&6; }
6353else
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355$as_echo "no" >&6; }
6356fi
6357
6358
6359 test -n "$ac_ct_DUMPBIN" && break
6360done
6361
6362 if test "x$ac_ct_DUMPBIN" = x; then
6363 DUMPBIN=":"
6364 else
6365 case $cross_compiling:$ac_tool_warned in
6366yes:)
6367{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6368$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6369ac_tool_warned=yes ;;
6370esac
6371 DUMPBIN=$ac_ct_DUMPBIN
6372 fi
6373fi
6374
6375
6376 if test "$DUMPBIN" != ":"; then
6377 NM="$DUMPBIN"
6378 fi
6379fi
6380test -z "$NM" && NM=nm
6381
6382
6383
6384
6385
6386
6387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6388$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6389if test "${lt_cv_nm_interface+set}" = set; then :
6390 $as_echo_n "(cached) " >&6
6391else
6392 lt_cv_nm_interface="BSD nm"
6393 echo "int some_variable = 0;" > conftest.$ac_ext
6394 (eval echo "\"\$as_me:6394: $ac_compile\"" >&5)
6395 (eval "$ac_compile" 2>conftest.err)
6396 cat conftest.err >&5
6397 (eval echo "\"\$as_me:6397: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6398 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6399 cat conftest.err >&5
6400 (eval echo "\"\$as_me:6400: output\"" >&5)
6401 cat conftest.out >&5
6402 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6403 lt_cv_nm_interface="MS dumpbin"
6404 fi
6405 rm -f conftest*
6406fi
6407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6408$as_echo "$lt_cv_nm_interface" >&6; }
6409
6410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6411$as_echo_n "checking whether ln -s works... " >&6; }
6412LN_S=$as_ln_s
6413if test "$LN_S" = "ln -s"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6415$as_echo "yes" >&6; }
6416else
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6418$as_echo "no, using $LN_S" >&6; }
6419fi
6420
6421# find the maximum length of command line arguments
6422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6423$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6424if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6425 $as_echo_n "(cached) " >&6
6426else
6427 i=0
6428 teststring="ABCD"
6429
6430 case $build_os in
6431 msdosdjgpp*)
6432 # On DJGPP, this test can blow up pretty badly due to problems in libc
6433 # (any single argument exceeding 2000 bytes causes a buffer overrun
6434 # during glob expansion). Even if it were fixed, the result of this
6435 # check would be larger than it should be.
6436 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6437 ;;
6438
6439 gnu*)
6440 # Under GNU Hurd, this test is not required because there is
6441 # no limit to the length of command line arguments.
6442 # Libtool will interpret -1 as no limit whatsoever
6443 lt_cv_sys_max_cmd_len=-1;
6444 ;;
6445
6446 cygwin* | mingw* | cegcc*)
6447 # On Win9x/ME, this test blows up -- it succeeds, but takes
6448 # about 5 minutes as the teststring grows exponentially.
6449 # Worse, since 9x/ME are not pre-emptively multitasking,
6450 # you end up with a "frozen" computer, even though with patience
6451 # the test eventually succeeds (with a max line length of 256k).
6452 # Instead, let's just punt: use the minimum linelength reported by
6453 # all of the supported platforms: 8192 (on NT/2K/XP).
6454 lt_cv_sys_max_cmd_len=8192;
6455 ;;
6456
6457 amigaos*)
6458 # On AmigaOS with pdksh, this test takes hours, literally.
6459 # So we just punt and use a minimum line length of 8192.
6460 lt_cv_sys_max_cmd_len=8192;
6461 ;;
6462
6463 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6464 # This has been around since 386BSD, at least. Likely further.
6465 if test -x /sbin/sysctl; then
6466 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6467 elif test -x /usr/sbin/sysctl; then
6468 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6469 else
6470 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6471 fi
6472 # And add a safety zone
6473 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6474 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6475 ;;
6476
6477 interix*)
6478 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6479 lt_cv_sys_max_cmd_len=196608
6480 ;;
6481
6482 osf*)
6483 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6484 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6485 # nice to cause kernel panics so lets avoid the loop below.
6486 # First set a reasonable default.
6487 lt_cv_sys_max_cmd_len=16384
6488 #
6489 if test -x /sbin/sysconfig; then
6490 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6491 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6492 esac
6493 fi
6494 ;;
6495 sco3.2v5*)
6496 lt_cv_sys_max_cmd_len=102400
6497 ;;
6498 sysv5* | sco5v6* | sysv4.2uw2*)
6499 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6500 if test -n "$kargmax"; then
6501 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6502 else
6503 lt_cv_sys_max_cmd_len=32768
6504 fi
6505 ;;
6506 *)
6507 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6508 if test -n "$lt_cv_sys_max_cmd_len"; then
6509 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6510 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6511 else
6512 # Make teststring a little bigger before we do anything with it.
6513 # a 1K string should be a reasonable start.
6514 for i in 1 2 3 4 5 6 7 8 ; do
6515 teststring=$teststring$teststring
6516 done
6517 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6518 # If test is not a shell built-in, we'll probably end up computing a
6519 # maximum length that is only half of the actual maximum length, but
6520 # we can't tell.
6521 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6522 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6523 test $i != 17 # 1/2 MB should be enough
6524 do
6525 i=`expr $i + 1`
6526 teststring=$teststring$teststring
6527 done
6528 # Only check the string length outside the loop.
6529 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6530 teststring=
6531 # Add a significant safety factor because C++ compilers can tack on
6532 # massive amounts of additional arguments before passing them to the
6533 # linker. It appears as though 1/2 is a usable value.
6534 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6535 fi
6536 ;;
6537 esac
6538
6539fi
6540
6541if test -n $lt_cv_sys_max_cmd_len ; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6543$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6544else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6546$as_echo "none" >&6; }
6547fi
6548max_cmd_len=$lt_cv_sys_max_cmd_len
6549
6550
6551
6552
6553
6554
6555: ${CP="cp -f"}
6556: ${MV="mv -f"}
6557: ${RM="rm -f"}
6558
6559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6560$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6561# Try some XSI features
6562xsi_shell=no
6563( _lt_dummy="a/b/c"
6564 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6565 = c,a/b,, \
6566 && eval 'test $(( 1 + 1 )) -eq 2 \
6567 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6568 && xsi_shell=yes
6569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6570$as_echo "$xsi_shell" >&6; }
6571
6572
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6574$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6575lt_shell_append=no
6576( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6577 >/dev/null 2>&1 \
6578 && lt_shell_append=yes
6579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6580$as_echo "$lt_shell_append" >&6; }
6581
6582
6583if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6584 lt_unset=unset
6585else
6586 lt_unset=false
6587fi
6588
6589
6590
6591
6592
6593# test EBCDIC or ASCII
6594case `echo X|tr X '\101'` in
6595 A) # ASCII based system
6596 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6597 lt_SP2NL='tr \040 \012'
6598 lt_NL2SP='tr \015\012 \040\040'
6599 ;;
6600 *) # EBCDIC based system
6601 lt_SP2NL='tr \100 \n'
6602 lt_NL2SP='tr \r\n \100\100'
6603 ;;
6604esac
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6615$as_echo_n "checking for $LD option to reload object files... " >&6; }
6616if test "${lt_cv_ld_reload_flag+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618else
6619 lt_cv_ld_reload_flag='-r'
6620fi
6621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6622$as_echo "$lt_cv_ld_reload_flag" >&6; }
6623reload_flag=$lt_cv_ld_reload_flag
6624case $reload_flag in
6625"" | " "*) ;;
6626*) reload_flag=" $reload_flag" ;;
6627esac
6628reload_cmds='$LD$reload_flag -o $output$reload_objs'
6629case $host_os in
6630 darwin*)
6631 if test "$GCC" = yes; then
6632 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6633 else
6634 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6635 fi
6636 ;;
6637esac
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647if test -n "$ac_tool_prefix"; then
6648 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6649set dummy ${ac_tool_prefix}objdump; ac_word=$2
6650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651$as_echo_n "checking for $ac_word... " >&6; }
6652if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6654else
6655 if test -n "$OBJDUMP"; then
6656 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6657else
6658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659for as_dir in $PATH
6660do
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6668 fi
6669done
6670 done
6671IFS=$as_save_IFS
6672
6673fi
6674fi
6675OBJDUMP=$ac_cv_prog_OBJDUMP
6676if test -n "$OBJDUMP"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6678$as_echo "$OBJDUMP" >&6; }
6679else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681$as_echo "no" >&6; }
6682fi
6683
6684
6685fi
6686if test -z "$ac_cv_prog_OBJDUMP"; then
6687 ac_ct_OBJDUMP=$OBJDUMP
6688 # Extract the first word of "objdump", so it can be a program name with args.
6689set dummy objdump; ac_word=$2
6690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691$as_echo_n "checking for $ac_word... " >&6; }
6692if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6693 $as_echo_n "(cached) " >&6
6694else
6695 if test -n "$ac_ct_OBJDUMP"; then
6696 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6697else
6698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699for as_dir in $PATH
6700do
6701 IFS=$as_save_IFS
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6705 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 break 2
6708 fi
6709done
6710 done
6711IFS=$as_save_IFS
6712
6713fi
6714fi
6715ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6716if test -n "$ac_ct_OBJDUMP"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6718$as_echo "$ac_ct_OBJDUMP" >&6; }
6719else
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721$as_echo "no" >&6; }
6722fi
6723
6724 if test "x$ac_ct_OBJDUMP" = x; then
6725 OBJDUMP="false"
6726 else
6727 case $cross_compiling:$ac_tool_warned in
6728yes:)
6729{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6730$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6731ac_tool_warned=yes ;;
6732esac
6733 OBJDUMP=$ac_ct_OBJDUMP
6734 fi
6735else
6736 OBJDUMP="$ac_cv_prog_OBJDUMP"
6737fi
6738
6739test -z "$OBJDUMP" && OBJDUMP=objdump
6740
6741
6742
6743
6744
6745
6746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6747$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6748if test "${lt_cv_deplibs_check_method+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750else
6751 lt_cv_file_magic_cmd='$MAGIC_CMD'
6752lt_cv_file_magic_test_file=
6753lt_cv_deplibs_check_method='unknown'
6754# Need to set the preceding variable on all platforms that support
6755# interlibrary dependencies.
6756# 'none' -- dependencies not supported.
6757# `unknown' -- same as none, but documents that we really don't know.
6758# 'pass_all' -- all dependencies passed with no checks.
6759# 'test_compile' -- check by making test program.
6760# 'file_magic [[regex]]' -- check by looking for files in library path
6761# which responds to the $file_magic_cmd with a given extended regex.
6762# If you have `file' or equivalent on your system and you're not sure
6763# whether `pass_all' will *always* work, you probably want this one.
6764
6765case $host_os in
6766aix[4-9]*)
6767 lt_cv_deplibs_check_method=pass_all
6768 ;;
6769
6770beos*)
6771 lt_cv_deplibs_check_method=pass_all
6772 ;;
6773
6774bsdi[45]*)
6775 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6776 lt_cv_file_magic_cmd='/usr/bin/file -L'
6777 lt_cv_file_magic_test_file=/shlib/libc.so
6778 ;;
6779
6780cygwin*)
6781 # func_win32_libid is a shell function defined in ltmain.sh
6782 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6783 lt_cv_file_magic_cmd='func_win32_libid'
6784 ;;
6785
6786mingw* | pw32*)
6787 # Base MSYS/MinGW do not provide the 'file' command needed by
6788 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6789 # unless we find 'file', for example because we are cross-compiling.
6790 if ( file / ) >/dev/null 2>&1; then
6791 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6792 lt_cv_file_magic_cmd='func_win32_libid'
6793 else
6794 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6795 lt_cv_file_magic_cmd='$OBJDUMP -f'
6796 fi
6797 ;;
6798
6799cegcc)
6800 # use the weaker test based on 'objdump'. See mingw*.
6801 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6802 lt_cv_file_magic_cmd='$OBJDUMP -f'
6803 ;;
6804
6805darwin* | rhapsody*)
6806 lt_cv_deplibs_check_method=pass_all
6807 ;;
6808
6809freebsd* | dragonfly*)
6810 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6811 case $host_cpu in
6812 i*86 )
6813 # Not sure whether the presence of OpenBSD here was a mistake.
6814 # Let's accept both of them until this is cleared up.
6815 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6816 lt_cv_file_magic_cmd=/usr/bin/file
6817 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6818 ;;
6819 esac
6820 else
6821 lt_cv_deplibs_check_method=pass_all
6822 fi
6823 ;;
6824
6825gnu*)
6826 lt_cv_deplibs_check_method=pass_all
6827 ;;
6828
6829hpux10.20* | hpux11*)
6830 lt_cv_file_magic_cmd=/usr/bin/file
6831 case $host_cpu in
6832 ia64*)
6833 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6834 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6835 ;;
6836 hppa*64*)
6837 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]'
6838 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6839 ;;
6840 *)
6841 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6842 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6843 ;;
6844 esac
6845 ;;
6846
6847interix[3-9]*)
6848 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6849 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6850 ;;
6851
6852irix5* | irix6* | nonstopux*)
6853 case $LD in
6854 *-32|*"-32 ") libmagic=32-bit;;
6855 *-n32|*"-n32 ") libmagic=N32;;
6856 *-64|*"-64 ") libmagic=64-bit;;
6857 *) libmagic=never-match;;
6858 esac
6859 lt_cv_deplibs_check_method=pass_all
6860 ;;
6861
6862# This must be Linux ELF.
6863linux* | k*bsd*-gnu | kopensolaris*-gnu)
6864 lt_cv_deplibs_check_method=pass_all
6865 ;;
6866
6867netbsd* | netbsdelf*-gnu)
6868 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6869 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6870 else
6871 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6872 fi
6873 ;;
6874
6875newos6*)
6876 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6877 lt_cv_file_magic_cmd=/usr/bin/file
6878 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6879 ;;
6880
6881*nto* | *qnx*)
6882 lt_cv_deplibs_check_method=pass_all
6883 ;;
6884
6885openbsd*)
6886 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6887 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6888 else
6889 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6890 fi
6891 ;;
6892
6893osf3* | osf4* | osf5*)
6894 lt_cv_deplibs_check_method=pass_all
6895 ;;
6896
6897rdos*)
6898 lt_cv_deplibs_check_method=pass_all
6899 ;;
6900
6901solaris*)
6902 lt_cv_deplibs_check_method=pass_all
6903 ;;
6904
6905sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6906 lt_cv_deplibs_check_method=pass_all
6907 ;;
6908
6909sysv4 | sysv4.3*)
6910 case $host_vendor in
6911 motorola)
6912 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]'
6913 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6914 ;;
6915 ncr)
6916 lt_cv_deplibs_check_method=pass_all
6917 ;;
6918 sequent)
6919 lt_cv_file_magic_cmd='/bin/file'
6920 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6921 ;;
6922 sni)
6923 lt_cv_file_magic_cmd='/bin/file'
6924 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6925 lt_cv_file_magic_test_file=/lib/libc.so
6926 ;;
6927 siemens)
6928 lt_cv_deplibs_check_method=pass_all
6929 ;;
6930 pc)
6931 lt_cv_deplibs_check_method=pass_all
6932 ;;
6933 esac
6934 ;;
6935
6936tpf*)
6937 lt_cv_deplibs_check_method=pass_all
6938 ;;
6939esac
6940
6941fi
6942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6943$as_echo "$lt_cv_deplibs_check_method" >&6; }
6944file_magic_cmd=$lt_cv_file_magic_cmd
6945deplibs_check_method=$lt_cv_deplibs_check_method
6946test -z "$deplibs_check_method" && deplibs_check_method=unknown
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959if test -n "$ac_tool_prefix"; then
6960 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6961set dummy ${ac_tool_prefix}ar; ac_word=$2
6962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6963$as_echo_n "checking for $ac_word... " >&6; }
6964if test "${ac_cv_prog_AR+set}" = set; then :
6965 $as_echo_n "(cached) " >&6
6966else
6967 if test -n "$AR"; then
6968 ac_cv_prog_AR="$AR" # Let the user override the test.
6969else
6970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971for as_dir in $PATH
6972do
6973 IFS=$as_save_IFS
6974 test -z "$as_dir" && as_dir=.
6975 for ac_exec_ext in '' $ac_executable_extensions; do
6976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6977 ac_cv_prog_AR="${ac_tool_prefix}ar"
6978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 break 2
6980 fi
6981done
6982 done
6983IFS=$as_save_IFS
6984
6985fi
6986fi
6987AR=$ac_cv_prog_AR
6988if test -n "$AR"; then
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6990$as_echo "$AR" >&6; }
6991else
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6993$as_echo "no" >&6; }
6994fi
6995
6996
6997fi
6998if test -z "$ac_cv_prog_AR"; then
6999 ac_ct_AR=$AR
7000 # Extract the first word of "ar", so it can be a program name with args.
7001set dummy ar; ac_word=$2
7002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7003$as_echo_n "checking for $ac_word... " >&6; }
7004if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7005 $as_echo_n "(cached) " >&6
7006else
7007 if test -n "$ac_ct_AR"; then
7008 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7009else
7010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011for as_dir in $PATH
7012do
7013 IFS=$as_save_IFS
7014 test -z "$as_dir" && as_dir=.
7015 for ac_exec_ext in '' $ac_executable_extensions; do
7016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7017 ac_cv_prog_ac_ct_AR="ar"
7018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 break 2
7020 fi
7021done
7022 done
7023IFS=$as_save_IFS
7024
7025fi
7026fi
7027ac_ct_AR=$ac_cv_prog_ac_ct_AR
7028if test -n "$ac_ct_AR"; then
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7030$as_echo "$ac_ct_AR" >&6; }
7031else
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7033$as_echo "no" >&6; }
7034fi
7035
7036 if test "x$ac_ct_AR" = x; then
7037 AR="false"
7038 else
7039 case $cross_compiling:$ac_tool_warned in
7040yes:)
7041{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7042$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7043ac_tool_warned=yes ;;
7044esac
7045 AR=$ac_ct_AR
7046 fi
7047else
7048 AR="$ac_cv_prog_AR"
7049fi
7050
7051test -z "$AR" && AR=ar
7052test -z "$AR_FLAGS" && AR_FLAGS=cru
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064if test -n "$ac_tool_prefix"; then
7065 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7066set dummy ${ac_tool_prefix}strip; ac_word=$2
7067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7068$as_echo_n "checking for $ac_word... " >&6; }
7069if test "${ac_cv_prog_STRIP+set}" = set; then :
7070 $as_echo_n "(cached) " >&6
7071else
7072 if test -n "$STRIP"; then
7073 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7074else
7075as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7076for as_dir in $PATH
7077do
7078 IFS=$as_save_IFS
7079 test -z "$as_dir" && as_dir=.
7080 for ac_exec_ext in '' $ac_executable_extensions; do
7081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7082 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7084 break 2
7085 fi
7086done
7087 done
7088IFS=$as_save_IFS
7089
7090fi
7091fi
7092STRIP=$ac_cv_prog_STRIP
7093if test -n "$STRIP"; then
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7095$as_echo "$STRIP" >&6; }
7096else
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7098$as_echo "no" >&6; }
7099fi
7100
7101
7102fi
7103if test -z "$ac_cv_prog_STRIP"; then
7104 ac_ct_STRIP=$STRIP
7105 # Extract the first word of "strip", so it can be a program name with args.
7106set dummy strip; ac_word=$2
7107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7108$as_echo_n "checking for $ac_word... " >&6; }
7109if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7110 $as_echo_n "(cached) " >&6
7111else
7112 if test -n "$ac_ct_STRIP"; then
7113 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7114else
7115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7116for as_dir in $PATH
7117do
7118 IFS=$as_save_IFS
7119 test -z "$as_dir" && as_dir=.
7120 for ac_exec_ext in '' $ac_executable_extensions; do
7121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7122 ac_cv_prog_ac_ct_STRIP="strip"
7123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 break 2
7125 fi
7126done
7127 done
7128IFS=$as_save_IFS
7129
7130fi
7131fi
7132ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7133if test -n "$ac_ct_STRIP"; then
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7135$as_echo "$ac_ct_STRIP" >&6; }
7136else
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7138$as_echo "no" >&6; }
7139fi
7140
7141 if test "x$ac_ct_STRIP" = x; then
7142 STRIP=":"
7143 else
7144 case $cross_compiling:$ac_tool_warned in
7145yes:)
7146{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7147$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7148ac_tool_warned=yes ;;
7149esac
7150 STRIP=$ac_ct_STRIP
7151 fi
7152else
7153 STRIP="$ac_cv_prog_STRIP"
7154fi
7155
7156test -z "$STRIP" && STRIP=:
7157
7158
7159
7160
7161
7162
7163if test -n "$ac_tool_prefix"; then
7164 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7165set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7167$as_echo_n "checking for $ac_word... " >&6; }
7168if test "${ac_cv_prog_RANLIB+set}" = set; then :
7169 $as_echo_n "(cached) " >&6
7170else
7171 if test -n "$RANLIB"; then
7172 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7173else
7174as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7175for as_dir in $PATH
7176do
7177 IFS=$as_save_IFS
7178 test -z "$as_dir" && as_dir=.
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7181 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7183 break 2
7184 fi
7185done
7186 done
7187IFS=$as_save_IFS
7188
7189fi
7190fi
7191RANLIB=$ac_cv_prog_RANLIB
7192if test -n "$RANLIB"; then
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7194$as_echo "$RANLIB" >&6; }
7195else
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197$as_echo "no" >&6; }
7198fi
7199
7200
7201fi
7202if test -z "$ac_cv_prog_RANLIB"; then
7203 ac_ct_RANLIB=$RANLIB
7204 # Extract the first word of "ranlib", so it can be a program name with args.
7205set dummy ranlib; ac_word=$2
7206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7207$as_echo_n "checking for $ac_word... " >&6; }
7208if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7209 $as_echo_n "(cached) " >&6
7210else
7211 if test -n "$ac_ct_RANLIB"; then
7212 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7213else
7214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7215for as_dir in $PATH
7216do
7217 IFS=$as_save_IFS
7218 test -z "$as_dir" && as_dir=.
7219 for ac_exec_ext in '' $ac_executable_extensions; do
7220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7221 ac_cv_prog_ac_ct_RANLIB="ranlib"
7222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 break 2
7224 fi
7225done
7226 done
7227IFS=$as_save_IFS
7228
7229fi
7230fi
7231ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7232if test -n "$ac_ct_RANLIB"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7234$as_echo "$ac_ct_RANLIB" >&6; }
7235else
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237$as_echo "no" >&6; }
7238fi
7239
7240 if test "x$ac_ct_RANLIB" = x; then
7241 RANLIB=":"
7242 else
7243 case $cross_compiling:$ac_tool_warned in
7244yes:)
7245{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7246$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7247ac_tool_warned=yes ;;
7248esac
7249 RANLIB=$ac_ct_RANLIB
7250 fi
7251else
7252 RANLIB="$ac_cv_prog_RANLIB"
7253fi
7254
7255test -z "$RANLIB" && RANLIB=:
7256
7257
7258
7259
7260
7261
7262# Determine commands to create old-style static archives.
7263old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7264old_postinstall_cmds='chmod 644 $oldlib'
7265old_postuninstall_cmds=
7266
7267if test -n "$RANLIB"; then
7268 case $host_os in
7269 openbsd*)
7270 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7271 ;;
7272 *)
7273 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7274 ;;
7275 esac
7276 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7277fi
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312# If no C compiler was specified, use CC.
7313LTCC=${LTCC-"$CC"}
7314
7315# If no C compiler flags were specified, use CFLAGS.
7316LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7317
7318# Allow CC to be a program name with arguments.
7319compiler=$CC
7320
7321
7322# Check for command to grab the raw symbol name followed by C symbol from nm.
7323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7324$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7325if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7327else
7328
7329# These are sane defaults that work on at least a few old systems.
7330# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7331
7332# Character class describing NM global symbol codes.
7333symcode='[BCDEGRST]'
7334
7335# Regexp to match symbols that can be accessed directly from C.
7336sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7337
7338# Define system-specific variables.
7339case $host_os in
7340aix*)
7341 symcode='[BCDT]'
7342 ;;
7343cygwin* | mingw* | pw32* | cegcc*)
7344 symcode='[ABCDGISTW]'
7345 ;;
7346hpux*)
7347 if test "$host_cpu" = ia64; then
7348 symcode='[ABCDEGRST]'
7349 fi
7350 ;;
7351irix* | nonstopux*)
7352 symcode='[BCDEGRST]'
7353 ;;
7354osf*)
7355 symcode='[BCDEGQRST]'
7356 ;;
7357solaris*)
7358 symcode='[BDRT]'
7359 ;;
7360sco3.2v5*)
7361 symcode='[DT]'
7362 ;;
7363sysv4.2uw2*)
7364 symcode='[DT]'
7365 ;;
7366sysv5* | sco5v6* | unixware* | OpenUNIX*)
7367 symcode='[ABDT]'
7368 ;;
7369sysv4)
7370 symcode='[DFNSTU]'
7371 ;;
7372esac
7373
7374# If we're using GNU nm, then use its standard symbol codes.
7375case `$NM -V 2>&1` in
7376*GNU* | *'with BFD'*)
7377 symcode='[ABCDGIRSTW]' ;;
7378esac
7379
7380# Transform an extracted symbol line into a proper C declaration.
7381# Some systems (esp. on ia64) link data and code symbols differently,
7382# so use this general approach.
7383lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7384
7385# Transform an extracted symbol line into symbol name and symbol address
7386lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7387lt_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'"
7388
7389# Handle CRLF in mingw tool chain
7390opt_cr=
7391case $build_os in
7392mingw*)
7393 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7394 ;;
7395esac
7396
7397# Try without a prefix underscore, then with it.
7398for ac_symprfx in "" "_"; do
7399
7400 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7401 symxfrm="\\1 $ac_symprfx\\2 \\2"
7402
7403 # Write the raw and C identifiers.
7404 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7405 # Fake it for dumpbin and say T for any non-static function
7406 # and D for any global variable.
7407 # Also find C++ and __fastcall symbols from MSVC++,
7408 # which start with @ or ?.
7409 lt_cv_sys_global_symbol_pipe="$AWK '"\
7410" {last_section=section; section=\$ 3};"\
7411" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7412" \$ 0!~/External *\|/{next};"\
7413" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7414" {if(hide[section]) next};"\
7415" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7416" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7417" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7418" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7419" ' prfx=^$ac_symprfx"
7420 else
7421 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7422 fi
7423
7424 # Check to see that the pipe works correctly.
7425 pipe_works=no
7426
7427 rm -f conftest*
7428 cat > conftest.$ac_ext <<_LT_EOF
7429#ifdef __cplusplus
7430extern "C" {
7431#endif
7432char nm_test_var;
7433void nm_test_func(void);
7434void nm_test_func(void){}
7435#ifdef __cplusplus
7436}
7437#endif
7438int main(){nm_test_var='a';nm_test_func();return(0);}
7439_LT_EOF
7440
7441 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7442 (eval $ac_compile) 2>&5
7443 ac_status=$?
7444 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7445 test $ac_status = 0; }; then
7446 # Now try to grab the symbols.
7447 nlist=conftest.nm
7448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7449 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7450 ac_status=$?
7451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7452 test $ac_status = 0; } && test -s "$nlist"; then
7453 # Try sorting and uniquifying the output.
7454 if sort "$nlist" | uniq > "$nlist"T; then
7455 mv -f "$nlist"T "$nlist"
7456 else
7457 rm -f "$nlist"T
7458 fi
7459
7460 # Make sure that we snagged all the symbols we need.
7461 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7462 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7463 cat <<_LT_EOF > conftest.$ac_ext
7464#ifdef __cplusplus
7465extern "C" {
7466#endif
7467
7468_LT_EOF
7469 # Now generate the symbol file.
7470 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7471
7472 cat <<_LT_EOF >> conftest.$ac_ext
7473
7474/* The mapping between symbol names and symbols. */
7475const struct {
7476 const char *name;
7477 void *address;
7478}
7479lt__PROGRAM__LTX_preloaded_symbols[] =
7480{
7481 { "@PROGRAM@", (void *) 0 },
7482_LT_EOF
7483 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7484 cat <<\_LT_EOF >> conftest.$ac_ext
7485 {0, (void *) 0}
7486};
7487
7488/* This works around a problem in FreeBSD linker */
7489#ifdef FREEBSD_WORKAROUND
7490static const void *lt_preloaded_setup() {
7491 return lt__PROGRAM__LTX_preloaded_symbols;
7492}
7493#endif
7494
7495#ifdef __cplusplus
7496}
7497#endif
7498_LT_EOF
7499 # Now try linking the two files.
7500 mv conftest.$ac_objext conftstm.$ac_objext
7501 lt_save_LIBS="$LIBS"
7502 lt_save_CFLAGS="$CFLAGS"
7503 LIBS="conftstm.$ac_objext"
7504 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7505 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7506 (eval $ac_link) 2>&5
7507 ac_status=$?
7508 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7509 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7510 pipe_works=yes
7511 fi
7512 LIBS="$lt_save_LIBS"
7513 CFLAGS="$lt_save_CFLAGS"
7514 else
7515 echo "cannot find nm_test_func in $nlist" >&5
7516 fi
7517 else
7518 echo "cannot find nm_test_var in $nlist" >&5
7519 fi
7520 else
7521 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7522 fi
7523 else
7524 echo "$progname: failed program was:" >&5
7525 cat conftest.$ac_ext >&5
7526 fi
7527 rm -rf conftest* conftst*
7528
7529 # Do not use the global_symbol_pipe unless it works.
7530 if test "$pipe_works" = yes; then
7531 break
7532 else
7533 lt_cv_sys_global_symbol_pipe=
7534 fi
7535done
7536
7537fi
7538
7539if test -z "$lt_cv_sys_global_symbol_pipe"; then
7540 lt_cv_sys_global_symbol_to_cdecl=
7541fi
7542if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7544$as_echo "failed" >&6; }
7545else
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7547$as_echo "ok" >&6; }
7548fi
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571# Check whether --enable-libtool-lock was given.
7572if test "${enable_libtool_lock+set}" = set; then :
7573 enableval=$enable_libtool_lock;
7574fi
7575
7576test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7577
7578# Some flags need to be propagated to the compiler or linker for good
7579# libtool support.
7580case $host in
7581ia64-*-hpux*)
7582 # Find out which ABI we are using.
7583 echo 'int i;' > conftest.$ac_ext
7584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7585 (eval $ac_compile) 2>&5
7586 ac_status=$?
7587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7588 test $ac_status = 0; }; then
7589 case `/usr/bin/file conftest.$ac_objext` in
7590 *ELF-32*)
7591 HPUX_IA64_MODE="32"
7592 ;;
7593 *ELF-64*)
7594 HPUX_IA64_MODE="64"
7595 ;;
7596 esac
7597 fi
7598 rm -rf conftest*
7599 ;;
7600*-*-irix6*)
7601 # Find out which ABI we are using.
7602 echo '#line 7602 "configure"' > conftest.$ac_ext
7603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7604 (eval $ac_compile) 2>&5
7605 ac_status=$?
7606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7607 test $ac_status = 0; }; then
7608 if test "$lt_cv_prog_gnu_ld" = yes; then
7609 case `/usr/bin/file conftest.$ac_objext` in
7610 *32-bit*)
7611 LD="${LD-ld} -melf32bsmip"
7612 ;;
7613 *N32*)
7614 LD="${LD-ld} -melf32bmipn32"
7615 ;;
7616 *64-bit*)
7617 LD="${LD-ld} -melf64bmip"
7618 ;;
7619 esac
7620 else
7621 case `/usr/bin/file conftest.$ac_objext` in
7622 *32-bit*)
7623 LD="${LD-ld} -32"
7624 ;;
7625 *N32*)
7626 LD="${LD-ld} -n32"
7627 ;;
7628 *64-bit*)
7629 LD="${LD-ld} -64"
7630 ;;
7631 esac
7632 fi
7633 fi
7634 rm -rf conftest*
7635 ;;
7636
7637x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7638s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7639 # Find out which ABI we are using.
7640 echo 'int i;' > conftest.$ac_ext
7641 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7642 (eval $ac_compile) 2>&5
7643 ac_status=$?
7644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7645 test $ac_status = 0; }; then
7646 case `/usr/bin/file conftest.o` in
7647 *32-bit*)
7648 case $host in
7649 x86_64-*kfreebsd*-gnu)
7650 LD="${LD-ld} -m elf_i386_fbsd"
7651 ;;
7652 x86_64-*linux*)
7653 LD="${LD-ld} -m elf_i386"
7654 ;;
7655 ppc64-*linux*|powerpc64-*linux*)
7656 LD="${LD-ld} -m elf32ppclinux"
7657 ;;
7658 s390x-*linux*)
7659 LD="${LD-ld} -m elf_s390"
7660 ;;
7661 sparc64-*linux*)
7662 LD="${LD-ld} -m elf32_sparc"
7663 ;;
7664 esac
7665 ;;
7666 *64-bit*)
7667 case $host in
7668 x86_64-*kfreebsd*-gnu)
7669 LD="${LD-ld} -m elf_x86_64_fbsd"
7670 ;;
7671 x86_64-*linux*)
7672 LD="${LD-ld} -m elf_x86_64"
7673 ;;
7674 ppc*-*linux*|powerpc*-*linux*)
7675 LD="${LD-ld} -m elf64ppc"
7676 ;;
7677 s390*-*linux*|s390*-*tpf*)
7678 LD="${LD-ld} -m elf64_s390"
7679 ;;
7680 sparc*-*linux*)
7681 LD="${LD-ld} -m elf64_sparc"
7682 ;;
7683 esac
7684 ;;
7685 esac
7686 fi
7687 rm -rf conftest*
7688 ;;
7689
7690*-*-sco3.2v5*)
7691 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7692 SAVE_CFLAGS="$CFLAGS"
7693 CFLAGS="$CFLAGS -belf"
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7695$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7696if test "${lt_cv_cc_needs_belf+set}" = set; then :
7697 $as_echo_n "(cached) " >&6
7698else
7699 ac_ext=c
7700ac_cpp='$CPP $CPPFLAGS'
7701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7703ac_compiler_gnu=$ac_cv_c_compiler_gnu
7704
7705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7706/* end confdefs.h. */
7707
7708int
7709main ()
7710{
7711
7712 ;
7713 return 0;
7714}
7715_ACEOF
7716if ac_fn_c_try_link "$LINENO"; then :
7717 lt_cv_cc_needs_belf=yes
7718else
7719 lt_cv_cc_needs_belf=no
7720fi
7721rm -f core conftest.err conftest.$ac_objext \
7722 conftest$ac_exeext conftest.$ac_ext
7723 ac_ext=c
7724ac_cpp='$CPP $CPPFLAGS'
7725ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7726ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7727ac_compiler_gnu=$ac_cv_c_compiler_gnu
7728
7729fi
7730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7731$as_echo "$lt_cv_cc_needs_belf" >&6; }
7732 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7733 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7734 CFLAGS="$SAVE_CFLAGS"
7735 fi
7736 ;;
7737sparc*-*solaris*)
7738 # Find out which ABI we are using.
7739 echo 'int i;' > conftest.$ac_ext
7740 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7741 (eval $ac_compile) 2>&5
7742 ac_status=$?
7743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7744 test $ac_status = 0; }; then
7745 case `/usr/bin/file conftest.o` in
7746 *64-bit*)
7747 case $lt_cv_prog_gnu_ld in
7748 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7749 *)
7750 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7751 LD="${LD-ld} -64"
7752 fi
7753 ;;
7754 esac
7755 ;;
7756 esac
7757 fi
7758 rm -rf conftest*
7759 ;;
7760esac
7761
7762need_locks="$enable_libtool_lock"
7763
7764
7765 case $host_os in
7766 rhapsody* | darwin*)
7767 if test -n "$ac_tool_prefix"; then
7768 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7769set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7771$as_echo_n "checking for $ac_word... " >&6; }
7772if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7773 $as_echo_n "(cached) " >&6
7774else
7775 if test -n "$DSYMUTIL"; then
7776 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7777else
7778as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7779for as_dir in $PATH
7780do
7781 IFS=$as_save_IFS
7782 test -z "$as_dir" && as_dir=.
7783 for ac_exec_ext in '' $ac_executable_extensions; do
7784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7785 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7787 break 2
7788 fi
7789done
7790 done
7791IFS=$as_save_IFS
7792
7793fi
7794fi
7795DSYMUTIL=$ac_cv_prog_DSYMUTIL
7796if test -n "$DSYMUTIL"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7798$as_echo "$DSYMUTIL" >&6; }
7799else
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801$as_echo "no" >&6; }
7802fi
7803
7804
7805fi
7806if test -z "$ac_cv_prog_DSYMUTIL"; then
7807 ac_ct_DSYMUTIL=$DSYMUTIL
7808 # Extract the first word of "dsymutil", so it can be a program name with args.
7809set dummy dsymutil; ac_word=$2
7810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811$as_echo_n "checking for $ac_word... " >&6; }
7812if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7813 $as_echo_n "(cached) " >&6
7814else
7815 if test -n "$ac_ct_DSYMUTIL"; then
7816 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7817else
7818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7819for as_dir in $PATH
7820do
7821 IFS=$as_save_IFS
7822 test -z "$as_dir" && as_dir=.
7823 for ac_exec_ext in '' $ac_executable_extensions; do
7824 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7825 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7827 break 2
7828 fi
7829done
7830 done
7831IFS=$as_save_IFS
7832
7833fi
7834fi
7835ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7836if test -n "$ac_ct_DSYMUTIL"; then
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7838$as_echo "$ac_ct_DSYMUTIL" >&6; }
7839else
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7841$as_echo "no" >&6; }
7842fi
7843
7844 if test "x$ac_ct_DSYMUTIL" = x; then
7845 DSYMUTIL=":"
7846 else
7847 case $cross_compiling:$ac_tool_warned in
7848yes:)
7849{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7850$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7851ac_tool_warned=yes ;;
7852esac
7853 DSYMUTIL=$ac_ct_DSYMUTIL
7854 fi
7855else
7856 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7857fi
7858
7859 if test -n "$ac_tool_prefix"; then
7860 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7861set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7863$as_echo_n "checking for $ac_word... " >&6; }
7864if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7865 $as_echo_n "(cached) " >&6
7866else
7867 if test -n "$NMEDIT"; then
7868 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7869else
7870as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871for as_dir in $PATH
7872do
7873 IFS=$as_save_IFS
7874 test -z "$as_dir" && as_dir=.
7875 for ac_exec_ext in '' $ac_executable_extensions; do
7876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7877 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7879 break 2
7880 fi
7881done
7882 done
7883IFS=$as_save_IFS
7884
7885fi
7886fi
7887NMEDIT=$ac_cv_prog_NMEDIT
7888if test -n "$NMEDIT"; then
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7890$as_echo "$NMEDIT" >&6; }
7891else
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7893$as_echo "no" >&6; }
7894fi
7895
7896
7897fi
7898if test -z "$ac_cv_prog_NMEDIT"; then
7899 ac_ct_NMEDIT=$NMEDIT
7900 # Extract the first word of "nmedit", so it can be a program name with args.
7901set dummy nmedit; ac_word=$2
7902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7903$as_echo_n "checking for $ac_word... " >&6; }
7904if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7905 $as_echo_n "(cached) " >&6
7906else
7907 if test -n "$ac_ct_NMEDIT"; then
7908 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7909else
7910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7911for as_dir in $PATH
7912do
7913 IFS=$as_save_IFS
7914 test -z "$as_dir" && as_dir=.
7915 for ac_exec_ext in '' $ac_executable_extensions; do
7916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7917 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7919 break 2
7920 fi
7921done
7922 done
7923IFS=$as_save_IFS
7924
7925fi
7926fi
7927ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7928if test -n "$ac_ct_NMEDIT"; then
7929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7930$as_echo "$ac_ct_NMEDIT" >&6; }
7931else
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7933$as_echo "no" >&6; }
7934fi
7935
7936 if test "x$ac_ct_NMEDIT" = x; then
7937 NMEDIT=":"
7938 else
7939 case $cross_compiling:$ac_tool_warned in
7940yes:)
7941{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7942$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7943ac_tool_warned=yes ;;
7944esac
7945 NMEDIT=$ac_ct_NMEDIT
7946 fi
7947else
7948 NMEDIT="$ac_cv_prog_NMEDIT"
7949fi
7950
7951 if test -n "$ac_tool_prefix"; then
7952 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7953set dummy ${ac_tool_prefix}lipo; ac_word=$2
7954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7955$as_echo_n "checking for $ac_word... " >&6; }
7956if test "${ac_cv_prog_LIPO+set}" = set; then :
7957 $as_echo_n "(cached) " >&6
7958else
7959 if test -n "$LIPO"; then
7960 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7961else
7962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963for as_dir in $PATH
7964do
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7969 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7972 fi
7973done
7974 done
7975IFS=$as_save_IFS
7976
7977fi
7978fi
7979LIPO=$ac_cv_prog_LIPO
7980if test -n "$LIPO"; then
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7982$as_echo "$LIPO" >&6; }
7983else
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7985$as_echo "no" >&6; }
7986fi
7987
7988
7989fi
7990if test -z "$ac_cv_prog_LIPO"; then
7991 ac_ct_LIPO=$LIPO
7992 # Extract the first word of "lipo", so it can be a program name with args.
7993set dummy lipo; ac_word=$2
7994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7995$as_echo_n "checking for $ac_word... " >&6; }
7996if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7997 $as_echo_n "(cached) " >&6
7998else
7999 if test -n "$ac_ct_LIPO"; then
8000 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8001else
8002as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8003for as_dir in $PATH
8004do
8005 IFS=$as_save_IFS
8006 test -z "$as_dir" && as_dir=.
8007 for ac_exec_ext in '' $ac_executable_extensions; do
8008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8009 ac_cv_prog_ac_ct_LIPO="lipo"
8010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8011 break 2
8012 fi
8013done
8014 done
8015IFS=$as_save_IFS
8016
8017fi
8018fi
8019ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8020if test -n "$ac_ct_LIPO"; then
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8022$as_echo "$ac_ct_LIPO" >&6; }
8023else
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8025$as_echo "no" >&6; }
8026fi
8027
8028 if test "x$ac_ct_LIPO" = x; then
8029 LIPO=":"
8030 else
8031 case $cross_compiling:$ac_tool_warned in
8032yes:)
8033{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8034$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8035ac_tool_warned=yes ;;
8036esac
8037 LIPO=$ac_ct_LIPO
8038 fi
8039else
8040 LIPO="$ac_cv_prog_LIPO"
8041fi
8042
8043 if test -n "$ac_tool_prefix"; then
8044 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8045set dummy ${ac_tool_prefix}otool; ac_word=$2
8046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8047$as_echo_n "checking for $ac_word... " >&6; }
8048if test "${ac_cv_prog_OTOOL+set}" = set; then :
8049 $as_echo_n "(cached) " >&6
8050else
8051 if test -n "$OTOOL"; then
8052 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8053else
8054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8055for as_dir in $PATH
8056do
8057 IFS=$as_save_IFS
8058 test -z "$as_dir" && as_dir=.
8059 for ac_exec_ext in '' $ac_executable_extensions; do
8060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8061 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 break 2
8064 fi
8065done
8066 done
8067IFS=$as_save_IFS
8068
8069fi
8070fi
8071OTOOL=$ac_cv_prog_OTOOL
8072if test -n "$OTOOL"; then
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8074$as_echo "$OTOOL" >&6; }
8075else
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8077$as_echo "no" >&6; }
8078fi
8079
8080
8081fi
8082if test -z "$ac_cv_prog_OTOOL"; then
8083 ac_ct_OTOOL=$OTOOL
8084 # Extract the first word of "otool", so it can be a program name with args.
8085set dummy otool; ac_word=$2
8086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8087$as_echo_n "checking for $ac_word... " >&6; }
8088if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8089 $as_echo_n "(cached) " >&6
8090else
8091 if test -n "$ac_ct_OTOOL"; then
8092 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8093else
8094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8095for as_dir in $PATH
8096do
8097 IFS=$as_save_IFS
8098 test -z "$as_dir" && as_dir=.
8099 for ac_exec_ext in '' $ac_executable_extensions; do
8100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8101 ac_cv_prog_ac_ct_OTOOL="otool"
8102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8103 break 2
8104 fi
8105done
8106 done
8107IFS=$as_save_IFS
8108
8109fi
8110fi
8111ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8112if test -n "$ac_ct_OTOOL"; then
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8114$as_echo "$ac_ct_OTOOL" >&6; }
8115else
8116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8117$as_echo "no" >&6; }
8118fi
8119
8120 if test "x$ac_ct_OTOOL" = x; then
8121 OTOOL=":"
8122 else
8123 case $cross_compiling:$ac_tool_warned in
8124yes:)
8125{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8126$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8127ac_tool_warned=yes ;;
8128esac
8129 OTOOL=$ac_ct_OTOOL
8130 fi
8131else
8132 OTOOL="$ac_cv_prog_OTOOL"
8133fi
8134
8135 if test -n "$ac_tool_prefix"; then
8136 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8137set dummy ${ac_tool_prefix}otool64; ac_word=$2
8138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139$as_echo_n "checking for $ac_word... " >&6; }
8140if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8141 $as_echo_n "(cached) " >&6
8142else
8143 if test -n "$OTOOL64"; then
8144 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8145else
8146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8147for as_dir in $PATH
8148do
8149 IFS=$as_save_IFS
8150 test -z "$as_dir" && as_dir=.
8151 for ac_exec_ext in '' $ac_executable_extensions; do
8152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8153 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8155 break 2
8156 fi
8157done
8158 done
8159IFS=$as_save_IFS
8160
8161fi
8162fi
8163OTOOL64=$ac_cv_prog_OTOOL64
8164if test -n "$OTOOL64"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8166$as_echo "$OTOOL64" >&6; }
8167else
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169$as_echo "no" >&6; }
8170fi
8171
8172
8173fi
8174if test -z "$ac_cv_prog_OTOOL64"; then
8175 ac_ct_OTOOL64=$OTOOL64
8176 # Extract the first word of "otool64", so it can be a program name with args.
8177set dummy otool64; ac_word=$2
8178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8179$as_echo_n "checking for $ac_word... " >&6; }
8180if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8181 $as_echo_n "(cached) " >&6
8182else
8183 if test -n "$ac_ct_OTOOL64"; then
8184 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8185else
8186as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8187for as_dir in $PATH
8188do
8189 IFS=$as_save_IFS
8190 test -z "$as_dir" && as_dir=.
8191 for ac_exec_ext in '' $ac_executable_extensions; do
8192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8193 ac_cv_prog_ac_ct_OTOOL64="otool64"
8194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8195 break 2
8196 fi
8197done
8198 done
8199IFS=$as_save_IFS
8200
8201fi
8202fi
8203ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8204if test -n "$ac_ct_OTOOL64"; then
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8206$as_echo "$ac_ct_OTOOL64" >&6; }
8207else
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8209$as_echo "no" >&6; }
8210fi
8211
8212 if test "x$ac_ct_OTOOL64" = x; then
8213 OTOOL64=":"
8214 else
8215 case $cross_compiling:$ac_tool_warned in
8216yes:)
8217{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8218$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8219ac_tool_warned=yes ;;
8220esac
8221 OTOOL64=$ac_ct_OTOOL64
8222 fi
8223else
8224 OTOOL64="$ac_cv_prog_OTOOL64"
8225fi
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8254$as_echo_n "checking for -single_module linker flag... " >&6; }
8255if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8256 $as_echo_n "(cached) " >&6
8257else
8258 lt_cv_apple_cc_single_mod=no
8259 if test -z "${LT_MULTI_MODULE}"; then
8260 # By default we will add the -single_module flag. You can override
8261 # by either setting the environment variable LT_MULTI_MODULE
8262 # non-empty at configure time, or by adding -multi_module to the
8263 # link flags.
8264 rm -rf libconftest.dylib*
8265 echo "int foo(void){return 1;}" > conftest.c
8266 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8267-dynamiclib -Wl,-single_module conftest.c" >&5
8268 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8269 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8270 _lt_result=$?
8271 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8272 lt_cv_apple_cc_single_mod=yes
8273 else
8274 cat conftest.err >&5
8275 fi
8276 rm -rf libconftest.dylib*
8277 rm -f conftest.*
8278 fi
8279fi
8280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8281$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8283$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8284if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8285 $as_echo_n "(cached) " >&6
8286else
8287 lt_cv_ld_exported_symbols_list=no
8288 save_LDFLAGS=$LDFLAGS
8289 echo "_main" > conftest.sym
8290 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8292/* end confdefs.h. */
8293
8294int
8295main ()
8296{
8297
8298 ;
8299 return 0;
8300}
8301_ACEOF
8302if ac_fn_c_try_link "$LINENO"; then :
8303 lt_cv_ld_exported_symbols_list=yes
8304else
8305 lt_cv_ld_exported_symbols_list=no
8306fi
8307rm -f core conftest.err conftest.$ac_objext \
8308 conftest$ac_exeext conftest.$ac_ext
8309 LDFLAGS="$save_LDFLAGS"
8310
8311fi
8312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8313$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8314 case $host_os in
8315 rhapsody* | darwin1.[012])
8316 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8317 darwin1.*)
8318 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8319 darwin*) # darwin 5.x on
8320 # if running on 10.5 or later, the deployment target defaults
8321 # to the OS version, if on x86, and 10.4, the deployment
8322 # target defaults to 10.4. Don't you love it?
8323 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8324 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8325 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8326 10.[012]*)
8327 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8328 10.*)
8329 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8330 esac
8331 ;;
8332 esac
8333 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8334 _lt_dar_single_mod='$single_module'
8335 fi
8336 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8337 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8338 else
8339 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8340 fi
8341 if test "$DSYMUTIL" != ":"; then
8342 _lt_dsymutil='~$DSYMUTIL $lib || :'
8343 else
8344 _lt_dsymutil=
8345 fi
8346 ;;
8347 esac
8348
8349for ac_header in dlfcn.h
8350do :
8351 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8352"
8353if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8354 cat >>confdefs.h <<_ACEOF
8355#define HAVE_DLFCN_H 1
8356_ACEOF
8357
8358fi
8359
8360done
8361
8362
8363
8364# Set options
8365
8366
8367
8368 enable_dlopen=no
8369
8370
8371
8372 # Check whether --enable-shared was given.
8373if test "${enable_shared+set}" = set; then :
8374 enableval=$enable_shared; p=${PACKAGE-default}
8375 case $enableval in
8376 yes) enable_shared=yes ;;
8377 no) enable_shared=no ;;
8378 *)
8379 enable_shared=no
8380 # Look at the argument we got. We use all the common list separators.
8381 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8382 for pkg in $enableval; do
8383 IFS="$lt_save_ifs"
8384 if test "X$pkg" = "X$p"; then
8385 enable_shared=yes
8386 fi
8387 done
8388 IFS="$lt_save_ifs"
8389 ;;
8390 esac
8391else
8392 enable_shared=yes
8393fi
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403 # Check whether --enable-static was given.
8404if test "${enable_static+set}" = set; then :
8405 enableval=$enable_static; p=${PACKAGE-default}
8406 case $enableval in
8407 yes) enable_static=yes ;;
8408 no) enable_static=no ;;
8409 *)
8410 enable_static=no
8411 # Look at the argument we got. We use all the common list separators.
8412 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8413 for pkg in $enableval; do
8414 IFS="$lt_save_ifs"
8415 if test "X$pkg" = "X$p"; then
8416 enable_static=yes
8417 fi
8418 done
8419 IFS="$lt_save_ifs"
8420 ;;
8421 esac
8422else
8423 enable_static=yes
8424fi
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435# Check whether --with-pic was given.
8436if test "${with_pic+set}" = set; then :
8437 withval=$with_pic; pic_mode="$withval"
8438else
8439 pic_mode=default
8440fi
8441
8442
8443test -z "$pic_mode" && pic_mode=default
8444
8445
8446
8447
8448
8449
8450
8451 # Check whether --enable-fast-install was given.
8452if test "${enable_fast_install+set}" = set; then :
8453 enableval=$enable_fast_install; p=${PACKAGE-default}
8454 case $enableval in
8455 yes) enable_fast_install=yes ;;
8456 no) enable_fast_install=no ;;
8457 *)
8458 enable_fast_install=no
8459 # Look at the argument we got. We use all the common list separators.
8460 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8461 for pkg in $enableval; do
8462 IFS="$lt_save_ifs"
8463 if test "X$pkg" = "X$p"; then
8464 enable_fast_install=yes
8465 fi
8466 done
8467 IFS="$lt_save_ifs"
8468 ;;
8469 esac
8470else
8471 enable_fast_install=yes
8472fi
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484# This can be used to rebuild libtool when needed
8485LIBTOOL_DEPS="$ltmain"
8486
8487# Always use our own libtool.
8488LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514test -z "$LN_S" && LN_S="ln -s"
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529if test -n "${ZSH_VERSION+set}" ; then
8530 setopt NO_GLOB_SUBST
8531fi
8532
8533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8534$as_echo_n "checking for objdir... " >&6; }
8535if test "${lt_cv_objdir+set}" = set; then :
8536 $as_echo_n "(cached) " >&6
8537else
8538 rm -f .libs 2>/dev/null
8539mkdir .libs 2>/dev/null
8540if test -d .libs; then
8541 lt_cv_objdir=.libs
8542else
8543 # MS-DOS does not allow filenames that begin with a dot.
8544 lt_cv_objdir=_libs
8545fi
8546rmdir .libs 2>/dev/null
8547fi
8548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8549$as_echo "$lt_cv_objdir" >&6; }
8550objdir=$lt_cv_objdir
8551
8552
8553
8554
8555
8556cat >>confdefs.h <<_ACEOF
8557#define LT_OBJDIR "$lt_cv_objdir/"
8558_ACEOF
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576case $host_os in
8577aix3*)
8578 # AIX sometimes has problems with the GCC collect2 program. For some
8579 # reason, if we set the COLLECT_NAMES environment variable, the problems
8580 # vanish in a puff of smoke.
8581 if test "X${COLLECT_NAMES+set}" != Xset; then
8582 COLLECT_NAMES=
8583 export COLLECT_NAMES
8584 fi
8585 ;;
8586esac
8587
8588# Sed substitution that helps us do robust quoting. It backslashifies
8589# metacharacters that are still active within double-quoted strings.
8590sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8591
8592# Same as above, but do not quote variable references.
8593double_quote_subst='s/\(["`\\]\)/\\\1/g'
8594
8595# Sed substitution to delay expansion of an escaped shell variable in a
8596# double_quote_subst'ed string.
8597delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8598
8599# Sed substitution to delay expansion of an escaped single quote.
8600delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8601
8602# Sed substitution to avoid accidental globbing in evaled expressions
8603no_glob_subst='s/\*/\\\*/g'
8604
8605# Global variables:
8606ofile=libtool
8607can_build_shared=yes
8608
8609# All known linkers require a `.a' archive for static linking (except MSVC,
8610# which needs '.lib').
8611libext=a
8612
8613with_gnu_ld="$lt_cv_prog_gnu_ld"
8614
8615old_CC="$CC"
8616old_CFLAGS="$CFLAGS"
8617
8618# Set sane defaults for various variables
8619test -z "$CC" && CC=cc
8620test -z "$LTCC" && LTCC=$CC
8621test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8622test -z "$LD" && LD=ld
8623test -z "$ac_objext" && ac_objext=o
8624
8625for cc_temp in $compiler""; do
8626 case $cc_temp in
8627 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8628 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8629 \-*) ;;
8630 *) break;;
8631 esac
8632done
8633cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8634
8635
8636# Only perform the check for file, if the check method requires it
8637test -z "$MAGIC_CMD" && MAGIC_CMD=file
8638case $deplibs_check_method in
8639file_magic*)
8640 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8642$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8643if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8644 $as_echo_n "(cached) " >&6
8645else
8646 case $MAGIC_CMD in
8647[\\/*] | ?:[\\/]*)
8648 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8649 ;;
8650*)
8651 lt_save_MAGIC_CMD="$MAGIC_CMD"
8652 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8653 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8654 for ac_dir in $ac_dummy; do
8655 IFS="$lt_save_ifs"
8656 test -z "$ac_dir" && ac_dir=.
8657 if test -f $ac_dir/${ac_tool_prefix}file; then
8658 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8659 if test -n "$file_magic_test_file"; then
8660 case $deplibs_check_method in
8661 "file_magic "*)
8662 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8663 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8664 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8665 $EGREP "$file_magic_regex" > /dev/null; then
8666 :
8667 else
8668 cat <<_LT_EOF 1>&2
8669
8670*** Warning: the command libtool uses to detect shared libraries,
8671*** $file_magic_cmd, produces output that libtool cannot recognize.
8672*** The result is that libtool may fail to recognize shared libraries
8673*** as such. This will affect the creation of libtool libraries that
8674*** depend on shared libraries, but programs linked with such libtool
8675*** libraries will work regardless of this problem. Nevertheless, you
8676*** may want to report the problem to your system manager and/or to
8677*** bug-libtool@gnu.org
8678
8679_LT_EOF
8680 fi ;;
8681 esac
8682 fi
8683 break
8684 fi
8685 done
8686 IFS="$lt_save_ifs"
8687 MAGIC_CMD="$lt_save_MAGIC_CMD"
8688 ;;
8689esac
8690fi
8691
8692MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8693if test -n "$MAGIC_CMD"; then
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8695$as_echo "$MAGIC_CMD" >&6; }
8696else
8697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8698$as_echo "no" >&6; }
8699fi
8700
8701
8702
8703
8704
8705if test -z "$lt_cv_path_MAGIC_CMD"; then
8706 if test -n "$ac_tool_prefix"; then
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8708$as_echo_n "checking for file... " >&6; }
8709if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8710 $as_echo_n "(cached) " >&6
8711else
8712 case $MAGIC_CMD in
8713[\\/*] | ?:[\\/]*)
8714 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8715 ;;
8716*)
8717 lt_save_MAGIC_CMD="$MAGIC_CMD"
8718 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8719 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8720 for ac_dir in $ac_dummy; do
8721 IFS="$lt_save_ifs"
8722 test -z "$ac_dir" && ac_dir=.
8723 if test -f $ac_dir/file; then
8724 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8725 if test -n "$file_magic_test_file"; then
8726 case $deplibs_check_method in
8727 "file_magic "*)
8728 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8729 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8730 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8731 $EGREP "$file_magic_regex" > /dev/null; then
8732 :
8733 else
8734 cat <<_LT_EOF 1>&2
8735
8736*** Warning: the command libtool uses to detect shared libraries,
8737*** $file_magic_cmd, produces output that libtool cannot recognize.
8738*** The result is that libtool may fail to recognize shared libraries
8739*** as such. This will affect the creation of libtool libraries that
8740*** depend on shared libraries, but programs linked with such libtool
8741*** libraries will work regardless of this problem. Nevertheless, you
8742*** may want to report the problem to your system manager and/or to
8743*** bug-libtool@gnu.org
8744
8745_LT_EOF
8746 fi ;;
8747 esac
8748 fi
8749 break
8750 fi
8751 done
8752 IFS="$lt_save_ifs"
8753 MAGIC_CMD="$lt_save_MAGIC_CMD"
8754 ;;
8755esac
8756fi
8757
8758MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8759if test -n "$MAGIC_CMD"; then
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8761$as_echo "$MAGIC_CMD" >&6; }
8762else
8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8764$as_echo "no" >&6; }
8765fi
8766
8767
8768 else
8769 MAGIC_CMD=:
8770 fi
8771fi
8772
8773 fi
8774 ;;
8775esac
8776
8777# Use C for the default configuration in the libtool script
8778
8779lt_save_CC="$CC"
8780ac_ext=c
8781ac_cpp='$CPP $CPPFLAGS'
8782ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8783ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8784ac_compiler_gnu=$ac_cv_c_compiler_gnu
8785
8786
8787# Source file extension for C test sources.
8788ac_ext=c
8789
8790# Object file extension for compiled C test sources.
8791objext=o
8792objext=$objext
8793
8794# Code to be used in simple compile tests
8795lt_simple_compile_test_code="int some_variable = 0;"
8796
8797# Code to be used in simple link tests
8798lt_simple_link_test_code='int main(){return(0);}'
8799
8800
8801
8802
8803
8804
8805
8806# If no C compiler was specified, use CC.
8807LTCC=${LTCC-"$CC"}
8808
8809# If no C compiler flags were specified, use CFLAGS.
8810LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8811
8812# Allow CC to be a program name with arguments.
8813compiler=$CC
8814
8815# Save the default compiler, since it gets overwritten when the other
8816# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8817compiler_DEFAULT=$CC
8818
8819# save warnings/boilerplate of simple test code
8820ac_outfile=conftest.$ac_objext
8821echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8822eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8823_lt_compiler_boilerplate=`cat conftest.err`
8824$RM conftest*
8825
8826ac_outfile=conftest.$ac_objext
8827echo "$lt_simple_link_test_code" >conftest.$ac_ext
8828eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8829_lt_linker_boilerplate=`cat conftest.err`
8830$RM -r conftest*
8831
8832
8833## CAVEAT EMPTOR:
8834## There is no encapsulation within the following macros, do not change
8835## the running order or otherwise move them around unless you know exactly
8836## what you are doing...
8837if test -n "$compiler"; then
8838
8839lt_prog_compiler_no_builtin_flag=
8840
8841if test "$GCC" = yes; then
8842 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8843
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8845$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8846if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8848else
8849 lt_cv_prog_compiler_rtti_exceptions=no
8850 ac_outfile=conftest.$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="-fno-rtti -fno-exceptions"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:8862: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err)
8864 ac_status=$?
8865 cat conftest.err >&5
8866 echo "$as_me:8866: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_rtti_exceptions=yes
8874 fi
8875 fi
8876 $RM conftest*
8877
8878fi
8879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8880$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8881
8882if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8883 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8884else
8885 :
8886fi
8887
8888fi
8889
8890
8891
8892
8893
8894
8895 lt_prog_compiler_wl=
8896lt_prog_compiler_pic=
8897lt_prog_compiler_static=
8898
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8900$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8901
8902 if test "$GCC" = yes; then
8903 lt_prog_compiler_wl='-Wl,'
8904 lt_prog_compiler_static='-static'
8905
8906 case $host_os in
8907 aix*)
8908 # All AIX code is PIC.
8909 if test "$host_cpu" = ia64; then
8910 # AIX 5 now supports IA64 processor
8911 lt_prog_compiler_static='-Bstatic'
8912 fi
8913 ;;
8914
8915 amigaos*)
8916 case $host_cpu in
8917 powerpc)
8918 # see comment about AmigaOS4 .so support
8919 lt_prog_compiler_pic='-fPIC'
8920 ;;
8921 m68k)
8922 # FIXME: we need at least 68020 code to build shared libraries, but
8923 # adding the `-m68020' flag to GCC prevents building anything better,
8924 # like `-m68040'.
8925 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8926 ;;
8927 esac
8928 ;;
8929
8930 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8931 # PIC is the default for these OSes.
8932 ;;
8933
8934 mingw* | cygwin* | pw32* | os2* | cegcc*)
8935 # This hack is so that the source file can tell whether it is being
8936 # built for inclusion in a dll (and should export symbols for example).
8937 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8938 # (--disable-auto-import) libraries
8939 lt_prog_compiler_pic='-DDLL_EXPORT'
8940 ;;
8941
8942 darwin* | rhapsody*)
8943 # PIC is the default on this platform
8944 # Common symbols not allowed in MH_DYLIB files
8945 lt_prog_compiler_pic='-fno-common'
8946 ;;
8947
8948 hpux*)
8949 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8950 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8951 # sets the default TLS model and affects inlining.
8952 case $host_cpu in
8953 hppa*64*)
8954 # +Z the default
8955 ;;
8956 *)
8957 lt_prog_compiler_pic='-fPIC'
8958 ;;
8959 esac
8960 ;;
8961
8962 interix[3-9]*)
8963 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8964 # Instead, we relocate shared libraries at runtime.
8965 ;;
8966
8967 msdosdjgpp*)
8968 # Just because we use GCC doesn't mean we suddenly get shared libraries
8969 # on systems that don't support them.
8970 lt_prog_compiler_can_build_shared=no
8971 enable_shared=no
8972 ;;
8973
8974 *nto* | *qnx*)
8975 # QNX uses GNU C++, but need to define -shared option too, otherwise
8976 # it will coredump.
8977 lt_prog_compiler_pic='-fPIC -shared'
8978 ;;
8979
8980 sysv4*MP*)
8981 if test -d /usr/nec; then
8982 lt_prog_compiler_pic=-Kconform_pic
8983 fi
8984 ;;
8985
8986 *)
8987 lt_prog_compiler_pic='-fPIC'
8988 ;;
8989 esac
8990 else
8991 # PORTME Check for flag to pass linker flags through the system compiler.
8992 case $host_os in
8993 aix*)
8994 lt_prog_compiler_wl='-Wl,'
8995 if test "$host_cpu" = ia64; then
8996 # AIX 5 now supports IA64 processor
8997 lt_prog_compiler_static='-Bstatic'
8998 else
8999 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9000 fi
9001 ;;
9002
9003 mingw* | cygwin* | pw32* | os2* | cegcc*)
9004 # This hack is so that the source file can tell whether it is being
9005 # built for inclusion in a dll (and should export symbols for example).
9006 lt_prog_compiler_pic='-DDLL_EXPORT'
9007 ;;
9008
9009 hpux9* | hpux10* | hpux11*)
9010 lt_prog_compiler_wl='-Wl,'
9011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9012 # not for PA HP-UX.
9013 case $host_cpu in
9014 hppa*64*|ia64*)
9015 # +Z the default
9016 ;;
9017 *)
9018 lt_prog_compiler_pic='+Z'
9019 ;;
9020 esac
9021 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9022 lt_prog_compiler_static='${wl}-a ${wl}archive'
9023 ;;
9024
9025 irix5* | irix6* | nonstopux*)
9026 lt_prog_compiler_wl='-Wl,'
9027 # PIC (with -KPIC) is the default.
9028 lt_prog_compiler_static='-non_shared'
9029 ;;
9030
9031 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9032 case $cc_basename in
9033 # old Intel for x86_64 which still supported -KPIC.
9034 ecc*)
9035 lt_prog_compiler_wl='-Wl,'
9036 lt_prog_compiler_pic='-KPIC'
9037 lt_prog_compiler_static='-static'
9038 ;;
9039 # icc used to be incompatible with GCC.
9040 # ICC 10 doesn't accept -KPIC any more.
9041 icc* | ifort*)
9042 lt_prog_compiler_wl='-Wl,'
9043 lt_prog_compiler_pic='-fPIC'
9044 lt_prog_compiler_static='-static'
9045 ;;
9046 # Lahey Fortran 8.1.
9047 lf95*)
9048 lt_prog_compiler_wl='-Wl,'
9049 lt_prog_compiler_pic='--shared'
9050 lt_prog_compiler_static='--static'
9051 ;;
9052 pgcc* | pgf77* | pgf90* | pgf95*)
9053 # Portland Group compilers (*not* the Pentium gcc compiler,
9054 # which looks to be a dead project)
9055 lt_prog_compiler_wl='-Wl,'
9056 lt_prog_compiler_pic='-fpic'
9057 lt_prog_compiler_static='-Bstatic'
9058 ;;
9059 ccc*)
9060 lt_prog_compiler_wl='-Wl,'
9061 # All Alpha code is PIC.
9062 lt_prog_compiler_static='-non_shared'
9063 ;;
9064 xl*)
9065 # IBM XL C 8.0/Fortran 10.1 on PPC
9066 lt_prog_compiler_wl='-Wl,'
9067 lt_prog_compiler_pic='-qpic'
9068 lt_prog_compiler_static='-qstaticlink'
9069 ;;
9070 *)
9071 case `$CC -V 2>&1 | sed 5q` in
9072 *Sun\ C*)
9073 # Sun C 5.9
9074 lt_prog_compiler_pic='-KPIC'
9075 lt_prog_compiler_static='-Bstatic'
9076 lt_prog_compiler_wl='-Wl,'
9077 ;;
9078 *Sun\ F*)
9079 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9080 lt_prog_compiler_pic='-KPIC'
9081 lt_prog_compiler_static='-Bstatic'
9082 lt_prog_compiler_wl=''
9083 ;;
9084 esac
9085 ;;
9086 esac
9087 ;;
9088
9089 newsos6)
9090 lt_prog_compiler_pic='-KPIC'
9091 lt_prog_compiler_static='-Bstatic'
9092 ;;
9093
9094 *nto* | *qnx*)
9095 # QNX uses GNU C++, but need to define -shared option too, otherwise
9096 # it will coredump.
9097 lt_prog_compiler_pic='-fPIC -shared'
9098 ;;
9099
9100 osf3* | osf4* | osf5*)
9101 lt_prog_compiler_wl='-Wl,'
9102 # All OSF/1 code is PIC.
9103 lt_prog_compiler_static='-non_shared'
9104 ;;
9105
9106 rdos*)
9107 lt_prog_compiler_static='-non_shared'
9108 ;;
9109
9110 solaris*)
9111 lt_prog_compiler_pic='-KPIC'
9112 lt_prog_compiler_static='-Bstatic'
9113 case $cc_basename in
9114 f77* | f90* | f95*)
9115 lt_prog_compiler_wl='-Qoption ld ';;
9116 *)
9117 lt_prog_compiler_wl='-Wl,';;
9118 esac
9119 ;;
9120
9121 sunos4*)
9122 lt_prog_compiler_wl='-Qoption ld '
9123 lt_prog_compiler_pic='-PIC'
9124 lt_prog_compiler_static='-Bstatic'
9125 ;;
9126
9127 sysv4 | sysv4.2uw2* | sysv4.3*)
9128 lt_prog_compiler_wl='-Wl,'
9129 lt_prog_compiler_pic='-KPIC'
9130 lt_prog_compiler_static='-Bstatic'
9131 ;;
9132
9133 sysv4*MP*)
9134 if test -d /usr/nec ;then
9135 lt_prog_compiler_pic='-Kconform_pic'
9136 lt_prog_compiler_static='-Bstatic'
9137 fi
9138 ;;
9139
9140 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9141 lt_prog_compiler_wl='-Wl,'
9142 lt_prog_compiler_pic='-KPIC'
9143 lt_prog_compiler_static='-Bstatic'
9144 ;;
9145
9146 unicos*)
9147 lt_prog_compiler_wl='-Wl,'
9148 lt_prog_compiler_can_build_shared=no
9149 ;;
9150
9151 uts4*)
9152 lt_prog_compiler_pic='-pic'
9153 lt_prog_compiler_static='-Bstatic'
9154 ;;
9155
9156 *)
9157 lt_prog_compiler_can_build_shared=no
9158 ;;
9159 esac
9160 fi
9161
9162case $host_os in
9163 # For platforms which do not support PIC, -DPIC is meaningless:
9164 *djgpp*)
9165 lt_prog_compiler_pic=
9166 ;;
9167 *)
9168 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9169 ;;
9170esac
9171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9172$as_echo "$lt_prog_compiler_pic" >&6; }
9173
9174
9175
9176
9177
9178
9179#
9180# Check to make sure the PIC flag actually works.
9181#
9182if test -n "$lt_prog_compiler_pic"; then
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9184$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9185if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9186 $as_echo_n "(cached) " >&6
9187else
9188 lt_cv_prog_compiler_pic_works=no
9189 ac_outfile=conftest.$ac_objext
9190 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9191 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9192 # Insert the option either (1) after the last *FLAGS variable, or
9193 # (2) before a word containing "conftest.", or (3) at the end.
9194 # Note that $ac_compile itself does not contain backslashes and begins
9195 # with a dollar sign (not a hyphen), so the echo should work correctly.
9196 # The option is referenced via a variable to avoid confusing sed.
9197 lt_compile=`echo "$ac_compile" | $SED \
9198 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9199 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9200 -e 's:$: $lt_compiler_flag:'`
9201 (eval echo "\"\$as_me:9201: $lt_compile\"" >&5)
9202 (eval "$lt_compile" 2>conftest.err)
9203 ac_status=$?
9204 cat conftest.err >&5
9205 echo "$as_me:9205: \$? = $ac_status" >&5
9206 if (exit $ac_status) && test -s "$ac_outfile"; then
9207 # The compiler can only warn and ignore the option if not recognized
9208 # So say no if there are warnings other than the usual output.
9209 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9210 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9211 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9212 lt_cv_prog_compiler_pic_works=yes
9213 fi
9214 fi
9215 $RM conftest*
9216
9217fi
9218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9219$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9220
9221if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9222 case $lt_prog_compiler_pic in
9223 "" | " "*) ;;
9224 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9225 esac
9226else
9227 lt_prog_compiler_pic=
9228 lt_prog_compiler_can_build_shared=no
9229fi
9230
9231fi
9232
9233
9234
9235
9236
9237
9238#
9239# Check to make sure the static flag actually works.
9240#
9241wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9243$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9244if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9245 $as_echo_n "(cached) " >&6
9246else
9247 lt_cv_prog_compiler_static_works=no
9248 save_LDFLAGS="$LDFLAGS"
9249 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9250 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9251 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9252 # The linker can only warn and ignore the option if not recognized
9253 # So say no if there are warnings
9254 if test -s conftest.err; then
9255 # Append any errors to the config.log.
9256 cat conftest.err 1>&5
9257 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9258 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9259 if diff conftest.exp conftest.er2 >/dev/null; then
9260 lt_cv_prog_compiler_static_works=yes
9261 fi
9262 else
9263 lt_cv_prog_compiler_static_works=yes
9264 fi
9265 fi
9266 $RM -r conftest*
9267 LDFLAGS="$save_LDFLAGS"
9268
9269fi
9270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9271$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9272
9273if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9274 :
9275else
9276 lt_prog_compiler_static=
9277fi
9278
9279
9280
9281
9282
9283
9284
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9286$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9287if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9288 $as_echo_n "(cached) " >&6
9289else
9290 lt_cv_prog_compiler_c_o=no
9291 $RM -r conftest 2>/dev/null
9292 mkdir conftest
9293 cd conftest
9294 mkdir out
9295 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9296
9297 lt_compiler_flag="-o out/conftest2.$ac_objext"
9298 # Insert the option either (1) after the last *FLAGS variable, or
9299 # (2) before a word containing "conftest.", or (3) at the end.
9300 # Note that $ac_compile itself does not contain backslashes and begins
9301 # with a dollar sign (not a hyphen), so the echo should work correctly.
9302 lt_compile=`echo "$ac_compile" | $SED \
9303 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9304 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9305 -e 's:$: $lt_compiler_flag:'`
9306 (eval echo "\"\$as_me:9306: $lt_compile\"" >&5)
9307 (eval "$lt_compile" 2>out/conftest.err)
9308 ac_status=$?
9309 cat out/conftest.err >&5
9310 echo "$as_me:9310: \$? = $ac_status" >&5
9311 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9312 then
9313 # The compiler can only warn and ignore the option if not recognized
9314 # So say no if there are warnings
9315 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9316 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9317 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9318 lt_cv_prog_compiler_c_o=yes
9319 fi
9320 fi
9321 chmod u+w . 2>&5
9322 $RM conftest*
9323 # SGI C++ compiler will create directory out/ii_files/ for
9324 # template instantiation
9325 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9326 $RM out/* && rmdir out
9327 cd ..
9328 $RM -r conftest
9329 $RM conftest*
9330
9331fi
9332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9333$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9334
9335
9336
9337
9338
9339
9340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9341$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9342if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9343 $as_echo_n "(cached) " >&6
9344else
9345 lt_cv_prog_compiler_c_o=no
9346 $RM -r conftest 2>/dev/null
9347 mkdir conftest
9348 cd conftest
9349 mkdir out
9350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9351
9352 lt_compiler_flag="-o out/conftest2.$ac_objext"
9353 # Insert the option either (1) after the last *FLAGS variable, or
9354 # (2) before a word containing "conftest.", or (3) at the end.
9355 # Note that $ac_compile itself does not contain backslashes and begins
9356 # with a dollar sign (not a hyphen), so the echo should work correctly.
9357 lt_compile=`echo "$ac_compile" | $SED \
9358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9360 -e 's:$: $lt_compiler_flag:'`
9361 (eval echo "\"\$as_me:9361: $lt_compile\"" >&5)
9362 (eval "$lt_compile" 2>out/conftest.err)
9363 ac_status=$?
9364 cat out/conftest.err >&5
9365 echo "$as_me:9365: \$? = $ac_status" >&5
9366 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9367 then
9368 # The compiler can only warn and ignore the option if not recognized
9369 # So say no if there are warnings
9370 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9371 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9372 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9373 lt_cv_prog_compiler_c_o=yes
9374 fi
9375 fi
9376 chmod u+w . 2>&5
9377 $RM conftest*
9378 # SGI C++ compiler will create directory out/ii_files/ for
9379 # template instantiation
9380 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9381 $RM out/* && rmdir out
9382 cd ..
9383 $RM -r conftest
9384 $RM conftest*
9385
9386fi
9387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9388$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9389
9390
9391
9392
9393hard_links="nottested"
9394if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9395 # do not overwrite the value of need_locks provided by the user
9396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9397$as_echo_n "checking if we can lock with hard links... " >&6; }
9398 hard_links=yes
9399 $RM conftest*
9400 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9401 touch conftest.a
9402 ln conftest.a conftest.b 2>&5 || hard_links=no
9403 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9405$as_echo "$hard_links" >&6; }
9406 if test "$hard_links" = no; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9408$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9409 need_locks=warn
9410 fi
9411else
9412 need_locks=no
9413fi
9414
9415
9416
9417
9418
9419
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9421$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9422
9423 runpath_var=
9424 allow_undefined_flag=
9425 always_export_symbols=no
9426 archive_cmds=
9427 archive_expsym_cmds=
9428 compiler_needs_object=no
9429 enable_shared_with_static_runtimes=no
9430 export_dynamic_flag_spec=
9431 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9432 hardcode_automatic=no
9433 hardcode_direct=no
9434 hardcode_direct_absolute=no
9435 hardcode_libdir_flag_spec=
9436 hardcode_libdir_flag_spec_ld=
9437 hardcode_libdir_separator=
9438 hardcode_minus_L=no
9439 hardcode_shlibpath_var=unsupported
9440 inherit_rpath=no
9441 link_all_deplibs=unknown
9442 module_cmds=
9443 module_expsym_cmds=
9444 old_archive_from_new_cmds=
9445 old_archive_from_expsyms_cmds=
9446 thread_safe_flag_spec=
9447 whole_archive_flag_spec=
9448 # include_expsyms should be a list of space-separated symbols to be *always*
9449 # included in the symbol list
9450 include_expsyms=
9451 # exclude_expsyms can be an extended regexp of symbols to exclude
9452 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9453 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9454 # as well as any symbol that contains `d'.
9455 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9456 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9457 # platforms (ab)use it in PIC code, but their linkers get confused if
9458 # the symbol is explicitly referenced. Since portable code cannot
9459 # rely on this symbol name, it's probably fine to never include it in
9460 # preloaded symbol tables.
9461 # Exclude shared library initialization/finalization symbols.
9462 extract_expsyms_cmds=
9463
9464 case $host_os in
9465 cygwin* | mingw* | pw32* | cegcc*)
9466 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9467 # When not using gcc, we currently assume that we are using
9468 # Microsoft Visual C++.
9469 if test "$GCC" != yes; then
9470 with_gnu_ld=no
9471 fi
9472 ;;
9473 interix*)
9474 # we just hope/assume this is gcc and not c89 (= MSVC++)
9475 with_gnu_ld=yes
9476 ;;
9477 openbsd*)
9478 with_gnu_ld=no
9479 ;;
9480 linux* | k*bsd*-gnu)
9481 link_all_deplibs=no
9482 ;;
9483 esac
9484
9485 ld_shlibs=yes
9486 if test "$with_gnu_ld" = yes; then
9487 # If archive_cmds runs LD, not CC, wlarc should be empty
9488 wlarc='${wl}'
9489
9490 # Set some defaults for GNU ld with shared library support. These
9491 # are reset later if shared libraries are not supported. Putting them
9492 # here allows them to be overridden if necessary.
9493 runpath_var=LD_RUN_PATH
9494 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9495 export_dynamic_flag_spec='${wl}--export-dynamic'
9496 # ancient GNU ld didn't support --whole-archive et. al.
9497 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9498 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9499 else
9500 whole_archive_flag_spec=
9501 fi
9502 supports_anon_versioning=no
9503 case `$LD -v 2>&1` in
9504 *GNU\ gold*) supports_anon_versioning=yes ;;
9505 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9506 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9507 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9508 *\ 2.11.*) ;; # other 2.11 versions
9509 *) supports_anon_versioning=yes ;;
9510 esac
9511
9512 # See if GNU ld supports shared libraries.
9513 case $host_os in
9514 aix[3-9]*)
9515 # On AIX/PPC, the GNU linker is very broken
9516 if test "$host_cpu" != ia64; then
9517 ld_shlibs=no
9518 cat <<_LT_EOF 1>&2
9519
9520*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9521*** to be unable to reliably create shared libraries on AIX.
9522*** Therefore, libtool is disabling shared libraries support. If you
9523*** really care for shared libraries, you may want to modify your PATH
9524*** so that a non-GNU linker is found, and then restart.
9525
9526_LT_EOF
9527 fi
9528 ;;
9529
9530 amigaos*)
9531 case $host_cpu in
9532 powerpc)
9533 # see comment about AmigaOS4 .so support
9534 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9535 archive_expsym_cmds=''
9536 ;;
9537 m68k)
9538 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)'
9539 hardcode_libdir_flag_spec='-L$libdir'
9540 hardcode_minus_L=yes
9541 ;;
9542 esac
9543 ;;
9544
9545 beos*)
9546 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9547 allow_undefined_flag=unsupported
9548 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9549 # support --undefined. This deserves some investigation. FIXME
9550 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551 else
9552 ld_shlibs=no
9553 fi
9554 ;;
9555
9556 cygwin* | mingw* | pw32* | cegcc*)
9557 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9558 # as there is no search path for DLLs.
9559 hardcode_libdir_flag_spec='-L$libdir'
9560 allow_undefined_flag=unsupported
9561 always_export_symbols=no
9562 enable_shared_with_static_runtimes=yes
9563 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9564
9565 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9566 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9567 # If the export-symbols file already is a .def file (1st line
9568 # is EXPORTS), use it as is; otherwise, prepend...
9569 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9570 cp $export_symbols $output_objdir/$soname.def;
9571 else
9572 echo EXPORTS > $output_objdir/$soname.def;
9573 cat $export_symbols >> $output_objdir/$soname.def;
9574 fi~
9575 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9576 else
9577 ld_shlibs=no
9578 fi
9579 ;;
9580
9581 interix[3-9]*)
9582 hardcode_direct=no
9583 hardcode_shlibpath_var=no
9584 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9585 export_dynamic_flag_spec='${wl}-E'
9586 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9587 # Instead, shared libraries are loaded at an image base (0x10000000 by
9588 # default) and relocated if they conflict, which is a slow very memory
9589 # consuming and fragmenting process. To avoid this, we pick a random,
9590 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9591 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9592 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9593 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'
9594 ;;
9595
9596 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9597 tmp_diet=no
9598 if test "$host_os" = linux-dietlibc; then
9599 case $cc_basename in
9600 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9601 esac
9602 fi
9603 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9604 && test "$tmp_diet" = no
9605 then
9606 tmp_addflag=
9607 tmp_sharedflag='-shared'
9608 case $cc_basename,$host_cpu in
9609 pgcc*) # Portland Group C compiler
9610 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'
9611 tmp_addflag=' $pic_flag'
9612 ;;
9613 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9614 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'
9615 tmp_addflag=' $pic_flag -Mnomain' ;;
9616 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9617 tmp_addflag=' -i_dynamic' ;;
9618 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9619 tmp_addflag=' -i_dynamic -nofor_main' ;;
9620 ifc* | ifort*) # Intel Fortran compiler
9621 tmp_addflag=' -nofor_main' ;;
9622 lf95*) # Lahey Fortran 8.1
9623 whole_archive_flag_spec=
9624 tmp_sharedflag='--shared' ;;
9625 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9626 tmp_sharedflag='-qmkshrobj'
9627 tmp_addflag= ;;
9628 esac
9629 case `$CC -V 2>&1 | sed 5q` in
9630 *Sun\ C*) # Sun C 5.9
9631 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'
9632 compiler_needs_object=yes
9633 tmp_sharedflag='-G' ;;
9634 *Sun\ F*) # Sun Fortran 8.3
9635 tmp_sharedflag='-G' ;;
9636 esac
9637 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9638
9639 if test "x$supports_anon_versioning" = xyes; then
9640 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9641 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9642 echo "local: *; };" >> $output_objdir/$libname.ver~
9643 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9644 fi
9645
9646 case $cc_basename in
9647 xlf*)
9648 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9649 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9650 hardcode_libdir_flag_spec=
9651 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9652 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9653 if test "x$supports_anon_versioning" = xyes; then
9654 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9655 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9656 echo "local: *; };" >> $output_objdir/$libname.ver~
9657 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9658 fi
9659 ;;
9660 esac
9661 else
9662 ld_shlibs=no
9663 fi
9664 ;;
9665
9666 netbsd* | netbsdelf*-gnu)
9667 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9668 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9669 wlarc=
9670 else
9671 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9672 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9673 fi
9674 ;;
9675
9676 solaris*)
9677 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9678 ld_shlibs=no
9679 cat <<_LT_EOF 1>&2
9680
9681*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9682*** create shared libraries on Solaris systems. Therefore, libtool
9683*** is disabling shared libraries support. We urge you to upgrade GNU
9684*** binutils to release 2.9.1 or newer. Another option is to modify
9685*** your PATH or compiler configuration so that the native linker is
9686*** used, and then restart.
9687
9688_LT_EOF
9689 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9690 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9691 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9692 else
9693 ld_shlibs=no
9694 fi
9695 ;;
9696
9697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9698 case `$LD -v 2>&1` in
9699 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9700 ld_shlibs=no
9701 cat <<_LT_EOF 1>&2
9702
9703*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9704*** reliably create shared libraries on SCO systems. Therefore, libtool
9705*** is disabling shared libraries support. We urge you to upgrade GNU
9706*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9707*** your PATH or compiler configuration so that the native linker is
9708*** used, and then restart.
9709
9710_LT_EOF
9711 ;;
9712 *)
9713 # For security reasons, it is highly recommended that you always
9714 # use absolute paths for naming shared libraries, and exclude the
9715 # DT_RUNPATH tag from executables and libraries. But doing so
9716 # requires that you compile everything twice, which is a pain.
9717 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9718 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9719 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9720 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9721 else
9722 ld_shlibs=no
9723 fi
9724 ;;
9725 esac
9726 ;;
9727
9728 sunos4*)
9729 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9730 wlarc=
9731 hardcode_direct=yes
9732 hardcode_shlibpath_var=no
9733 ;;
9734
9735 *)
9736 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9737 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9738 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9739 else
9740 ld_shlibs=no
9741 fi
9742 ;;
9743 esac
9744
9745 if test "$ld_shlibs" = no; then
9746 runpath_var=
9747 hardcode_libdir_flag_spec=
9748 export_dynamic_flag_spec=
9749 whole_archive_flag_spec=
9750 fi
9751 else
9752 # PORTME fill in a description of your system's linker (not GNU ld)
9753 case $host_os in
9754 aix3*)
9755 allow_undefined_flag=unsupported
9756 always_export_symbols=yes
9757 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'
9758 # Note: this linker hardcodes the directories in LIBPATH if there
9759 # are no directories specified by -L.
9760 hardcode_minus_L=yes
9761 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9762 # Neither direct hardcoding nor static linking is supported with a
9763 # broken collect2.
9764 hardcode_direct=unsupported
9765 fi
9766 ;;
9767
9768 aix[4-9]*)
9769 if test "$host_cpu" = ia64; then
9770 # On IA64, the linker does run time linking by default, so we don't
9771 # have to do anything special.
9772 aix_use_runtimelinking=no
9773 exp_sym_flag='-Bexport'
9774 no_entry_flag=""
9775 else
9776 # If we're using GNU nm, then we don't want the "-C" option.
9777 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9778 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9779 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'
9780 else
9781 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'
9782 fi
9783 aix_use_runtimelinking=no
9784
9785 # Test if we are trying to use run time linking or normal
9786 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9787 # need to do runtime linking.
9788 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9789 for ld_flag in $LDFLAGS; do
9790 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9791 aix_use_runtimelinking=yes
9792 break
9793 fi
9794 done
9795 ;;
9796 esac
9797
9798 exp_sym_flag='-bexport'
9799 no_entry_flag='-bnoentry'
9800 fi
9801
9802 # When large executables or shared objects are built, AIX ld can
9803 # have problems creating the table of contents. If linking a library
9804 # or program results in "error TOC overflow" add -mminimal-toc to
9805 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9806 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9807
9808 archive_cmds=''
9809 hardcode_direct=yes
9810 hardcode_direct_absolute=yes
9811 hardcode_libdir_separator=':'
9812 link_all_deplibs=yes
9813 file_list_spec='${wl}-f,'
9814
9815 if test "$GCC" = yes; then
9816 case $host_os in aix4.[012]|aix4.[012].*)
9817 # We only want to do this on AIX 4.2 and lower, the check
9818 # below for broken collect2 doesn't work under 4.3+
9819 collect2name=`${CC} -print-prog-name=collect2`
9820 if test -f "$collect2name" &&
9821 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9822 then
9823 # We have reworked collect2
9824 :
9825 else
9826 # We have old collect2
9827 hardcode_direct=unsupported
9828 # It fails to find uninstalled libraries when the uninstalled
9829 # path is not listed in the libpath. Setting hardcode_minus_L
9830 # to unsupported forces relinking
9831 hardcode_minus_L=yes
9832 hardcode_libdir_flag_spec='-L$libdir'
9833 hardcode_libdir_separator=
9834 fi
9835 ;;
9836 esac
9837 shared_flag='-shared'
9838 if test "$aix_use_runtimelinking" = yes; then
9839 shared_flag="$shared_flag "'${wl}-G'
9840 fi
9841 link_all_deplibs=no
9842 else
9843 # not using gcc
9844 if test "$host_cpu" = ia64; then
9845 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9846 # chokes on -Wl,-G. The following line is correct:
9847 shared_flag='-G'
9848 else
9849 if test "$aix_use_runtimelinking" = yes; then
9850 shared_flag='${wl}-G'
9851 else
9852 shared_flag='${wl}-bM:SRE'
9853 fi
9854 fi
9855 fi
9856
9857 export_dynamic_flag_spec='${wl}-bexpall'
9858 # It seems that -bexpall does not export symbols beginning with
9859 # underscore (_), so it is better to generate a list of symbols to export.
9860 always_export_symbols=yes
9861 if test "$aix_use_runtimelinking" = yes; then
9862 # Warning - without using the other runtime loading flags (-brtl),
9863 # -berok will link without error, but may produce a broken library.
9864 allow_undefined_flag='-berok'
9865 # Determine the default libpath from the value encoded in an
9866 # empty executable.
9867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9868/* end confdefs.h. */
9869
9870int
9871main ()
9872{
9873
9874 ;
9875 return 0;
9876}
9877_ACEOF
9878if ac_fn_c_try_link "$LINENO"; then :
9879
9880lt_aix_libpath_sed='
9881 /Import File Strings/,/^$/ {
9882 /^0/ {
9883 s/^0 *\(.*\)$/\1/
9884 p
9885 }
9886 }'
9887aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9888# Check for a 64-bit object if we didn't find anything.
9889if test -z "$aix_libpath"; then
9890 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9891fi
9892fi
9893rm -f core conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9896
9897 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9898 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"
9899 else
9900 if test "$host_cpu" = ia64; then
9901 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9902 allow_undefined_flag="-z nodefs"
9903 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"
9904 else
9905 # Determine the default libpath from the value encoded in an
9906 # empty executable.
9907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9908/* end confdefs.h. */
9909
9910int
9911main ()
9912{
9913
9914 ;
9915 return 0;
9916}
9917_ACEOF
9918if ac_fn_c_try_link "$LINENO"; then :
9919
9920lt_aix_libpath_sed='
9921 /Import File Strings/,/^$/ {
9922 /^0/ {
9923 s/^0 *\(.*\)$/\1/
9924 p
9925 }
9926 }'
9927aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9928# Check for a 64-bit object if we didn't find anything.
9929if test -z "$aix_libpath"; then
9930 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9931fi
9932fi
9933rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9935if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9936
9937 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9938 # Warning - without using the other run time loading flags,
9939 # -berok will link without error, but may produce a broken library.
9940 no_undefined_flag=' ${wl}-bernotok'
9941 allow_undefined_flag=' ${wl}-berok'
9942 # Exported symbols can be pulled into shared objects from archives
9943 whole_archive_flag_spec='$convenience'
9944 archive_cmds_need_lc=yes
9945 # This is similar to how AIX traditionally builds its shared libraries.
9946 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'
9947 fi
9948 fi
9949 ;;
9950
9951 amigaos*)
9952 case $host_cpu in
9953 powerpc)
9954 # see comment about AmigaOS4 .so support
9955 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9956 archive_expsym_cmds=''
9957 ;;
9958 m68k)
9959 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)'
9960 hardcode_libdir_flag_spec='-L$libdir'
9961 hardcode_minus_L=yes
9962 ;;
9963 esac
9964 ;;
9965
9966 bsdi[45]*)
9967 export_dynamic_flag_spec=-rdynamic
9968 ;;
9969
9970 cygwin* | mingw* | pw32* | cegcc*)
9971 # When not using gcc, we currently assume that we are using
9972 # Microsoft Visual C++.
9973 # hardcode_libdir_flag_spec is actually meaningless, as there is
9974 # no search path for DLLs.
9975 hardcode_libdir_flag_spec=' '
9976 allow_undefined_flag=unsupported
9977 # Tell ltmain to make .lib files, not .a files.
9978 libext=lib
9979 # Tell ltmain to make .dll files, not .so files.
9980 shrext_cmds=".dll"
9981 # FIXME: Setting linknames here is a bad hack.
9982 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9983 # The linker will automatically build a .lib file if we build a DLL.
9984 old_archive_from_new_cmds='true'
9985 # FIXME: Should let the user specify the lib program.
9986 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9987 fix_srcfile_path='`cygpath -w "$srcfile"`'
9988 enable_shared_with_static_runtimes=yes
9989 ;;
9990
9991 darwin* | rhapsody*)
9992
9993
9994 archive_cmds_need_lc=no
9995 hardcode_direct=no
9996 hardcode_automatic=yes
9997 hardcode_shlibpath_var=unsupported
9998 whole_archive_flag_spec=''
9999 link_all_deplibs=yes
10000 allow_undefined_flag="$_lt_dar_allow_undefined"
10001 case $cc_basename in
10002 ifort*) _lt_dar_can_shared=yes ;;
10003 *) _lt_dar_can_shared=$GCC ;;
10004 esac
10005 if test "$_lt_dar_can_shared" = "yes"; then
10006 output_verbose_link_cmd=echo
10007 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10008 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10009 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}"
10010 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}"
10011
10012 else
10013 ld_shlibs=no
10014 fi
10015
10016 ;;
10017
10018 dgux*)
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-L$libdir'
10021 hardcode_shlibpath_var=no
10022 ;;
10023
10024 freebsd1*)
10025 ld_shlibs=no
10026 ;;
10027
10028 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10029 # support. Future versions do this automatically, but an explicit c++rt0.o
10030 # does not break anything, and helps significantly (at the cost of a little
10031 # extra space).
10032 freebsd2.2*)
10033 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10034 hardcode_libdir_flag_spec='-R$libdir'
10035 hardcode_direct=yes
10036 hardcode_shlibpath_var=no
10037 ;;
10038
10039 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10040 freebsd2*)
10041 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10042 hardcode_direct=yes
10043 hardcode_minus_L=yes
10044 hardcode_shlibpath_var=no
10045 ;;
10046
10047 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10048 freebsd* | dragonfly*)
10049 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10050 hardcode_libdir_flag_spec='-R$libdir'
10051 hardcode_direct=yes
10052 hardcode_shlibpath_var=no
10053 ;;
10054
10055 hpux9*)
10056 if test "$GCC" = yes; then
10057 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'
10058 else
10059 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'
10060 fi
10061 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10062 hardcode_libdir_separator=:
10063 hardcode_direct=yes
10064
10065 # hardcode_minus_L: Not really in the search PATH,
10066 # but as the default location of the library.
10067 hardcode_minus_L=yes
10068 export_dynamic_flag_spec='${wl}-E'
10069 ;;
10070
10071 hpux10*)
10072 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10073 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10074 else
10075 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10076 fi
10077 if test "$with_gnu_ld" = no; then
10078 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10079 hardcode_libdir_flag_spec_ld='+b $libdir'
10080 hardcode_libdir_separator=:
10081 hardcode_direct=yes
10082 hardcode_direct_absolute=yes
10083 export_dynamic_flag_spec='${wl}-E'
10084 # hardcode_minus_L: Not really in the search PATH,
10085 # but as the default location of the library.
10086 hardcode_minus_L=yes
10087 fi
10088 ;;
10089
10090 hpux11*)
10091 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10092 case $host_cpu in
10093 hppa*64*)
10094 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 ;;
10096 ia64*)
10097 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10098 ;;
10099 *)
10100 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10101 ;;
10102 esac
10103 else
10104 case $host_cpu in
10105 hppa*64*)
10106 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 ;;
10108 ia64*)
10109 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10110 ;;
10111 *)
10112 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10113 ;;
10114 esac
10115 fi
10116 if test "$with_gnu_ld" = no; then
10117 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10118 hardcode_libdir_separator=:
10119
10120 case $host_cpu in
10121 hppa*64*|ia64*)
10122 hardcode_direct=no
10123 hardcode_shlibpath_var=no
10124 ;;
10125 *)
10126 hardcode_direct=yes
10127 hardcode_direct_absolute=yes
10128 export_dynamic_flag_spec='${wl}-E'
10129
10130 # hardcode_minus_L: Not really in the search PATH,
10131 # but as the default location of the library.
10132 hardcode_minus_L=yes
10133 ;;
10134 esac
10135 fi
10136 ;;
10137
10138 irix5* | irix6* | nonstopux*)
10139 if test "$GCC" = yes; then
10140 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'
10141 # Try to use the -exported_symbol ld option, if it does not
10142 # work, assume that -exports_file does not work either and
10143 # implicitly export all symbols.
10144 save_LDFLAGS="$LDFLAGS"
10145 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147/* end confdefs.h. */
10148int foo(void) {}
10149_ACEOF
10150if ac_fn_c_try_link "$LINENO"; then :
10151 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'
10152
10153fi
10154rm -f core conftest.err conftest.$ac_objext \
10155 conftest$ac_exeext conftest.$ac_ext
10156 LDFLAGS="$save_LDFLAGS"
10157 else
10158 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'
10159 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'
10160 fi
10161 archive_cmds_need_lc='no'
10162 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10163 hardcode_libdir_separator=:
10164 inherit_rpath=yes
10165 link_all_deplibs=yes
10166 ;;
10167
10168 netbsd* | netbsdelf*-gnu)
10169 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10170 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10171 else
10172 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10173 fi
10174 hardcode_libdir_flag_spec='-R$libdir'
10175 hardcode_direct=yes
10176 hardcode_shlibpath_var=no
10177 ;;
10178
10179 newsos6)
10180 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181 hardcode_direct=yes
10182 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10183 hardcode_libdir_separator=:
10184 hardcode_shlibpath_var=no
10185 ;;
10186
10187 *nto* | *qnx*)
10188 ;;
10189
10190 openbsd*)
10191 if test -f /usr/libexec/ld.so; then
10192 hardcode_direct=yes
10193 hardcode_shlibpath_var=no
10194 hardcode_direct_absolute=yes
10195 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10196 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10198 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10199 export_dynamic_flag_spec='${wl}-E'
10200 else
10201 case $host_os in
10202 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10203 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10204 hardcode_libdir_flag_spec='-R$libdir'
10205 ;;
10206 *)
10207 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10208 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10209 ;;
10210 esac
10211 fi
10212 else
10213 ld_shlibs=no
10214 fi
10215 ;;
10216
10217 os2*)
10218 hardcode_libdir_flag_spec='-L$libdir'
10219 hardcode_minus_L=yes
10220 allow_undefined_flag=unsupported
10221 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'
10222 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10223 ;;
10224
10225 osf3*)
10226 if test "$GCC" = yes; then
10227 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10228 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'
10229 else
10230 allow_undefined_flag=' -expect_unresolved \*'
10231 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'
10232 fi
10233 archive_cmds_need_lc='no'
10234 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10235 hardcode_libdir_separator=:
10236 ;;
10237
10238 osf4* | osf5*) # as osf3* with the addition of -msym flag
10239 if test "$GCC" = yes; then
10240 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10241 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'
10242 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10243 else
10244 allow_undefined_flag=' -expect_unresolved \*'
10245 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'
10246 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~
10247 $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'
10248
10249 # Both c and cxx compiler support -rpath directly
10250 hardcode_libdir_flag_spec='-rpath $libdir'
10251 fi
10252 archive_cmds_need_lc='no'
10253 hardcode_libdir_separator=:
10254 ;;
10255
10256 solaris*)
10257 no_undefined_flag=' -z defs'
10258 if test "$GCC" = yes; then
10259 wlarc='${wl}'
10260 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10262 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10263 else
10264 case `$CC -V 2>&1` in
10265 *"Compilers 5.0"*)
10266 wlarc=''
10267 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10268 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10269 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10270 ;;
10271 *)
10272 wlarc='${wl}'
10273 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10274 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10275 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10276 ;;
10277 esac
10278 fi
10279 hardcode_libdir_flag_spec='-R$libdir'
10280 hardcode_shlibpath_var=no
10281 case $host_os in
10282 solaris2.[0-5] | solaris2.[0-5].*) ;;
10283 *)
10284 # The compiler driver will combine and reorder linker options,
10285 # but understands `-z linker_flag'. GCC discards it without `$wl',
10286 # but is careful enough not to reorder.
10287 # Supported since Solaris 2.6 (maybe 2.5.1?)
10288 if test "$GCC" = yes; then
10289 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10290 else
10291 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10292 fi
10293 ;;
10294 esac
10295 link_all_deplibs=yes
10296 ;;
10297
10298 sunos4*)
10299 if test "x$host_vendor" = xsequent; then
10300 # Use $CC to link under sequent, because it throws in some extra .o
10301 # files that make .init and .fini sections work.
10302 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10303 else
10304 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10305 fi
10306 hardcode_libdir_flag_spec='-L$libdir'
10307 hardcode_direct=yes
10308 hardcode_minus_L=yes
10309 hardcode_shlibpath_var=no
10310 ;;
10311
10312 sysv4)
10313 case $host_vendor in
10314 sni)
10315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10316 hardcode_direct=yes # is this really true???
10317 ;;
10318 siemens)
10319 ## LD is ld it makes a PLAMLIB
10320 ## CC just makes a GrossModule.
10321 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10322 reload_cmds='$CC -r -o $output$reload_objs'
10323 hardcode_direct=no
10324 ;;
10325 motorola)
10326 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10328 ;;
10329 esac
10330 runpath_var='LD_RUN_PATH'
10331 hardcode_shlibpath_var=no
10332 ;;
10333
10334 sysv4.3*)
10335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_shlibpath_var=no
10337 export_dynamic_flag_spec='-Bexport'
10338 ;;
10339
10340 sysv4*MP*)
10341 if test -d /usr/nec; then
10342 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10343 hardcode_shlibpath_var=no
10344 runpath_var=LD_RUN_PATH
10345 hardcode_runpath_var=yes
10346 ld_shlibs=yes
10347 fi
10348 ;;
10349
10350 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10351 no_undefined_flag='${wl}-z,text'
10352 archive_cmds_need_lc=no
10353 hardcode_shlibpath_var=no
10354 runpath_var='LD_RUN_PATH'
10355
10356 if test "$GCC" = yes; then
10357 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10358 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10359 else
10360 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10361 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10362 fi
10363 ;;
10364
10365 sysv5* | sco3.2v5* | sco5v6*)
10366 # Note: We can NOT use -z defs as we might desire, because we do not
10367 # link with -lc, and that would cause any symbols used from libc to
10368 # always be unresolved, which means just about no library would
10369 # ever link correctly. If we're not using GNU ld we use -z text
10370 # though, which does catch some bad symbols but isn't as heavy-handed
10371 # as -z defs.
10372 no_undefined_flag='${wl}-z,text'
10373 allow_undefined_flag='${wl}-z,nodefs'
10374 archive_cmds_need_lc=no
10375 hardcode_shlibpath_var=no
10376 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10377 hardcode_libdir_separator=':'
10378 link_all_deplibs=yes
10379 export_dynamic_flag_spec='${wl}-Bexport'
10380 runpath_var='LD_RUN_PATH'
10381
10382 if test "$GCC" = yes; then
10383 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10385 else
10386 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10387 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10388 fi
10389 ;;
10390
10391 uts4*)
10392 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10393 hardcode_libdir_flag_spec='-L$libdir'
10394 hardcode_shlibpath_var=no
10395 ;;
10396
10397 *)
10398 ld_shlibs=no
10399 ;;
10400 esac
10401
10402 if test x$host_vendor = xsni; then
10403 case $host in
10404 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10405 export_dynamic_flag_spec='${wl}-Blargedynsym'
10406 ;;
10407 esac
10408 fi
10409 fi
10410
10411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10412$as_echo "$ld_shlibs" >&6; }
10413test "$ld_shlibs" = no && can_build_shared=no
10414
10415with_gnu_ld=$with_gnu_ld
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431#
10432# Do we need to explicitly link libc?
10433#
10434case "x$archive_cmds_need_lc" in
10435x|xyes)
10436 # Assume -lc should be added
10437 archive_cmds_need_lc=yes
10438
10439 if test "$enable_shared" = yes && test "$GCC" = yes; then
10440 case $archive_cmds in
10441 *'~'*)
10442 # FIXME: we may have to deal with multi-command sequences.
10443 ;;
10444 '$CC '*)
10445 # Test whether the compiler implicitly links with -lc since on some
10446 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10447 # to ld, don't add -lc before -lgcc.
10448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10449$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10450 $RM conftest*
10451 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10452
10453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10454 (eval $ac_compile) 2>&5
10455 ac_status=$?
10456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10457 test $ac_status = 0; } 2>conftest.err; then
10458 soname=conftest
10459 lib=conftest
10460 libobjs=conftest.$ac_objext
10461 deplibs=
10462 wl=$lt_prog_compiler_wl
10463 pic_flag=$lt_prog_compiler_pic
10464 compiler_flags=-v
10465 linker_flags=-v
10466 verstring=
10467 output_objdir=.
10468 libname=conftest
10469 lt_save_allow_undefined_flag=$allow_undefined_flag
10470 allow_undefined_flag=
10471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10472 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10473 ac_status=$?
10474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10475 test $ac_status = 0; }
10476 then
10477 archive_cmds_need_lc=no
10478 else
10479 archive_cmds_need_lc=yes
10480 fi
10481 allow_undefined_flag=$lt_save_allow_undefined_flag
10482 else
10483 cat conftest.err 1>&5
10484 fi
10485 $RM conftest*
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10487$as_echo "$archive_cmds_need_lc" >&6; }
10488 ;;
10489 esac
10490 fi
10491 ;;
10492esac
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10651$as_echo_n "checking dynamic linker characteristics... " >&6; }
10652
10653if test "$GCC" = yes; then
10654 case $host_os in
10655 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10656 *) lt_awk_arg="/^libraries:/" ;;
10657 esac
10658 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10659 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10660 # if the path contains ";" then we assume it to be the separator
10661 # otherwise default to the standard path separator (i.e. ":") - it is
10662 # assumed that no part of a normal pathname contains ";" but that should
10663 # okay in the real world where ";" in dirpaths is itself problematic.
10664 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10665 else
10666 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10667 fi
10668 # Ok, now we have the path, separated by spaces, we can step through it
10669 # and add multilib dir if necessary.
10670 lt_tmp_lt_search_path_spec=
10671 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10672 for lt_sys_path in $lt_search_path_spec; do
10673 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10674 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10675 else
10676 test -d "$lt_sys_path" && \
10677 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10678 fi
10679 done
10680 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10681BEGIN {RS=" "; FS="/|\n";} {
10682 lt_foo="";
10683 lt_count=0;
10684 for (lt_i = NF; lt_i > 0; lt_i--) {
10685 if ($lt_i != "" && $lt_i != ".") {
10686 if ($lt_i == "..") {
10687 lt_count++;
10688 } else {
10689 if (lt_count == 0) {
10690 lt_foo="/" $lt_i lt_foo;
10691 } else {
10692 lt_count--;
10693 }
10694 }
10695 }
10696 }
10697 if (lt_foo != "") { lt_freq[lt_foo]++; }
10698 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10699}'`
10700 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10701else
10702 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10703fi
10704library_names_spec=
10705libname_spec='lib$name'
10706soname_spec=
10707shrext_cmds=".so"
10708postinstall_cmds=
10709postuninstall_cmds=
10710finish_cmds=
10711finish_eval=
10712shlibpath_var=
10713shlibpath_overrides_runpath=unknown
10714version_type=none
10715dynamic_linker="$host_os ld.so"
10716sys_lib_dlsearch_path_spec="/lib /usr/lib"
10717need_lib_prefix=unknown
10718hardcode_into_libs=no
10719
10720# when you set need_version to no, make sure it does not cause -set_version
10721# flags to be left without arguments
10722need_version=unknown
10723
10724case $host_os in
10725aix3*)
10726 version_type=linux
10727 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10728 shlibpath_var=LIBPATH
10729
10730 # AIX 3 has no versioning support, so we append a major version to the name.
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 ;;
10733
10734aix[4-9]*)
10735 version_type=linux
10736 need_lib_prefix=no
10737 need_version=no
10738 hardcode_into_libs=yes
10739 if test "$host_cpu" = ia64; then
10740 # AIX 5 supports IA64
10741 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10742 shlibpath_var=LD_LIBRARY_PATH
10743 else
10744 # With GCC up to 2.95.x, collect2 would create an import file
10745 # for dependence libraries. The import file would start with
10746 # the line `#! .'. This would cause the generated library to
10747 # depend on `.', always an invalid library. This was fixed in
10748 # development snapshots of GCC prior to 3.0.
10749 case $host_os in
10750 aix4 | aix4.[01] | aix4.[01].*)
10751 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10752 echo ' yes '
10753 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10754 :
10755 else
10756 can_build_shared=no
10757 fi
10758 ;;
10759 esac
10760 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10761 # soname into executable. Probably we can add versioning support to
10762 # collect2, so additional links can be useful in future.
10763 if test "$aix_use_runtimelinking" = yes; then
10764 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10765 # instead of lib<name>.a to let people know that these are not
10766 # typical AIX shared libraries.
10767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10768 else
10769 # We preserve .a as extension for shared libraries through AIX4.2
10770 # and later when we are not doing run time linking.
10771 library_names_spec='${libname}${release}.a $libname.a'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 fi
10774 shlibpath_var=LIBPATH
10775 fi
10776 ;;
10777
10778amigaos*)
10779 case $host_cpu in
10780 powerpc)
10781 # Since July 2007 AmigaOS4 officially supports .so libraries.
10782 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10784 ;;
10785 m68k)
10786 library_names_spec='$libname.ixlibrary $libname.a'
10787 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10788 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'
10789 ;;
10790 esac
10791 ;;
10792
10793beos*)
10794 library_names_spec='${libname}${shared_ext}'
10795 dynamic_linker="$host_os ld.so"
10796 shlibpath_var=LIBRARY_PATH
10797 ;;
10798
10799bsdi[45]*)
10800 version_type=linux
10801 need_version=no
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10805 shlibpath_var=LD_LIBRARY_PATH
10806 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10807 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10808 # the default ld.so.conf also contains /usr/contrib/lib and
10809 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10810 # libtool to hard-code these into programs
10811 ;;
10812
10813cygwin* | mingw* | pw32* | cegcc*)
10814 version_type=windows
10815 shrext_cmds=".dll"
10816 need_version=no
10817 need_lib_prefix=no
10818
10819 case $GCC,$host_os in
10820 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10821 library_names_spec='$libname.dll.a'
10822 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10823 postinstall_cmds='base_file=`basename \${file}`~
10824 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10825 dldir=$destdir/`dirname \$dlpath`~
10826 test -d \$dldir || mkdir -p \$dldir~
10827 $install_prog $dir/$dlname \$dldir/$dlname~
10828 chmod a+x \$dldir/$dlname~
10829 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10830 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10831 fi'
10832 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10833 dlpath=$dir/\$dldll~
10834 $RM \$dlpath'
10835 shlibpath_overrides_runpath=yes
10836
10837 case $host_os in
10838 cygwin*)
10839 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10840 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10841 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10842 ;;
10843 mingw* | cegcc*)
10844 # MinGW DLLs use traditional 'lib' prefix
10845 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10846 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10847 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10848 # It is most probably a Windows format PATH printed by
10849 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10850 # path with ; separators, and with drive letters. We can handle the
10851 # drive letters (cygwin fileutils understands them), so leave them,
10852 # especially as we might pass files found there to a mingw objdump,
10853 # which wouldn't understand a cygwinified path. Ahh.
10854 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10855 else
10856 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10857 fi
10858 ;;
10859 pw32*)
10860 # pw32 DLLs use 'pw' prefix rather than 'lib'
10861 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10862 ;;
10863 esac
10864 ;;
10865
10866 *)
10867 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10868 ;;
10869 esac
10870 dynamic_linker='Win32 ld.exe'
10871 # FIXME: first we should search . and the directory the executable is in
10872 shlibpath_var=PATH
10873 ;;
10874
10875darwin* | rhapsody*)
10876 dynamic_linker="$host_os dyld"
10877 version_type=darwin
10878 need_lib_prefix=no
10879 need_version=no
10880 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10881 soname_spec='${libname}${release}${major}$shared_ext'
10882 shlibpath_overrides_runpath=yes
10883 shlibpath_var=DYLD_LIBRARY_PATH
10884 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10885
10886 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10887 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10888 ;;
10889
10890dgux*)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 ;;
10898
10899freebsd1*)
10900 dynamic_linker=no
10901 ;;
10902
10903freebsd* | dragonfly*)
10904 # DragonFly does not have aout. When/if they implement a new
10905 # versioning mechanism, adjust this.
10906 if test -x /usr/bin/objformat; then
10907 objformat=`/usr/bin/objformat`
10908 else
10909 case $host_os in
10910 freebsd[123]*) objformat=aout ;;
10911 *) objformat=elf ;;
10912 esac
10913 fi
10914 version_type=freebsd-$objformat
10915 case $version_type in
10916 freebsd-elf*)
10917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10918 need_version=no
10919 need_lib_prefix=no
10920 ;;
10921 freebsd-*)
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10923 need_version=yes
10924 ;;
10925 esac
10926 shlibpath_var=LD_LIBRARY_PATH
10927 case $host_os in
10928 freebsd2*)
10929 shlibpath_overrides_runpath=yes
10930 ;;
10931 freebsd3.[01]* | freebsdelf3.[01]*)
10932 shlibpath_overrides_runpath=yes
10933 hardcode_into_libs=yes
10934 ;;
10935 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10936 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10937 shlibpath_overrides_runpath=no
10938 hardcode_into_libs=yes
10939 ;;
10940 *) # from 4.6 on, and DragonFly
10941 shlibpath_overrides_runpath=yes
10942 hardcode_into_libs=yes
10943 ;;
10944 esac
10945 ;;
10946
10947gnu*)
10948 version_type=linux
10949 need_lib_prefix=no
10950 need_version=no
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 hardcode_into_libs=yes
10955 ;;
10956
10957hpux9* | hpux10* | hpux11*)
10958 # Give a soname corresponding to the major version so that dld.sl refuses to
10959 # link against other versions.
10960 version_type=sunos
10961 need_lib_prefix=no
10962 need_version=no
10963 case $host_cpu in
10964 ia64*)
10965 shrext_cmds='.so'
10966 hardcode_into_libs=yes
10967 dynamic_linker="$host_os dld.so"
10968 shlibpath_var=LD_LIBRARY_PATH
10969 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10971 soname_spec='${libname}${release}${shared_ext}$major'
10972 if test "X$HPUX_IA64_MODE" = X32; then
10973 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10974 else
10975 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10976 fi
10977 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10978 ;;
10979 hppa*64*)
10980 shrext_cmds='.sl'
10981 hardcode_into_libs=yes
10982 dynamic_linker="$host_os dld.sl"
10983 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10984 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10988 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10989 ;;
10990 *)
10991 shrext_cmds='.sl'
10992 dynamic_linker="$host_os dld.sl"
10993 shlibpath_var=SHLIB_PATH
10994 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10996 soname_spec='${libname}${release}${shared_ext}$major'
10997 ;;
10998 esac
10999 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11000 postinstall_cmds='chmod 555 $lib'
11001 ;;
11002
11003interix[3-9]*)
11004 version_type=linux
11005 need_lib_prefix=no
11006 need_version=no
11007 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11008 soname_spec='${libname}${release}${shared_ext}$major'
11009 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=no
11012 hardcode_into_libs=yes
11013 ;;
11014
11015irix5* | irix6* | nonstopux*)
11016 case $host_os in
11017 nonstopux*) version_type=nonstopux ;;
11018 *)
11019 if test "$lt_cv_prog_gnu_ld" = yes; then
11020 version_type=linux
11021 else
11022 version_type=irix
11023 fi ;;
11024 esac
11025 need_lib_prefix=no
11026 need_version=no
11027 soname_spec='${libname}${release}${shared_ext}$major'
11028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11029 case $host_os in
11030 irix5* | nonstopux*)
11031 libsuff= shlibsuff=
11032 ;;
11033 *)
11034 case $LD in # libtool.m4 will add one of these switches to LD
11035 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11036 libsuff= shlibsuff= libmagic=32-bit;;
11037 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11038 libsuff=32 shlibsuff=N32 libmagic=N32;;
11039 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11040 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11041 *) libsuff= shlibsuff= libmagic=never-match;;
11042 esac
11043 ;;
11044 esac
11045 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11046 shlibpath_overrides_runpath=no
11047 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11048 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11049 hardcode_into_libs=yes
11050 ;;
11051
11052# No shared lib support for Linux oldld, aout, or coff.
11053linux*oldld* | linux*aout* | linux*coff*)
11054 dynamic_linker=no
11055 ;;
11056
11057# This must be Linux ELF.
11058linux* | k*bsd*-gnu | kopensolaris*-gnu)
11059 version_type=linux
11060 need_lib_prefix=no
11061 need_version=no
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063 soname_spec='${libname}${release}${shared_ext}$major'
11064 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11065 shlibpath_var=LD_LIBRARY_PATH
11066 shlibpath_overrides_runpath=no
11067 # Some binutils ld are patched to set DT_RUNPATH
11068 save_LDFLAGS=$LDFLAGS
11069 save_libdir=$libdir
11070 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11071 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11073/* end confdefs.h. */
11074
11075int
11076main ()
11077{
11078
11079 ;
11080 return 0;
11081}
11082_ACEOF
11083if ac_fn_c_try_link "$LINENO"; then :
11084 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11085 shlibpath_overrides_runpath=yes
11086fi
11087fi
11088rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LDFLAGS=$save_LDFLAGS
11091 libdir=$save_libdir
11092
11093 # This implies no fast_install, which is unacceptable.
11094 # Some rework will be needed to allow for fast_install
11095 # before this can be enabled.
11096 hardcode_into_libs=yes
11097
11098 # Append ld.so.conf contents to the search path
11099 if test -f /etc/ld.so.conf; then
11100 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' ' '`
11101 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11102 fi
11103
11104 # We used to test for /lib/ld.so.1 and disable shared libraries on
11105 # powerpc, because MkLinux only supported shared libraries with the
11106 # GNU dynamic linker. Since this was broken with cross compilers,
11107 # most powerpc-linux boxes support dynamic linking these days and
11108 # people can always --disable-shared, the test was removed, and we
11109 # assume the GNU/Linux dynamic linker is in use.
11110 dynamic_linker='GNU/Linux ld.so'
11111 ;;
11112
11113netbsdelf*-gnu)
11114 version_type=linux
11115 need_lib_prefix=no
11116 need_version=no
11117 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11118 soname_spec='${libname}${release}${shared_ext}$major'
11119 shlibpath_var=LD_LIBRARY_PATH
11120 shlibpath_overrides_runpath=no
11121 hardcode_into_libs=yes
11122 dynamic_linker='NetBSD ld.elf_so'
11123 ;;
11124
11125netbsd*)
11126 version_type=sunos
11127 need_lib_prefix=no
11128 need_version=no
11129 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11131 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11132 dynamic_linker='NetBSD (a.out) ld.so'
11133 else
11134 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11135 soname_spec='${libname}${release}${shared_ext}$major'
11136 dynamic_linker='NetBSD ld.elf_so'
11137 fi
11138 shlibpath_var=LD_LIBRARY_PATH
11139 shlibpath_overrides_runpath=yes
11140 hardcode_into_libs=yes
11141 ;;
11142
11143newsos6)
11144 version_type=linux
11145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146 shlibpath_var=LD_LIBRARY_PATH
11147 shlibpath_overrides_runpath=yes
11148 ;;
11149
11150*nto* | *qnx*)
11151 version_type=qnx
11152 need_lib_prefix=no
11153 need_version=no
11154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155 soname_spec='${libname}${release}${shared_ext}$major'
11156 shlibpath_var=LD_LIBRARY_PATH
11157 shlibpath_overrides_runpath=no
11158 hardcode_into_libs=yes
11159 dynamic_linker='ldqnx.so'
11160 ;;
11161
11162openbsd*)
11163 version_type=sunos
11164 sys_lib_dlsearch_path_spec="/usr/lib"
11165 need_lib_prefix=no
11166 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11167 case $host_os in
11168 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11169 *) need_version=no ;;
11170 esac
11171 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11172 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11173 shlibpath_var=LD_LIBRARY_PATH
11174 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11175 case $host_os in
11176 openbsd2.[89] | openbsd2.[89].*)
11177 shlibpath_overrides_runpath=no
11178 ;;
11179 *)
11180 shlibpath_overrides_runpath=yes
11181 ;;
11182 esac
11183 else
11184 shlibpath_overrides_runpath=yes
11185 fi
11186 ;;
11187
11188os2*)
11189 libname_spec='$name'
11190 shrext_cmds=".dll"
11191 need_lib_prefix=no
11192 library_names_spec='$libname${shared_ext} $libname.a'
11193 dynamic_linker='OS/2 ld.exe'
11194 shlibpath_var=LIBPATH
11195 ;;
11196
11197osf3* | osf4* | osf5*)
11198 version_type=osf
11199 need_lib_prefix=no
11200 need_version=no
11201 soname_spec='${libname}${release}${shared_ext}$major'
11202 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11203 shlibpath_var=LD_LIBRARY_PATH
11204 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11205 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11206 ;;
11207
11208rdos*)
11209 dynamic_linker=no
11210 ;;
11211
11212solaris*)
11213 version_type=linux
11214 need_lib_prefix=no
11215 need_version=no
11216 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11217 soname_spec='${libname}${release}${shared_ext}$major'
11218 shlibpath_var=LD_LIBRARY_PATH
11219 shlibpath_overrides_runpath=yes
11220 hardcode_into_libs=yes
11221 # ldd complains unless libraries are executable
11222 postinstall_cmds='chmod +x $lib'
11223 ;;
11224
11225sunos4*)
11226 version_type=sunos
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11228 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11229 shlibpath_var=LD_LIBRARY_PATH
11230 shlibpath_overrides_runpath=yes
11231 if test "$with_gnu_ld" = yes; then
11232 need_lib_prefix=no
11233 fi
11234 need_version=yes
11235 ;;
11236
11237sysv4 | sysv4.3*)
11238 version_type=linux
11239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11240 soname_spec='${libname}${release}${shared_ext}$major'
11241 shlibpath_var=LD_LIBRARY_PATH
11242 case $host_vendor in
11243 sni)
11244 shlibpath_overrides_runpath=no
11245 need_lib_prefix=no
11246 runpath_var=LD_RUN_PATH
11247 ;;
11248 siemens)
11249 need_lib_prefix=no
11250 ;;
11251 motorola)
11252 need_lib_prefix=no
11253 need_version=no
11254 shlibpath_overrides_runpath=no
11255 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11256 ;;
11257 esac
11258 ;;
11259
11260sysv4*MP*)
11261 if test -d /usr/nec ;then
11262 version_type=linux
11263 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11264 soname_spec='$libname${shared_ext}.$major'
11265 shlibpath_var=LD_LIBRARY_PATH
11266 fi
11267 ;;
11268
11269sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11270 version_type=freebsd-elf
11271 need_lib_prefix=no
11272 need_version=no
11273 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11274 soname_spec='${libname}${release}${shared_ext}$major'
11275 shlibpath_var=LD_LIBRARY_PATH
11276 shlibpath_overrides_runpath=yes
11277 hardcode_into_libs=yes
11278 if test "$with_gnu_ld" = yes; then
11279 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11280 else
11281 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11282 case $host_os in
11283 sco3.2v5*)
11284 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11285 ;;
11286 esac
11287 fi
11288 sys_lib_dlsearch_path_spec='/usr/lib'
11289 ;;
11290
11291tpf*)
11292 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11293 version_type=linux
11294 need_lib_prefix=no
11295 need_version=no
11296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11297 shlibpath_var=LD_LIBRARY_PATH
11298 shlibpath_overrides_runpath=no
11299 hardcode_into_libs=yes
11300 ;;
11301
11302uts4*)
11303 version_type=linux
11304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 soname_spec='${libname}${release}${shared_ext}$major'
11306 shlibpath_var=LD_LIBRARY_PATH
11307 ;;
11308
11309*)
11310 dynamic_linker=no
11311 ;;
11312esac
11313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11314$as_echo "$dynamic_linker" >&6; }
11315test "$dynamic_linker" = no && can_build_shared=no
11316
11317variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11318if test "$GCC" = yes; then
11319 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11320fi
11321
11322if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11323 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11324fi
11325if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11326 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11327fi
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
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11416$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11417hardcode_action=
11418if test -n "$hardcode_libdir_flag_spec" ||
11419 test -n "$runpath_var" ||
11420 test "X$hardcode_automatic" = "Xyes" ; then
11421
11422 # We can hardcode non-existent directories.
11423 if test "$hardcode_direct" != no &&
11424 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11425 # have to relink, otherwise we might link with an installed library
11426 # when we should be linking with a yet-to-be-installed one
11427 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11428 test "$hardcode_minus_L" != no; then
11429 # Linking always hardcodes the temporary library directory.
11430 hardcode_action=relink
11431 else
11432 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11433 hardcode_action=immediate
11434 fi
11435else
11436 # We cannot hardcode anything, or else we can only hardcode existing
11437 # directories.
11438 hardcode_action=unsupported
11439fi
11440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11441$as_echo "$hardcode_action" >&6; }
11442
11443if test "$hardcode_action" = relink ||
11444 test "$inherit_rpath" = yes; then
11445 # Fast installation is not supported
11446 enable_fast_install=no
11447elif test "$shlibpath_overrides_runpath" = yes ||
11448 test "$enable_shared" = no; then
11449 # Fast installation is not necessary
11450 enable_fast_install=needless
11451fi
11452
11453
11454
11455
11456
11457
11458 if test "x$enable_dlopen" != xyes; then
11459 enable_dlopen=unknown
11460 enable_dlopen_self=unknown
11461 enable_dlopen_self_static=unknown
11462else
11463 lt_cv_dlopen=no
11464 lt_cv_dlopen_libs=
11465
11466 case $host_os in
11467 beos*)
11468 lt_cv_dlopen="load_add_on"
11469 lt_cv_dlopen_libs=
11470 lt_cv_dlopen_self=yes
11471 ;;
11472
11473 mingw* | pw32* | cegcc*)
11474 lt_cv_dlopen="LoadLibrary"
11475 lt_cv_dlopen_libs=
11476 ;;
11477
11478 cygwin*)
11479 lt_cv_dlopen="dlopen"
11480 lt_cv_dlopen_libs=
11481 ;;
11482
11483 darwin*)
11484 # if libdl is installed we need to link against it
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11486$as_echo_n "checking for dlopen in -ldl... " >&6; }
11487if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11488 $as_echo_n "(cached) " >&6
11489else
11490 ac_check_lib_save_LIBS=$LIBS
11491LIBS="-ldl $LIBS"
11492cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11493/* end confdefs.h. */
11494
11495/* Override any GCC internal prototype to avoid an error.
11496 Use char because int might match the return type of a GCC
11497 builtin and then its argument prototype would still apply. */
11498#ifdef __cplusplus
11499extern "C"
11500#endif
11501char dlopen ();
11502int
11503main ()
11504{
11505return dlopen ();
11506 ;
11507 return 0;
11508}
11509_ACEOF
11510if ac_fn_c_try_link "$LINENO"; then :
11511 ac_cv_lib_dl_dlopen=yes
11512else
11513 ac_cv_lib_dl_dlopen=no
11514fi
11515rm -f core conftest.err conftest.$ac_objext \
11516 conftest$ac_exeext conftest.$ac_ext
11517LIBS=$ac_check_lib_save_LIBS
11518fi
11519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11520$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11521if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11522 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11523else
11524
11525 lt_cv_dlopen="dyld"
11526 lt_cv_dlopen_libs=
11527 lt_cv_dlopen_self=yes
11528
11529fi
11530
11531 ;;
11532
11533 *)
11534 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11535if test "x$ac_cv_func_shl_load" = x""yes; then :
11536 lt_cv_dlopen="shl_load"
11537else
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11539$as_echo_n "checking for shl_load in -ldld... " >&6; }
11540if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11541 $as_echo_n "(cached) " >&6
11542else
11543 ac_check_lib_save_LIBS=$LIBS
11544LIBS="-ldld $LIBS"
11545cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11546/* end confdefs.h. */
11547
11548/* Override any GCC internal prototype to avoid an error.
11549 Use char because int might match the return type of a GCC
11550 builtin and then its argument prototype would still apply. */
11551#ifdef __cplusplus
11552extern "C"
11553#endif
11554char shl_load ();
11555int
11556main ()
11557{
11558return shl_load ();
11559 ;
11560 return 0;
11561}
11562_ACEOF
11563if ac_fn_c_try_link "$LINENO"; then :
11564 ac_cv_lib_dld_shl_load=yes
11565else
11566 ac_cv_lib_dld_shl_load=no
11567fi
11568rm -f core conftest.err conftest.$ac_objext \
11569 conftest$ac_exeext conftest.$ac_ext
11570LIBS=$ac_check_lib_save_LIBS
11571fi
11572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11573$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11574if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11575 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11576else
11577 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11578if test "x$ac_cv_func_dlopen" = x""yes; then :
11579 lt_cv_dlopen="dlopen"
11580else
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11582$as_echo_n "checking for dlopen in -ldl... " >&6; }
11583if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11584 $as_echo_n "(cached) " >&6
11585else
11586 ac_check_lib_save_LIBS=$LIBS
11587LIBS="-ldl $LIBS"
11588cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11589/* end confdefs.h. */
11590
11591/* Override any GCC internal prototype to avoid an error.
11592 Use char because int might match the return type of a GCC
11593 builtin and then its argument prototype would still apply. */
11594#ifdef __cplusplus
11595extern "C"
11596#endif
11597char dlopen ();
11598int
11599main ()
11600{
11601return dlopen ();
11602 ;
11603 return 0;
11604}
11605_ACEOF
11606if ac_fn_c_try_link "$LINENO"; then :
11607 ac_cv_lib_dl_dlopen=yes
11608else
11609 ac_cv_lib_dl_dlopen=no
11610fi
11611rm -f core conftest.err conftest.$ac_objext \
11612 conftest$ac_exeext conftest.$ac_ext
11613LIBS=$ac_check_lib_save_LIBS
11614fi
11615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11616$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11617if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11618 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11619else
11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11621$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11622if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11623 $as_echo_n "(cached) " >&6
11624else
11625 ac_check_lib_save_LIBS=$LIBS
11626LIBS="-lsvld $LIBS"
11627cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11628/* end confdefs.h. */
11629
11630/* Override any GCC internal prototype to avoid an error.
11631 Use char because int might match the return type of a GCC
11632 builtin and then its argument prototype would still apply. */
11633#ifdef __cplusplus
11634extern "C"
11635#endif
11636char dlopen ();
11637int
11638main ()
11639{
11640return dlopen ();
11641 ;
11642 return 0;
11643}
11644_ACEOF
11645if ac_fn_c_try_link "$LINENO"; then :
11646 ac_cv_lib_svld_dlopen=yes
11647else
11648 ac_cv_lib_svld_dlopen=no
11649fi
11650rm -f core conftest.err conftest.$ac_objext \
11651 conftest$ac_exeext conftest.$ac_ext
11652LIBS=$ac_check_lib_save_LIBS
11653fi
11654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11655$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11656if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11657 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11658else
11659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11660$as_echo_n "checking for dld_link in -ldld... " >&6; }
11661if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11662 $as_echo_n "(cached) " >&6
11663else
11664 ac_check_lib_save_LIBS=$LIBS
11665LIBS="-ldld $LIBS"
11666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667/* end confdefs.h. */
11668
11669/* Override any GCC internal prototype to avoid an error.
11670 Use char because int might match the return type of a GCC
11671 builtin and then its argument prototype would still apply. */
11672#ifdef __cplusplus
11673extern "C"
11674#endif
11675char dld_link ();
11676int
11677main ()
11678{
11679return dld_link ();
11680 ;
11681 return 0;
11682}
11683_ACEOF
11684if ac_fn_c_try_link "$LINENO"; then :
11685 ac_cv_lib_dld_dld_link=yes
11686else
11687 ac_cv_lib_dld_dld_link=no
11688fi
11689rm -f core conftest.err conftest.$ac_objext \
11690 conftest$ac_exeext conftest.$ac_ext
11691LIBS=$ac_check_lib_save_LIBS
11692fi
11693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11694$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11695if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11696 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11697fi
11698
11699
11700fi
11701
11702
11703fi
11704
11705
11706fi
11707
11708
11709fi
11710
11711
11712fi
11713
11714 ;;
11715 esac
11716
11717 if test "x$lt_cv_dlopen" != xno; then
11718 enable_dlopen=yes
11719 else
11720 enable_dlopen=no
11721 fi
11722
11723 case $lt_cv_dlopen in
11724 dlopen)
11725 save_CPPFLAGS="$CPPFLAGS"
11726 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11727
11728 save_LDFLAGS="$LDFLAGS"
11729 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11730
11731 save_LIBS="$LIBS"
11732 LIBS="$lt_cv_dlopen_libs $LIBS"
11733
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11735$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11736if test "${lt_cv_dlopen_self+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11738else
11739 if test "$cross_compiling" = yes; then :
11740 lt_cv_dlopen_self=cross
11741else
11742 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11743 lt_status=$lt_dlunknown
11744 cat > conftest.$ac_ext <<_LT_EOF
11745#line 11745 "configure"
11746#include "confdefs.h"
11747
11748#if HAVE_DLFCN_H
11749#include <dlfcn.h>
11750#endif
11751
11752#include <stdio.h>
11753
11754#ifdef RTLD_GLOBAL
11755# define LT_DLGLOBAL RTLD_GLOBAL
11756#else
11757# ifdef DL_GLOBAL
11758# define LT_DLGLOBAL DL_GLOBAL
11759# else
11760# define LT_DLGLOBAL 0
11761# endif
11762#endif
11763
11764/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11765 find out it does not work in some platform. */
11766#ifndef LT_DLLAZY_OR_NOW
11767# ifdef RTLD_LAZY
11768# define LT_DLLAZY_OR_NOW RTLD_LAZY
11769# else
11770# ifdef DL_LAZY
11771# define LT_DLLAZY_OR_NOW DL_LAZY
11772# else
11773# ifdef RTLD_NOW
11774# define LT_DLLAZY_OR_NOW RTLD_NOW
11775# else
11776# ifdef DL_NOW
11777# define LT_DLLAZY_OR_NOW DL_NOW
11778# else
11779# define LT_DLLAZY_OR_NOW 0
11780# endif
11781# endif
11782# endif
11783# endif
11784#endif
11785
11786void fnord() { int i=42;}
11787int main ()
11788{
11789 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11790 int status = $lt_dlunknown;
11791
11792 if (self)
11793 {
11794 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11795 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11796 /* dlclose (self); */
11797 }
11798 else
11799 puts (dlerror ());
11800
11801 return status;
11802}
11803_LT_EOF
11804 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11805 (eval $ac_link) 2>&5
11806 ac_status=$?
11807 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11808 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11809 (./conftest; exit; ) >&5 2>/dev/null
11810 lt_status=$?
11811 case x$lt_status in
11812 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11813 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11814 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11815 esac
11816 else :
11817 # compilation failed
11818 lt_cv_dlopen_self=no
11819 fi
11820fi
11821rm -fr conftest*
11822
11823
11824fi
11825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11826$as_echo "$lt_cv_dlopen_self" >&6; }
11827
11828 if test "x$lt_cv_dlopen_self" = xyes; then
11829 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11831$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11832if test "${lt_cv_dlopen_self_static+set}" = set; then :
11833 $as_echo_n "(cached) " >&6
11834else
11835 if test "$cross_compiling" = yes; then :
11836 lt_cv_dlopen_self_static=cross
11837else
11838 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11839 lt_status=$lt_dlunknown
11840 cat > conftest.$ac_ext <<_LT_EOF
11841#line 11841 "configure"
11842#include "confdefs.h"
11843
11844#if HAVE_DLFCN_H
11845#include <dlfcn.h>
11846#endif
11847
11848#include <stdio.h>
11849
11850#ifdef RTLD_GLOBAL
11851# define LT_DLGLOBAL RTLD_GLOBAL
11852#else
11853# ifdef DL_GLOBAL
11854# define LT_DLGLOBAL DL_GLOBAL
11855# else
11856# define LT_DLGLOBAL 0
11857# endif
11858#endif
11859
11860/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11861 find out it does not work in some platform. */
11862#ifndef LT_DLLAZY_OR_NOW
11863# ifdef RTLD_LAZY
11864# define LT_DLLAZY_OR_NOW RTLD_LAZY
11865# else
11866# ifdef DL_LAZY
11867# define LT_DLLAZY_OR_NOW DL_LAZY
11868# else
11869# ifdef RTLD_NOW
11870# define LT_DLLAZY_OR_NOW RTLD_NOW
11871# else
11872# ifdef DL_NOW
11873# define LT_DLLAZY_OR_NOW DL_NOW
11874# else
11875# define LT_DLLAZY_OR_NOW 0
11876# endif
11877# endif
11878# endif
11879# endif
11880#endif
11881
11882void fnord() { int i=42;}
11883int main ()
11884{
11885 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11886 int status = $lt_dlunknown;
11887
11888 if (self)
11889 {
11890 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11891 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11892 /* dlclose (self); */
11893 }
11894 else
11895 puts (dlerror ());
11896
11897 return status;
11898}
11899_LT_EOF
11900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11901 (eval $ac_link) 2>&5
11902 ac_status=$?
11903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11904 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11905 (./conftest; exit; ) >&5 2>/dev/null
11906 lt_status=$?
11907 case x$lt_status in
11908 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11909 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11910 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11911 esac
11912 else :
11913 # compilation failed
11914 lt_cv_dlopen_self_static=no
11915 fi
11916fi
11917rm -fr conftest*
11918
11919
11920fi
11921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11922$as_echo "$lt_cv_dlopen_self_static" >&6; }
11923 fi
11924
11925 CPPFLAGS="$save_CPPFLAGS"
11926 LDFLAGS="$save_LDFLAGS"
11927 LIBS="$save_LIBS"
11928 ;;
11929 esac
11930
11931 case $lt_cv_dlopen_self in
11932 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11933 *) enable_dlopen_self=unknown ;;
11934 esac
11935
11936 case $lt_cv_dlopen_self_static in
11937 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11938 *) enable_dlopen_self_static=unknown ;;
11939 esac
11940fi
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958striplib=
11959old_striplib=
11960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11961$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11962if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11963 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11964 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11966$as_echo "yes" >&6; }
11967else
11968# FIXME - insert some real tests, host_os isn't really good enough
11969 case $host_os in
11970 darwin*)
11971 if test -n "$STRIP" ; then
11972 striplib="$STRIP -x"
11973 old_striplib="$STRIP -S"
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11975$as_echo "yes" >&6; }
11976 else
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978$as_echo "no" >&6; }
11979 fi
11980 ;;
11981 *)
11982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983$as_echo "no" >&6; }
11984 ;;
11985 esac
11986fi
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999 # Report which library types will actually be built
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12001$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12003$as_echo "$can_build_shared" >&6; }
12004
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12006$as_echo_n "checking whether to build shared libraries... " >&6; }
12007 test "$can_build_shared" = "no" && enable_shared=no
12008
12009 # On AIX, shared libraries and static libraries use the same namespace, and
12010 # are all built from PIC.
12011 case $host_os in
12012 aix3*)
12013 test "$enable_shared" = yes && enable_static=no
12014 if test -n "$RANLIB"; then
12015 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12016 postinstall_cmds='$RANLIB $lib'
12017 fi
12018 ;;
12019
12020 aix[4-9]*)
12021 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12022 test "$enable_shared" = yes && enable_static=no
12023 fi
12024 ;;
12025 esac
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12027$as_echo "$enable_shared" >&6; }
12028
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12030$as_echo_n "checking whether to build static libraries... " >&6; }
12031 # Make sure either enable_shared or enable_static is yes.
12032 test "$enable_shared" = yes || enable_static=yes
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12034$as_echo "$enable_static" >&6; }
12035
12036
12037
12038
12039fi
12040ac_ext=c
12041ac_cpp='$CPP $CPPFLAGS'
12042ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12043ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12044ac_compiler_gnu=$ac_cv_c_compiler_gnu
12045
12046CC="$lt_save_CC"
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060 ac_config_commands="$ac_config_commands libtool"
12061
12062
12063
12064
12065# Only expand once:
12066
12067
12068
12069##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12070##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12071
12072
12073
12074cat >>confdefs.h <<_ACEOF
12075#define VERS_MAJ 1
12076_ACEOF
12077
12078
12079cat >>confdefs.h <<_ACEOF
12080#define VERS_MIN 2
12081_ACEOF
12082
12083
12084cat >>confdefs.h <<_ACEOF
12085#define VERS_MIC 0
12086_ACEOF
12087
12088
12089cat >>confdefs.h <<_ACEOF
12090#define VERS_REV 0
12091_ACEOF
12092
12093version_info="3:0:2"
12094release_info=""
12095
12096
12097##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12098##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12099VMAJ=1
12100
12101
12102
12103
12104
12105
12106
12107
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12109$as_echo_n "checking whether NLS is requested... " >&6; }
12110 # Check whether --enable-nls was given.
12111if test "${enable_nls+set}" = set; then :
12112 enableval=$enable_nls; USE_NLS=$enableval
12113else
12114 USE_NLS=yes
12115fi
12116
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12118$as_echo "$USE_NLS" >&6; }
12119
12120
12121
12122
12123 GETTEXT_MACRO_VERSION=0.17
12124
12125
12126
12127
12128# Prepare PATH_SEPARATOR.
12129# The user is always right.
12130if test "${PATH_SEPARATOR+set}" != set; then
12131 echo "#! /bin/sh" >conf$$.sh
12132 echo "exit 0" >>conf$$.sh
12133 chmod +x conf$$.sh
12134 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12135 PATH_SEPARATOR=';'
12136 else
12137 PATH_SEPARATOR=:
12138 fi
12139 rm -f conf$$.sh
12140fi
12141
12142# Find out how to test for executable files. Don't use a zero-byte file,
12143# as systems may use methods other than mode bits to determine executability.
12144cat >conf$$.file <<_ASEOF
12145#! /bin/sh
12146exit 0
12147_ASEOF
12148chmod +x conf$$.file
12149if test -x conf$$.file >/dev/null 2>&1; then
12150 ac_executable_p="test -x"
12151else
12152 ac_executable_p="test -f"
12153fi
12154rm -f conf$$.file
12155
12156# Extract the first word of "msgfmt", so it can be a program name with args.
12157set dummy msgfmt; ac_word=$2
12158{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12159$as_echo_n "checking for $ac_word... " >&6; }
12160if test "${ac_cv_path_MSGFMT+set}" = set; then :
12161 $as_echo_n "(cached) " >&6
12162else
12163 case "$MSGFMT" in
12164 [\\/]* | ?:[\\/]*)
12165 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12166 ;;
12167 *)
12168 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$ac_save_IFS"
12171 test -z "$ac_dir" && ac_dir=.
12172 for ac_exec_ext in '' $ac_executable_extensions; do
12173 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12174 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12175 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
12176 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
12177 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
12178 break 2
12179 fi
12180 fi
12181 done
12182 done
12183 IFS="$ac_save_IFS"
12184 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
12185 ;;
12186esac
12187fi
12188MSGFMT="$ac_cv_path_MSGFMT"
12189if test "$MSGFMT" != ":"; then
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12191$as_echo "$MSGFMT" >&6; }
12192else
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194$as_echo "no" >&6; }
12195fi
12196
12197 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12198set dummy gmsgfmt; ac_word=$2
12199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12200$as_echo_n "checking for $ac_word... " >&6; }
12201if test "${ac_cv_path_GMSGFMT+set}" = set; then :
12202 $as_echo_n "(cached) " >&6
12203else
12204 case $GMSGFMT in
12205 [\\/]* | ?:[\\/]*)
12206 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12207 ;;
12208 *)
12209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12210for as_dir in $PATH
12211do
12212 IFS=$as_save_IFS
12213 test -z "$as_dir" && as_dir=.
12214 for ac_exec_ext in '' $ac_executable_extensions; do
12215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12216 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12218 break 2
12219 fi
12220done
12221 done
12222IFS=$as_save_IFS
12223
12224 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12225 ;;
12226esac
12227fi
12228GMSGFMT=$ac_cv_path_GMSGFMT
12229if test -n "$GMSGFMT"; then
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12231$as_echo "$GMSGFMT" >&6; }
12232else
12233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12234$as_echo "no" >&6; }
12235fi
12236
12237
12238
12239 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12240 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
12241 *) MSGFMT_015=$MSGFMT ;;
12242 esac
12243
12244 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12245 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
12246 *) GMSGFMT_015=$GMSGFMT ;;
12247 esac
12248
12249
12250
12251# Prepare PATH_SEPARATOR.
12252# The user is always right.
12253if test "${PATH_SEPARATOR+set}" != set; then
12254 echo "#! /bin/sh" >conf$$.sh
12255 echo "exit 0" >>conf$$.sh
12256 chmod +x conf$$.sh
12257 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12258 PATH_SEPARATOR=';'
12259 else
12260 PATH_SEPARATOR=:
12261 fi
12262 rm -f conf$$.sh
12263fi
12264
12265# Find out how to test for executable files. Don't use a zero-byte file,
12266# as systems may use methods other than mode bits to determine executability.
12267cat >conf$$.file <<_ASEOF
12268#! /bin/sh
12269exit 0
12270_ASEOF
12271chmod +x conf$$.file
12272if test -x conf$$.file >/dev/null 2>&1; then
12273 ac_executable_p="test -x"
12274else
12275 ac_executable_p="test -f"
12276fi
12277rm -f conf$$.file
12278
12279# Extract the first word of "xgettext", so it can be a program name with args.
12280set dummy xgettext; ac_word=$2
12281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12282$as_echo_n "checking for $ac_word... " >&6; }
12283if test "${ac_cv_path_XGETTEXT+set}" = set; then :
12284 $as_echo_n "(cached) " >&6
12285else
12286 case "$XGETTEXT" in
12287 [\\/]* | ?:[\\/]*)
12288 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12289 ;;
12290 *)
12291 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12292 for ac_dir in $PATH; do
12293 IFS="$ac_save_IFS"
12294 test -z "$ac_dir" && ac_dir=.
12295 for ac_exec_ext in '' $ac_executable_extensions; do
12296 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12297 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12298 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
12299 (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
12300 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
12301 break 2
12302 fi
12303 fi
12304 done
12305 done
12306 IFS="$ac_save_IFS"
12307 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12308 ;;
12309esac
12310fi
12311XGETTEXT="$ac_cv_path_XGETTEXT"
12312if test "$XGETTEXT" != ":"; then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12314$as_echo "$XGETTEXT" >&6; }
12315else
12316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12317$as_echo "no" >&6; }
12318fi
12319
12320 rm -f messages.po
12321
12322 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12323 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
12324 *) XGETTEXT_015=$XGETTEXT ;;
12325 esac
12326
12327
12328
12329# Prepare PATH_SEPARATOR.
12330# The user is always right.
12331if test "${PATH_SEPARATOR+set}" != set; then
12332 echo "#! /bin/sh" >conf$$.sh
12333 echo "exit 0" >>conf$$.sh
12334 chmod +x conf$$.sh
12335 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12336 PATH_SEPARATOR=';'
12337 else
12338 PATH_SEPARATOR=:
12339 fi
12340 rm -f conf$$.sh
12341fi
12342
12343# Find out how to test for executable files. Don't use a zero-byte file,
12344# as systems may use methods other than mode bits to determine executability.
12345cat >conf$$.file <<_ASEOF
12346#! /bin/sh
12347exit 0
12348_ASEOF
12349chmod +x conf$$.file
12350if test -x conf$$.file >/dev/null 2>&1; then
12351 ac_executable_p="test -x"
12352else
12353 ac_executable_p="test -f"
12354fi
12355rm -f conf$$.file
12356
12357# Extract the first word of "msgmerge", so it can be a program name with args.
12358set dummy msgmerge; ac_word=$2
12359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12360$as_echo_n "checking for $ac_word... " >&6; }
12361if test "${ac_cv_path_MSGMERGE+set}" = set; then :
12362 $as_echo_n "(cached) " >&6
12363else
12364 case "$MSGMERGE" in
12365 [\\/]* | ?:[\\/]*)
12366 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12367 ;;
12368 *)
12369 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
12370 for ac_dir in $PATH; do
12371 IFS="$ac_save_IFS"
12372 test -z "$ac_dir" && ac_dir=.
12373 for ac_exec_ext in '' $ac_executable_extensions; do
12374 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12375 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12376 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
12377 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
12378 break 2
12379 fi
12380 fi
12381 done
12382 done
12383 IFS="$ac_save_IFS"
12384 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
12385 ;;
12386esac
12387fi
12388MSGMERGE="$ac_cv_path_MSGMERGE"
12389if test "$MSGMERGE" != ":"; then
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12391$as_echo "$MSGMERGE" >&6; }
12392else
12393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12394$as_echo "no" >&6; }
12395fi
12396
12397
12398 test -n "$localedir" || localedir='${datadir}/locale'
12399
12400
12401 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
12402
12403
12404 ac_config_commands="$ac_config_commands po-directories"
12405
12406
12407
12408 if test "X$prefix" = "XNONE"; then
12409 acl_final_prefix="$ac_default_prefix"
12410 else
12411 acl_final_prefix="$prefix"
12412 fi
12413 if test "X$exec_prefix" = "XNONE"; then
12414 acl_final_exec_prefix='${prefix}'
12415 else
12416 acl_final_exec_prefix="$exec_prefix"
12417 fi
12418 acl_save_prefix="$prefix"
12419 prefix="$acl_final_prefix"
12420 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
12421 prefix="$acl_save_prefix"
12422
12423
12424# Check whether --with-gnu-ld was given.
12425if test "${with_gnu_ld+set}" = set; then :
12426 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12427else
12428 with_gnu_ld=no
12429fi
12430
12431# Prepare PATH_SEPARATOR.
12432# The user is always right.
12433if test "${PATH_SEPARATOR+set}" != set; then
12434 echo "#! /bin/sh" >conf$$.sh
12435 echo "exit 0" >>conf$$.sh
12436 chmod +x conf$$.sh
12437 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12438 PATH_SEPARATOR=';'
12439 else
12440 PATH_SEPARATOR=:
12441 fi
12442 rm -f conf$$.sh
12443fi
12444ac_prog=ld
12445if test "$GCC" = yes; then
12446 # Check if gcc -print-prog-name=ld gives a path.
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12448$as_echo_n "checking for ld used by GCC... " >&6; }
12449 case $host in
12450 *-*-mingw*)
12451 # gcc leaves a trailing carriage return which upsets mingw
12452 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12453 *)
12454 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12455 esac
12456 case $ac_prog in
12457 # Accept absolute paths.
12458 [\\/]* | [A-Za-z]:[\\/]*)
12459 re_direlt='/[^/][^/]*/\.\./'
12460 # Canonicalize the path of ld
12461 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
12462 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
12463 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
12464 done
12465 test -z "$LD" && LD="$ac_prog"
12466 ;;
12467 "")
12468 # If it fails, then pretend we aren't using GCC.
12469 ac_prog=ld
12470 ;;
12471 *)
12472 # If it is relative, then search for the first ld in PATH.
12473 with_gnu_ld=unknown
12474 ;;
12475 esac
12476elif test "$with_gnu_ld" = yes; then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12478$as_echo_n "checking for GNU ld... " >&6; }
12479else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12481$as_echo_n "checking for non-GNU ld... " >&6; }
12482fi
12483if test "${acl_cv_path_LD+set}" = set; then :
12484 $as_echo_n "(cached) " >&6
12485else
12486 if test -z "$LD"; then
12487 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12488 for ac_dir in $PATH; do
12489 test -z "$ac_dir" && ac_dir=.
12490 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12491 acl_cv_path_LD="$ac_dir/$ac_prog"
12492 # Check to see if the program is GNU ld. I'd rather use --version,
12493 # but apparently some GNU ld's only accept -v.
12494 # Break only if it was the GNU/non-GNU ld that we prefer.
12495 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12496 *GNU* | *'with BFD'*)
12497 test "$with_gnu_ld" != no && break ;;
12498 *)
12499 test "$with_gnu_ld" != yes && break ;;
12500 esac
12501 fi
12502 done
12503 IFS="$ac_save_ifs"
12504else
12505 acl_cv_path_LD="$LD" # Let the user override the test with a path.
12506fi
12507fi
12508
12509LD="$acl_cv_path_LD"
12510if test -n "$LD"; then
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12512$as_echo "$LD" >&6; }
12513else
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12515$as_echo "no" >&6; }
12516fi
12517test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12519$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12520if test "${acl_cv_prog_gnu_ld+set}" = set; then :
12521 $as_echo_n "(cached) " >&6
12522else
12523 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12524case `$LD -v 2>&1 </dev/null` in
12525*GNU* | *'with BFD'*)
12526 acl_cv_prog_gnu_ld=yes ;;
12527*)
12528 acl_cv_prog_gnu_ld=no ;;
12529esac
12530fi
12531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12532$as_echo "$acl_cv_prog_gnu_ld" >&6; }
12533with_gnu_ld=$acl_cv_prog_gnu_ld
12534
12535
12536
12537
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12539$as_echo_n "checking for shared library run path origin... " >&6; }
12540if test "${acl_cv_rpath+set}" = set; then :
12541 $as_echo_n "(cached) " >&6
12542else
12543
12544 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
12545 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12546 . ./conftest.sh
12547 rm -f ./conftest.sh
12548 acl_cv_rpath=done
12549
12550fi
12551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12552$as_echo "$acl_cv_rpath" >&6; }
12553 wl="$acl_cv_wl"
12554 acl_libext="$acl_cv_libext"
12555 acl_shlibext="$acl_cv_shlibext"
12556 acl_libname_spec="$acl_cv_libname_spec"
12557 acl_library_names_spec="$acl_cv_library_names_spec"
12558 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
12559 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
12560 acl_hardcode_direct="$acl_cv_hardcode_direct"
12561 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
12562 # Check whether --enable-rpath was given.
12563if test "${enable_rpath+set}" = set; then :
12564 enableval=$enable_rpath; :
12565else
12566 enable_rpath=yes
12567fi
12568
12569
12570
12571 acl_libdirstem=lib
12572 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12573 if test -n "$searchpath"; then
12574 acl_save_IFS="${IFS= }"; IFS=":"
12575 for searchdir in $searchpath; do
12576 if test -d "$searchdir"; then
12577 case "$searchdir" in
12578 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
12579 *) searchdir=`cd "$searchdir" && pwd`
12580 case "$searchdir" in
12581 */lib64 ) acl_libdirstem=lib64 ;;
12582 esac ;;
12583 esac
12584 fi
12585 done
12586 IFS="$acl_save_IFS"
12587 fi
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597 use_additional=yes
12598
12599 acl_save_prefix="$prefix"
12600 prefix="$acl_final_prefix"
12601 acl_save_exec_prefix="$exec_prefix"
12602 exec_prefix="$acl_final_exec_prefix"
12603
12604 eval additional_includedir=\"$includedir\"
12605 eval additional_libdir=\"$libdir\"
12606
12607 exec_prefix="$acl_save_exec_prefix"
12608 prefix="$acl_save_prefix"
12609
12610
12611# Check whether --with-libiconv-prefix was given.
12612if test "${with_libiconv_prefix+set}" = set; then :
12613 withval=$with_libiconv_prefix;
12614 if test "X$withval" = "Xno"; then
12615 use_additional=no
12616 else
12617 if test "X$withval" = "X"; then
12618
12619 acl_save_prefix="$prefix"
12620 prefix="$acl_final_prefix"
12621 acl_save_exec_prefix="$exec_prefix"
12622 exec_prefix="$acl_final_exec_prefix"
12623
12624 eval additional_includedir=\"$includedir\"
12625 eval additional_libdir=\"$libdir\"
12626
12627 exec_prefix="$acl_save_exec_prefix"
12628 prefix="$acl_save_prefix"
12629
12630 else
12631 additional_includedir="$withval/include"
12632 additional_libdir="$withval/$acl_libdirstem"
12633 fi
12634 fi
12635
12636fi
12637
12638 LIBICONV=
12639 LTLIBICONV=
12640 INCICONV=
12641 LIBICONV_PREFIX=
12642 rpathdirs=
12643 ltrpathdirs=
12644 names_already_handled=
12645 names_next_round='iconv '
12646 while test -n "$names_next_round"; do
12647 names_this_round="$names_next_round"
12648 names_next_round=
12649 for name in $names_this_round; do
12650 already_handled=
12651 for n in $names_already_handled; do
12652 if test "$n" = "$name"; then
12653 already_handled=yes
12654 break
12655 fi
12656 done
12657 if test -z "$already_handled"; then
12658 names_already_handled="$names_already_handled $name"
12659 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12660 eval value=\"\$HAVE_LIB$uppername\"
12661 if test -n "$value"; then
12662 if test "$value" = yes; then
12663 eval value=\"\$LIB$uppername\"
12664 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
12665 eval value=\"\$LTLIB$uppername\"
12666 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
12667 else
12668 :
12669 fi
12670 else
12671 found_dir=
12672 found_la=
12673 found_so=
12674 found_a=
12675 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
12676 if test -n "$acl_shlibext"; then
12677 shrext=".$acl_shlibext" # typically: shrext=.so
12678 else
12679 shrext=
12680 fi
12681 if test $use_additional = yes; then
12682 dir="$additional_libdir"
12683 if test -n "$acl_shlibext"; then
12684 if test -f "$dir/$libname$shrext"; then
12685 found_dir="$dir"
12686 found_so="$dir/$libname$shrext"
12687 else
12688 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12689 ver=`(cd "$dir" && \
12690 for f in "$libname$shrext".*; do echo "$f"; done \
12691 | sed -e "s,^$libname$shrext\\\\.,," \
12692 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12693 | sed 1q ) 2>/dev/null`
12694 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12695 found_dir="$dir"
12696 found_so="$dir/$libname$shrext.$ver"
12697 fi
12698 else
12699 eval library_names=\"$acl_library_names_spec\"
12700 for f in $library_names; do
12701 if test -f "$dir/$f"; then
12702 found_dir="$dir"
12703 found_so="$dir/$f"
12704 break
12705 fi
12706 done
12707 fi
12708 fi
12709 fi
12710 if test "X$found_dir" = "X"; then
12711 if test -f "$dir/$libname.$acl_libext"; then
12712 found_dir="$dir"
12713 found_a="$dir/$libname.$acl_libext"
12714 fi
12715 fi
12716 if test "X$found_dir" != "X"; then
12717 if test -f "$dir/$libname.la"; then
12718 found_la="$dir/$libname.la"
12719 fi
12720 fi
12721 fi
12722 if test "X$found_dir" = "X"; then
12723 for x in $LDFLAGS $LTLIBICONV; do
12724
12725 acl_save_prefix="$prefix"
12726 prefix="$acl_final_prefix"
12727 acl_save_exec_prefix="$exec_prefix"
12728 exec_prefix="$acl_final_exec_prefix"
12729 eval x=\"$x\"
12730 exec_prefix="$acl_save_exec_prefix"
12731 prefix="$acl_save_prefix"
12732
12733 case "$x" in
12734 -L*)
12735 dir=`echo "X$x" | sed -e 's/^X-L//'`
12736 if test -n "$acl_shlibext"; then
12737 if test -f "$dir/$libname$shrext"; then
12738 found_dir="$dir"
12739 found_so="$dir/$libname$shrext"
12740 else
12741 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
12742 ver=`(cd "$dir" && \
12743 for f in "$libname$shrext".*; do echo "$f"; done \
12744 | sed -e "s,^$libname$shrext\\\\.,," \
12745 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
12746 | sed 1q ) 2>/dev/null`
12747 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
12748 found_dir="$dir"
12749 found_so="$dir/$libname$shrext.$ver"
12750 fi
12751 else
12752 eval library_names=\"$acl_library_names_spec\"
12753 for f in $library_names; do
12754 if test -f "$dir/$f"; then
12755 found_dir="$dir"
12756 found_so="$dir/$f"
12757 break
12758 fi
12759 done
12760 fi
12761 fi
12762 fi
12763 if test "X$found_dir" = "X"; then
12764 if test -f "$dir/$libname.$acl_libext"; then
12765 found_dir="$dir"
12766 found_a="$dir/$libname.$acl_libext"
12767 fi
12768 fi
12769 if test "X$found_dir" != "X"; then
12770 if test -f "$dir/$libname.la"; then
12771 found_la="$dir/$libname.la"
12772 fi
12773 fi
12774 ;;
12775 esac
12776 if test "X$found_dir" != "X"; then
12777 break
12778 fi
12779 done
12780 fi
12781 if test "X$found_dir" != "X"; then
12782 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12783 if test "X$found_so" != "X"; then
12784 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12785 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12786 else
12787 haveit=
12788 for x in $ltrpathdirs; do
12789 if test "X$x" = "X$found_dir"; then
12790 haveit=yes
12791 break
12792 fi
12793 done
12794 if test -z "$haveit"; then
12795 ltrpathdirs="$ltrpathdirs $found_dir"
12796 fi
12797 if test "$acl_hardcode_direct" = yes; then
12798 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12799 else
12800 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
12801 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12802 haveit=
12803 for x in $rpathdirs; do
12804 if test "X$x" = "X$found_dir"; then
12805 haveit=yes
12806 break
12807 fi
12808 done
12809 if test -z "$haveit"; then
12810 rpathdirs="$rpathdirs $found_dir"
12811 fi
12812 else
12813 haveit=
12814 for x in $LDFLAGS $LIBICONV; do
12815
12816 acl_save_prefix="$prefix"
12817 prefix="$acl_final_prefix"
12818 acl_save_exec_prefix="$exec_prefix"
12819 exec_prefix="$acl_final_exec_prefix"
12820 eval x=\"$x\"
12821 exec_prefix="$acl_save_exec_prefix"
12822 prefix="$acl_save_prefix"
12823
12824 if test "X$x" = "X-L$found_dir"; then
12825 haveit=yes
12826 break
12827 fi
12828 done
12829 if test -z "$haveit"; then
12830 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12831 fi
12832 if test "$acl_hardcode_minus_L" != no; then
12833 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
12834 else
12835 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12836 fi
12837 fi
12838 fi
12839 fi
12840 else
12841 if test "X$found_a" != "X"; then
12842 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
12843 else
12844 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12845 fi
12846 fi
12847 additional_includedir=
12848 case "$found_dir" in
12849 */$acl_libdirstem | */$acl_libdirstem/)
12850 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12851 LIBICONV_PREFIX="$basedir"
12852 additional_includedir="$basedir/include"
12853 ;;
12854 esac
12855 if test "X$additional_includedir" != "X"; then
12856 if test "X$additional_includedir" != "X/usr/include"; then
12857 haveit=
12858 if test "X$additional_includedir" = "X/usr/local/include"; then
12859 if test -n "$GCC"; then
12860 case $host_os in
12861 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12862 esac
12863 fi
12864 fi
12865 if test -z "$haveit"; then
12866 for x in $CPPFLAGS $INCICONV; do
12867
12868 acl_save_prefix="$prefix"
12869 prefix="$acl_final_prefix"
12870 acl_save_exec_prefix="$exec_prefix"
12871 exec_prefix="$acl_final_exec_prefix"
12872 eval x=\"$x\"
12873 exec_prefix="$acl_save_exec_prefix"
12874 prefix="$acl_save_prefix"
12875
12876 if test "X$x" = "X-I$additional_includedir"; then
12877 haveit=yes
12878 break
12879 fi
12880 done
12881 if test -z "$haveit"; then
12882 if test -d "$additional_includedir"; then
12883 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12884 fi
12885 fi
12886 fi
12887 fi
12888 fi
12889 if test -n "$found_la"; then
12890 save_libdir="$libdir"
12891 case "$found_la" in
12892 */* | *\\*) . "$found_la" ;;
12893 *) . "./$found_la" ;;
12894 esac
12895 libdir="$save_libdir"
12896 for dep in $dependency_libs; do
12897 case "$dep" in
12898 -L*)
12899 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12900 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12901 haveit=
12902 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12903 if test -n "$GCC"; then
12904 case $host_os in
12905 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
12906 esac
12907 fi
12908 fi
12909 if test -z "$haveit"; then
12910 haveit=
12911 for x in $LDFLAGS $LIBICONV; do
12912
12913 acl_save_prefix="$prefix"
12914 prefix="$acl_final_prefix"
12915 acl_save_exec_prefix="$exec_prefix"
12916 exec_prefix="$acl_final_exec_prefix"
12917 eval x=\"$x\"
12918 exec_prefix="$acl_save_exec_prefix"
12919 prefix="$acl_save_prefix"
12920
12921 if test "X$x" = "X-L$additional_libdir"; then
12922 haveit=yes
12923 break
12924 fi
12925 done
12926 if test -z "$haveit"; then
12927 if test -d "$additional_libdir"; then
12928 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12929 fi
12930 fi
12931 haveit=
12932 for x in $LDFLAGS $LTLIBICONV; do
12933
12934 acl_save_prefix="$prefix"
12935 prefix="$acl_final_prefix"
12936 acl_save_exec_prefix="$exec_prefix"
12937 exec_prefix="$acl_final_exec_prefix"
12938 eval x=\"$x\"
12939 exec_prefix="$acl_save_exec_prefix"
12940 prefix="$acl_save_prefix"
12941
12942 if test "X$x" = "X-L$additional_libdir"; then
12943 haveit=yes
12944 break
12945 fi
12946 done
12947 if test -z "$haveit"; then
12948 if test -d "$additional_libdir"; then
12949 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12950 fi
12951 fi
12952 fi
12953 fi
12954 ;;
12955 -R*)
12956 dir=`echo "X$dep" | sed -e 's/^X-R//'`
12957 if test "$enable_rpath" != no; then
12958 haveit=
12959 for x in $rpathdirs; do
12960 if test "X$x" = "X$dir"; then
12961 haveit=yes
12962 break
12963 fi
12964 done
12965 if test -z "$haveit"; then
12966 rpathdirs="$rpathdirs $dir"
12967 fi
12968 haveit=
12969 for x in $ltrpathdirs; do
12970 if test "X$x" = "X$dir"; then
12971 haveit=yes
12972 break
12973 fi
12974 done
12975 if test -z "$haveit"; then
12976 ltrpathdirs="$ltrpathdirs $dir"
12977 fi
12978 fi
12979 ;;
12980 -l*)
12981 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12982 ;;
12983 *.la)
12984 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12985 ;;
12986 *)
12987 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
12988 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12989 ;;
12990 esac
12991 done
12992 fi
12993 else
12994 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
12995 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12996 fi
12997 fi
12998 fi
12999 done
13000 done
13001 if test "X$rpathdirs" != "X"; then
13002 if test -n "$acl_hardcode_libdir_separator"; then
13003 alldirs=
13004 for found_dir in $rpathdirs; do
13005 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13006 done
13007 acl_save_libdir="$libdir"
13008 libdir="$alldirs"
13009 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13010 libdir="$acl_save_libdir"
13011 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13012 else
13013 for found_dir in $rpathdirs; do
13014 acl_save_libdir="$libdir"
13015 libdir="$found_dir"
13016 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13017 libdir="$acl_save_libdir"
13018 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
13019 done
13020 fi
13021 fi
13022 if test "X$ltrpathdirs" != "X"; then
13023 for found_dir in $ltrpathdirs; do
13024 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13025 done
13026 fi
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13053$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13054if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then :
13055 $as_echo_n "(cached) " >&6
13056else
13057 gt_save_LIBS="$LIBS"
13058 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060/* end confdefs.h. */
13061#include <CoreFoundation/CFPreferences.h>
13062int
13063main ()
13064{
13065CFPreferencesCopyAppValue(NULL, NULL)
13066 ;
13067 return 0;
13068}
13069_ACEOF
13070if ac_fn_c_try_link "$LINENO"; then :
13071 gt_cv_func_CFPreferencesCopyAppValue=yes
13072else
13073 gt_cv_func_CFPreferencesCopyAppValue=no
13074fi
13075rm -f core conftest.err conftest.$ac_objext \
13076 conftest$ac_exeext conftest.$ac_ext
13077 LIBS="$gt_save_LIBS"
13078fi
13079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13080$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13081 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13082
13083$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13084
13085 fi
13086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13087$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13088if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then :
13089 $as_echo_n "(cached) " >&6
13090else
13091 gt_save_LIBS="$LIBS"
13092 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
13093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13094/* end confdefs.h. */
13095#include <CoreFoundation/CFLocale.h>
13096int
13097main ()
13098{
13099CFLocaleCopyCurrent();
13100 ;
13101 return 0;
13102}
13103_ACEOF
13104if ac_fn_c_try_link "$LINENO"; then :
13105 gt_cv_func_CFLocaleCopyCurrent=yes
13106else
13107 gt_cv_func_CFLocaleCopyCurrent=no
13108fi
13109rm -f core conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13111 LIBS="$gt_save_LIBS"
13112fi
13113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13114$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13115 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13116
13117$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13118
13119 fi
13120 INTL_MACOSX_LIBS=
13121 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13122 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
13123 fi
13124
13125
13126
13127
13128
13129
13130 LIBINTL=
13131 LTLIBINTL=
13132 POSUB=
13133
13134 case " $gt_needs " in
13135 *" need-formatstring-macros "*) gt_api_version=3 ;;
13136 *" need-ngettext "*) gt_api_version=2 ;;
13137 *) gt_api_version=1 ;;
13138 esac
13139 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
13140 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
13141
13142 if test "$USE_NLS" = "yes"; then
13143 gt_use_preinstalled_gnugettext=no
13144
13145
13146 if test $gt_api_version -ge 3; then
13147 gt_revision_test_code='
13148#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13149#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13150#endif
13151typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13152'
13153 else
13154 gt_revision_test_code=
13155 fi
13156 if test $gt_api_version -ge 2; then
13157 gt_expression_test_code=' + * ngettext ("", "", 0)'
13158 else
13159 gt_expression_test_code=
13160 fi
13161
13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13163$as_echo_n "checking for GNU gettext in libc... " >&6; }
13164if eval "test \"\${$gt_func_gnugettext_libc+set}\"" = set; then :
13165 $as_echo_n "(cached) " >&6
13166else
13167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13168/* end confdefs.h. */
13169#include <libintl.h>
13170$gt_revision_test_code
13171extern int _nl_msg_cat_cntr;
13172extern int *_nl_domain_bindings;
13173int
13174main ()
13175{
13176bindtextdomain ("", "");
13177return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13178 ;
13179 return 0;
13180}
13181_ACEOF
13182if ac_fn_c_try_link "$LINENO"; then :
13183 eval "$gt_func_gnugettext_libc=yes"
13184else
13185 eval "$gt_func_gnugettext_libc=no"
13186fi
13187rm -f core conftest.err conftest.$ac_objext \
13188 conftest$ac_exeext conftest.$ac_ext
13189fi
13190eval ac_res=\$$gt_func_gnugettext_libc
13191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13192$as_echo "$ac_res" >&6; }
13193
13194 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13195
13196
13197
13198
13199
13200 am_save_CPPFLAGS="$CPPFLAGS"
13201
13202 for element in $INCICONV; do
13203 haveit=
13204 for x in $CPPFLAGS; do
13205
13206 acl_save_prefix="$prefix"
13207 prefix="$acl_final_prefix"
13208 acl_save_exec_prefix="$exec_prefix"
13209 exec_prefix="$acl_final_exec_prefix"
13210 eval x=\"$x\"
13211 exec_prefix="$acl_save_exec_prefix"
13212 prefix="$acl_save_prefix"
13213
13214 if test "X$x" = "X$element"; then
13215 haveit=yes
13216 break
13217 fi
13218 done
13219 if test -z "$haveit"; then
13220 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13221 fi
13222 done
13223
13224
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13226$as_echo_n "checking for iconv... " >&6; }
13227if test "${am_cv_func_iconv+set}" = set; then :
13228 $as_echo_n "(cached) " >&6
13229else
13230
13231 am_cv_func_iconv="no, consider installing GNU libiconv"
13232 am_cv_lib_iconv=no
13233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13234/* end confdefs.h. */
13235#include <stdlib.h>
13236#include <iconv.h>
13237int
13238main ()
13239{
13240iconv_t cd = iconv_open("","");
13241 iconv(cd,NULL,NULL,NULL,NULL);
13242 iconv_close(cd);
13243 ;
13244 return 0;
13245}
13246_ACEOF
13247if ac_fn_c_try_link "$LINENO"; then :
13248 am_cv_func_iconv=yes
13249fi
13250rm -f core conftest.err conftest.$ac_objext \
13251 conftest$ac_exeext conftest.$ac_ext
13252 if test "$am_cv_func_iconv" != yes; then
13253 am_save_LIBS="$LIBS"
13254 LIBS="$LIBS $LIBICONV"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256/* end confdefs.h. */
13257#include <stdlib.h>
13258#include <iconv.h>
13259int
13260main ()
13261{
13262iconv_t cd = iconv_open("","");
13263 iconv(cd,NULL,NULL,NULL,NULL);
13264 iconv_close(cd);
13265 ;
13266 return 0;
13267}
13268_ACEOF
13269if ac_fn_c_try_link "$LINENO"; then :
13270 am_cv_lib_iconv=yes
13271 am_cv_func_iconv=yes
13272fi
13273rm -f core conftest.err conftest.$ac_objext \
13274 conftest$ac_exeext conftest.$ac_ext
13275 LIBS="$am_save_LIBS"
13276 fi
13277
13278fi
13279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13280$as_echo "$am_cv_func_iconv" >&6; }
13281 if test "$am_cv_func_iconv" = yes; then
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
13283$as_echo_n "checking for working iconv... " >&6; }
13284if test "${am_cv_func_iconv_works+set}" = set; then :
13285 $as_echo_n "(cached) " >&6
13286else
13287
13288 am_save_LIBS="$LIBS"
13289 if test $am_cv_lib_iconv = yes; then
13290 LIBS="$LIBS $LIBICONV"
13291 fi
13292 if test "$cross_compiling" = yes; then :
13293 case "$host_os" in
13294 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
13295 *) am_cv_func_iconv_works="guessing yes" ;;
13296 esac
13297else
13298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299/* end confdefs.h. */
13300
13301#include <iconv.h>
13302#include <string.h>
13303int main ()
13304{
13305 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
13306 returns. */
13307 {
13308 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
13309 if (cd_utf8_to_88591 != (iconv_t)(-1))
13310 {
13311 static const char input[] = "\342\202\254"; /* EURO SIGN */
13312 char buf[10];
13313 const char *inptr = input;
13314 size_t inbytesleft = strlen (input);
13315 char *outptr = buf;
13316 size_t outbytesleft = sizeof (buf);
13317 size_t res = iconv (cd_utf8_to_88591,
13318 (char **) &inptr, &inbytesleft,
13319 &outptr, &outbytesleft);
13320 if (res == 0)
13321 return 1;
13322 }
13323 }
13324#if 0 /* This bug could be worked around by the caller. */
13325 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
13326 {
13327 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
13328 if (cd_88591_to_utf8 != (iconv_t)(-1))
13329 {
13330 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
13331 char buf[50];
13332 const char *inptr = input;
13333 size_t inbytesleft = strlen (input);
13334 char *outptr = buf;
13335 size_t outbytesleft = sizeof (buf);
13336 size_t res = iconv (cd_88591_to_utf8,
13337 (char **) &inptr, &inbytesleft,
13338 &outptr, &outbytesleft);
13339 if ((int)res > 0)
13340 return 1;
13341 }
13342 }
13343#endif
13344 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
13345 provided. */
13346 if (/* Try standardized names. */
13347 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
13348 /* Try IRIX, OSF/1 names. */
13349 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
13350 /* Try AIX names. */
13351 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
13352 /* Try HP-UX names. */
13353 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
13354 return 1;
13355 return 0;
13356}
13357_ACEOF
13358if ac_fn_c_try_run "$LINENO"; then :
13359 am_cv_func_iconv_works=yes
13360else
13361 am_cv_func_iconv_works=no
13362fi
13363rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13364 conftest.$ac_objext conftest.beam conftest.$ac_ext
13365fi
13366
13367 LIBS="$am_save_LIBS"
13368
13369fi
13370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
13371$as_echo "$am_cv_func_iconv_works" >&6; }
13372 case "$am_cv_func_iconv_works" in
13373 *no) am_func_iconv=no am_cv_lib_iconv=no ;;
13374 *) am_func_iconv=yes ;;
13375 esac
13376 else
13377 am_func_iconv=no am_cv_lib_iconv=no
13378 fi
13379 if test "$am_func_iconv" = yes; then
13380
13381$as_echo "#define HAVE_ICONV 1" >>confdefs.h
13382
13383 fi
13384 if test "$am_cv_lib_iconv" = yes; then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13386$as_echo_n "checking how to link with libiconv... " >&6; }
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13388$as_echo "$LIBICONV" >&6; }
13389 else
13390 CPPFLAGS="$am_save_CPPFLAGS"
13391 LIBICONV=
13392 LTLIBICONV=
13393 fi
13394
13395
13396
13397
13398
13399
13400
13401
13402 use_additional=yes
13403
13404 acl_save_prefix="$prefix"
13405 prefix="$acl_final_prefix"
13406 acl_save_exec_prefix="$exec_prefix"
13407 exec_prefix="$acl_final_exec_prefix"
13408
13409 eval additional_includedir=\"$includedir\"
13410 eval additional_libdir=\"$libdir\"
13411
13412 exec_prefix="$acl_save_exec_prefix"
13413 prefix="$acl_save_prefix"
13414
13415
13416# Check whether --with-libintl-prefix was given.
13417if test "${with_libintl_prefix+set}" = set; then :
13418 withval=$with_libintl_prefix;
13419 if test "X$withval" = "Xno"; then
13420 use_additional=no
13421 else
13422 if test "X$withval" = "X"; then
13423
13424 acl_save_prefix="$prefix"
13425 prefix="$acl_final_prefix"
13426 acl_save_exec_prefix="$exec_prefix"
13427 exec_prefix="$acl_final_exec_prefix"
13428
13429 eval additional_includedir=\"$includedir\"
13430 eval additional_libdir=\"$libdir\"
13431
13432 exec_prefix="$acl_save_exec_prefix"
13433 prefix="$acl_save_prefix"
13434
13435 else
13436 additional_includedir="$withval/include"
13437 additional_libdir="$withval/$acl_libdirstem"
13438 fi
13439 fi
13440
13441fi
13442
13443 LIBINTL=
13444 LTLIBINTL=
13445 INCINTL=
13446 LIBINTL_PREFIX=
13447 rpathdirs=
13448 ltrpathdirs=
13449 names_already_handled=
13450 names_next_round='intl '
13451 while test -n "$names_next_round"; do
13452 names_this_round="$names_next_round"
13453 names_next_round=
13454 for name in $names_this_round; do
13455 already_handled=
13456 for n in $names_already_handled; do
13457 if test "$n" = "$name"; then
13458 already_handled=yes
13459 break
13460 fi
13461 done
13462 if test -z "$already_handled"; then
13463 names_already_handled="$names_already_handled $name"
13464 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13465 eval value=\"\$HAVE_LIB$uppername\"
13466 if test -n "$value"; then
13467 if test "$value" = yes; then
13468 eval value=\"\$LIB$uppername\"
13469 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
13470 eval value=\"\$LTLIB$uppername\"
13471 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
13472 else
13473 :
13474 fi
13475 else
13476 found_dir=
13477 found_la=
13478 found_so=
13479 found_a=
13480 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
13481 if test -n "$acl_shlibext"; then
13482 shrext=".$acl_shlibext" # typically: shrext=.so
13483 else
13484 shrext=
13485 fi
13486 if test $use_additional = yes; then
13487 dir="$additional_libdir"
13488 if test -n "$acl_shlibext"; then
13489 if test -f "$dir/$libname$shrext"; then
13490 found_dir="$dir"
13491 found_so="$dir/$libname$shrext"
13492 else
13493 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13494 ver=`(cd "$dir" && \
13495 for f in "$libname$shrext".*; do echo "$f"; done \
13496 | sed -e "s,^$libname$shrext\\\\.,," \
13497 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13498 | sed 1q ) 2>/dev/null`
13499 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13500 found_dir="$dir"
13501 found_so="$dir/$libname$shrext.$ver"
13502 fi
13503 else
13504 eval library_names=\"$acl_library_names_spec\"
13505 for f in $library_names; do
13506 if test -f "$dir/$f"; then
13507 found_dir="$dir"
13508 found_so="$dir/$f"
13509 break
13510 fi
13511 done
13512 fi
13513 fi
13514 fi
13515 if test "X$found_dir" = "X"; then
13516 if test -f "$dir/$libname.$acl_libext"; then
13517 found_dir="$dir"
13518 found_a="$dir/$libname.$acl_libext"
13519 fi
13520 fi
13521 if test "X$found_dir" != "X"; then
13522 if test -f "$dir/$libname.la"; then
13523 found_la="$dir/$libname.la"
13524 fi
13525 fi
13526 fi
13527 if test "X$found_dir" = "X"; then
13528 for x in $LDFLAGS $LTLIBINTL; do
13529
13530 acl_save_prefix="$prefix"
13531 prefix="$acl_final_prefix"
13532 acl_save_exec_prefix="$exec_prefix"
13533 exec_prefix="$acl_final_exec_prefix"
13534 eval x=\"$x\"
13535 exec_prefix="$acl_save_exec_prefix"
13536 prefix="$acl_save_prefix"
13537
13538 case "$x" in
13539 -L*)
13540 dir=`echo "X$x" | sed -e 's/^X-L//'`
13541 if test -n "$acl_shlibext"; then
13542 if test -f "$dir/$libname$shrext"; then
13543 found_dir="$dir"
13544 found_so="$dir/$libname$shrext"
13545 else
13546 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
13547 ver=`(cd "$dir" && \
13548 for f in "$libname$shrext".*; do echo "$f"; done \
13549 | sed -e "s,^$libname$shrext\\\\.,," \
13550 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
13551 | sed 1q ) 2>/dev/null`
13552 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
13553 found_dir="$dir"
13554 found_so="$dir/$libname$shrext.$ver"
13555 fi
13556 else
13557 eval library_names=\"$acl_library_names_spec\"
13558 for f in $library_names; do
13559 if test -f "$dir/$f"; then
13560 found_dir="$dir"
13561 found_so="$dir/$f"
13562 break
13563 fi
13564 done
13565 fi
13566 fi
13567 fi
13568 if test "X$found_dir" = "X"; then
13569 if test -f "$dir/$libname.$acl_libext"; then
13570 found_dir="$dir"
13571 found_a="$dir/$libname.$acl_libext"
13572 fi
13573 fi
13574 if test "X$found_dir" != "X"; then
13575 if test -f "$dir/$libname.la"; then
13576 found_la="$dir/$libname.la"
13577 fi
13578 fi
13579 ;;
13580 esac
13581 if test "X$found_dir" != "X"; then
13582 break
13583 fi
13584 done
13585 fi
13586 if test "X$found_dir" != "X"; then
13587 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13588 if test "X$found_so" != "X"; then
13589 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13590 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13591 else
13592 haveit=
13593 for x in $ltrpathdirs; do
13594 if test "X$x" = "X$found_dir"; then
13595 haveit=yes
13596 break
13597 fi
13598 done
13599 if test -z "$haveit"; then
13600 ltrpathdirs="$ltrpathdirs $found_dir"
13601 fi
13602 if test "$acl_hardcode_direct" = yes; then
13603 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13604 else
13605 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
13606 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13607 haveit=
13608 for x in $rpathdirs; do
13609 if test "X$x" = "X$found_dir"; then
13610 haveit=yes
13611 break
13612 fi
13613 done
13614 if test -z "$haveit"; then
13615 rpathdirs="$rpathdirs $found_dir"
13616 fi
13617 else
13618 haveit=
13619 for x in $LDFLAGS $LIBINTL; do
13620
13621 acl_save_prefix="$prefix"
13622 prefix="$acl_final_prefix"
13623 acl_save_exec_prefix="$exec_prefix"
13624 exec_prefix="$acl_final_exec_prefix"
13625 eval x=\"$x\"
13626 exec_prefix="$acl_save_exec_prefix"
13627 prefix="$acl_save_prefix"
13628
13629 if test "X$x" = "X-L$found_dir"; then
13630 haveit=yes
13631 break
13632 fi
13633 done
13634 if test -z "$haveit"; then
13635 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13636 fi
13637 if test "$acl_hardcode_minus_L" != no; then
13638 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
13639 else
13640 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13641 fi
13642 fi
13643 fi
13644 fi
13645 else
13646 if test "X$found_a" != "X"; then
13647 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
13648 else
13649 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13650 fi
13651 fi
13652 additional_includedir=
13653 case "$found_dir" in
13654 */$acl_libdirstem | */$acl_libdirstem/)
13655 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13656 LIBINTL_PREFIX="$basedir"
13657 additional_includedir="$basedir/include"
13658 ;;
13659 esac
13660 if test "X$additional_includedir" != "X"; then
13661 if test "X$additional_includedir" != "X/usr/include"; then
13662 haveit=
13663 if test "X$additional_includedir" = "X/usr/local/include"; then
13664 if test -n "$GCC"; then
13665 case $host_os in
13666 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13667 esac
13668 fi
13669 fi
13670 if test -z "$haveit"; then
13671 for x in $CPPFLAGS $INCINTL; do
13672
13673 acl_save_prefix="$prefix"
13674 prefix="$acl_final_prefix"
13675 acl_save_exec_prefix="$exec_prefix"
13676 exec_prefix="$acl_final_exec_prefix"
13677 eval x=\"$x\"
13678 exec_prefix="$acl_save_exec_prefix"
13679 prefix="$acl_save_prefix"
13680
13681 if test "X$x" = "X-I$additional_includedir"; then
13682 haveit=yes
13683 break
13684 fi
13685 done
13686 if test -z "$haveit"; then
13687 if test -d "$additional_includedir"; then
13688 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13689 fi
13690 fi
13691 fi
13692 fi
13693 fi
13694 if test -n "$found_la"; then
13695 save_libdir="$libdir"
13696 case "$found_la" in
13697 */* | *\\*) . "$found_la" ;;
13698 *) . "./$found_la" ;;
13699 esac
13700 libdir="$save_libdir"
13701 for dep in $dependency_libs; do
13702 case "$dep" in
13703 -L*)
13704 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
13705 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13706 haveit=
13707 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13708 if test -n "$GCC"; then
13709 case $host_os in
13710 linux* | gnu* | k*bsd*-gnu) haveit=yes;;
13711 esac
13712 fi
13713 fi
13714 if test -z "$haveit"; then
13715 haveit=
13716 for x in $LDFLAGS $LIBINTL; do
13717
13718 acl_save_prefix="$prefix"
13719 prefix="$acl_final_prefix"
13720 acl_save_exec_prefix="$exec_prefix"
13721 exec_prefix="$acl_final_exec_prefix"
13722 eval x=\"$x\"
13723 exec_prefix="$acl_save_exec_prefix"
13724 prefix="$acl_save_prefix"
13725
13726 if test "X$x" = "X-L$additional_libdir"; then
13727 haveit=yes
13728 break
13729 fi
13730 done
13731 if test -z "$haveit"; then
13732 if test -d "$additional_libdir"; then
13733 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13734 fi
13735 fi
13736 haveit=
13737 for x in $LDFLAGS $LTLIBINTL; do
13738
13739 acl_save_prefix="$prefix"
13740 prefix="$acl_final_prefix"
13741 acl_save_exec_prefix="$exec_prefix"
13742 exec_prefix="$acl_final_exec_prefix"
13743 eval x=\"$x\"
13744 exec_prefix="$acl_save_exec_prefix"
13745 prefix="$acl_save_prefix"
13746
13747 if test "X$x" = "X-L$additional_libdir"; then
13748 haveit=yes
13749 break
13750 fi
13751 done
13752 if test -z "$haveit"; then
13753 if test -d "$additional_libdir"; then
13754 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13755 fi
13756 fi
13757 fi
13758 fi
13759 ;;
13760 -R*)
13761 dir=`echo "X$dep" | sed -e 's/^X-R//'`
13762 if test "$enable_rpath" != no; then
13763 haveit=
13764 for x in $rpathdirs; do
13765 if test "X$x" = "X$dir"; then
13766 haveit=yes
13767 break
13768 fi
13769 done
13770 if test -z "$haveit"; then
13771 rpathdirs="$rpathdirs $dir"
13772 fi
13773 haveit=
13774 for x in $ltrpathdirs; do
13775 if test "X$x" = "X$dir"; then
13776 haveit=yes
13777 break
13778 fi
13779 done
13780 if test -z "$haveit"; then
13781 ltrpathdirs="$ltrpathdirs $dir"
13782 fi
13783 fi
13784 ;;
13785 -l*)
13786 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13787 ;;
13788 *.la)
13789 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13790 ;;
13791 *)
13792 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
13793 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13794 ;;
13795 esac
13796 done
13797 fi
13798 else
13799 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
13800 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13801 fi
13802 fi
13803 fi
13804 done
13805 done
13806 if test "X$rpathdirs" != "X"; then
13807 if test -n "$acl_hardcode_libdir_separator"; then
13808 alldirs=
13809 for found_dir in $rpathdirs; do
13810 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
13811 done
13812 acl_save_libdir="$libdir"
13813 libdir="$alldirs"
13814 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13815 libdir="$acl_save_libdir"
13816 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13817 else
13818 for found_dir in $rpathdirs; do
13819 acl_save_libdir="$libdir"
13820 libdir="$found_dir"
13821 eval flag=\"$acl_hardcode_libdir_flag_spec\"
13822 libdir="$acl_save_libdir"
13823 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
13824 done
13825 fi
13826 fi
13827 if test "X$ltrpathdirs" != "X"; then
13828 for found_dir in $ltrpathdirs; do
13829 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13830 done
13831 fi
13832
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13834$as_echo_n "checking for GNU gettext in libintl... " >&6; }
13835if eval "test \"\${$gt_func_gnugettext_libintl+set}\"" = set; then :
13836 $as_echo_n "(cached) " >&6
13837else
13838 gt_save_CPPFLAGS="$CPPFLAGS"
13839 CPPFLAGS="$CPPFLAGS $INCINTL"
13840 gt_save_LIBS="$LIBS"
13841 LIBS="$LIBS $LIBINTL"
13842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13843/* end confdefs.h. */
13844#include <libintl.h>
13845$gt_revision_test_code
13846extern int _nl_msg_cat_cntr;
13847extern
13848#ifdef __cplusplus
13849"C"
13850#endif
13851const char *_nl_expand_alias (const char *);
13852int
13853main ()
13854{
13855bindtextdomain ("", "");
13856return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13857 ;
13858 return 0;
13859}
13860_ACEOF
13861if ac_fn_c_try_link "$LINENO"; then :
13862 eval "$gt_func_gnugettext_libintl=yes"
13863else
13864 eval "$gt_func_gnugettext_libintl=no"
13865fi
13866rm -f core conftest.err conftest.$ac_objext \
13867 conftest$ac_exeext conftest.$ac_ext
13868 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13869 LIBS="$LIBS $LIBICONV"
13870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13871/* end confdefs.h. */
13872#include <libintl.h>
13873$gt_revision_test_code
13874extern int _nl_msg_cat_cntr;
13875extern
13876#ifdef __cplusplus
13877"C"
13878#endif
13879const char *_nl_expand_alias (const char *);
13880int
13881main ()
13882{
13883bindtextdomain ("", "");
13884return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13885 ;
13886 return 0;
13887}
13888_ACEOF
13889if ac_fn_c_try_link "$LINENO"; then :
13890 LIBINTL="$LIBINTL $LIBICONV"
13891 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13892 eval "$gt_func_gnugettext_libintl=yes"
13893
13894fi
13895rm -f core conftest.err conftest.$ac_objext \
13896 conftest$ac_exeext conftest.$ac_ext
13897 fi
13898 CPPFLAGS="$gt_save_CPPFLAGS"
13899 LIBS="$gt_save_LIBS"
13900fi
13901eval ac_res=\$$gt_func_gnugettext_libintl
13902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13903$as_echo "$ac_res" >&6; }
13904 fi
13905
13906 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13907 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13908 && test "$PACKAGE" != gettext-runtime \
13909 && test "$PACKAGE" != gettext-tools; }; then
13910 gt_use_preinstalled_gnugettext=yes
13911 else
13912 LIBINTL=
13913 LTLIBINTL=
13914 INCINTL=
13915 fi
13916
13917
13918
13919 if test -n "$INTL_MACOSX_LIBS"; then
13920 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13921 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13922 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
13923 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
13924 fi
13925 fi
13926
13927 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13928 || test "$nls_cv_use_gnu_gettext" = "yes"; then
13929
13930$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13931
13932 else
13933 USE_NLS=no
13934 fi
13935 fi
13936
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13938$as_echo_n "checking whether to use NLS... " >&6; }
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13940$as_echo "$USE_NLS" >&6; }
13941 if test "$USE_NLS" = "yes"; then
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13943$as_echo_n "checking where the gettext function comes from... " >&6; }
13944 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13945 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13946 gt_source="external libintl"
13947 else
13948 gt_source="libc"
13949 fi
13950 else
13951 gt_source="included intl directory"
13952 fi
13953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13954$as_echo "$gt_source" >&6; }
13955 fi
13956
13957 if test "$USE_NLS" = "yes"; then
13958
13959 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13960 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13962$as_echo_n "checking how to link with libintl... " >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13964$as_echo "$LIBINTL" >&6; }
13965
13966 for element in $INCINTL; do
13967 haveit=
13968 for x in $CPPFLAGS; do
13969
13970 acl_save_prefix="$prefix"
13971 prefix="$acl_final_prefix"
13972 acl_save_exec_prefix="$exec_prefix"
13973 exec_prefix="$acl_final_exec_prefix"
13974 eval x=\"$x\"
13975 exec_prefix="$acl_save_exec_prefix"
13976 prefix="$acl_save_prefix"
13977
13978 if test "X$x" = "X$element"; then
13979 haveit=yes
13980 break
13981 fi
13982 done
13983 if test -z "$haveit"; then
13984 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13985 fi
13986 done
13987
13988 fi
13989
13990
13991$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13992
13993
13994$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13995
13996 fi
13997
13998 POSUB=po
13999 fi
14000
14001
14002
14003 INTLLIBS="$LIBINTL"
14004
14005
14006
14007
14008
14009
14010po_makefile_in=po/Makefile.in
14011have_po="yes"
14012
14013
14014
14015if test "x${POSUB}" = "x" ; then
14016 have_po="no"
14017fi
14018
14019 if test "x${have_po}" = "xyes"; then
14020 HAVE_PO_TRUE=
14021 HAVE_PO_FALSE='#'
14022else
14023 HAVE_PO_TRUE='#'
14024 HAVE_PO_FALSE=
14025fi
14026
14027
14028with_max_log_level="<unset>"
14029
14030# Check whether --with-internal-maximum-log-level was given.
14031if test "${with_internal_maximum_log_level+set}" = set; then :
14032 withval=$with_internal_maximum_log_level;
14033 if test "x${withval}" != "xno"; then
14034 if echo "${withval}" | grep -E '^[0-9]+$' >/dev/null 2>/dev/null; then
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: ignoring any EINA_LOG() with level greater than ${withval}" >&5
14036$as_echo "$as_me: ignoring any EINA_LOG() with level greater than ${withval}" >&6;}
14037
14038cat >>confdefs.h <<_ACEOF
14039#define EINA_LOG_LEVEL_MAXIMUM ${withval}
14040_ACEOF
14041
14042 with_max_log_level="${withval}"
14043 else
14044 as_fn_error $? "--with-internal-maximum-log-level takes a decimal number, got \"${withval}\" instead." "$LINENO" 5
14045 fi
14046 fi
14047
14048else
14049 :
14050fi
14051
14052
14053
14054### Default options with respect to host
14055
14056
14057
14058
14059# dependencies and options
14060want_curl="no"
14061want_local_sockets="yes"
14062want_abstract_sockets="no"
14063want_gnutls="no"
14064want_openssl="no"
14065want_cares="no"
14066want_cipher="no"
14067want_signature="no"
14068want_poll="yes"
14069want_inotify="no"
14070want_notify_win32="no"
14071want_tslib="no"
14072want_glib="no"
14073
14074# core modules
14075want_ecore_con="yes"
14076want_ecore_ipc="yes"
14077want_ecore_file="yes"
14078#want_ecore_config="no"
14079want_ecore_imf="no"
14080want_ecore_input="yes"
14081
14082# graphic system modules
14083want_evas_simple_x11="no"
14084want_ecore_x_xcb="no"
14085want_ecore_x="no"
14086want_ecore_win32="no"
14087want_ecore_cocoa="no"
14088want_ecore_sdl="no"
14089want_ecore_psl1ght="no"
14090want_ecore_fb="no"
14091want_ecore_directfb="no"
14092want_ecore_wince="no"
14093want_ecore_wayland="no"
14094
14095# ecore_x options (both xlib and xcb)
14096want_ecore_x_composite="yes"
14097want_ecore_x_damage="yes"
14098want_ecore_x_dpms="yes"
14099want_ecore_x_randr="yes"
14100want_ecore_x_render="yes"
14101want_ecore_x_screensaver="yes"
14102want_ecore_x_shape="yes"
14103want_ecore_x_gesture="no"
14104want_ecore_x_sync="yes"
14105want_ecore_x_xfixes="yes"
14106want_ecore_x_xinerama="yes"
14107want_ecore_x_xprint="yes"
14108want_ecore_x_xtest="yes"
14109want_ecore_x_cursor="yes"
14110want_ecore_x_input="yes"
14111want_ecore_x_dri="yes"
14112
14113# ecore_evas modules
14114want_ecore_evas="yes"
14115want_ecore_evas_software_buffer="yes"
14116want_ecore_evas_software_x11="no"
14117want_ecore_evas_opengl_x11="no"
14118want_ecore_evas_software_16_x11="no"
14119want_ecore_evas_software_8_x11="no"
14120want_ecore_evas_software_xcb="no"
14121want_ecore_evas_software_gdi="no"
14122want_ecore_evas_software_ddraw="no"
14123want_ecore_evas_direct3d="no"
14124want_ecore_evas_opengl_glew="no"
14125want_ecore_evas_software_16_ddraw="no"
14126want_ecore_evas_software_sdl="no"
14127want_ecore_evas_gl_sdl="no"
14128want_ecore_evas_gl_cocoa="no"
14129want_ecore_evas_psl1ght="no"
14130want_ecore_evas_directfb="no"
14131want_ecore_evas_fb="no"
14132want_ecore_evas_software_16_wince="no"
14133want_ecore_evas_ews="yes"
14134want_ecore_evas_extn="yes"
14135want_ecore_evas_wayland_shm="no"
14136want_ecore_evas_wayland_egl="no"
14137
14138# ecore_imf modules
14139want_ecore_imf_xim="no"
14140want_ecore_imf_scim="no"
14141
14142case "$host_os" in
14143 mingw32ce*)
14144 want_ecore_con="no"
14145 want_ecore_ipc="no"
14146 want_ecore_wince="yes"
14147 want_ecore_evas_software_16_wince="yes"
14148 want_ecore_evas_extn="no"
14149 ;;
14150 mingw*)
14151 want_notify_win32="yes"
14152 want_curl="yes"
14153 want_glib="auto"
14154 want_gnutls="auto"
14155 want_openssl="auto"
14156 want_ecore_imf="yes"
14157 want_ecore_win32="yes"
14158 want_ecore_evas_software_gdi="yes"
14159 want_ecore_evas_software_ddraw="yes"
14160 want_ecore_evas_direct3d="yes"
14161 want_ecore_evas_opengl_glew="yes"
14162 want_ecore_evas_software_16_ddraw="auto"
14163 want_ecore_evas_software_sdl="yes"
14164 want_ecore_evas_gl_sdl="yes"
14165 ;;
14166 darwin*)
14167 want_curl="yes"
14168 want_glib="auto"
14169 want_gnutls="auto"
14170 want_openssl="auto"
14171 want_ecore_imf="yes"
14172 want_ecore_cocoa="yes"
14173 want_ecore_evas_software_sdl="yes"
14174 want_ecore_evas_gl_sdl="yes"
14175 want_ecore_evas_gl_cocoa="yes"
14176 ;;
14177 *)
14178 want_curl="yes"
14179 want_glib="auto"
14180 want_abstract_sockets="yes"
14181 want_gnutls="auto"
14182 want_openssl="auto"
14183 want_cipher="yes"
14184 want_signature="yes"
14185 want_inotify="yes"
14186 want_tslib="yes"
14187 want_ecore_fb="yes"
14188 want_ecore_imf="yes"
14189 want_ecore_x="yes"
14190 want_ecore_wayland="yes"
14191 want_ecore_evas_software_x11="yes"
14192 want_ecore_evas_opengl_x11="yes"
14193 want_ecore_evas_software_16_x11="yes"
14194 want_ecore_evas_software_8_x11="yes"
14195 want_ecore_evas_software_xcb="no"
14196 want_ecore_evas_software_sdl="yes"
14197 want_ecore_evas_gl_sdl="yes"
14198 want_ecore_evas_gl_cocoa="no"
14199 want_ecore_evas_directfb="yes"
14200 want_ecore_evas_fb="yes"
14201 want_ecore_evas_wayland_shm="yes"
14202 want_ecore_evas_wayland_egl="yes"
14203 want_ecore_imf_xim="yes"
14204 want_ecore_imf_scim="yes"
14205 ;;
14206esac
14207
14208case "$host_vendor" in
14209 ps3*)
14210 want_local_sockets="no"
14211 ;;
14212esac
14213requirements_ecore=""
14214requirements_ecore_con=""
14215#requirements_ecore_config=""
14216requirements_ecore_directfb=""
14217requirements_ecore_evas=""
14218requirements_ecore_fb=""
14219requirements_ecore_file=""
14220requirements_ecore_imf=""
14221requirements_ecore_imf_evas=""
14222requirements_ecore_input=""
14223requirements_ecore_input_evas=""
14224requirements_ecore_ipc=""
14225requirements_ecore_cocoa=""
14226requirements_ecore_sdl=""
14227requirements_ecore_psl1ght=""
14228requirements_ecore_x=""
14229requirements_ecore_win32=""
14230requirements_ecore_wince=""
14231requirements_ecore_imf_xim=""
14232requirements_ecore_imf_scim=""
14233requirements_ecore_wayland=""
14234
14235### Additional options to configure
14236
14237want_glib_integration_always=no
14238# Check whether --enable-glib-integration-always was given.
14239if test "${enable_glib_integration_always+set}" = set; then :
14240 enableval=$enable_glib_integration_always; want_glib_integration_always=$enableval
14241fi
14242
14243
14244if test "x${want_glib_integration_always}" = "xyes" ; then
14245
14246$as_echo "#define GLIB_INTEGRATION_ALWAYS 1" >>confdefs.h
14247
14248 want_glib=yes
14249fi
14250
14251want_g_main_loop=no
14252# Check whether --enable-g-main-loop was given.
14253if test "${enable_g_main_loop+set}" = set; then :
14254 enableval=$enable_g_main_loop; want_g_main_loop=$enableval
14255fi
14256
14257
14258if test "x${want_g_main_loop}" = "xyes" ; then
14259
14260$as_echo "#define USE_G_MAIN_LOOP 1" >>confdefs.h
14261
14262 want_glib=yes
14263fi
14264
14265if test "x${want_glib_integration_always}" = "xyes" -a "x${want_g_main_loop}" = "xyes"; then
14266 as_fn_error $? "--enable-glib-integration-always and --enable-glib-main-loop are mutually exclusive" "$LINENO" 5
14267fi
14268
14269# local sockets (ecore_con.c)
14270# Check whether --enable-local-sockets was given.
14271if test "${enable_local_sockets+set}" = set; then :
14272 enableval=$enable_local_sockets;
14273 if test "x${enableval}" = "xyes" ; then
14274 want_ecore_con_local_sockets="yes"
14275 else
14276 want_ecore_con_local_sockets="no"
14277 fi
14278
14279else
14280 want_ecore_con_local_sockets=${want_local_sockets}
14281fi
14282
14283
14284if test "x${want_ecore_con_local_sockets}" = "xyes" ; then
14285
14286$as_echo "#define HAVE_LOCAL_SOCKETS 1" >>confdefs.h
14287
14288fi
14289
14290# abstract sockets (ecore_con.c)
14291# Check whether --enable-abstract-sockets was given.
14292if test "${enable_abstract_sockets+set}" = set; then :
14293 enableval=$enable_abstract_sockets;
14294 if test "x${enableval}" = "xyes" ; then
14295 want_ecore_con_abstract_sockets="yes"
14296 else
14297 want_ecore_con_abstract_sockets="no"
14298 fi
14299
14300else
14301 want_ecore_con_abstract_sockets=${want_abstract_sockets}
14302fi
14303
14304
14305if test "x${want_ecore_con_abstract_sockets}" = "xyes" ; then
14306
14307$as_echo "#define HAVE_ABSTRACT_SOCKETS 1" >>confdefs.h
14308
14309fi
14310
14311# Simple X11 build/link
14312
14313# Check whether --enable-simple-x11 was given.
14314if test "${enable_simple_x11+set}" = set; then :
14315 enableval=$enable_simple_x11; want_evas_simple_x11=$enableval
14316fi
14317
14318
14319# XIM
14320# Check whether --enable-xim was given.
14321if test "${enable_xim+set}" = set; then :
14322 enableval=$enable_xim;
14323 if test "x${enableval}" = "xyes" ; then
14324 want_xim="yes"
14325 else
14326 want_xim="no"
14327 fi
14328
14329else
14330 want_xim="yes"
14331fi
14332
14333
14334if test "x${want_xim}" = "xyes" ; then
14335
14336$as_echo "#define ENABLE_XIM 1" >>confdefs.h
14337
14338fi
14339
14340### Checks for programs
14341
14342
14343 ac_ext=m
14344ac_cpp='$OBJCPP $CPPFLAGS'
14345ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14346ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14347ac_compiler_gnu=$ac_cv_objc_compiler_gnu
14348if test -n "$ac_tool_prefix"; then
14349 for ac_prog in gcc objcc objc cc CC
14350 do
14351 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14352set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14354$as_echo_n "checking for $ac_word... " >&6; }
14355if test "${ac_cv_prog_OBJC+set}" = set; then :
14356 $as_echo_n "(cached) " >&6
14357else
14358 if test -n "$OBJC"; then
14359 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
14360else
14361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14362for as_dir in $PATH
14363do
14364 IFS=$as_save_IFS
14365 test -z "$as_dir" && as_dir=.
14366 for ac_exec_ext in '' $ac_executable_extensions; do
14367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14368 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
14369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14370 break 2
14371 fi
14372done
14373 done
14374IFS=$as_save_IFS
14375
14376fi
14377fi
14378OBJC=$ac_cv_prog_OBJC
14379if test -n "$OBJC"; then
14380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
14381$as_echo "$OBJC" >&6; }
14382else
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14384$as_echo "no" >&6; }
14385fi
14386
14387
14388 test -n "$OBJC" && break
14389 done
14390fi
14391if test -z "$OBJC"; then
14392 ac_ct_OBJC=$OBJC
14393 for ac_prog in gcc objcc objc cc CC
14394do
14395 # Extract the first word of "$ac_prog", so it can be a program name with args.
14396set dummy $ac_prog; ac_word=$2
14397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14398$as_echo_n "checking for $ac_word... " >&6; }
14399if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
14400 $as_echo_n "(cached) " >&6
14401else
14402 if test -n "$ac_ct_OBJC"; then
14403 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
14404else
14405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14406for as_dir in $PATH
14407do
14408 IFS=$as_save_IFS
14409 test -z "$as_dir" && as_dir=.
14410 for ac_exec_ext in '' $ac_executable_extensions; do
14411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14412 ac_cv_prog_ac_ct_OBJC="$ac_prog"
14413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14414 break 2
14415 fi
14416done
14417 done
14418IFS=$as_save_IFS
14419
14420fi
14421fi
14422ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
14423if test -n "$ac_ct_OBJC"; then
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
14425$as_echo "$ac_ct_OBJC" >&6; }
14426else
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14428$as_echo "no" >&6; }
14429fi
14430
14431
14432 test -n "$ac_ct_OBJC" && break
14433done
14434
14435 if test "x$ac_ct_OBJC" = x; then
14436 OBJC="gcc"
14437 else
14438 case $cross_compiling:$ac_tool_warned in
14439yes:)
14440{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14441$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14442ac_tool_warned=yes ;;
14443esac
14444 OBJC=$ac_ct_OBJC
14445 fi
14446fi
14447
14448# Provide some information about the compiler.
14449$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
14450set X $ac_compile
14451ac_compiler=$2
14452for ac_option in --version -v -V -qversion; do
14453 { { ac_try="$ac_compiler $ac_option >&5"
14454case "(($ac_try" in
14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14457esac
14458eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14459$as_echo "$ac_try_echo"; } >&5
14460 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14461 ac_status=$?
14462 if test -s conftest.err; then
14463 sed '10a\
14464... rest of stderr output deleted ...
14465 10q' conftest.err >conftest.er1
14466 cat conftest.er1 >&5
14467 fi
14468 rm -f conftest.er1 conftest.err
14469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14470 test $ac_status = 0; }
14471done
14472
14473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
14474$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
14475if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
14476 $as_echo_n "(cached) " >&6
14477else
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479/* end confdefs.h. */
14480
14481int
14482main ()
14483{
14484#ifndef __GNUC__
14485 choke me
14486#endif
14487
14488 ;
14489 return 0;
14490}
14491_ACEOF
14492if ac_fn_objc_try_compile "$LINENO"; then :
14493 ac_compiler_gnu=yes
14494else
14495 ac_compiler_gnu=no
14496fi
14497rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14498ac_cv_objc_compiler_gnu=$ac_compiler_gnu
14499
14500fi
14501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
14502$as_echo "$ac_cv_objc_compiler_gnu" >&6; }
14503if test $ac_compiler_gnu = yes; then
14504 GOBJC=yes
14505else
14506 GOBJC=
14507fi
14508ac_test_OBJCFLAGS=${OBJCFLAGS+set}
14509ac_save_OBJCFLAGS=$OBJCFLAGS
14510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
14511$as_echo_n "checking whether $OBJC accepts -g... " >&6; }
14512if test "${ac_cv_prog_objc_g+set}" = set; then :
14513 $as_echo_n "(cached) " >&6
14514else
14515 ac_save_objc_werror_flag=$ac_objc_werror_flag
14516 ac_objc_werror_flag=yes
14517 ac_cv_prog_objc_g=no
14518 OBJCFLAGS="-g"
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520/* end confdefs.h. */
14521
14522int
14523main ()
14524{
14525
14526 ;
14527 return 0;
14528}
14529_ACEOF
14530if ac_fn_objc_try_compile "$LINENO"; then :
14531 ac_cv_prog_objc_g=yes
14532else
14533 OBJCFLAGS=""
14534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535/* end confdefs.h. */
14536
14537int
14538main ()
14539{
14540
14541 ;
14542 return 0;
14543}
14544_ACEOF
14545if ac_fn_objc_try_compile "$LINENO"; then :
14546
14547else
14548 ac_objc_werror_flag=$ac_save_objc_werror_flag
14549 OBJCFLAGS="-g"
14550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14551/* end confdefs.h. */
14552
14553int
14554main ()
14555{
14556
14557 ;
14558 return 0;
14559}
14560_ACEOF
14561if ac_fn_objc_try_compile "$LINENO"; then :
14562 ac_cv_prog_objc_g=yes
14563fi
14564rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14565fi
14566rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14567fi
14568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569 ac_objc_werror_flag=$ac_save_objc_werror_flag
14570fi
14571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
14572$as_echo "$ac_cv_prog_objc_g" >&6; }
14573if test "$ac_test_OBJCFLAGS" = set; then
14574 OBJCFLAGS=$ac_save_OBJCFLAGS
14575elif test $ac_cv_prog_objc_g = yes; then
14576 if test "$GOBJC" = yes; then
14577 OBJCFLAGS="-g -O2"
14578 else
14579 OBJCFLAGS="-g"
14580 fi
14581else
14582 if test "$GOBJC" = yes; then
14583 OBJCFLAGS="-O2"
14584 else
14585 OBJCFLAGS=
14586 fi
14587fi
14588ac_ext=c
14589ac_cpp='$CPP $CPPFLAGS'
14590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14592ac_compiler_gnu=$ac_cv_c_compiler_gnu
14593
14594depcc="$OBJC" am_compiler_list='gcc3 gcc'
14595
14596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14597$as_echo_n "checking dependency style of $depcc... " >&6; }
14598if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
14599 $as_echo_n "(cached) " >&6
14600else
14601 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14602 # We make a subdir and do the tests there. Otherwise we can end up
14603 # making bogus files that we don't know about and never remove. For
14604 # instance it was reported that on HP-UX the gcc test will end up
14605 # making a dummy file named `D' -- because `-MD' means `put the output
14606 # in D'.
14607 mkdir conftest.dir
14608 # Copy depcomp to subdir because otherwise we won't find it if we're
14609 # using a relative directory.
14610 cp "$am_depcomp" conftest.dir
14611 cd conftest.dir
14612 # We will build objects and dependencies in a subdirectory because
14613 # it helps to detect inapplicable dependency modes. For instance
14614 # both Tru64's cc and ICC support -MD to output dependencies as a
14615 # side effect of compilation, but ICC will put the dependencies in
14616 # the current directory while Tru64 will put them in the object
14617 # directory.
14618 mkdir sub
14619
14620 am_cv_OBJC_dependencies_compiler_type=none
14621 if test "$am_compiler_list" = ""; then
14622 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14623 fi
14624 am__universal=false
14625
14626
14627 for depmode in $am_compiler_list; do
14628 # Setup a source with many dependencies, because some compilers
14629 # like to wrap large dependency lists on column 80 (with \), and
14630 # we should not choose a depcomp mode which is confused by this.
14631 #
14632 # We need to recreate these files for each test, as the compiler may
14633 # overwrite some of them when testing with obscure command lines.
14634 # This happens at least with the AIX C compiler.
14635 : > sub/conftest.c
14636 for i in 1 2 3 4 5 6; do
14637 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14638 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14639 # Solaris 8's {/usr,}/bin/sh.
14640 touch sub/conftst$i.h
14641 done
14642 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14643
14644 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14645 # mode. It turns out that the SunPro C++ compiler does not properly
14646 # handle `-M -o', and we need to detect this. Also, some Intel
14647 # versions had trouble with output in subdirs
14648 am__obj=sub/conftest.${OBJEXT-o}
14649 am__minus_obj="-o $am__obj"
14650 case $depmode in
14651 gcc)
14652 # This depmode causes a compiler race in universal mode.
14653 test "$am__universal" = false || continue
14654 ;;
14655 nosideeffect)
14656 # after this tag, mechanisms are not by side-effect, so they'll
14657 # only be used when explicitly requested
14658 if test "x$enable_dependency_tracking" = xyes; then
14659 continue
14660 else
14661 break
14662 fi
14663 ;;
14664 msvisualcpp | msvcmsys)
14665 # This compiler won't grok `-c -o', but also, the minuso test has
14666 # not run yet. These depmodes are late enough in the game, and
14667 # so weak that their functioning should not be impacted.
14668 am__obj=conftest.${OBJEXT-o}
14669 am__minus_obj=
14670 ;;
14671 none) break ;;
14672 esac
14673 if depmode=$depmode \
14674 source=sub/conftest.c object=$am__obj \
14675 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14676 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14677 >/dev/null 2>conftest.err &&
14678 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14679 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14680 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14681 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14682 # icc doesn't choke on unknown options, it will just issue warnings
14683 # or remarks (even with -Werror). So we grep stderr for any message
14684 # that says an option was ignored or not supported.
14685 # When given -MP, icc 7.0 and 7.1 complain thusly:
14686 # icc: Command line warning: ignoring option '-M'; no argument required
14687 # The diagnosis changed in icc 8.0:
14688 # icc: Command line remark: option '-MP' not supported
14689 if (grep 'ignoring option' conftest.err ||
14690 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14691 am_cv_OBJC_dependencies_compiler_type=$depmode
14692 break
14693 fi
14694 fi
14695 done
14696
14697 cd ..
14698 rm -rf conftest.dir
14699else
14700 am_cv_OBJC_dependencies_compiler_type=none
14701fi
14702
14703fi
14704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
14705$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
14706OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
14707
14708 if
14709 test "x$enable_dependency_tracking" != xno \
14710 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
14711 am__fastdepOBJC_TRUE=
14712 am__fastdepOBJC_FALSE='#'
14713else
14714 am__fastdepOBJC_TRUE='#'
14715 am__fastdepOBJC_FALSE=
14716fi
14717
14718
14719
14720depcc="$OBJC" am_compiler_list='gcc3 gcc'
14721
14722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14723$as_echo_n "checking dependency style of $depcc... " >&6; }
14724if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
14725 $as_echo_n "(cached) " >&6
14726else
14727 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14728 # We make a subdir and do the tests there. Otherwise we can end up
14729 # making bogus files that we don't know about and never remove. For
14730 # instance it was reported that on HP-UX the gcc test will end up
14731 # making a dummy file named `D' -- because `-MD' means `put the output
14732 # in D'.
14733 mkdir conftest.dir
14734 # Copy depcomp to subdir because otherwise we won't find it if we're
14735 # using a relative directory.
14736 cp "$am_depcomp" conftest.dir
14737 cd conftest.dir
14738 # We will build objects and dependencies in a subdirectory because
14739 # it helps to detect inapplicable dependency modes. For instance
14740 # both Tru64's cc and ICC support -MD to output dependencies as a
14741 # side effect of compilation, but ICC will put the dependencies in
14742 # the current directory while Tru64 will put them in the object
14743 # directory.
14744 mkdir sub
14745
14746 am_cv_OBJC_dependencies_compiler_type=none
14747 if test "$am_compiler_list" = ""; then
14748 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14749 fi
14750 am__universal=false
14751
14752
14753 for depmode in $am_compiler_list; do
14754 # Setup a source with many dependencies, because some compilers
14755 # like to wrap large dependency lists on column 80 (with \), and
14756 # we should not choose a depcomp mode which is confused by this.
14757 #
14758 # We need to recreate these files for each test, as the compiler may
14759 # overwrite some of them when testing with obscure command lines.
14760 # This happens at least with the AIX C compiler.
14761 : > sub/conftest.c
14762 for i in 1 2 3 4 5 6; do
14763 echo '#include "conftst'$i'.h"' >> sub/conftest.c
14764 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14765 # Solaris 8's {/usr,}/bin/sh.
14766 touch sub/conftst$i.h
14767 done
14768 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14769
14770 # We check with `-c' and `-o' for the sake of the "dashmstdout"
14771 # mode. It turns out that the SunPro C++ compiler does not properly
14772 # handle `-M -o', and we need to detect this. Also, some Intel
14773 # versions had trouble with output in subdirs
14774 am__obj=sub/conftest.${OBJEXT-o}
14775 am__minus_obj="-o $am__obj"
14776 case $depmode in
14777 gcc)
14778 # This depmode causes a compiler race in universal mode.
14779 test "$am__universal" = false || continue
14780 ;;
14781 nosideeffect)
14782 # after this tag, mechanisms are not by side-effect, so they'll
14783 # only be used when explicitly requested
14784 if test "x$enable_dependency_tracking" = xyes; then
14785 continue
14786 else
14787 break
14788 fi
14789 ;;
14790 msvisualcpp | msvcmsys)
14791 # This compiler won't grok `-c -o', but also, the minuso test has
14792 # not run yet. These depmodes are late enough in the game, and
14793 # so weak that their functioning should not be impacted.
14794 am__obj=conftest.${OBJEXT-o}
14795 am__minus_obj=
14796 ;;
14797 none) break ;;
14798 esac
14799 if depmode=$depmode \
14800 source=sub/conftest.c object=$am__obj \
14801 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14802 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14803 >/dev/null 2>conftest.err &&
14804 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14805 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14806 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14807 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14808 # icc doesn't choke on unknown options, it will just issue warnings
14809 # or remarks (even with -Werror). So we grep stderr for any message
14810 # that says an option was ignored or not supported.
14811 # When given -MP, icc 7.0 and 7.1 complain thusly:
14812 # icc: Command line warning: ignoring option '-M'; no argument required
14813 # The diagnosis changed in icc 8.0:
14814 # icc: Command line remark: option '-MP' not supported
14815 if (grep 'ignoring option' conftest.err ||
14816 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14817 am_cv_OBJC_dependencies_compiler_type=$depmode
14818 break
14819 fi
14820 fi
14821 done
14822
14823 cd ..
14824 rm -rf conftest.dir
14825else
14826 am_cv_OBJC_dependencies_compiler_type=none
14827fi
14828
14829fi
14830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
14831$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
14832OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
14833
14834 if
14835 test "x$enable_dependency_tracking" != xno \
14836 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
14837 am__fastdepOBJC_TRUE=
14838 am__fastdepOBJC_FALSE='#'
14839else
14840 am__fastdepOBJC_TRUE='#'
14841 am__fastdepOBJC_FALSE=
14842fi
14843
14844
14845
14846
14847 if false; then
14848 am__fastdepOBJC_TRUE=
14849 am__fastdepOBJC_FALSE='#'
14850else
14851 am__fastdepOBJC_TRUE='#'
14852 am__fastdepOBJC_FALSE=
14853fi
14854
14855
14856
14857ac_ext=cpp
14858ac_cpp='$CXXCPP $CPPFLAGS'
14859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14862if test -z "$CXX"; then
14863 if test -n "$CCC"; then
14864 CXX=$CCC
14865 else
14866 if test -n "$ac_tool_prefix"; then
14867 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14868 do
14869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14870set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14872$as_echo_n "checking for $ac_word... " >&6; }
14873if test "${ac_cv_prog_CXX+set}" = set; then :
14874 $as_echo_n "(cached) " >&6
14875else
14876 if test -n "$CXX"; then
14877 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14878else
14879as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14880for as_dir in $PATH
14881do
14882 IFS=$as_save_IFS
14883 test -z "$as_dir" && as_dir=.
14884 for ac_exec_ext in '' $ac_executable_extensions; do
14885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14886 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14888 break 2
14889 fi
14890done
14891 done
14892IFS=$as_save_IFS
14893
14894fi
14895fi
14896CXX=$ac_cv_prog_CXX
14897if test -n "$CXX"; then
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
14899$as_echo "$CXX" >&6; }
14900else
14901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14902$as_echo "no" >&6; }
14903fi
14904
14905
14906 test -n "$CXX" && break
14907 done
14908fi
14909if test -z "$CXX"; then
14910 ac_ct_CXX=$CXX
14911 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14912do
14913 # Extract the first word of "$ac_prog", so it can be a program name with args.
14914set dummy $ac_prog; ac_word=$2
14915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14916$as_echo_n "checking for $ac_word... " >&6; }
14917if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
14918 $as_echo_n "(cached) " >&6
14919else
14920 if test -n "$ac_ct_CXX"; then
14921 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14922else
14923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14924for as_dir in $PATH
14925do
14926 IFS=$as_save_IFS
14927 test -z "$as_dir" && as_dir=.
14928 for ac_exec_ext in '' $ac_executable_extensions; do
14929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14930 ac_cv_prog_ac_ct_CXX="$ac_prog"
14931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14932 break 2
14933 fi
14934done
14935 done
14936IFS=$as_save_IFS
14937
14938fi
14939fi
14940ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14941if test -n "$ac_ct_CXX"; then
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
14943$as_echo "$ac_ct_CXX" >&6; }
14944else
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14946$as_echo "no" >&6; }
14947fi
14948
14949
14950 test -n "$ac_ct_CXX" && break
14951done
14952
14953 if test "x$ac_ct_CXX" = x; then
14954 CXX="g++"
14955 else
14956 case $cross_compiling:$ac_tool_warned in
14957yes:)
14958{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14959$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14960ac_tool_warned=yes ;;
14961esac
14962 CXX=$ac_ct_CXX
14963 fi
14964fi
14965
14966 fi
14967fi
14968# Provide some information about the compiler.
14969$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
14970set X $ac_compile
14971ac_compiler=$2
14972for ac_option in --version -v -V -qversion; do
14973 { { ac_try="$ac_compiler $ac_option >&5"
14974case "(($ac_try" in
14975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14976 *) ac_try_echo=$ac_try;;
14977esac
14978eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14979$as_echo "$ac_try_echo"; } >&5
14980 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14981 ac_status=$?
14982 if test -s conftest.err; then
14983 sed '10a\
14984... rest of stderr output deleted ...
14985 10q' conftest.err >conftest.er1
14986 cat conftest.er1 >&5
14987 fi
14988 rm -f conftest.er1 conftest.err
14989 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14990 test $ac_status = 0; }
14991done
14992
14993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
14994$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
14995if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
14996 $as_echo_n "(cached) " >&6
14997else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999/* end confdefs.h. */
15000
15001int
15002main ()
15003{
15004#ifndef __GNUC__
15005 choke me
15006#endif
15007
15008 ;
15009 return 0;
15010}
15011_ACEOF
15012if ac_fn_cxx_try_compile "$LINENO"; then :
15013 ac_compiler_gnu=yes
15014else
15015 ac_compiler_gnu=no
15016fi
15017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15018ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15019
15020fi
15021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15022$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15023if test $ac_compiler_gnu = yes; then
15024 GXX=yes
15025else
15026 GXX=
15027fi
15028ac_test_CXXFLAGS=${CXXFLAGS+set}
15029ac_save_CXXFLAGS=$CXXFLAGS
15030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15031$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15032if test "${ac_cv_prog_cxx_g+set}" = set; then :
15033 $as_echo_n "(cached) " >&6
15034else
15035 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15036 ac_cxx_werror_flag=yes
15037 ac_cv_prog_cxx_g=no
15038 CXXFLAGS="-g"
15039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15040/* end confdefs.h. */
15041
15042int
15043main ()
15044{
15045
15046 ;
15047 return 0;
15048}
15049_ACEOF
15050if ac_fn_cxx_try_compile "$LINENO"; then :
15051 ac_cv_prog_cxx_g=yes
15052else
15053 CXXFLAGS=""
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055/* end confdefs.h. */
15056
15057int
15058main ()
15059{
15060
15061 ;
15062 return 0;
15063}
15064_ACEOF
15065if ac_fn_cxx_try_compile "$LINENO"; then :
15066
15067else
15068 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15069 CXXFLAGS="-g"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071/* end confdefs.h. */
15072
15073int
15074main ()
15075{
15076
15077 ;
15078 return 0;
15079}
15080_ACEOF
15081if ac_fn_cxx_try_compile "$LINENO"; then :
15082 ac_cv_prog_cxx_g=yes
15083fi
15084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15085fi
15086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15087fi
15088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15089 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15090fi
15091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15092$as_echo "$ac_cv_prog_cxx_g" >&6; }
15093if test "$ac_test_CXXFLAGS" = set; then
15094 CXXFLAGS=$ac_save_CXXFLAGS
15095elif test $ac_cv_prog_cxx_g = yes; then
15096 if test "$GXX" = yes; then
15097 CXXFLAGS="-g -O2"
15098 else
15099 CXXFLAGS="-g"
15100 fi
15101else
15102 if test "$GXX" = yes; then
15103 CXXFLAGS="-O2"
15104 else
15105 CXXFLAGS=
15106 fi
15107fi
15108ac_ext=c
15109ac_cpp='$CPP $CPPFLAGS'
15110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15112ac_compiler_gnu=$ac_cv_c_compiler_gnu
15113
15114depcc="$CXX" am_compiler_list=
15115
15116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15117$as_echo_n "checking dependency style of $depcc... " >&6; }
15118if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15119 $as_echo_n "(cached) " >&6
15120else
15121 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15122 # We make a subdir and do the tests there. Otherwise we can end up
15123 # making bogus files that we don't know about and never remove. For
15124 # instance it was reported that on HP-UX the gcc test will end up
15125 # making a dummy file named `D' -- because `-MD' means `put the output
15126 # in D'.
15127 mkdir conftest.dir
15128 # Copy depcomp to subdir because otherwise we won't find it if we're
15129 # using a relative directory.
15130 cp "$am_depcomp" conftest.dir
15131 cd conftest.dir
15132 # We will build objects and dependencies in a subdirectory because
15133 # it helps to detect inapplicable dependency modes. For instance
15134 # both Tru64's cc and ICC support -MD to output dependencies as a
15135 # side effect of compilation, but ICC will put the dependencies in
15136 # the current directory while Tru64 will put them in the object
15137 # directory.
15138 mkdir sub
15139
15140 am_cv_CXX_dependencies_compiler_type=none
15141 if test "$am_compiler_list" = ""; then
15142 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15143 fi
15144 am__universal=false
15145 case " $depcc " in #(
15146 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15147 esac
15148
15149 for depmode in $am_compiler_list; do
15150 # Setup a source with many dependencies, because some compilers
15151 # like to wrap large dependency lists on column 80 (with \), and
15152 # we should not choose a depcomp mode which is confused by this.
15153 #
15154 # We need to recreate these files for each test, as the compiler may
15155 # overwrite some of them when testing with obscure command lines.
15156 # This happens at least with the AIX C compiler.
15157 : > sub/conftest.c
15158 for i in 1 2 3 4 5 6; do
15159 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15160 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15161 # Solaris 8's {/usr,}/bin/sh.
15162 touch sub/conftst$i.h
15163 done
15164 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15165
15166 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15167 # mode. It turns out that the SunPro C++ compiler does not properly
15168 # handle `-M -o', and we need to detect this. Also, some Intel
15169 # versions had trouble with output in subdirs
15170 am__obj=sub/conftest.${OBJEXT-o}
15171 am__minus_obj="-o $am__obj"
15172 case $depmode in
15173 gcc)
15174 # This depmode causes a compiler race in universal mode.
15175 test "$am__universal" = false || continue
15176 ;;
15177 nosideeffect)
15178 # after this tag, mechanisms are not by side-effect, so they'll
15179 # only be used when explicitly requested
15180 if test "x$enable_dependency_tracking" = xyes; then
15181 continue
15182 else
15183 break
15184 fi
15185 ;;
15186 msvisualcpp | msvcmsys)
15187 # This compiler won't grok `-c -o', but also, the minuso test has
15188 # not run yet. These depmodes are late enough in the game, and
15189 # so weak that their functioning should not be impacted.
15190 am__obj=conftest.${OBJEXT-o}
15191 am__minus_obj=
15192 ;;
15193 none) break ;;
15194 esac
15195 if depmode=$depmode \
15196 source=sub/conftest.c object=$am__obj \
15197 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15198 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15199 >/dev/null 2>conftest.err &&
15200 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15201 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15202 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15203 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15204 # icc doesn't choke on unknown options, it will just issue warnings
15205 # or remarks (even with -Werror). So we grep stderr for any message
15206 # that says an option was ignored or not supported.
15207 # When given -MP, icc 7.0 and 7.1 complain thusly:
15208 # icc: Command line warning: ignoring option '-M'; no argument required
15209 # The diagnosis changed in icc 8.0:
15210 # icc: Command line remark: option '-MP' not supported
15211 if (grep 'ignoring option' conftest.err ||
15212 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15213 am_cv_CXX_dependencies_compiler_type=$depmode
15214 break
15215 fi
15216 fi
15217 done
15218
15219 cd ..
15220 rm -rf conftest.dir
15221else
15222 am_cv_CXX_dependencies_compiler_type=none
15223fi
15224
15225fi
15226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15227$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15228CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15229
15230 if
15231 test "x$enable_dependency_tracking" != xno \
15232 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15233 am__fastdepCXX_TRUE=
15234 am__fastdepCXX_FALSE='#'
15235else
15236 am__fastdepCXX_TRUE='#'
15237 am__fastdepCXX_FALSE=
15238fi
15239
15240
15241
15242ac_ext=cpp
15243ac_cpp='$CXXCPP $CPPFLAGS'
15244ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15245ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15246ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15247if test -z "$CXX"; then
15248 if test -n "$CCC"; then
15249 CXX=$CCC
15250 else
15251 if test -n "$ac_tool_prefix"; then
15252 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15253 do
15254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15255set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15257$as_echo_n "checking for $ac_word... " >&6; }
15258if test "${ac_cv_prog_CXX+set}" = set; then :
15259 $as_echo_n "(cached) " >&6
15260else
15261 if test -n "$CXX"; then
15262 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15263else
15264as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15265for as_dir in $PATH
15266do
15267 IFS=$as_save_IFS
15268 test -z "$as_dir" && as_dir=.
15269 for ac_exec_ext in '' $ac_executable_extensions; do
15270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15271 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15273 break 2
15274 fi
15275done
15276 done
15277IFS=$as_save_IFS
15278
15279fi
15280fi
15281CXX=$ac_cv_prog_CXX
15282if test -n "$CXX"; then
15283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
15284$as_echo "$CXX" >&6; }
15285else
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15287$as_echo "no" >&6; }
15288fi
15289
15290
15291 test -n "$CXX" && break
15292 done
15293fi
15294if test -z "$CXX"; then
15295 ac_ct_CXX=$CXX
15296 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15297do
15298 # Extract the first word of "$ac_prog", so it can be a program name with args.
15299set dummy $ac_prog; ac_word=$2
15300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15301$as_echo_n "checking for $ac_word... " >&6; }
15302if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
15303 $as_echo_n "(cached) " >&6
15304else
15305 if test -n "$ac_ct_CXX"; then
15306 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15307else
15308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15309for as_dir in $PATH
15310do
15311 IFS=$as_save_IFS
15312 test -z "$as_dir" && as_dir=.
15313 for ac_exec_ext in '' $ac_executable_extensions; do
15314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15315 ac_cv_prog_ac_ct_CXX="$ac_prog"
15316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15317 break 2
15318 fi
15319done
15320 done
15321IFS=$as_save_IFS
15322
15323fi
15324fi
15325ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15326if test -n "$ac_ct_CXX"; then
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
15328$as_echo "$ac_ct_CXX" >&6; }
15329else
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15331$as_echo "no" >&6; }
15332fi
15333
15334
15335 test -n "$ac_ct_CXX" && break
15336done
15337
15338 if test "x$ac_ct_CXX" = x; then
15339 CXX="g++"
15340 else
15341 case $cross_compiling:$ac_tool_warned in
15342yes:)
15343{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15344$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15345ac_tool_warned=yes ;;
15346esac
15347 CXX=$ac_ct_CXX
15348 fi
15349fi
15350
15351 fi
15352fi
15353# Provide some information about the compiler.
15354$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
15355set X $ac_compile
15356ac_compiler=$2
15357for ac_option in --version -v -V -qversion; do
15358 { { ac_try="$ac_compiler $ac_option >&5"
15359case "(($ac_try" in
15360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15361 *) ac_try_echo=$ac_try;;
15362esac
15363eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15364$as_echo "$ac_try_echo"; } >&5
15365 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
15366 ac_status=$?
15367 if test -s conftest.err; then
15368 sed '10a\
15369... rest of stderr output deleted ...
15370 10q' conftest.err >conftest.er1
15371 cat conftest.er1 >&5
15372 fi
15373 rm -f conftest.er1 conftest.err
15374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15375 test $ac_status = 0; }
15376done
15377
15378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
15379$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
15380if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
15381 $as_echo_n "(cached) " >&6
15382else
15383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15384/* end confdefs.h. */
15385
15386int
15387main ()
15388{
15389#ifndef __GNUC__
15390 choke me
15391#endif
15392
15393 ;
15394 return 0;
15395}
15396_ACEOF
15397if ac_fn_cxx_try_compile "$LINENO"; then :
15398 ac_compiler_gnu=yes
15399else
15400 ac_compiler_gnu=no
15401fi
15402rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15403ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15404
15405fi
15406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
15407$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
15408if test $ac_compiler_gnu = yes; then
15409 GXX=yes
15410else
15411 GXX=
15412fi
15413ac_test_CXXFLAGS=${CXXFLAGS+set}
15414ac_save_CXXFLAGS=$CXXFLAGS
15415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
15416$as_echo_n "checking whether $CXX accepts -g... " >&6; }
15417if test "${ac_cv_prog_cxx_g+set}" = set; then :
15418 $as_echo_n "(cached) " >&6
15419else
15420 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15421 ac_cxx_werror_flag=yes
15422 ac_cv_prog_cxx_g=no
15423 CXXFLAGS="-g"
15424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15425/* end confdefs.h. */
15426
15427int
15428main ()
15429{
15430
15431 ;
15432 return 0;
15433}
15434_ACEOF
15435if ac_fn_cxx_try_compile "$LINENO"; then :
15436 ac_cv_prog_cxx_g=yes
15437else
15438 CXXFLAGS=""
15439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15440/* end confdefs.h. */
15441
15442int
15443main ()
15444{
15445
15446 ;
15447 return 0;
15448}
15449_ACEOF
15450if ac_fn_cxx_try_compile "$LINENO"; then :
15451
15452else
15453 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15454 CXXFLAGS="-g"
15455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15456/* end confdefs.h. */
15457
15458int
15459main ()
15460{
15461
15462 ;
15463 return 0;
15464}
15465_ACEOF
15466if ac_fn_cxx_try_compile "$LINENO"; then :
15467 ac_cv_prog_cxx_g=yes
15468fi
15469rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15470fi
15471rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15472fi
15473rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15474 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15475fi
15476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
15477$as_echo "$ac_cv_prog_cxx_g" >&6; }
15478if test "$ac_test_CXXFLAGS" = set; then
15479 CXXFLAGS=$ac_save_CXXFLAGS
15480elif test $ac_cv_prog_cxx_g = yes; then
15481 if test "$GXX" = yes; then
15482 CXXFLAGS="-g -O2"
15483 else
15484 CXXFLAGS="-g"
15485 fi
15486else
15487 if test "$GXX" = yes; then
15488 CXXFLAGS="-O2"
15489 else
15490 CXXFLAGS=
15491 fi
15492fi
15493ac_ext=c
15494ac_cpp='$CPP $CPPFLAGS'
15495ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15496ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15497ac_compiler_gnu=$ac_cv_c_compiler_gnu
15498
15499depcc="$CXX" am_compiler_list=
15500
15501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15502$as_echo_n "checking dependency style of $depcc... " >&6; }
15503if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
15504 $as_echo_n "(cached) " >&6
15505else
15506 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15507 # We make a subdir and do the tests there. Otherwise we can end up
15508 # making bogus files that we don't know about and never remove. For
15509 # instance it was reported that on HP-UX the gcc test will end up
15510 # making a dummy file named `D' -- because `-MD' means `put the output
15511 # in D'.
15512 mkdir conftest.dir
15513 # Copy depcomp to subdir because otherwise we won't find it if we're
15514 # using a relative directory.
15515 cp "$am_depcomp" conftest.dir
15516 cd conftest.dir
15517 # We will build objects and dependencies in a subdirectory because
15518 # it helps to detect inapplicable dependency modes. For instance
15519 # both Tru64's cc and ICC support -MD to output dependencies as a
15520 # side effect of compilation, but ICC will put the dependencies in
15521 # the current directory while Tru64 will put them in the object
15522 # directory.
15523 mkdir sub
15524
15525 am_cv_CXX_dependencies_compiler_type=none
15526 if test "$am_compiler_list" = ""; then
15527 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15528 fi
15529 am__universal=false
15530 case " $depcc " in #(
15531 *\ -arch\ *\ -arch\ *) am__universal=true ;;
15532 esac
15533
15534 for depmode in $am_compiler_list; do
15535 # Setup a source with many dependencies, because some compilers
15536 # like to wrap large dependency lists on column 80 (with \), and
15537 # we should not choose a depcomp mode which is confused by this.
15538 #
15539 # We need to recreate these files for each test, as the compiler may
15540 # overwrite some of them when testing with obscure command lines.
15541 # This happens at least with the AIX C compiler.
15542 : > sub/conftest.c
15543 for i in 1 2 3 4 5 6; do
15544 echo '#include "conftst'$i'.h"' >> sub/conftest.c
15545 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15546 # Solaris 8's {/usr,}/bin/sh.
15547 touch sub/conftst$i.h
15548 done
15549 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15550
15551 # We check with `-c' and `-o' for the sake of the "dashmstdout"
15552 # mode. It turns out that the SunPro C++ compiler does not properly
15553 # handle `-M -o', and we need to detect this. Also, some Intel
15554 # versions had trouble with output in subdirs
15555 am__obj=sub/conftest.${OBJEXT-o}
15556 am__minus_obj="-o $am__obj"
15557 case $depmode in
15558 gcc)
15559 # This depmode causes a compiler race in universal mode.
15560 test "$am__universal" = false || continue
15561 ;;
15562 nosideeffect)
15563 # after this tag, mechanisms are not by side-effect, so they'll
15564 # only be used when explicitly requested
15565 if test "x$enable_dependency_tracking" = xyes; then
15566 continue
15567 else
15568 break
15569 fi
15570 ;;
15571 msvisualcpp | msvcmsys)
15572 # This compiler won't grok `-c -o', but also, the minuso test has
15573 # not run yet. These depmodes are late enough in the game, and
15574 # so weak that their functioning should not be impacted.
15575 am__obj=conftest.${OBJEXT-o}
15576 am__minus_obj=
15577 ;;
15578 none) break ;;
15579 esac
15580 if depmode=$depmode \
15581 source=sub/conftest.c object=$am__obj \
15582 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15583 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15584 >/dev/null 2>conftest.err &&
15585 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15586 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15587 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15588 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15589 # icc doesn't choke on unknown options, it will just issue warnings
15590 # or remarks (even with -Werror). So we grep stderr for any message
15591 # that says an option was ignored or not supported.
15592 # When given -MP, icc 7.0 and 7.1 complain thusly:
15593 # icc: Command line warning: ignoring option '-M'; no argument required
15594 # The diagnosis changed in icc 8.0:
15595 # icc: Command line remark: option '-MP' not supported
15596 if (grep 'ignoring option' conftest.err ||
15597 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15598 am_cv_CXX_dependencies_compiler_type=$depmode
15599 break
15600 fi
15601 fi
15602 done
15603
15604 cd ..
15605 rm -rf conftest.dir
15606else
15607 am_cv_CXX_dependencies_compiler_type=none
15608fi
15609
15610fi
15611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
15612$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
15613CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
15614
15615 if
15616 test "x$enable_dependency_tracking" != xno \
15617 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
15618 am__fastdepCXX_TRUE=
15619 am__fastdepCXX_FALSE='#'
15620else
15621 am__fastdepCXX_TRUE='#'
15622 am__fastdepCXX_FALSE=
15623fi
15624
15625
15626if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
15627 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
15628 (test "X$CXX" != "Xg++"))) ; then
15629 ac_ext=cpp
15630ac_cpp='$CXXCPP $CPPFLAGS'
15631ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15632ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15633ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15635$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15636if test -z "$CXXCPP"; then
15637 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
15638 $as_echo_n "(cached) " >&6
15639else
15640 # Double quotes because CXXCPP needs to be expanded
15641 for CXXCPP in "$CXX -E" "/lib/cpp"
15642 do
15643 ac_preproc_ok=false
15644for ac_cxx_preproc_warn_flag in '' yes
15645do
15646 # Use a header file that comes with gcc, so configuring glibc
15647 # with a fresh cross-compiler works.
15648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15649 # <limits.h> exists even on freestanding compilers.
15650 # On the NeXT, cc -E runs the code through the compiler's parser,
15651 # not just through cpp. "Syntax error" is here to catch this case.
15652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15653/* end confdefs.h. */
15654#ifdef __STDC__
15655# include <limits.h>
15656#else
15657# include <assert.h>
15658#endif
15659 Syntax error
15660_ACEOF
15661if ac_fn_cxx_try_cpp "$LINENO"; then :
15662
15663else
15664 # Broken: fails on valid input.
15665continue
15666fi
15667rm -f conftest.err conftest.i conftest.$ac_ext
15668
15669 # OK, works on sane cases. Now check whether nonexistent headers
15670 # can be detected and how.
15671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15672/* end confdefs.h. */
15673#include <ac_nonexistent.h>
15674_ACEOF
15675if ac_fn_cxx_try_cpp "$LINENO"; then :
15676 # Broken: success on invalid input.
15677continue
15678else
15679 # Passes both tests.
15680ac_preproc_ok=:
15681break
15682fi
15683rm -f conftest.err conftest.i conftest.$ac_ext
15684
15685done
15686# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15687rm -f conftest.i conftest.err conftest.$ac_ext
15688if $ac_preproc_ok; then :
15689 break
15690fi
15691
15692 done
15693 ac_cv_prog_CXXCPP=$CXXCPP
15694
15695fi
15696 CXXCPP=$ac_cv_prog_CXXCPP
15697else
15698 ac_cv_prog_CXXCPP=$CXXCPP
15699fi
15700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15701$as_echo "$CXXCPP" >&6; }
15702ac_preproc_ok=false
15703for ac_cxx_preproc_warn_flag in '' yes
15704do
15705 # Use a header file that comes with gcc, so configuring glibc
15706 # with a fresh cross-compiler works.
15707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15708 # <limits.h> exists even on freestanding compilers.
15709 # On the NeXT, cc -E runs the code through the compiler's parser,
15710 # not just through cpp. "Syntax error" is here to catch this case.
15711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15712/* end confdefs.h. */
15713#ifdef __STDC__
15714# include <limits.h>
15715#else
15716# include <assert.h>
15717#endif
15718 Syntax error
15719_ACEOF
15720if ac_fn_cxx_try_cpp "$LINENO"; then :
15721
15722else
15723 # Broken: fails on valid input.
15724continue
15725fi
15726rm -f conftest.err conftest.i conftest.$ac_ext
15727
15728 # OK, works on sane cases. Now check whether nonexistent headers
15729 # can be detected and how.
15730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15731/* end confdefs.h. */
15732#include <ac_nonexistent.h>
15733_ACEOF
15734if ac_fn_cxx_try_cpp "$LINENO"; then :
15735 # Broken: success on invalid input.
15736continue
15737else
15738 # Passes both tests.
15739ac_preproc_ok=:
15740break
15741fi
15742rm -f conftest.err conftest.i conftest.$ac_ext
15743
15744done
15745# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15746rm -f conftest.i conftest.err conftest.$ac_ext
15747if $ac_preproc_ok; then :
15748
15749else
15750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15752_lt_caught_CXX_error=yes; }
15753fi
15754
15755ac_ext=c
15756ac_cpp='$CPP $CPPFLAGS'
15757ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15758ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15759ac_compiler_gnu=$ac_cv_c_compiler_gnu
15760
15761else
15762 _lt_caught_CXX_error=yes
15763fi
15764
15765
15766
15767
15768ac_ext=cpp
15769ac_cpp='$CXXCPP $CPPFLAGS'
15770ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15771ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15772ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15773
15774archive_cmds_need_lc_CXX=no
15775allow_undefined_flag_CXX=
15776always_export_symbols_CXX=no
15777archive_expsym_cmds_CXX=
15778compiler_needs_object_CXX=no
15779export_dynamic_flag_spec_CXX=
15780hardcode_direct_CXX=no
15781hardcode_direct_absolute_CXX=no
15782hardcode_libdir_flag_spec_CXX=
15783hardcode_libdir_flag_spec_ld_CXX=
15784hardcode_libdir_separator_CXX=
15785hardcode_minus_L_CXX=no
15786hardcode_shlibpath_var_CXX=unsupported
15787hardcode_automatic_CXX=no
15788inherit_rpath_CXX=no
15789module_cmds_CXX=
15790module_expsym_cmds_CXX=
15791link_all_deplibs_CXX=unknown
15792old_archive_cmds_CXX=$old_archive_cmds
15793no_undefined_flag_CXX=
15794whole_archive_flag_spec_CXX=
15795enable_shared_with_static_runtimes_CXX=no
15796
15797# Source file extension for C++ test sources.
15798ac_ext=cpp
15799
15800# Object file extension for compiled C++ test sources.
15801objext=o
15802objext_CXX=$objext
15803
15804# No sense in running all these tests if we already determined that
15805# the CXX compiler isn't working. Some variables (like enable_shared)
15806# are currently assumed to apply to all compilers on this platform,
15807# and will be corrupted by setting them based on a non-working compiler.
15808if test "$_lt_caught_CXX_error" != yes; then
15809 # Code to be used in simple compile tests
15810 lt_simple_compile_test_code="int some_variable = 0;"
15811
15812 # Code to be used in simple link tests
15813 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15814
15815 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15816
15817
15818
15819
15820
15821
15822# If no C compiler was specified, use CC.
15823LTCC=${LTCC-"$CC"}
15824
15825# If no C compiler flags were specified, use CFLAGS.
15826LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15827
15828# Allow CC to be a program name with arguments.
15829compiler=$CC
15830
15831
15832 # save warnings/boilerplate of simple test code
15833 ac_outfile=conftest.$ac_objext
15834echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15835eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15836_lt_compiler_boilerplate=`cat conftest.err`
15837$RM conftest*
15838
15839 ac_outfile=conftest.$ac_objext
15840echo "$lt_simple_link_test_code" >conftest.$ac_ext
15841eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15842_lt_linker_boilerplate=`cat conftest.err`
15843$RM -r conftest*
15844
15845
15846 # Allow CC to be a program name with arguments.
15847 lt_save_CC=$CC
15848 lt_save_LD=$LD
15849 lt_save_GCC=$GCC
15850 GCC=$GXX
15851 lt_save_with_gnu_ld=$with_gnu_ld
15852 lt_save_path_LD=$lt_cv_path_LD
15853 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15854 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15855 else
15856 $as_unset lt_cv_prog_gnu_ld
15857 fi
15858 if test -n "${lt_cv_path_LDCXX+set}"; then
15859 lt_cv_path_LD=$lt_cv_path_LDCXX
15860 else
15861 $as_unset lt_cv_path_LD
15862 fi
15863 test -z "${LDCXX+set}" || LD=$LDCXX
15864 CC=${CXX-"c++"}
15865 compiler=$CC
15866 compiler_CXX=$CC
15867 for cc_temp in $compiler""; do
15868 case $cc_temp in
15869 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15870 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15871 \-*) ;;
15872 *) break;;
15873 esac
15874done
15875cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15876
15877
15878 if test -n "$compiler"; then
15879 # We don't want -fno-exception when compiling C++ code, so set the
15880 # no_builtin_flag separately
15881 if test "$GXX" = yes; then
15882 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15883 else
15884 lt_prog_compiler_no_builtin_flag_CXX=
15885 fi
15886
15887 if test "$GXX" = yes; then
15888 # Set up default GNU C++ configuration
15889
15890
15891
15892# Check whether --with-gnu-ld was given.
15893if test "${with_gnu_ld+set}" = set; then :
15894 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
15895else
15896 with_gnu_ld=no
15897fi
15898
15899ac_prog=ld
15900if test "$GCC" = yes; then
15901 # Check if gcc -print-prog-name=ld gives a path.
15902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15903$as_echo_n "checking for ld used by $CC... " >&6; }
15904 case $host in
15905 *-*-mingw*)
15906 # gcc leaves a trailing carriage return which upsets mingw
15907 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15908 *)
15909 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15910 esac
15911 case $ac_prog in
15912 # Accept absolute paths.
15913 [\\/]* | ?:[\\/]*)
15914 re_direlt='/[^/][^/]*/\.\./'
15915 # Canonicalize the pathname of ld
15916 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15917 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15918 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15919 done
15920 test -z "$LD" && LD="$ac_prog"
15921 ;;
15922 "")
15923 # If it fails, then pretend we aren't using GCC.
15924 ac_prog=ld
15925 ;;
15926 *)
15927 # If it is relative, then search for the first ld in PATH.
15928 with_gnu_ld=unknown
15929 ;;
15930 esac
15931elif test "$with_gnu_ld" = yes; then
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15933$as_echo_n "checking for GNU ld... " >&6; }
15934else
15935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15936$as_echo_n "checking for non-GNU ld... " >&6; }
15937fi
15938if test "${lt_cv_path_LD+set}" = set; then :
15939 $as_echo_n "(cached) " >&6
15940else
15941 if test -z "$LD"; then
15942 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
15943 for ac_dir in $PATH; do
15944 IFS="$lt_save_ifs"
15945 test -z "$ac_dir" && ac_dir=.
15946 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15947 lt_cv_path_LD="$ac_dir/$ac_prog"
15948 # Check to see if the program is GNU ld. I'd rather use --version,
15949 # but apparently some variants of GNU ld only accept -v.
15950 # Break only if it was the GNU/non-GNU ld that we prefer.
15951 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15952 *GNU* | *'with BFD'*)
15953 test "$with_gnu_ld" != no && break
15954 ;;
15955 *)
15956 test "$with_gnu_ld" != yes && break
15957 ;;
15958 esac
15959 fi
15960 done
15961 IFS="$lt_save_ifs"
15962else
15963 lt_cv_path_LD="$LD" # Let the user override the test with a path.
15964fi
15965fi
15966
15967LD="$lt_cv_path_LD"
15968if test -n "$LD"; then
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15970$as_echo "$LD" >&6; }
15971else
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15973$as_echo "no" >&6; }
15974fi
15975test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15977$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15978if test "${lt_cv_prog_gnu_ld+set}" = set; then :
15979 $as_echo_n "(cached) " >&6
15980else
15981 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15982case `$LD -v 2>&1 </dev/null` in
15983*GNU* | *'with BFD'*)
15984 lt_cv_prog_gnu_ld=yes
15985 ;;
15986*)
15987 lt_cv_prog_gnu_ld=no
15988 ;;
15989esac
15990fi
15991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15992$as_echo "$lt_cv_prog_gnu_ld" >&6; }
15993with_gnu_ld=$lt_cv_prog_gnu_ld
15994
15995
15996
15997
15998
15999
16000
16001 # Check if GNU C++ uses GNU ld as the underlying linker, since the
16002 # archiving commands below assume that GNU ld is being used.
16003 if test "$with_gnu_ld" = yes; then
16004 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16005 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16006
16007 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16008 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16009
16010 # If archive_cmds runs LD, not CC, wlarc should be empty
16011 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
16012 # investigate it a little bit more. (MM)
16013 wlarc='${wl}'
16014
16015 # ancient GNU ld didn't support --whole-archive et. al.
16016 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
16017 $GREP 'no-whole-archive' > /dev/null; then
16018 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16019 else
16020 whole_archive_flag_spec_CXX=
16021 fi
16022 else
16023 with_gnu_ld=no
16024 wlarc=
16025
16026 # A generic and very simple default shared library creation
16027 # command for GNU C++ for the case where it uses the native
16028 # linker, instead of GNU ld. If possible, this setting should
16029 # overridden to take advantage of the native linker features on
16030 # the platform it is being used on.
16031 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16032 fi
16033
16034 # Commands to make compiler produce verbose output that lists
16035 # what "hidden" libraries, object files and flags are used when
16036 # linking a shared library.
16037 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16038
16039 else
16040 GXX=no
16041 with_gnu_ld=no
16042 wlarc=
16043 fi
16044
16045 # PORTME: fill in a description of your system's C++ link characteristics
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16047$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16048 ld_shlibs_CXX=yes
16049 case $host_os in
16050 aix3*)
16051 # FIXME: insert proper C++ library support
16052 ld_shlibs_CXX=no
16053 ;;
16054 aix[4-9]*)
16055 if test "$host_cpu" = ia64; then
16056 # On IA64, the linker does run time linking by default, so we don't
16057 # have to do anything special.
16058 aix_use_runtimelinking=no
16059 exp_sym_flag='-Bexport'
16060 no_entry_flag=""
16061 else
16062 aix_use_runtimelinking=no
16063
16064 # Test if we are trying to use run time linking or normal
16065 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
16066 # need to do runtime linking.
16067 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
16068 for ld_flag in $LDFLAGS; do
16069 case $ld_flag in
16070 *-brtl*)
16071 aix_use_runtimelinking=yes
16072 break
16073 ;;
16074 esac
16075 done
16076 ;;
16077 esac
16078
16079 exp_sym_flag='-bexport'
16080 no_entry_flag='-bnoentry'
16081 fi
16082
16083 # When large executables or shared objects are built, AIX ld can
16084 # have problems creating the table of contents. If linking a library
16085 # or program results in "error TOC overflow" add -mminimal-toc to
16086 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
16087 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
16088
16089 archive_cmds_CXX=''
16090 hardcode_direct_CXX=yes
16091 hardcode_direct_absolute_CXX=yes
16092 hardcode_libdir_separator_CXX=':'
16093 link_all_deplibs_CXX=yes
16094 file_list_spec_CXX='${wl}-f,'
16095
16096 if test "$GXX" = yes; then
16097 case $host_os in aix4.[012]|aix4.[012].*)
16098 # We only want to do this on AIX 4.2 and lower, the check
16099 # below for broken collect2 doesn't work under 4.3+
16100 collect2name=`${CC} -print-prog-name=collect2`
16101 if test -f "$collect2name" &&
16102 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
16103 then
16104 # We have reworked collect2
16105 :
16106 else
16107 # We have old collect2
16108 hardcode_direct_CXX=unsupported
16109 # It fails to find uninstalled libraries when the uninstalled
16110 # path is not listed in the libpath. Setting hardcode_minus_L
16111 # to unsupported forces relinking
16112 hardcode_minus_L_CXX=yes
16113 hardcode_libdir_flag_spec_CXX='-L$libdir'
16114 hardcode_libdir_separator_CXX=
16115 fi
16116 esac
16117 shared_flag='-shared'
16118 if test "$aix_use_runtimelinking" = yes; then
16119 shared_flag="$shared_flag "'${wl}-G'
16120 fi
16121 else
16122 # not using gcc
16123 if test "$host_cpu" = ia64; then
16124 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
16125 # chokes on -Wl,-G. The following line is correct:
16126 shared_flag='-G'
16127 else
16128 if test "$aix_use_runtimelinking" = yes; then
16129 shared_flag='${wl}-G'
16130 else
16131 shared_flag='${wl}-bM:SRE'
16132 fi
16133 fi
16134 fi
16135
16136 export_dynamic_flag_spec_CXX='${wl}-bexpall'
16137 # It seems that -bexpall does not export symbols beginning with
16138 # underscore (_), so it is better to generate a list of symbols to
16139 # export.
16140 always_export_symbols_CXX=yes
16141 if test "$aix_use_runtimelinking" = yes; then
16142 # Warning - without using the other runtime loading flags (-brtl),
16143 # -berok will link without error, but may produce a broken library.
16144 allow_undefined_flag_CXX='-berok'
16145 # Determine the default libpath from the value encoded in an empty
16146 # executable.
16147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16148/* end confdefs.h. */
16149
16150int
16151main ()
16152{
16153
16154 ;
16155 return 0;
16156}
16157_ACEOF
16158if ac_fn_cxx_try_link "$LINENO"; then :
16159
16160lt_aix_libpath_sed='
16161 /Import File Strings/,/^$/ {
16162 /^0/ {
16163 s/^0 *\(.*\)$/\1/
16164 p
16165 }
16166 }'
16167aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16168# Check for a 64-bit object if we didn't find anything.
16169if test -z "$aix_libpath"; then
16170 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16171fi
16172fi
16173rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext conftest.$ac_ext
16175if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16176
16177 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16178
16179 archive_expsym_cmds_CXX='$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"
16180 else
16181 if test "$host_cpu" = ia64; then
16182 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
16183 allow_undefined_flag_CXX="-z nodefs"
16184 archive_expsym_cmds_CXX="\$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"
16185 else
16186 # Determine the default libpath from the value encoded in an
16187 # empty executable.
16188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16189/* end confdefs.h. */
16190
16191int
16192main ()
16193{
16194
16195 ;
16196 return 0;
16197}
16198_ACEOF
16199if ac_fn_cxx_try_link "$LINENO"; then :
16200
16201lt_aix_libpath_sed='
16202 /Import File Strings/,/^$/ {
16203 /^0/ {
16204 s/^0 *\(.*\)$/\1/
16205 p
16206 }
16207 }'
16208aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16209# Check for a 64-bit object if we didn't find anything.
16210if test -z "$aix_libpath"; then
16211 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
16212fi
16213fi
16214rm -f core conftest.err conftest.$ac_objext \
16215 conftest$ac_exeext conftest.$ac_ext
16216if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
16217
16218 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
16219 # Warning - without using the other run time loading flags,
16220 # -berok will link without error, but may produce a broken library.
16221 no_undefined_flag_CXX=' ${wl}-bernotok'
16222 allow_undefined_flag_CXX=' ${wl}-berok'
16223 # Exported symbols can be pulled into shared objects from archives
16224 whole_archive_flag_spec_CXX='$convenience'
16225 archive_cmds_need_lc_CXX=yes
16226 # This is similar to how AIX traditionally builds its shared
16227 # libraries.
16228 archive_expsym_cmds_CXX="\$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'
16229 fi
16230 fi
16231 ;;
16232
16233 beos*)
16234 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16235 allow_undefined_flag_CXX=unsupported
16236 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16237 # support --undefined. This deserves some investigation. FIXME
16238 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16239 else
16240 ld_shlibs_CXX=no
16241 fi
16242 ;;
16243
16244 chorus*)
16245 case $cc_basename in
16246 *)
16247 # FIXME: insert proper C++ library support
16248 ld_shlibs_CXX=no
16249 ;;
16250 esac
16251 ;;
16252
16253 cygwin* | mingw* | pw32* | cegcc*)
16254 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
16255 # as there is no search path for DLLs.
16256 hardcode_libdir_flag_spec_CXX='-L$libdir'
16257 allow_undefined_flag_CXX=unsupported
16258 always_export_symbols_CXX=no
16259 enable_shared_with_static_runtimes_CXX=yes
16260
16261 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16262 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16263 # If the export-symbols file already is a .def file (1st line
16264 # is EXPORTS), use it as is; otherwise, prepend...
16265 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16266 cp $export_symbols $output_objdir/$soname.def;
16267 else
16268 echo EXPORTS > $output_objdir/$soname.def;
16269 cat $export_symbols >> $output_objdir/$soname.def;
16270 fi~
16271 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16272 else
16273 ld_shlibs_CXX=no
16274 fi
16275 ;;
16276 darwin* | rhapsody*)
16277
16278
16279 archive_cmds_need_lc_CXX=no
16280 hardcode_direct_CXX=no
16281 hardcode_automatic_CXX=yes
16282 hardcode_shlibpath_var_CXX=unsupported
16283 whole_archive_flag_spec_CXX=''
16284 link_all_deplibs_CXX=yes
16285 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
16286 case $cc_basename in
16287 ifort*) _lt_dar_can_shared=yes ;;
16288 *) _lt_dar_can_shared=$GCC ;;
16289 esac
16290 if test "$_lt_dar_can_shared" = "yes"; then
16291 output_verbose_link_cmd=echo
16292 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
16293 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
16294 archive_expsym_cmds_CXX="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}"
16295 module_expsym_cmds_CXX="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}"
16296 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
16297 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
16298 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
16299 fi
16300
16301 else
16302 ld_shlibs_CXX=no
16303 fi
16304
16305 ;;
16306
16307 dgux*)
16308 case $cc_basename in
16309 ec++*)
16310 # FIXME: insert proper C++ library support
16311 ld_shlibs_CXX=no
16312 ;;
16313 ghcx*)
16314 # Green Hills C++ Compiler
16315 # FIXME: insert proper C++ library support
16316 ld_shlibs_CXX=no
16317 ;;
16318 *)
16319 # FIXME: insert proper C++ library support
16320 ld_shlibs_CXX=no
16321 ;;
16322 esac
16323 ;;
16324
16325 freebsd[12]*)
16326 # C++ shared libraries reported to be fairly broken before
16327 # switch to ELF
16328 ld_shlibs_CXX=no
16329 ;;
16330
16331 freebsd-elf*)
16332 archive_cmds_need_lc_CXX=no
16333 ;;
16334
16335 freebsd* | dragonfly*)
16336 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
16337 # conventions
16338 ld_shlibs_CXX=yes
16339 ;;
16340
16341 gnu*)
16342 ;;
16343
16344 hpux9*)
16345 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16346 hardcode_libdir_separator_CXX=:
16347 export_dynamic_flag_spec_CXX='${wl}-E'
16348 hardcode_direct_CXX=yes
16349 hardcode_minus_L_CXX=yes # Not in the search PATH,
16350 # but as the default
16351 # location of the library.
16352
16353 case $cc_basename in
16354 CC*)
16355 # FIXME: insert proper C++ library support
16356 ld_shlibs_CXX=no
16357 ;;
16358 aCC*)
16359 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16360 # Commands to make compiler produce verbose output that lists
16361 # what "hidden" libraries, object files and flags are used when
16362 # linking a shared library.
16363 #
16364 # There doesn't appear to be a way to prevent this compiler from
16365 # explicitly linking system object files so we need to strip them
16366 # from the output so that they don't get included in the library
16367 # dependencies.
16368 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16369 ;;
16370 *)
16371 if test "$GXX" = yes; then
16372 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
16373 else
16374 # FIXME: insert proper C++ library support
16375 ld_shlibs_CXX=no
16376 fi
16377 ;;
16378 esac
16379 ;;
16380
16381 hpux10*|hpux11*)
16382 if test $with_gnu_ld = no; then
16383 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
16384 hardcode_libdir_separator_CXX=:
16385
16386 case $host_cpu in
16387 hppa*64*|ia64*)
16388 ;;
16389 *)
16390 export_dynamic_flag_spec_CXX='${wl}-E'
16391 ;;
16392 esac
16393 fi
16394 case $host_cpu in
16395 hppa*64*|ia64*)
16396 hardcode_direct_CXX=no
16397 hardcode_shlibpath_var_CXX=no
16398 ;;
16399 *)
16400 hardcode_direct_CXX=yes
16401 hardcode_direct_absolute_CXX=yes
16402 hardcode_minus_L_CXX=yes # Not in the search PATH,
16403 # but as the default
16404 # location of the library.
16405 ;;
16406 esac
16407
16408 case $cc_basename in
16409 CC*)
16410 # FIXME: insert proper C++ library support
16411 ld_shlibs_CXX=no
16412 ;;
16413 aCC*)
16414 case $host_cpu in
16415 hppa*64*)
16416 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16417 ;;
16418 ia64*)
16419 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16420 ;;
16421 *)
16422 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16423 ;;
16424 esac
16425 # Commands to make compiler produce verbose output that lists
16426 # what "hidden" libraries, object files and flags are used when
16427 # linking a shared library.
16428 #
16429 # There doesn't appear to be a way to prevent this compiler from
16430 # explicitly linking system object files so we need to strip them
16431 # from the output so that they don't get included in the library
16432 # dependencies.
16433 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16434 ;;
16435 *)
16436 if test "$GXX" = yes; then
16437 if test $with_gnu_ld = no; then
16438 case $host_cpu in
16439 hppa*64*)
16440 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16441 ;;
16442 ia64*)
16443 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16444 ;;
16445 *)
16446 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16447 ;;
16448 esac
16449 fi
16450 else
16451 # FIXME: insert proper C++ library support
16452 ld_shlibs_CXX=no
16453 fi
16454 ;;
16455 esac
16456 ;;
16457
16458 interix[3-9]*)
16459 hardcode_direct_CXX=no
16460 hardcode_shlibpath_var_CXX=no
16461 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16462 export_dynamic_flag_spec_CXX='${wl}-E'
16463 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16464 # Instead, shared libraries are loaded at an image base (0x10000000 by
16465 # default) and relocated if they conflict, which is a slow very memory
16466 # consuming and fragmenting process. To avoid this, we pick a random,
16467 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16468 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16469 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16470 archive_expsym_cmds_CXX='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'
16471 ;;
16472 irix5* | irix6*)
16473 case $cc_basename in
16474 CC*)
16475 # SGI C++
16476 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16477
16478 # Archives containing C++ object files must be created using
16479 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16480 # necessary to make sure instantiated templates are included
16481 # in the archive.
16482 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16483 ;;
16484 *)
16485 if test "$GXX" = yes; then
16486 if test "$with_gnu_ld" = no; then
16487 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
16488 else
16489 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
16490 fi
16491 fi
16492 link_all_deplibs_CXX=yes
16493 ;;
16494 esac
16495 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16496 hardcode_libdir_separator_CXX=:
16497 inherit_rpath_CXX=yes
16498 ;;
16499
16500 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16501 case $cc_basename in
16502 KCC*)
16503 # Kuck and Associates, Inc. (KAI) C++ Compiler
16504
16505 # KCC will only create a shared library if the output file
16506 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16507 # to its proper name (with version) after linking.
16508 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16509 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
16510 # Commands to make compiler produce verbose output that lists
16511 # what "hidden" libraries, object files and flags are used when
16512 # linking a shared library.
16513 #
16514 # There doesn't appear to be a way to prevent this compiler from
16515 # explicitly linking system object files so we need to strip them
16516 # from the output so that they don't get included in the library
16517 # dependencies.
16518 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16519
16520 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16521 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16522
16523 # Archives containing C++ object files must be created using
16524 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16525 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16526 ;;
16527 icpc* | ecpc* )
16528 # Intel C++
16529 with_gnu_ld=yes
16530 # version 8.0 and above of icpc choke on multiply defined symbols
16531 # if we add $predep_objects and $postdep_objects, however 7.1 and
16532 # earlier do not add the objects themselves.
16533 case `$CC -V 2>&1` in
16534 *"Version 7."*)
16535 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16536 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16537 ;;
16538 *) # Version 8.0 or newer
16539 tmp_idyn=
16540 case $host_cpu in
16541 ia64*) tmp_idyn=' -i_dynamic';;
16542 esac
16543 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16544 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16545 ;;
16546 esac
16547 archive_cmds_need_lc_CXX=no
16548 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16549 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16550 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
16551 ;;
16552 pgCC* | pgcpp*)
16553 # Portland Group C++ compiler
16554 case `$CC -V` in
16555 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
16556 prelink_cmds_CXX='tpldir=Template.dir~
16557 rm -rf $tpldir~
16558 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16559 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
16560 old_archive_cmds_CXX='tpldir=Template.dir~
16561 rm -rf $tpldir~
16562 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16563 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
16564 $RANLIB $oldlib'
16565 archive_cmds_CXX='tpldir=Template.dir~
16566 rm -rf $tpldir~
16567 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16568 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16569 archive_expsym_cmds_CXX='tpldir=Template.dir~
16570 rm -rf $tpldir~
16571 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16572 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
16573 ;;
16574 *) # Version 6 will use weak symbols
16575 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
16576 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
16577 ;;
16578 esac
16579
16580 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
16581 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16582 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
16583 ;;
16584 cxx*)
16585 # Compaq C++
16586 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16587 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
16588
16589 runpath_var=LD_RUN_PATH
16590 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16591 hardcode_libdir_separator_CXX=:
16592
16593 # Commands to make compiler produce verbose output that lists
16594 # what "hidden" libraries, object files and flags are used when
16595 # linking a shared library.
16596 #
16597 # There doesn't appear to be a way to prevent this compiler from
16598 # explicitly linking system object files so we need to strip them
16599 # from the output so that they don't get included in the library
16600 # dependencies.
16601 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16602 ;;
16603 xl*)
16604 # IBM XL 8.0 on PPC, with GNU ld
16605 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16606 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16607 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16608 if test "x$supports_anon_versioning" = xyes; then
16609 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16610 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16611 echo "local: *; };" >> $output_objdir/$libname.ver~
16612 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16613 fi
16614 ;;
16615 *)
16616 case `$CC -V 2>&1 | sed 5q` in
16617 *Sun\ C*)
16618 # Sun C++ 5.9
16619 no_undefined_flag_CXX=' -zdefs'
16620 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16621 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
16622 hardcode_libdir_flag_spec_CXX='-R$libdir'
16623 whole_archive_flag_spec_CXX='${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'
16624 compiler_needs_object_CXX=yes
16625
16626 # Not sure whether something based on
16627 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16628 # would be better.
16629 output_verbose_link_cmd='echo'
16630
16631 # Archives containing C++ object files must be created using
16632 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16633 # necessary to make sure instantiated templates are included
16634 # in the archive.
16635 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16636 ;;
16637 esac
16638 ;;
16639 esac
16640 ;;
16641
16642 lynxos*)
16643 # FIXME: insert proper C++ library support
16644 ld_shlibs_CXX=no
16645 ;;
16646
16647 m88k*)
16648 # FIXME: insert proper C++ library support
16649 ld_shlibs_CXX=no
16650 ;;
16651
16652 mvs*)
16653 case $cc_basename in
16654 cxx*)
16655 # FIXME: insert proper C++ library support
16656 ld_shlibs_CXX=no
16657 ;;
16658 *)
16659 # FIXME: insert proper C++ library support
16660 ld_shlibs_CXX=no
16661 ;;
16662 esac
16663 ;;
16664
16665 netbsd*)
16666 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16667 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16668 wlarc=
16669 hardcode_libdir_flag_spec_CXX='-R$libdir'
16670 hardcode_direct_CXX=yes
16671 hardcode_shlibpath_var_CXX=no
16672 fi
16673 # Workaround some broken pre-1.5 toolchains
16674 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16675 ;;
16676
16677 *nto* | *qnx*)
16678 ld_shlibs_CXX=yes
16679 ;;
16680
16681 openbsd2*)
16682 # C++ shared libraries are fairly broken
16683 ld_shlibs_CXX=no
16684 ;;
16685
16686 openbsd*)
16687 if test -f /usr/libexec/ld.so; then
16688 hardcode_direct_CXX=yes
16689 hardcode_shlibpath_var_CXX=no
16690 hardcode_direct_absolute_CXX=yes
16691 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16692 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16693 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16694 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
16695 export_dynamic_flag_spec_CXX='${wl}-E'
16696 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16697 fi
16698 output_verbose_link_cmd=echo
16699 else
16700 ld_shlibs_CXX=no
16701 fi
16702 ;;
16703
16704 osf3* | osf4* | osf5*)
16705 case $cc_basename in
16706 KCC*)
16707 # Kuck and Associates, Inc. (KAI) C++ Compiler
16708
16709 # KCC will only create a shared library if the output file
16710 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16711 # to its proper name (with version) after linking.
16712 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16713
16714 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
16715 hardcode_libdir_separator_CXX=:
16716
16717 # Archives containing C++ object files must be created using
16718 # the KAI C++ compiler.
16719 case $host in
16720 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16721 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16722 esac
16723 ;;
16724 RCC*)
16725 # Rational C++ 2.4.1
16726 # FIXME: insert proper C++ library support
16727 ld_shlibs_CXX=no
16728 ;;
16729 cxx*)
16730 case $host in
16731 osf3*)
16732 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16733 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16734 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16735 ;;
16736 *)
16737 allow_undefined_flag_CXX=' -expect_unresolved \*'
16738 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
16739 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16740 echo "-hidden">> $lib.exp~
16741 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
16742 $RM $lib.exp'
16743 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16744 ;;
16745 esac
16746
16747 hardcode_libdir_separator_CXX=:
16748
16749 # Commands to make compiler produce verbose output that lists
16750 # what "hidden" libraries, object files and flags are used when
16751 # linking a shared library.
16752 #
16753 # There doesn't appear to be a way to prevent this compiler from
16754 # explicitly linking system object files so we need to strip them
16755 # from the output so that they don't get included in the library
16756 # dependencies.
16757 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
16758 ;;
16759 *)
16760 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16761 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
16762 case $host in
16763 osf3*)
16764 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
16765 ;;
16766 *)
16767 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16768 ;;
16769 esac
16770
16771 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16772 hardcode_libdir_separator_CXX=:
16773
16774 # Commands to make compiler produce verbose output that lists
16775 # what "hidden" libraries, object files and flags are used when
16776 # linking a shared library.
16777 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16778
16779 else
16780 # FIXME: insert proper C++ library support
16781 ld_shlibs_CXX=no
16782 fi
16783 ;;
16784 esac
16785 ;;
16786
16787 psos*)
16788 # FIXME: insert proper C++ library support
16789 ld_shlibs_CXX=no
16790 ;;
16791
16792 sunos4*)
16793 case $cc_basename in
16794 CC*)
16795 # Sun C++ 4.x
16796 # FIXME: insert proper C++ library support
16797 ld_shlibs_CXX=no
16798 ;;
16799 lcc*)
16800 # Lucid
16801 # FIXME: insert proper C++ library support
16802 ld_shlibs_CXX=no
16803 ;;
16804 *)
16805 # FIXME: insert proper C++ library support
16806 ld_shlibs_CXX=no
16807 ;;
16808 esac
16809 ;;
16810
16811 solaris*)
16812 case $cc_basename in
16813 CC*)
16814 # Sun C++ 4.2, 5.x and Centerline C++
16815 archive_cmds_need_lc_CXX=yes
16816 no_undefined_flag_CXX=' -zdefs'
16817 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16818 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16819 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16820
16821 hardcode_libdir_flag_spec_CXX='-R$libdir'
16822 hardcode_shlibpath_var_CXX=no
16823 case $host_os in
16824 solaris2.[0-5] | solaris2.[0-5].*) ;;
16825 *)
16826 # The compiler driver will combine and reorder linker options,
16827 # but understands `-z linker_flag'.
16828 # Supported since Solaris 2.6 (maybe 2.5.1?)
16829 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16830 ;;
16831 esac
16832 link_all_deplibs_CXX=yes
16833
16834 output_verbose_link_cmd='echo'
16835
16836 # Archives containing C++ object files must be created using
16837 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16838 # necessary to make sure instantiated templates are included
16839 # in the archive.
16840 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16841 ;;
16842 gcx*)
16843 # Green Hills C++ Compiler
16844 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16845
16846 # The C++ compiler must be used to create the archive.
16847 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16848 ;;
16849 *)
16850 # GNU C++ compiler with Solaris linker
16851 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
16852 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
16853 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16854 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16855 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16856 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16857
16858 # Commands to make compiler produce verbose output that lists
16859 # what "hidden" libraries, object files and flags are used when
16860 # linking a shared library.
16861 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16862 else
16863 # g++ 2.7 appears to require `-G' NOT `-shared' on this
16864 # platform.
16865 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
16866 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16867 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16868
16869 # Commands to make compiler produce verbose output that lists
16870 # what "hidden" libraries, object files and flags are used when
16871 # linking a shared library.
16872 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
16873 fi
16874
16875 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
16876 case $host_os in
16877 solaris2.[0-5] | solaris2.[0-5].*) ;;
16878 *)
16879 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
16880 ;;
16881 esac
16882 fi
16883 ;;
16884 esac
16885 ;;
16886
16887 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16888 no_undefined_flag_CXX='${wl}-z,text'
16889 archive_cmds_need_lc_CXX=no
16890 hardcode_shlibpath_var_CXX=no
16891 runpath_var='LD_RUN_PATH'
16892
16893 case $cc_basename in
16894 CC*)
16895 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16896 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16897 ;;
16898 *)
16899 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16900 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16901 ;;
16902 esac
16903 ;;
16904
16905 sysv5* | sco3.2v5* | sco5v6*)
16906 # Note: We can NOT use -z defs as we might desire, because we do not
16907 # link with -lc, and that would cause any symbols used from libc to
16908 # always be unresolved, which means just about no library would
16909 # ever link correctly. If we're not using GNU ld we use -z text
16910 # though, which does catch some bad symbols but isn't as heavy-handed
16911 # as -z defs.
16912 no_undefined_flag_CXX='${wl}-z,text'
16913 allow_undefined_flag_CXX='${wl}-z,nodefs'
16914 archive_cmds_need_lc_CXX=no
16915 hardcode_shlibpath_var_CXX=no
16916 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
16917 hardcode_libdir_separator_CXX=':'
16918 link_all_deplibs_CXX=yes
16919 export_dynamic_flag_spec_CXX='${wl}-Bexport'
16920 runpath_var='LD_RUN_PATH'
16921
16922 case $cc_basename in
16923 CC*)
16924 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16925 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16926 ;;
16927 *)
16928 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16929 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16930 ;;
16931 esac
16932 ;;
16933
16934 tandem*)
16935 case $cc_basename in
16936 NCC*)
16937 # NonStop-UX NCC 3.20
16938 # FIXME: insert proper C++ library support
16939 ld_shlibs_CXX=no
16940 ;;
16941 *)
16942 # FIXME: insert proper C++ library support
16943 ld_shlibs_CXX=no
16944 ;;
16945 esac
16946 ;;
16947
16948 vxworks*)
16949 # FIXME: insert proper C++ library support
16950 ld_shlibs_CXX=no
16951 ;;
16952
16953 *)
16954 # FIXME: insert proper C++ library support
16955 ld_shlibs_CXX=no
16956 ;;
16957 esac
16958
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16960$as_echo "$ld_shlibs_CXX" >&6; }
16961 test "$ld_shlibs_CXX" = no && can_build_shared=no
16962
16963 GCC_CXX="$GXX"
16964 LD_CXX="$LD"
16965
16966 ## CAVEAT EMPTOR:
16967 ## There is no encapsulation within the following macros, do not change
16968 ## the running order or otherwise move them around unless you know exactly
16969 ## what you are doing...
16970 # Dependencies to place before and after the object being linked:
16971predep_objects_CXX=
16972postdep_objects_CXX=
16973predeps_CXX=
16974postdeps_CXX=
16975compiler_lib_search_path_CXX=
16976
16977cat > conftest.$ac_ext <<_LT_EOF
16978class Foo
16979{
16980public:
16981 Foo (void) { a = 0; }
16982private:
16983 int a;
16984};
16985_LT_EOF
16986
16987if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16988 (eval $ac_compile) 2>&5
16989 ac_status=$?
16990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16991 test $ac_status = 0; }; then
16992 # Parse the compiler output and extract the necessary
16993 # objects, libraries and library flags.
16994
16995 # Sentinel used to keep track of whether or not we are before
16996 # the conftest object file.
16997 pre_test_object_deps_done=no
16998
16999 for p in `eval "$output_verbose_link_cmd"`; do
17000 case $p in
17001
17002 -L* | -R* | -l*)
17003 # Some compilers place space between "-{L,R}" and the path.
17004 # Remove the space.
17005 if test $p = "-L" ||
17006 test $p = "-R"; then
17007 prev=$p
17008 continue
17009 else
17010 prev=
17011 fi
17012
17013 if test "$pre_test_object_deps_done" = no; then
17014 case $p in
17015 -L* | -R*)
17016 # Internal compiler library paths should come after those
17017 # provided the user. The postdeps already come after the
17018 # user supplied libs so there is no need to process them.
17019 if test -z "$compiler_lib_search_path_CXX"; then
17020 compiler_lib_search_path_CXX="${prev}${p}"
17021 else
17022 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
17023 fi
17024 ;;
17025 # The "-l" case would never come before the object being
17026 # linked, so don't bother handling this case.
17027 esac
17028 else
17029 if test -z "$postdeps_CXX"; then
17030 postdeps_CXX="${prev}${p}"
17031 else
17032 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17033 fi
17034 fi
17035 ;;
17036
17037 *.$objext)
17038 # This assumes that the test object file only shows up
17039 # once in the compiler output.
17040 if test "$p" = "conftest.$objext"; then
17041 pre_test_object_deps_done=yes
17042 continue
17043 fi
17044
17045 if test "$pre_test_object_deps_done" = no; then
17046 if test -z "$predep_objects_CXX"; then
17047 predep_objects_CXX="$p"
17048 else
17049 predep_objects_CXX="$predep_objects_CXX $p"
17050 fi
17051 else
17052 if test -z "$postdep_objects_CXX"; then
17053 postdep_objects_CXX="$p"
17054 else
17055 postdep_objects_CXX="$postdep_objects_CXX $p"
17056 fi
17057 fi
17058 ;;
17059
17060 *) ;; # Ignore the rest.
17061
17062 esac
17063 done
17064
17065 # Clean up.
17066 rm -f a.out a.exe
17067else
17068 echo "libtool.m4: error: problem compiling CXX test program"
17069fi
17070
17071$RM -f confest.$objext
17072
17073# PORTME: override above test on systems where it is broken
17074case $host_os in
17075interix[3-9]*)
17076 # Interix 3.5 installs completely hosed .la files for C++, so rather than
17077 # hack all around it, let's just trust "g++" to DTRT.
17078 predep_objects_CXX=
17079 postdep_objects_CXX=
17080 postdeps_CXX=
17081 ;;
17082
17083linux*)
17084 case `$CC -V 2>&1 | sed 5q` in
17085 *Sun\ C*)
17086 # Sun C++ 5.9
17087
17088 # The more standards-conforming stlport4 library is
17089 # incompatible with the Cstd library. Avoid specifying
17090 # it if it's in CXXFLAGS. Ignore libCrun as
17091 # -library=stlport4 depends on it.
17092 case " $CXX $CXXFLAGS " in
17093 *" -library=stlport4 "*)
17094 solaris_use_stlport4=yes
17095 ;;
17096 esac
17097
17098 if test "$solaris_use_stlport4" != yes; then
17099 postdeps_CXX='-library=Cstd -library=Crun'
17100 fi
17101 ;;
17102 esac
17103 ;;
17104
17105solaris*)
17106 case $cc_basename in
17107 CC*)
17108 # The more standards-conforming stlport4 library is
17109 # incompatible with the Cstd library. Avoid specifying
17110 # it if it's in CXXFLAGS. Ignore libCrun as
17111 # -library=stlport4 depends on it.
17112 case " $CXX $CXXFLAGS " in
17113 *" -library=stlport4 "*)
17114 solaris_use_stlport4=yes
17115 ;;
17116 esac
17117
17118 # Adding this requires a known-good setup of shared libraries for
17119 # Sun compiler versions before 5.6, else PIC objects from an old
17120 # archive will be linked into the output, leading to subtle bugs.
17121 if test "$solaris_use_stlport4" != yes; then
17122 postdeps_CXX='-library=Cstd -library=Crun'
17123 fi
17124 ;;
17125 esac
17126 ;;
17127esac
17128
17129
17130case " $postdeps_CXX " in
17131*" -lc "*) archive_cmds_need_lc_CXX=no ;;
17132esac
17133 compiler_lib_search_dirs_CXX=
17134if test -n "${compiler_lib_search_path_CXX}"; then
17135 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
17136fi
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168 lt_prog_compiler_wl_CXX=
17169lt_prog_compiler_pic_CXX=
17170lt_prog_compiler_static_CXX=
17171
17172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17173$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17174
17175 # C++ specific cases for pic, static, wl, etc.
17176 if test "$GXX" = yes; then
17177 lt_prog_compiler_wl_CXX='-Wl,'
17178 lt_prog_compiler_static_CXX='-static'
17179
17180 case $host_os in
17181 aix*)
17182 # All AIX code is PIC.
17183 if test "$host_cpu" = ia64; then
17184 # AIX 5 now supports IA64 processor
17185 lt_prog_compiler_static_CXX='-Bstatic'
17186 fi
17187 ;;
17188
17189 amigaos*)
17190 case $host_cpu in
17191 powerpc)
17192 # see comment about AmigaOS4 .so support
17193 lt_prog_compiler_pic_CXX='-fPIC'
17194 ;;
17195 m68k)
17196 # FIXME: we need at least 68020 code to build shared libraries, but
17197 # adding the `-m68020' flag to GCC prevents building anything better,
17198 # like `-m68040'.
17199 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
17200 ;;
17201 esac
17202 ;;
17203
17204 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
17205 # PIC is the default for these OSes.
17206 ;;
17207 mingw* | cygwin* | os2* | pw32* | cegcc*)
17208 # This hack is so that the source file can tell whether it is being
17209 # built for inclusion in a dll (and should export symbols for example).
17210 # Although the cygwin gcc ignores -fPIC, still need this for old-style
17211 # (--disable-auto-import) libraries
17212 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
17213 ;;
17214 darwin* | rhapsody*)
17215 # PIC is the default on this platform
17216 # Common symbols not allowed in MH_DYLIB files
17217 lt_prog_compiler_pic_CXX='-fno-common'
17218 ;;
17219 *djgpp*)
17220 # DJGPP does not support shared libraries at all
17221 lt_prog_compiler_pic_CXX=
17222 ;;
17223 interix[3-9]*)
17224 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
17225 # Instead, we relocate shared libraries at runtime.
17226 ;;
17227 sysv4*MP*)
17228 if test -d /usr/nec; then
17229 lt_prog_compiler_pic_CXX=-Kconform_pic
17230 fi
17231 ;;
17232 hpux*)
17233 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
17234 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
17235 # sets the default TLS model and affects inlining.
17236 case $host_cpu in
17237 hppa*64*)
17238 ;;
17239 *)
17240 lt_prog_compiler_pic_CXX='-fPIC'
17241 ;;
17242 esac
17243 ;;
17244 *qnx* | *nto*)
17245 # QNX uses GNU C++, but need to define -shared option too, otherwise
17246 # it will coredump.
17247 lt_prog_compiler_pic_CXX='-fPIC -shared'
17248 ;;
17249 *)
17250 lt_prog_compiler_pic_CXX='-fPIC'
17251 ;;
17252 esac
17253 else
17254 case $host_os in
17255 aix[4-9]*)
17256 # All AIX code is PIC.
17257 if test "$host_cpu" = ia64; then
17258 # AIX 5 now supports IA64 processor
17259 lt_prog_compiler_static_CXX='-Bstatic'
17260 else
17261 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
17262 fi
17263 ;;
17264 chorus*)
17265 case $cc_basename in
17266 cxch68*)
17267 # Green Hills C++ Compiler
17268 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
17269 ;;
17270 esac
17271 ;;
17272 dgux*)
17273 case $cc_basename in
17274 ec++*)
17275 lt_prog_compiler_pic_CXX='-KPIC'
17276 ;;
17277 ghcx*)
17278 # Green Hills C++ Compiler
17279 lt_prog_compiler_pic_CXX='-pic'
17280 ;;
17281 *)
17282 ;;
17283 esac
17284 ;;
17285 freebsd* | dragonfly*)
17286 # FreeBSD uses GNU C++
17287 ;;
17288 hpux9* | hpux10* | hpux11*)
17289 case $cc_basename in
17290 CC*)
17291 lt_prog_compiler_wl_CXX='-Wl,'
17292 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
17293 if test "$host_cpu" != ia64; then
17294 lt_prog_compiler_pic_CXX='+Z'
17295 fi
17296 ;;
17297 aCC*)
17298 lt_prog_compiler_wl_CXX='-Wl,'
17299 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
17300 case $host_cpu in
17301 hppa*64*|ia64*)
17302 # +Z the default
17303 ;;
17304 *)
17305 lt_prog_compiler_pic_CXX='+Z'
17306 ;;
17307 esac
17308 ;;
17309 *)
17310 ;;
17311 esac
17312 ;;
17313 interix*)
17314 # This is c89, which is MS Visual C++ (no shared libs)
17315 # Anyone wants to do a port?
17316 ;;
17317 irix5* | irix6* | nonstopux*)
17318 case $cc_basename in
17319 CC*)
17320 lt_prog_compiler_wl_CXX='-Wl,'
17321 lt_prog_compiler_static_CXX='-non_shared'
17322 # CC pic flag -KPIC is the default.
17323 ;;
17324 *)
17325 ;;
17326 esac
17327 ;;
17328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17329 case $cc_basename in
17330 KCC*)
17331 # KAI C++ Compiler
17332 lt_prog_compiler_wl_CXX='--backend -Wl,'
17333 lt_prog_compiler_pic_CXX='-fPIC'
17334 ;;
17335 ecpc* )
17336 # old Intel C++ for x86_64 which still supported -KPIC.
17337 lt_prog_compiler_wl_CXX='-Wl,'
17338 lt_prog_compiler_pic_CXX='-KPIC'
17339 lt_prog_compiler_static_CXX='-static'
17340 ;;
17341 icpc* )
17342 # Intel C++, used to be incompatible with GCC.
17343 # ICC 10 doesn't accept -KPIC any more.
17344 lt_prog_compiler_wl_CXX='-Wl,'
17345 lt_prog_compiler_pic_CXX='-fPIC'
17346 lt_prog_compiler_static_CXX='-static'
17347 ;;
17348 pgCC* | pgcpp*)
17349 # Portland Group C++ compiler
17350 lt_prog_compiler_wl_CXX='-Wl,'
17351 lt_prog_compiler_pic_CXX='-fpic'
17352 lt_prog_compiler_static_CXX='-Bstatic'
17353 ;;
17354 cxx*)
17355 # Compaq C++
17356 # Make sure the PIC flag is empty. It appears that all Alpha
17357 # Linux and Compaq Tru64 Unix objects are PIC.
17358 lt_prog_compiler_pic_CXX=
17359 lt_prog_compiler_static_CXX='-non_shared'
17360 ;;
17361 xlc* | xlC*)
17362 # IBM XL 8.0 on PPC
17363 lt_prog_compiler_wl_CXX='-Wl,'
17364 lt_prog_compiler_pic_CXX='-qpic'
17365 lt_prog_compiler_static_CXX='-qstaticlink'
17366 ;;
17367 *)
17368 case `$CC -V 2>&1 | sed 5q` in
17369 *Sun\ C*)
17370 # Sun C++ 5.9
17371 lt_prog_compiler_pic_CXX='-KPIC'
17372 lt_prog_compiler_static_CXX='-Bstatic'
17373 lt_prog_compiler_wl_CXX='-Qoption ld '
17374 ;;
17375 esac
17376 ;;
17377 esac
17378 ;;
17379 lynxos*)
17380 ;;
17381 m88k*)
17382 ;;
17383 mvs*)
17384 case $cc_basename in
17385 cxx*)
17386 lt_prog_compiler_pic_CXX='-W c,exportall'
17387 ;;
17388 *)
17389 ;;
17390 esac
17391 ;;
17392 netbsd* | netbsdelf*-gnu)
17393 ;;
17394 *qnx* | *nto*)
17395 # QNX uses GNU C++, but need to define -shared option too, otherwise
17396 # it will coredump.
17397 lt_prog_compiler_pic_CXX='-fPIC -shared'
17398 ;;
17399 osf3* | osf4* | osf5*)
17400 case $cc_basename in
17401 KCC*)
17402 lt_prog_compiler_wl_CXX='--backend -Wl,'
17403 ;;
17404 RCC*)
17405 # Rational C++ 2.4.1
17406 lt_prog_compiler_pic_CXX='-pic'
17407 ;;
17408 cxx*)
17409 # Digital/Compaq C++
17410 lt_prog_compiler_wl_CXX='-Wl,'
17411 # Make sure the PIC flag is empty. It appears that all Alpha
17412 # Linux and Compaq Tru64 Unix objects are PIC.
17413 lt_prog_compiler_pic_CXX=
17414 lt_prog_compiler_static_CXX='-non_shared'
17415 ;;
17416 *)
17417 ;;
17418 esac
17419 ;;
17420 psos*)
17421 ;;
17422 solaris*)
17423 case $cc_basename in
17424 CC*)
17425 # Sun C++ 4.2, 5.x and Centerline C++
17426 lt_prog_compiler_pic_CXX='-KPIC'
17427 lt_prog_compiler_static_CXX='-Bstatic'
17428 lt_prog_compiler_wl_CXX='-Qoption ld '
17429 ;;
17430 gcx*)
17431 # Green Hills C++ Compiler
17432 lt_prog_compiler_pic_CXX='-PIC'
17433 ;;
17434 *)
17435 ;;
17436 esac
17437 ;;
17438 sunos4*)
17439 case $cc_basename in
17440 CC*)
17441 # Sun C++ 4.x
17442 lt_prog_compiler_pic_CXX='-pic'
17443 lt_prog_compiler_static_CXX='-Bstatic'
17444 ;;
17445 lcc*)
17446 # Lucid
17447 lt_prog_compiler_pic_CXX='-pic'
17448 ;;
17449 *)
17450 ;;
17451 esac
17452 ;;
17453 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17454 case $cc_basename in
17455 CC*)
17456 lt_prog_compiler_wl_CXX='-Wl,'
17457 lt_prog_compiler_pic_CXX='-KPIC'
17458 lt_prog_compiler_static_CXX='-Bstatic'
17459 ;;
17460 esac
17461 ;;
17462 tandem*)
17463 case $cc_basename in
17464 NCC*)
17465 # NonStop-UX NCC 3.20
17466 lt_prog_compiler_pic_CXX='-KPIC'
17467 ;;
17468 *)
17469 ;;
17470 esac
17471 ;;
17472 vxworks*)
17473 ;;
17474 *)
17475 lt_prog_compiler_can_build_shared_CXX=no
17476 ;;
17477 esac
17478 fi
17479
17480case $host_os in
17481 # For platforms which do not support PIC, -DPIC is meaningless:
17482 *djgpp*)
17483 lt_prog_compiler_pic_CXX=
17484 ;;
17485 *)
17486 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17487 ;;
17488esac
17489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
17490$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
17491
17492
17493
17494#
17495# Check to make sure the PIC flag actually works.
17496#
17497if test -n "$lt_prog_compiler_pic_CXX"; then
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17499$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17500if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
17501 $as_echo_n "(cached) " >&6
17502else
17503 lt_cv_prog_compiler_pic_works_CXX=no
17504 ac_outfile=conftest.$ac_objext
17505 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17506 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
17507 # Insert the option either (1) after the last *FLAGS variable, or
17508 # (2) before a word containing "conftest.", or (3) at the end.
17509 # Note that $ac_compile itself does not contain backslashes and begins
17510 # with a dollar sign (not a hyphen), so the echo should work correctly.
17511 # The option is referenced via a variable to avoid confusing sed.
17512 lt_compile=`echo "$ac_compile" | $SED \
17513 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17514 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17515 -e 's:$: $lt_compiler_flag:'`
17516 (eval echo "\"\$as_me:17516: $lt_compile\"" >&5)
17517 (eval "$lt_compile" 2>conftest.err)
17518 ac_status=$?
17519 cat conftest.err >&5
17520 echo "$as_me:17520: \$? = $ac_status" >&5
17521 if (exit $ac_status) && test -s "$ac_outfile"; then
17522 # The compiler can only warn and ignore the option if not recognized
17523 # So say no if there are warnings other than the usual output.
17524 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
17525 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17526 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17527 lt_cv_prog_compiler_pic_works_CXX=yes
17528 fi
17529 fi
17530 $RM conftest*
17531
17532fi
17533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17534$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17535
17536if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
17537 case $lt_prog_compiler_pic_CXX in
17538 "" | " "*) ;;
17539 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17540 esac
17541else
17542 lt_prog_compiler_pic_CXX=
17543 lt_prog_compiler_can_build_shared_CXX=no
17544fi
17545
17546fi
17547
17548
17549
17550#
17551# Check to make sure the static flag actually works.
17552#
17553wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17555$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17556if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
17557 $as_echo_n "(cached) " >&6
17558else
17559 lt_cv_prog_compiler_static_works_CXX=no
17560 save_LDFLAGS="$LDFLAGS"
17561 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17562 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17563 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17564 # The linker can only warn and ignore the option if not recognized
17565 # So say no if there are warnings
17566 if test -s conftest.err; then
17567 # Append any errors to the config.log.
17568 cat conftest.err 1>&5
17569 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
17570 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17571 if diff conftest.exp conftest.er2 >/dev/null; then
17572 lt_cv_prog_compiler_static_works_CXX=yes
17573 fi
17574 else
17575 lt_cv_prog_compiler_static_works_CXX=yes
17576 fi
17577 fi
17578 $RM -r conftest*
17579 LDFLAGS="$save_LDFLAGS"
17580
17581fi
17582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17583$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17584
17585if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
17586 :
17587else
17588 lt_prog_compiler_static_CXX=
17589fi
17590
17591
17592
17593
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17595$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17596if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
17597 $as_echo_n "(cached) " >&6
17598else
17599 lt_cv_prog_compiler_c_o_CXX=no
17600 $RM -r conftest 2>/dev/null
17601 mkdir conftest
17602 cd conftest
17603 mkdir out
17604 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17605
17606 lt_compiler_flag="-o out/conftest2.$ac_objext"
17607 # Insert the option either (1) after the last *FLAGS variable, or
17608 # (2) before a word containing "conftest.", or (3) at the end.
17609 # Note that $ac_compile itself does not contain backslashes and begins
17610 # with a dollar sign (not a hyphen), so the echo should work correctly.
17611 lt_compile=`echo "$ac_compile" | $SED \
17612 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17613 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17614 -e 's:$: $lt_compiler_flag:'`
17615 (eval echo "\"\$as_me:17615: $lt_compile\"" >&5)
17616 (eval "$lt_compile" 2>out/conftest.err)
17617 ac_status=$?
17618 cat out/conftest.err >&5
17619 echo "$as_me:17619: \$? = $ac_status" >&5
17620 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17621 then
17622 # The compiler can only warn and ignore the option if not recognized
17623 # So say no if there are warnings
17624 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17625 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17626 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17627 lt_cv_prog_compiler_c_o_CXX=yes
17628 fi
17629 fi
17630 chmod u+w . 2>&5
17631 $RM conftest*
17632 # SGI C++ compiler will create directory out/ii_files/ for
17633 # template instantiation
17634 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17635 $RM out/* && rmdir out
17636 cd ..
17637 $RM -r conftest
17638 $RM conftest*
17639
17640fi
17641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17642$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17643
17644
17645
17646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17647$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17648if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
17649 $as_echo_n "(cached) " >&6
17650else
17651 lt_cv_prog_compiler_c_o_CXX=no
17652 $RM -r conftest 2>/dev/null
17653 mkdir conftest
17654 cd conftest
17655 mkdir out
17656 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17657
17658 lt_compiler_flag="-o out/conftest2.$ac_objext"
17659 # Insert the option either (1) after the last *FLAGS variable, or
17660 # (2) before a word containing "conftest.", or (3) at the end.
17661 # Note that $ac_compile itself does not contain backslashes and begins
17662 # with a dollar sign (not a hyphen), so the echo should work correctly.
17663 lt_compile=`echo "$ac_compile" | $SED \
17664 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17665 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17666 -e 's:$: $lt_compiler_flag:'`
17667 (eval echo "\"\$as_me:17667: $lt_compile\"" >&5)
17668 (eval "$lt_compile" 2>out/conftest.err)
17669 ac_status=$?
17670 cat out/conftest.err >&5
17671 echo "$as_me:17671: \$? = $ac_status" >&5
17672 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17673 then
17674 # The compiler can only warn and ignore the option if not recognized
17675 # So say no if there are warnings
17676 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
17677 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17678 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17679 lt_cv_prog_compiler_c_o_CXX=yes
17680 fi
17681 fi
17682 chmod u+w . 2>&5
17683 $RM conftest*
17684 # SGI C++ compiler will create directory out/ii_files/ for
17685 # template instantiation
17686 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17687 $RM out/* && rmdir out
17688 cd ..
17689 $RM -r conftest
17690 $RM conftest*
17691
17692fi
17693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17694$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17695
17696
17697
17698
17699hard_links="nottested"
17700if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
17701 # do not overwrite the value of need_locks provided by the user
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17703$as_echo_n "checking if we can lock with hard links... " >&6; }
17704 hard_links=yes
17705 $RM conftest*
17706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17707 touch conftest.a
17708 ln conftest.a conftest.b 2>&5 || hard_links=no
17709 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17711$as_echo "$hard_links" >&6; }
17712 if test "$hard_links" = no; then
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
17714$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17715 need_locks=warn
17716 fi
17717else
17718 need_locks=no
17719fi
17720
17721
17722
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17724$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17725
17726 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17727 case $host_os in
17728 aix[4-9]*)
17729 # If we're using GNU nm, then we don't want the "-C" option.
17730 # -C means demangle to AIX nm, but means don't demangle with GNU nm
17731 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17732 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17733 else
17734 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17735 fi
17736 ;;
17737 pw32*)
17738 export_symbols_cmds_CXX="$ltdll_cmds"
17739 ;;
17740 cygwin* | mingw* | cegcc*)
17741 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17742 ;;
17743 linux* | k*bsd*-gnu)
17744 link_all_deplibs_CXX=no
17745 ;;
17746 *)
17747 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17748 ;;
17749 esac
17750 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17751
17752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17753$as_echo "$ld_shlibs_CXX" >&6; }
17754test "$ld_shlibs_CXX" = no && can_build_shared=no
17755
17756with_gnu_ld_CXX=$with_gnu_ld
17757
17758
17759
17760
17761
17762
17763#
17764# Do we need to explicitly link libc?
17765#
17766case "x$archive_cmds_need_lc_CXX" in
17767x|xyes)
17768 # Assume -lc should be added
17769 archive_cmds_need_lc_CXX=yes
17770
17771 if test "$enable_shared" = yes && test "$GCC" = yes; then
17772 case $archive_cmds_CXX in
17773 *'~'*)
17774 # FIXME: we may have to deal with multi-command sequences.
17775 ;;
17776 '$CC '*)
17777 # Test whether the compiler implicitly links with -lc since on some
17778 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17779 # to ld, don't add -lc before -lgcc.
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17781$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17782 $RM conftest*
17783 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17784
17785 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17786 (eval $ac_compile) 2>&5
17787 ac_status=$?
17788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17789 test $ac_status = 0; } 2>conftest.err; then
17790 soname=conftest
17791 lib=conftest
17792 libobjs=conftest.$ac_objext
17793 deplibs=
17794 wl=$lt_prog_compiler_wl_CXX
17795 pic_flag=$lt_prog_compiler_pic_CXX
17796 compiler_flags=-v
17797 linker_flags=-v
17798 verstring=
17799 output_objdir=.
17800 libname=conftest
17801 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17802 allow_undefined_flag_CXX=
17803 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17804 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17805 ac_status=$?
17806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17807 test $ac_status = 0; }
17808 then
17809 archive_cmds_need_lc_CXX=no
17810 else
17811 archive_cmds_need_lc_CXX=yes
17812 fi
17813 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17814 else
17815 cat conftest.err 1>&5
17816 fi
17817 $RM conftest*
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
17819$as_echo "$archive_cmds_need_lc_CXX" >&6; }
17820 ;;
17821 esac
17822 fi
17823 ;;
17824esac
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17890$as_echo_n "checking dynamic linker characteristics... " >&6; }
17891
17892library_names_spec=
17893libname_spec='lib$name'
17894soname_spec=
17895shrext_cmds=".so"
17896postinstall_cmds=
17897postuninstall_cmds=
17898finish_cmds=
17899finish_eval=
17900shlibpath_var=
17901shlibpath_overrides_runpath=unknown
17902version_type=none
17903dynamic_linker="$host_os ld.so"
17904sys_lib_dlsearch_path_spec="/lib /usr/lib"
17905need_lib_prefix=unknown
17906hardcode_into_libs=no
17907
17908# when you set need_version to no, make sure it does not cause -set_version
17909# flags to be left without arguments
17910need_version=unknown
17911
17912case $host_os in
17913aix3*)
17914 version_type=linux
17915 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17916 shlibpath_var=LIBPATH
17917
17918 # AIX 3 has no versioning support, so we append a major version to the name.
17919 soname_spec='${libname}${release}${shared_ext}$major'
17920 ;;
17921
17922aix[4-9]*)
17923 version_type=linux
17924 need_lib_prefix=no
17925 need_version=no
17926 hardcode_into_libs=yes
17927 if test "$host_cpu" = ia64; then
17928 # AIX 5 supports IA64
17929 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
17930 shlibpath_var=LD_LIBRARY_PATH
17931 else
17932 # With GCC up to 2.95.x, collect2 would create an import file
17933 # for dependence libraries. The import file would start with
17934 # the line `#! .'. This would cause the generated library to
17935 # depend on `.', always an invalid library. This was fixed in
17936 # development snapshots of GCC prior to 3.0.
17937 case $host_os in
17938 aix4 | aix4.[01] | aix4.[01].*)
17939 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17940 echo ' yes '
17941 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
17942 :
17943 else
17944 can_build_shared=no
17945 fi
17946 ;;
17947 esac
17948 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
17949 # soname into executable. Probably we can add versioning support to
17950 # collect2, so additional links can be useful in future.
17951 if test "$aix_use_runtimelinking" = yes; then
17952 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17953 # instead of lib<name>.a to let people know that these are not
17954 # typical AIX shared libraries.
17955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17956 else
17957 # We preserve .a as extension for shared libraries through AIX4.2
17958 # and later when we are not doing run time linking.
17959 library_names_spec='${libname}${release}.a $libname.a'
17960 soname_spec='${libname}${release}${shared_ext}$major'
17961 fi
17962 shlibpath_var=LIBPATH
17963 fi
17964 ;;
17965
17966amigaos*)
17967 case $host_cpu in
17968 powerpc)
17969 # Since July 2007 AmigaOS4 officially supports .so libraries.
17970 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17972 ;;
17973 m68k)
17974 library_names_spec='$libname.ixlibrary $libname.a'
17975 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17976 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'
17977 ;;
17978 esac
17979 ;;
17980
17981beos*)
17982 library_names_spec='${libname}${shared_ext}'
17983 dynamic_linker="$host_os ld.so"
17984 shlibpath_var=LIBRARY_PATH
17985 ;;
17986
17987bsdi[45]*)
17988 version_type=linux
17989 need_version=no
17990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17991 soname_spec='${libname}${release}${shared_ext}$major'
17992 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17993 shlibpath_var=LD_LIBRARY_PATH
17994 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17995 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17996 # the default ld.so.conf also contains /usr/contrib/lib and
17997 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17998 # libtool to hard-code these into programs
17999 ;;
18000
18001cygwin* | mingw* | pw32* | cegcc*)
18002 version_type=windows
18003 shrext_cmds=".dll"
18004 need_version=no
18005 need_lib_prefix=no
18006
18007 case $GCC,$host_os in
18008 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
18009 library_names_spec='$libname.dll.a'
18010 # DLL is installed to $(libdir)/../bin by postinstall_cmds
18011 postinstall_cmds='base_file=`basename \${file}`~
18012 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18013 dldir=$destdir/`dirname \$dlpath`~
18014 test -d \$dldir || mkdir -p \$dldir~
18015 $install_prog $dir/$dlname \$dldir/$dlname~
18016 chmod a+x \$dldir/$dlname~
18017 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18018 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18019 fi'
18020 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18021 dlpath=$dir/\$dldll~
18022 $RM \$dlpath'
18023 shlibpath_overrides_runpath=yes
18024
18025 case $host_os in
18026 cygwin*)
18027 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
18028 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18029 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18030 ;;
18031 mingw* | cegcc*)
18032 # MinGW DLLs use traditional 'lib' prefix
18033 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18034 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18035 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18036 # It is most probably a Windows format PATH printed by
18037 # mingw gcc, but we are running on Cygwin. Gcc prints its search
18038 # path with ; separators, and with drive letters. We can handle the
18039 # drive letters (cygwin fileutils understands them), so leave them,
18040 # especially as we might pass files found there to a mingw objdump,
18041 # which wouldn't understand a cygwinified path. Ahh.
18042 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18043 else
18044 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18045 fi
18046 ;;
18047 pw32*)
18048 # pw32 DLLs use 'pw' prefix rather than 'lib'
18049 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18050 ;;
18051 esac
18052 ;;
18053
18054 *)
18055 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18056 ;;
18057 esac
18058 dynamic_linker='Win32 ld.exe'
18059 # FIXME: first we should search . and the directory the executable is in
18060 shlibpath_var=PATH
18061 ;;
18062
18063darwin* | rhapsody*)
18064 dynamic_linker="$host_os dyld"
18065 version_type=darwin
18066 need_lib_prefix=no
18067 need_version=no
18068 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18069 soname_spec='${libname}${release}${major}$shared_ext'
18070 shlibpath_overrides_runpath=yes
18071 shlibpath_var=DYLD_LIBRARY_PATH
18072 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18073
18074 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18075 ;;
18076
18077dgux*)
18078 version_type=linux
18079 need_lib_prefix=no
18080 need_version=no
18081 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18082 soname_spec='${libname}${release}${shared_ext}$major'
18083 shlibpath_var=LD_LIBRARY_PATH
18084 ;;
18085
18086freebsd1*)
18087 dynamic_linker=no
18088 ;;
18089
18090freebsd* | dragonfly*)
18091 # DragonFly does not have aout. When/if they implement a new
18092 # versioning mechanism, adjust this.
18093 if test -x /usr/bin/objformat; then
18094 objformat=`/usr/bin/objformat`
18095 else
18096 case $host_os in
18097 freebsd[123]*) objformat=aout ;;
18098 *) objformat=elf ;;
18099 esac
18100 fi
18101 version_type=freebsd-$objformat
18102 case $version_type in
18103 freebsd-elf*)
18104 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18105 need_version=no
18106 need_lib_prefix=no
18107 ;;
18108 freebsd-*)
18109 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18110 need_version=yes
18111 ;;
18112 esac
18113 shlibpath_var=LD_LIBRARY_PATH
18114 case $host_os in
18115 freebsd2*)
18116 shlibpath_overrides_runpath=yes
18117 ;;
18118 freebsd3.[01]* | freebsdelf3.[01]*)
18119 shlibpath_overrides_runpath=yes
18120 hardcode_into_libs=yes
18121 ;;
18122 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18123 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18124 shlibpath_overrides_runpath=no
18125 hardcode_into_libs=yes
18126 ;;
18127 *) # from 4.6 on, and DragonFly
18128 shlibpath_overrides_runpath=yes
18129 hardcode_into_libs=yes
18130 ;;
18131 esac
18132 ;;
18133
18134gnu*)
18135 version_type=linux
18136 need_lib_prefix=no
18137 need_version=no
18138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18139 soname_spec='${libname}${release}${shared_ext}$major'
18140 shlibpath_var=LD_LIBRARY_PATH
18141 hardcode_into_libs=yes
18142 ;;
18143
18144hpux9* | hpux10* | hpux11*)
18145 # Give a soname corresponding to the major version so that dld.sl refuses to
18146 # link against other versions.
18147 version_type=sunos
18148 need_lib_prefix=no
18149 need_version=no
18150 case $host_cpu in
18151 ia64*)
18152 shrext_cmds='.so'
18153 hardcode_into_libs=yes
18154 dynamic_linker="$host_os dld.so"
18155 shlibpath_var=LD_LIBRARY_PATH
18156 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18157 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18158 soname_spec='${libname}${release}${shared_ext}$major'
18159 if test "X$HPUX_IA64_MODE" = X32; then
18160 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18161 else
18162 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18163 fi
18164 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18165 ;;
18166 hppa*64*)
18167 shrext_cmds='.sl'
18168 hardcode_into_libs=yes
18169 dynamic_linker="$host_os dld.sl"
18170 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18171 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18173 soname_spec='${libname}${release}${shared_ext}$major'
18174 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18175 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18176 ;;
18177 *)
18178 shrext_cmds='.sl'
18179 dynamic_linker="$host_os dld.sl"
18180 shlibpath_var=SHLIB_PATH
18181 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18182 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18183 soname_spec='${libname}${release}${shared_ext}$major'
18184 ;;
18185 esac
18186 # HP-UX runs *really* slowly unless shared libraries are mode 555.
18187 postinstall_cmds='chmod 555 $lib'
18188 ;;
18189
18190interix[3-9]*)
18191 version_type=linux
18192 need_lib_prefix=no
18193 need_version=no
18194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18195 soname_spec='${libname}${release}${shared_ext}$major'
18196 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18197 shlibpath_var=LD_LIBRARY_PATH
18198 shlibpath_overrides_runpath=no
18199 hardcode_into_libs=yes
18200 ;;
18201
18202irix5* | irix6* | nonstopux*)
18203 case $host_os in
18204 nonstopux*) version_type=nonstopux ;;
18205 *)
18206 if test "$lt_cv_prog_gnu_ld" = yes; then
18207 version_type=linux
18208 else
18209 version_type=irix
18210 fi ;;
18211 esac
18212 need_lib_prefix=no
18213 need_version=no
18214 soname_spec='${libname}${release}${shared_ext}$major'
18215 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18216 case $host_os in
18217 irix5* | nonstopux*)
18218 libsuff= shlibsuff=
18219 ;;
18220 *)
18221 case $LD in # libtool.m4 will add one of these switches to LD
18222 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18223 libsuff= shlibsuff= libmagic=32-bit;;
18224 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18225 libsuff=32 shlibsuff=N32 libmagic=N32;;
18226 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18227 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18228 *) libsuff= shlibsuff= libmagic=never-match;;
18229 esac
18230 ;;
18231 esac
18232 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18233 shlibpath_overrides_runpath=no
18234 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18235 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18236 hardcode_into_libs=yes
18237 ;;
18238
18239# No shared lib support for Linux oldld, aout, or coff.
18240linux*oldld* | linux*aout* | linux*coff*)
18241 dynamic_linker=no
18242 ;;
18243
18244# This must be Linux ELF.
18245linux* | k*bsd*-gnu | kopensolaris*-gnu)
18246 version_type=linux
18247 need_lib_prefix=no
18248 need_version=no
18249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18250 soname_spec='${libname}${release}${shared_ext}$major'
18251 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18252 shlibpath_var=LD_LIBRARY_PATH
18253 shlibpath_overrides_runpath=no
18254 # Some binutils ld are patched to set DT_RUNPATH
18255 save_LDFLAGS=$LDFLAGS
18256 save_libdir=$libdir
18257 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18258 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18260/* end confdefs.h. */
18261
18262int
18263main ()
18264{
18265
18266 ;
18267 return 0;
18268}
18269_ACEOF
18270if ac_fn_cxx_try_link "$LINENO"; then :
18271 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18272 shlibpath_overrides_runpath=yes
18273fi
18274fi
18275rm -f core conftest.err conftest.$ac_objext \
18276 conftest$ac_exeext conftest.$ac_ext
18277 LDFLAGS=$save_LDFLAGS
18278 libdir=$save_libdir
18279
18280 # This implies no fast_install, which is unacceptable.
18281 # Some rework will be needed to allow for fast_install
18282 # before this can be enabled.
18283 hardcode_into_libs=yes
18284
18285 # Append ld.so.conf contents to the search path
18286 if test -f /etc/ld.so.conf; then
18287 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' ' '`
18288 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18289 fi
18290
18291 # We used to test for /lib/ld.so.1 and disable shared libraries on
18292 # powerpc, because MkLinux only supported shared libraries with the
18293 # GNU dynamic linker. Since this was broken with cross compilers,
18294 # most powerpc-linux boxes support dynamic linking these days and
18295 # people can always --disable-shared, the test was removed, and we
18296 # assume the GNU/Linux dynamic linker is in use.
18297 dynamic_linker='GNU/Linux ld.so'
18298 ;;
18299
18300netbsdelf*-gnu)
18301 version_type=linux
18302 need_lib_prefix=no
18303 need_version=no
18304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18305 soname_spec='${libname}${release}${shared_ext}$major'
18306 shlibpath_var=LD_LIBRARY_PATH
18307 shlibpath_overrides_runpath=no
18308 hardcode_into_libs=yes
18309 dynamic_linker='NetBSD ld.elf_so'
18310 ;;
18311
18312netbsd*)
18313 version_type=sunos
18314 need_lib_prefix=no
18315 need_version=no
18316 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18318 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18319 dynamic_linker='NetBSD (a.out) ld.so'
18320 else
18321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18322 soname_spec='${libname}${release}${shared_ext}$major'
18323 dynamic_linker='NetBSD ld.elf_so'
18324 fi
18325 shlibpath_var=LD_LIBRARY_PATH
18326 shlibpath_overrides_runpath=yes
18327 hardcode_into_libs=yes
18328 ;;
18329
18330newsos6)
18331 version_type=linux
18332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18333 shlibpath_var=LD_LIBRARY_PATH
18334 shlibpath_overrides_runpath=yes
18335 ;;
18336
18337*nto* | *qnx*)
18338 version_type=qnx
18339 need_lib_prefix=no
18340 need_version=no
18341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18342 soname_spec='${libname}${release}${shared_ext}$major'
18343 shlibpath_var=LD_LIBRARY_PATH
18344 shlibpath_overrides_runpath=no
18345 hardcode_into_libs=yes
18346 dynamic_linker='ldqnx.so'
18347 ;;
18348
18349openbsd*)
18350 version_type=sunos
18351 sys_lib_dlsearch_path_spec="/usr/lib"
18352 need_lib_prefix=no
18353 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18354 case $host_os in
18355 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18356 *) need_version=no ;;
18357 esac
18358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18359 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18360 shlibpath_var=LD_LIBRARY_PATH
18361 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18362 case $host_os in
18363 openbsd2.[89] | openbsd2.[89].*)
18364 shlibpath_overrides_runpath=no
18365 ;;
18366 *)
18367 shlibpath_overrides_runpath=yes
18368 ;;
18369 esac
18370 else
18371 shlibpath_overrides_runpath=yes
18372 fi
18373 ;;
18374
18375os2*)
18376 libname_spec='$name'
18377 shrext_cmds=".dll"
18378 need_lib_prefix=no
18379 library_names_spec='$libname${shared_ext} $libname.a'
18380 dynamic_linker='OS/2 ld.exe'
18381 shlibpath_var=LIBPATH
18382 ;;
18383
18384osf3* | osf4* | osf5*)
18385 version_type=osf
18386 need_lib_prefix=no
18387 need_version=no
18388 soname_spec='${libname}${release}${shared_ext}$major'
18389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18390 shlibpath_var=LD_LIBRARY_PATH
18391 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18392 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18393 ;;
18394
18395rdos*)
18396 dynamic_linker=no
18397 ;;
18398
18399solaris*)
18400 version_type=linux
18401 need_lib_prefix=no
18402 need_version=no
18403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18404 soname_spec='${libname}${release}${shared_ext}$major'
18405 shlibpath_var=LD_LIBRARY_PATH
18406 shlibpath_overrides_runpath=yes
18407 hardcode_into_libs=yes
18408 # ldd complains unless libraries are executable
18409 postinstall_cmds='chmod +x $lib'
18410 ;;
18411
18412sunos4*)
18413 version_type=sunos
18414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18415 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18416 shlibpath_var=LD_LIBRARY_PATH
18417 shlibpath_overrides_runpath=yes
18418 if test "$with_gnu_ld" = yes; then
18419 need_lib_prefix=no
18420 fi
18421 need_version=yes
18422 ;;
18423
18424sysv4 | sysv4.3*)
18425 version_type=linux
18426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18427 soname_spec='${libname}${release}${shared_ext}$major'
18428 shlibpath_var=LD_LIBRARY_PATH
18429 case $host_vendor in
18430 sni)
18431 shlibpath_overrides_runpath=no
18432 need_lib_prefix=no
18433 runpath_var=LD_RUN_PATH
18434 ;;
18435 siemens)
18436 need_lib_prefix=no
18437 ;;
18438 motorola)
18439 need_lib_prefix=no
18440 need_version=no
18441 shlibpath_overrides_runpath=no
18442 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18443 ;;
18444 esac
18445 ;;
18446
18447sysv4*MP*)
18448 if test -d /usr/nec ;then
18449 version_type=linux
18450 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18451 soname_spec='$libname${shared_ext}.$major'
18452 shlibpath_var=LD_LIBRARY_PATH
18453 fi
18454 ;;
18455
18456sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18457 version_type=freebsd-elf
18458 need_lib_prefix=no
18459 need_version=no
18460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18461 soname_spec='${libname}${release}${shared_ext}$major'
18462 shlibpath_var=LD_LIBRARY_PATH
18463 shlibpath_overrides_runpath=yes
18464 hardcode_into_libs=yes
18465 if test "$with_gnu_ld" = yes; then
18466 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18467 else
18468 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18469 case $host_os in
18470 sco3.2v5*)
18471 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18472 ;;
18473 esac
18474 fi
18475 sys_lib_dlsearch_path_spec='/usr/lib'
18476 ;;
18477
18478tpf*)
18479 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18480 version_type=linux
18481 need_lib_prefix=no
18482 need_version=no
18483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18484 shlibpath_var=LD_LIBRARY_PATH
18485 shlibpath_overrides_runpath=no
18486 hardcode_into_libs=yes
18487 ;;
18488
18489uts4*)
18490 version_type=linux
18491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18492 soname_spec='${libname}${release}${shared_ext}$major'
18493 shlibpath_var=LD_LIBRARY_PATH
18494 ;;
18495
18496*)
18497 dynamic_linker=no
18498 ;;
18499esac
18500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18501$as_echo "$dynamic_linker" >&6; }
18502test "$dynamic_linker" = no && can_build_shared=no
18503
18504variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18505if test "$GCC" = yes; then
18506 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18507fi
18508
18509if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18510 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18511fi
18512if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18513 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18514fi
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18552$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18553hardcode_action_CXX=
18554if test -n "$hardcode_libdir_flag_spec_CXX" ||
18555 test -n "$runpath_var_CXX" ||
18556 test "X$hardcode_automatic_CXX" = "Xyes" ; then
18557
18558 # We can hardcode non-existent directories.
18559 if test "$hardcode_direct_CXX" != no &&
18560 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18561 # have to relink, otherwise we might link with an installed library
18562 # when we should be linking with a yet-to-be-installed one
18563 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
18564 test "$hardcode_minus_L_CXX" != no; then
18565 # Linking always hardcodes the temporary library directory.
18566 hardcode_action_CXX=relink
18567 else
18568 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18569 hardcode_action_CXX=immediate
18570 fi
18571else
18572 # We cannot hardcode anything, or else we can only hardcode existing
18573 # directories.
18574 hardcode_action_CXX=unsupported
18575fi
18576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18577$as_echo "$hardcode_action_CXX" >&6; }
18578
18579if test "$hardcode_action_CXX" = relink ||
18580 test "$inherit_rpath_CXX" = yes; then
18581 # Fast installation is not supported
18582 enable_fast_install=no
18583elif test "$shlibpath_overrides_runpath" = yes ||
18584 test "$enable_shared" = no; then
18585 # Fast installation is not necessary
18586 enable_fast_install=needless
18587fi
18588
18589
18590
18591
18592
18593
18594
18595 fi # test -n "$compiler"
18596
18597 CC=$lt_save_CC
18598 LDCXX=$LD
18599 LD=$lt_save_LD
18600 GCC=$lt_save_GCC
18601 with_gnu_ld=$lt_save_with_gnu_ld
18602 lt_cv_path_LDCXX=$lt_cv_path_LD
18603 lt_cv_path_LD=$lt_save_path_LD
18604 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18605 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18606fi # test "$_lt_caught_CXX_error" != yes
18607
18608ac_ext=c
18609ac_cpp='$CPP $CPPFLAGS'
18610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18612ac_compiler_gnu=$ac_cv_c_compiler_gnu
18613
18614
18615ac_ext=c
18616ac_cpp='$CPP $CPPFLAGS'
18617ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620if test -n "$ac_tool_prefix"; then
18621 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
18622set dummy ${ac_tool_prefix}gcc; ac_word=$2
18623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18624$as_echo_n "checking for $ac_word... " >&6; }
18625if test "${ac_cv_prog_CC+set}" = set; then :
18626 $as_echo_n "(cached) " >&6
18627else
18628 if test -n "$CC"; then
18629 ac_cv_prog_CC="$CC" # Let the user override the test.
18630else
18631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18632for as_dir in $PATH
18633do
18634 IFS=$as_save_IFS
18635 test -z "$as_dir" && as_dir=.
18636 for ac_exec_ext in '' $ac_executable_extensions; do
18637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18638 ac_cv_prog_CC="${ac_tool_prefix}gcc"
18639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18640 break 2
18641 fi
18642done
18643 done
18644IFS=$as_save_IFS
18645
18646fi
18647fi
18648CC=$ac_cv_prog_CC
18649if test -n "$CC"; then
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18651$as_echo "$CC" >&6; }
18652else
18653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18654$as_echo "no" >&6; }
18655fi
18656
18657
18658fi
18659if test -z "$ac_cv_prog_CC"; then
18660 ac_ct_CC=$CC
18661 # Extract the first word of "gcc", so it can be a program name with args.
18662set dummy gcc; ac_word=$2
18663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18664$as_echo_n "checking for $ac_word... " >&6; }
18665if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
18666 $as_echo_n "(cached) " >&6
18667else
18668 if test -n "$ac_ct_CC"; then
18669 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18670else
18671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18672for as_dir in $PATH
18673do
18674 IFS=$as_save_IFS
18675 test -z "$as_dir" && as_dir=.
18676 for ac_exec_ext in '' $ac_executable_extensions; do
18677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18678 ac_cv_prog_ac_ct_CC="gcc"
18679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18680 break 2
18681 fi
18682done
18683 done
18684IFS=$as_save_IFS
18685
18686fi
18687fi
18688ac_ct_CC=$ac_cv_prog_ac_ct_CC
18689if test -n "$ac_ct_CC"; then
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18691$as_echo "$ac_ct_CC" >&6; }
18692else
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18694$as_echo "no" >&6; }
18695fi
18696
18697 if test "x$ac_ct_CC" = x; then
18698 CC=""
18699 else
18700 case $cross_compiling:$ac_tool_warned in
18701yes:)
18702{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18703$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18704ac_tool_warned=yes ;;
18705esac
18706 CC=$ac_ct_CC
18707 fi
18708else
18709 CC="$ac_cv_prog_CC"
18710fi
18711
18712if test -z "$CC"; then
18713 if test -n "$ac_tool_prefix"; then
18714 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
18715set dummy ${ac_tool_prefix}cc; ac_word=$2
18716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18717$as_echo_n "checking for $ac_word... " >&6; }
18718if test "${ac_cv_prog_CC+set}" = set; then :
18719 $as_echo_n "(cached) " >&6
18720else
18721 if test -n "$CC"; then
18722 ac_cv_prog_CC="$CC" # Let the user override the test.
18723else
18724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18725for as_dir in $PATH
18726do
18727 IFS=$as_save_IFS
18728 test -z "$as_dir" && as_dir=.
18729 for ac_exec_ext in '' $ac_executable_extensions; do
18730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18731 ac_cv_prog_CC="${ac_tool_prefix}cc"
18732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18733 break 2
18734 fi
18735done
18736 done
18737IFS=$as_save_IFS
18738
18739fi
18740fi
18741CC=$ac_cv_prog_CC
18742if test -n "$CC"; then
18743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18744$as_echo "$CC" >&6; }
18745else
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18747$as_echo "no" >&6; }
18748fi
18749
18750
18751 fi
18752fi
18753if test -z "$CC"; then
18754 # Extract the first word of "cc", so it can be a program name with args.
18755set dummy cc; ac_word=$2
18756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18757$as_echo_n "checking for $ac_word... " >&6; }
18758if test "${ac_cv_prog_CC+set}" = set; then :
18759 $as_echo_n "(cached) " >&6
18760else
18761 if test -n "$CC"; then
18762 ac_cv_prog_CC="$CC" # Let the user override the test.
18763else
18764 ac_prog_rejected=no
18765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18766for as_dir in $PATH
18767do
18768 IFS=$as_save_IFS
18769 test -z "$as_dir" && as_dir=.
18770 for ac_exec_ext in '' $ac_executable_extensions; do
18771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18772 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
18773 ac_prog_rejected=yes
18774 continue
18775 fi
18776 ac_cv_prog_CC="cc"
18777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18778 break 2
18779 fi
18780done
18781 done
18782IFS=$as_save_IFS
18783
18784if test $ac_prog_rejected = yes; then
18785 # We found a bogon in the path, so make sure we never use it.
18786 set dummy $ac_cv_prog_CC
18787 shift
18788 if test $# != 0; then
18789 # We chose a different compiler from the bogus one.
18790 # However, it has the same basename, so the bogon will be chosen
18791 # first if we set CC to just the basename; use the full file name.
18792 shift
18793 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
18794 fi
18795fi
18796fi
18797fi
18798CC=$ac_cv_prog_CC
18799if test -n "$CC"; then
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18801$as_echo "$CC" >&6; }
18802else
18803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18804$as_echo "no" >&6; }
18805fi
18806
18807
18808fi
18809if test -z "$CC"; then
18810 if test -n "$ac_tool_prefix"; then
18811 for ac_prog in cl.exe
18812 do
18813 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18814set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18816$as_echo_n "checking for $ac_word... " >&6; }
18817if test "${ac_cv_prog_CC+set}" = set; then :
18818 $as_echo_n "(cached) " >&6
18819else
18820 if test -n "$CC"; then
18821 ac_cv_prog_CC="$CC" # Let the user override the test.
18822else
18823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18824for as_dir in $PATH
18825do
18826 IFS=$as_save_IFS
18827 test -z "$as_dir" && as_dir=.
18828 for ac_exec_ext in '' $ac_executable_extensions; do
18829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18830 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18832 break 2
18833 fi
18834done
18835 done
18836IFS=$as_save_IFS
18837
18838fi
18839fi
18840CC=$ac_cv_prog_CC
18841if test -n "$CC"; then
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
18843$as_echo "$CC" >&6; }
18844else
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18846$as_echo "no" >&6; }
18847fi
18848
18849
18850 test -n "$CC" && break
18851 done
18852fi
18853if test -z "$CC"; then
18854 ac_ct_CC=$CC
18855 for ac_prog in cl.exe
18856do
18857 # Extract the first word of "$ac_prog", so it can be a program name with args.
18858set dummy $ac_prog; ac_word=$2
18859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18860$as_echo_n "checking for $ac_word... " >&6; }
18861if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
18862 $as_echo_n "(cached) " >&6
18863else
18864 if test -n "$ac_ct_CC"; then
18865 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18866else
18867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18868for as_dir in $PATH
18869do
18870 IFS=$as_save_IFS
18871 test -z "$as_dir" && as_dir=.
18872 for ac_exec_ext in '' $ac_executable_extensions; do
18873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18874 ac_cv_prog_ac_ct_CC="$ac_prog"
18875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18876 break 2
18877 fi
18878done
18879 done
18880IFS=$as_save_IFS
18881
18882fi
18883fi
18884ac_ct_CC=$ac_cv_prog_ac_ct_CC
18885if test -n "$ac_ct_CC"; then
18886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
18887$as_echo "$ac_ct_CC" >&6; }
18888else
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18890$as_echo "no" >&6; }
18891fi
18892
18893
18894 test -n "$ac_ct_CC" && break
18895done
18896
18897 if test "x$ac_ct_CC" = x; then
18898 CC=""
18899 else
18900 case $cross_compiling:$ac_tool_warned in
18901yes:)
18902{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18903$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18904ac_tool_warned=yes ;;
18905esac
18906 CC=$ac_ct_CC
18907 fi
18908fi
18909
18910fi
18911
18912
18913test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18914$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18915as_fn_error $? "no acceptable C compiler found in \$PATH
18916See \`config.log' for more details" "$LINENO" 5 ; }
18917
18918# Provide some information about the compiler.
18919$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
18920set X $ac_compile
18921ac_compiler=$2
18922for ac_option in --version -v -V -qversion; do
18923 { { ac_try="$ac_compiler $ac_option >&5"
18924case "(($ac_try" in
18925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18926 *) ac_try_echo=$ac_try;;
18927esac
18928eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
18929$as_echo "$ac_try_echo"; } >&5
18930 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
18931 ac_status=$?
18932 if test -s conftest.err; then
18933 sed '10a\
18934... rest of stderr output deleted ...
18935 10q' conftest.err >conftest.er1
18936 cat conftest.er1 >&5
18937 fi
18938 rm -f conftest.er1 conftest.err
18939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18940 test $ac_status = 0; }
18941done
18942
18943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
18944$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
18945if test "${ac_cv_c_compiler_gnu+set}" = set; then :
18946 $as_echo_n "(cached) " >&6
18947else
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949/* end confdefs.h. */
18950
18951int
18952main ()
18953{
18954#ifndef __GNUC__
18955 choke me
18956#endif
18957
18958 ;
18959 return 0;
18960}
18961_ACEOF
18962if ac_fn_c_try_compile "$LINENO"; then :
18963 ac_compiler_gnu=yes
18964else
18965 ac_compiler_gnu=no
18966fi
18967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968ac_cv_c_compiler_gnu=$ac_compiler_gnu
18969
18970fi
18971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
18972$as_echo "$ac_cv_c_compiler_gnu" >&6; }
18973if test $ac_compiler_gnu = yes; then
18974 GCC=yes
18975else
18976 GCC=
18977fi
18978ac_test_CFLAGS=${CFLAGS+set}
18979ac_save_CFLAGS=$CFLAGS
18980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
18981$as_echo_n "checking whether $CC accepts -g... " >&6; }
18982if test "${ac_cv_prog_cc_g+set}" = set; then :
18983 $as_echo_n "(cached) " >&6
18984else
18985 ac_save_c_werror_flag=$ac_c_werror_flag
18986 ac_c_werror_flag=yes
18987 ac_cv_prog_cc_g=no
18988 CFLAGS="-g"
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990/* end confdefs.h. */
18991
18992int
18993main ()
18994{
18995
18996 ;
18997 return 0;
18998}
18999_ACEOF
19000if ac_fn_c_try_compile "$LINENO"; then :
19001 ac_cv_prog_cc_g=yes
19002else
19003 CFLAGS=""
19004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19005/* end confdefs.h. */
19006
19007int
19008main ()
19009{
19010
19011 ;
19012 return 0;
19013}
19014_ACEOF
19015if ac_fn_c_try_compile "$LINENO"; then :
19016
19017else
19018 ac_c_werror_flag=$ac_save_c_werror_flag
19019 CFLAGS="-g"
19020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19021/* end confdefs.h. */
19022
19023int
19024main ()
19025{
19026
19027 ;
19028 return 0;
19029}
19030_ACEOF
19031if ac_fn_c_try_compile "$LINENO"; then :
19032 ac_cv_prog_cc_g=yes
19033fi
19034rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035fi
19036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19037fi
19038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19039 ac_c_werror_flag=$ac_save_c_werror_flag
19040fi
19041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
19042$as_echo "$ac_cv_prog_cc_g" >&6; }
19043if test "$ac_test_CFLAGS" = set; then
19044 CFLAGS=$ac_save_CFLAGS
19045elif test $ac_cv_prog_cc_g = yes; then
19046 if test "$GCC" = yes; then
19047 CFLAGS="-g -O2"
19048 else
19049 CFLAGS="-g"
19050 fi
19051else
19052 if test "$GCC" = yes; then
19053 CFLAGS="-O2"
19054 else
19055 CFLAGS=
19056 fi
19057fi
19058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19059$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19060if test "${ac_cv_prog_cc_c89+set}" = set; then :
19061 $as_echo_n "(cached) " >&6
19062else
19063 ac_cv_prog_cc_c89=no
19064ac_save_CC=$CC
19065cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066/* end confdefs.h. */
19067#include <stdarg.h>
19068#include <stdio.h>
19069#include <sys/types.h>
19070#include <sys/stat.h>
19071/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19072struct buf { int x; };
19073FILE * (*rcsopen) (struct buf *, struct stat *, int);
19074static char *e (p, i)
19075 char **p;
19076 int i;
19077{
19078 return p[i];
19079}
19080static char *f (char * (*g) (char **, int), char **p, ...)
19081{
19082 char *s;
19083 va_list v;
19084 va_start (v,p);
19085 s = g (p, va_arg (v,int));
19086 va_end (v);
19087 return s;
19088}
19089
19090/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19091 function prototypes and stuff, but not '\xHH' hex character constants.
19092 These don't provoke an error unfortunately, instead are silently treated
19093 as 'x'. The following induces an error, until -std is added to get
19094 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19095 array size at least. It's necessary to write '\x00'==0 to get something
19096 that's true only with -std. */
19097int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19098
19099/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19100 inside strings and character constants. */
19101#define FOO(x) 'x'
19102int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19103
19104int test (int i, double x);
19105struct s1 {int (*f) (int a);};
19106struct s2 {int (*f) (double a);};
19107int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19108int argc;
19109char **argv;
19110int
19111main ()
19112{
19113return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19114 ;
19115 return 0;
19116}
19117_ACEOF
19118for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19119 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19120do
19121 CC="$ac_save_CC $ac_arg"
19122 if ac_fn_c_try_compile "$LINENO"; then :
19123 ac_cv_prog_cc_c89=$ac_arg
19124fi
19125rm -f core conftest.err conftest.$ac_objext
19126 test "x$ac_cv_prog_cc_c89" != "xno" && break
19127done
19128rm -f conftest.$ac_ext
19129CC=$ac_save_CC
19130
19131fi
19132# AC_CACHE_VAL
19133case "x$ac_cv_prog_cc_c89" in
19134 x)
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19136$as_echo "none needed" >&6; } ;;
19137 xno)
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19139$as_echo "unsupported" >&6; } ;;
19140 *)
19141 CC="$CC $ac_cv_prog_cc_c89"
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19143$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19144esac
19145if test "x$ac_cv_prog_cc_c89" != xno; then :
19146
19147fi
19148
19149ac_ext=c
19150ac_cpp='$CPP $CPPFLAGS'
19151ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19152ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19153ac_compiler_gnu=$ac_cv_c_compiler_gnu
19154
19155depcc="$CC" am_compiler_list=
19156
19157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
19158$as_echo_n "checking dependency style of $depcc... " >&6; }
19159if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
19160 $as_echo_n "(cached) " >&6
19161else
19162 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
19163 # We make a subdir and do the tests there. Otherwise we can end up
19164 # making bogus files that we don't know about and never remove. For
19165 # instance it was reported that on HP-UX the gcc test will end up
19166 # making a dummy file named `D' -- because `-MD' means `put the output
19167 # in D'.
19168 mkdir conftest.dir
19169 # Copy depcomp to subdir because otherwise we won't find it if we're
19170 # using a relative directory.
19171 cp "$am_depcomp" conftest.dir
19172 cd conftest.dir
19173 # We will build objects and dependencies in a subdirectory because
19174 # it helps to detect inapplicable dependency modes. For instance
19175 # both Tru64's cc and ICC support -MD to output dependencies as a
19176 # side effect of compilation, but ICC will put the dependencies in
19177 # the current directory while Tru64 will put them in the object
19178 # directory.
19179 mkdir sub
19180
19181 am_cv_CC_dependencies_compiler_type=none
19182 if test "$am_compiler_list" = ""; then
19183 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
19184 fi
19185 am__universal=false
19186 case " $depcc " in #(
19187 *\ -arch\ *\ -arch\ *) am__universal=true ;;
19188 esac
19189
19190 for depmode in $am_compiler_list; do
19191 # Setup a source with many dependencies, because some compilers
19192 # like to wrap large dependency lists on column 80 (with \), and
19193 # we should not choose a depcomp mode which is confused by this.
19194 #
19195 # We need to recreate these files for each test, as the compiler may
19196 # overwrite some of them when testing with obscure command lines.
19197 # This happens at least with the AIX C compiler.
19198 : > sub/conftest.c
19199 for i in 1 2 3 4 5 6; do
19200 echo '#include "conftst'$i'.h"' >> sub/conftest.c
19201 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
19202 # Solaris 8's {/usr,}/bin/sh.
19203 touch sub/conftst$i.h
19204 done
19205 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
19206
19207 # We check with `-c' and `-o' for the sake of the "dashmstdout"
19208 # mode. It turns out that the SunPro C++ compiler does not properly
19209 # handle `-M -o', and we need to detect this. Also, some Intel
19210 # versions had trouble with output in subdirs
19211 am__obj=sub/conftest.${OBJEXT-o}
19212 am__minus_obj="-o $am__obj"
19213 case $depmode in
19214 gcc)
19215 # This depmode causes a compiler race in universal mode.
19216 test "$am__universal" = false || continue
19217 ;;
19218 nosideeffect)
19219 # after this tag, mechanisms are not by side-effect, so they'll
19220 # only be used when explicitly requested
19221 if test "x$enable_dependency_tracking" = xyes; then
19222 continue
19223 else
19224 break
19225 fi
19226 ;;
19227 msvisualcpp | msvcmsys)
19228 # This compiler won't grok `-c -o', but also, the minuso test has
19229 # not run yet. These depmodes are late enough in the game, and
19230 # so weak that their functioning should not be impacted.
19231 am__obj=conftest.${OBJEXT-o}
19232 am__minus_obj=
19233 ;;
19234 none) break ;;
19235 esac
19236 if depmode=$depmode \
19237 source=sub/conftest.c object=$am__obj \
19238 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19239 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
19240 >/dev/null 2>conftest.err &&
19241 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
19242 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19243 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
19244 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19245 # icc doesn't choke on unknown options, it will just issue warnings
19246 # or remarks (even with -Werror). So we grep stderr for any message
19247 # that says an option was ignored or not supported.
19248 # When given -MP, icc 7.0 and 7.1 complain thusly:
19249 # icc: Command line warning: ignoring option '-M'; no argument required
19250 # The diagnosis changed in icc 8.0:
19251 # icc: Command line remark: option '-MP' not supported
19252 if (grep 'ignoring option' conftest.err ||
19253 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
19254 am_cv_CC_dependencies_compiler_type=$depmode
19255 break
19256 fi
19257 fi
19258 done
19259
19260 cd ..
19261 rm -rf conftest.dir
19262else
19263 am_cv_CC_dependencies_compiler_type=none
19264fi
19265
19266fi
19267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
19268$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
19269CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
19270
19271 if
19272 test "x$enable_dependency_tracking" != xno \
19273 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
19274 am__fastdepCC_TRUE=
19275 am__fastdepCC_FALSE='#'
19276else
19277 am__fastdepCC_TRUE='#'
19278 am__fastdepCC_FALSE=
19279fi
19280
19281
19282
19283have_gnu_objc=${ac_cv_objc_compiler_gnu}
19284
19285# doxygen program for documentation building
19286
19287
19288
19289# Check whether --enable-doc was given.
19290if test "${enable_doc+set}" = set; then :
19291 enableval=$enable_doc;
19292 if test "x${enableval}" = "xyes" ; then
19293 efl_enable_doc="yes"
19294 else
19295 efl_enable_doc="no"
19296 fi
19297
19298else
19299 efl_enable_doc="yes"
19300fi
19301
19302
19303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
19304$as_echo_n "checking whether to build documentation... " >&6; }
19305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
19306$as_echo "${efl_enable_doc}" >&6; }
19307
19308if test "x${efl_enable_doc}" = "xyes" ; then
19309
19310
19311 efl_doxygen="doxygen"
19312
19313
19314# Check whether --with-doxygen was given.
19315if test "${with_doxygen+set}" = set; then :
19316 withval=$with_doxygen;
19317 efl_doxygen=${withval}
19318 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19319set dummy ${efl_doxygen}; ac_word=$2
19320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19321$as_echo_n "checking for $ac_word... " >&6; }
19322if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
19323 $as_echo_n "(cached) " >&6
19324else
19325 if test -n "$efl_have_doxygen"; then
19326 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19327else
19328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19329for as_dir in $PATH
19330do
19331 IFS=$as_save_IFS
19332 test -z "$as_dir" && as_dir=.
19333 for ac_exec_ext in '' $ac_executable_extensions; do
19334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19335 ac_cv_prog_efl_have_doxygen="yes"
19336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19337 break 2
19338 fi
19339done
19340 done
19341IFS=$as_save_IFS
19342
19343 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19344fi
19345fi
19346efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19347if test -n "$efl_have_doxygen"; then
19348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19349$as_echo "$efl_have_doxygen" >&6; }
19350else
19351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19352$as_echo "no" >&6; }
19353fi
19354
19355
19356 if test "x${efl_have_doxygen}" = "xno" ; then
19357 echo "WARNING:"
19358 echo "The doxygen program you specified:"
19359 echo "${efl_doxygen}"
19360 echo "was not found. Please check the path and make sure "
19361 echo "the program exists and is executable."
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19363$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19364 fi
19365
19366else
19367 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
19368set dummy ${efl_doxygen}; ac_word=$2
19369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19370$as_echo_n "checking for $ac_word... " >&6; }
19371if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19373else
19374 if test -n "$efl_have_doxygen"; then
19375 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
19376else
19377as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19378for as_dir in $PATH
19379do
19380 IFS=$as_save_IFS
19381 test -z "$as_dir" && as_dir=.
19382 for ac_exec_ext in '' $ac_executable_extensions; do
19383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19384 ac_cv_prog_efl_have_doxygen="yes"
19385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19386 break 2
19387 fi
19388done
19389 done
19390IFS=$as_save_IFS
19391
19392 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
19393fi
19394fi
19395efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
19396if test -n "$efl_have_doxygen"; then
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
19398$as_echo "$efl_have_doxygen" >&6; }
19399else
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19401$as_echo "no" >&6; }
19402fi
19403
19404
19405 if test "x${efl_have_doxygen}" = "xno" ; then
19406 echo "WARNING:"
19407 echo "The doxygen program was not found in your execute path."
19408 echo "You may have doxygen installed somewhere not covered by your path."
19409 echo ""
19410 echo "If this is the case make sure you have the packages installed, AND"
19411 echo "that the doxygen program is in your execute path (see your"
19412 echo "shell manual page on setting the \$PATH environment variable), OR"
19413 echo "alternatively, specify the program to use with --with-doxygen."
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
19415$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
19416 fi
19417
19418fi
19419
19420fi
19421
19422
19423
19424if ! test "x${efl_have_doxygen}" = "xyes" ; then
19425 efl_enable_doc="no"
19426fi
19427
19428 if test "x${efl_enable_doc}" = "xyes"; then
19429 EFL_BUILD_DOC_TRUE=
19430 EFL_BUILD_DOC_FALSE='#'
19431else
19432 EFL_BUILD_DOC_TRUE='#'
19433 EFL_BUILD_DOC_FALSE=
19434fi
19435
19436
19437if test "x${efl_enable_doc}" = "xyes" ; then
19438 build_doc="yes"
19439else
19440 build_doc="no"
19441fi
19442
19443
19444
19445
19446
19447
19448CFLAGS_save="${CFLAGS}"
19449CFLAGS="${CFLAGS} -Wall"
19450
19451ac_ext=c
19452ac_cpp='$CPP $CPPFLAGS'
19453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19455ac_compiler_gnu=$ac_cv_c_compiler_gnu
19456
19457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wall" >&5
19458$as_echo_n "checking whether the compiler supports -Wall... " >&6; }
19459
19460cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19461/* end confdefs.h. */
19462
19463int
19464main ()
19465{
19466
19467 ;
19468 return 0;
19469}
19470_ACEOF
19471if ac_fn_c_try_compile "$LINENO"; then :
19472 have_flag="yes"
19473else
19474 have_flag="no"
19475fi
19476rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19478$as_echo "${have_flag}" >&6; }
19479
19480if test "x${have_flag}" = "xno" ; then
19481 CFLAGS="${CFLAGS_save}"
19482fi
19483ac_ext=c
19484ac_cpp='$CPP $CPPFLAGS'
19485ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19486ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19487ac_compiler_gnu=$ac_cv_c_compiler_gnu
19488
19489
19490
19491
19492
19493CFLAGS_save="${CFLAGS}"
19494CFLAGS="${CFLAGS} -W"
19495
19496ac_ext=c
19497ac_cpp='$CPP $CPPFLAGS'
19498ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19500ac_compiler_gnu=$ac_cv_c_compiler_gnu
19501
19502{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -W" >&5
19503$as_echo_n "checking whether the compiler supports -W... " >&6; }
19504
19505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19506/* end confdefs.h. */
19507
19508int
19509main ()
19510{
19511
19512 ;
19513 return 0;
19514}
19515_ACEOF
19516if ac_fn_c_try_compile "$LINENO"; then :
19517 have_flag="yes"
19518else
19519 have_flag="no"
19520fi
19521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_flag}" >&5
19523$as_echo "${have_flag}" >&6; }
19524
19525if test "x${have_flag}" = "xno" ; then
19526 CFLAGS="${CFLAGS_save}"
19527fi
19528ac_ext=c
19529ac_cpp='$CPP $CPPFLAGS'
19530ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19531ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19532ac_compiler_gnu=$ac_cv_c_compiler_gnu
19533
19534
19535
19536
19537
19538# The first call to PKG_CHECK_MODULES is done conditionally,
19539# so we should include this here:
19540
19541
19542
19543
19544
19545
19546if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19547 if test -n "$ac_tool_prefix"; then
19548 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19549set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19551$as_echo_n "checking for $ac_word... " >&6; }
19552if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
19553 $as_echo_n "(cached) " >&6
19554else
19555 case $PKG_CONFIG in
19556 [\\/]* | ?:[\\/]*)
19557 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19558 ;;
19559 *)
19560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19561for as_dir in $PATH
19562do
19563 IFS=$as_save_IFS
19564 test -z "$as_dir" && as_dir=.
19565 for ac_exec_ext in '' $ac_executable_extensions; do
19566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19567 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19569 break 2
19570 fi
19571done
19572 done
19573IFS=$as_save_IFS
19574
19575 ;;
19576esac
19577fi
19578PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19579if test -n "$PKG_CONFIG"; then
19580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19581$as_echo "$PKG_CONFIG" >&6; }
19582else
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19584$as_echo "no" >&6; }
19585fi
19586
19587
19588fi
19589if test -z "$ac_cv_path_PKG_CONFIG"; then
19590 ac_pt_PKG_CONFIG=$PKG_CONFIG
19591 # Extract the first word of "pkg-config", so it can be a program name with args.
19592set dummy pkg-config; ac_word=$2
19593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19594$as_echo_n "checking for $ac_word... " >&6; }
19595if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
19596 $as_echo_n "(cached) " >&6
19597else
19598 case $ac_pt_PKG_CONFIG in
19599 [\\/]* | ?:[\\/]*)
19600 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19601 ;;
19602 *)
19603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19604for as_dir in $PATH
19605do
19606 IFS=$as_save_IFS
19607 test -z "$as_dir" && as_dir=.
19608 for ac_exec_ext in '' $ac_executable_extensions; do
19609 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19610 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19611 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19612 break 2
19613 fi
19614done
19615 done
19616IFS=$as_save_IFS
19617
19618 ;;
19619esac
19620fi
19621ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19622if test -n "$ac_pt_PKG_CONFIG"; then
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19624$as_echo "$ac_pt_PKG_CONFIG" >&6; }
19625else
19626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19627$as_echo "no" >&6; }
19628fi
19629
19630 if test "x$ac_pt_PKG_CONFIG" = x; then
19631 PKG_CONFIG=""
19632 else
19633 case $cross_compiling:$ac_tool_warned in
19634yes:)
19635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19637ac_tool_warned=yes ;;
19638esac
19639 PKG_CONFIG=$ac_pt_PKG_CONFIG
19640 fi
19641else
19642 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19643fi
19644
19645fi
19646if test -n "$PKG_CONFIG"; then
19647 _pkg_min_version=0.9.0
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19649$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19650 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19652$as_echo "yes" >&6; }
19653 else
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19655$as_echo "no" >&6; }
19656 PKG_CONFIG=""
19657 fi
19658fi
19659
19660# Check whether pkg-config supports Requires.private
19661if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
19662 pkgconfig_requires_private="Requires.private"
19663else
19664 pkgconfig_requires_private="Requires"
19665fi
19666
19667
19668### Checks for some build time option
19669have_backtrace="no"
19670for ac_func in backtrace
19671do :
19672 ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
19673if test "x$ac_cv_func_backtrace" = x""yes; then :
19674 cat >>confdefs.h <<_ACEOF
19675#define HAVE_BACKTRACE 1
19676_ACEOF
19677 have_backtrace="yes"
19678fi
19679done
19680
19681
19682want_ecore_timer_dump="no"
19683
19684# Check whether --enable-ecore-timer-dump was given.
19685if test "${enable_ecore_timer_dump+set}" = set; then :
19686 enableval=$enable_ecore_timer_dump; want_ecore_timer_dump=$enableval
19687fi
19688
19689
19690if test "x$want_ecore_timer_dump" = "xyes" -a "x$have_backtrace" = "xyes"; then
19691
19692$as_echo "#define WANT_ECORE_TIMER_DUMP 1" >>confdefs.h
19693
19694fi
19695
19696### Checks for libraries
19697
19698# Evil library for compilation on Windows
19699
19700case "$host_os" in
19701 mingw*)
19702
19703pkg_failed=no
19704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
19705$as_echo_n "checking for EVIL... " >&6; }
19706
19707if test -n "$EVIL_CFLAGS"; then
19708 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
19709 elif test -n "$PKG_CONFIG"; then
19710 if test -n "$PKG_CONFIG" && \
19711 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
19712 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
19713 ac_status=$?
19714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19715 test $ac_status = 0; }; then
19716 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
19717else
19718 pkg_failed=yes
19719fi
19720 else
19721 pkg_failed=untried
19722fi
19723if test -n "$EVIL_LIBS"; then
19724 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
19725 elif test -n "$PKG_CONFIG"; then
19726 if test -n "$PKG_CONFIG" && \
19727 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
19728 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
19729 ac_status=$?
19730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19731 test $ac_status = 0; }; then
19732 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
19733else
19734 pkg_failed=yes
19735fi
19736 else
19737 pkg_failed=untried
19738fi
19739
19740
19741
19742if test $pkg_failed = yes; then
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19744$as_echo "no" >&6; }
19745
19746if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19747 _pkg_short_errors_supported=yes
19748else
19749 _pkg_short_errors_supported=no
19750fi
19751 if test $_pkg_short_errors_supported = yes; then
19752 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
19753 else
19754 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
19755 fi
19756 # Put the nasty error message in config.log where it belongs
19757 echo "$EVIL_PKG_ERRORS" >&5
19758
19759 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
19760
19761$EVIL_PKG_ERRORS
19762
19763Consider adjusting the PKG_CONFIG_PATH environment variable if you
19764installed software in a non-standard prefix.
19765
19766Alternatively, you may set the environment variables EVIL_CFLAGS
19767and EVIL_LIBS to avoid the need to call pkg-config.
19768See the pkg-config man page for more details." "$LINENO" 5
19769elif test $pkg_failed = untried; then
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19771$as_echo "no" >&6; }
19772 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19774as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19775is in your PATH or set the PKG_CONFIG environment variable to the full
19776path to pkg-config.
19777
19778Alternatively, you may set the environment variables EVIL_CFLAGS
19779and EVIL_LIBS to avoid the need to call pkg-config.
19780See the pkg-config man page for more details.
19781
19782To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19783See \`config.log' for more details" "$LINENO" 5 ; }
19784else
19785 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
19786 EVIL_LIBS=$pkg_cv_EVIL_LIBS
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19788$as_echo "yes" >&6; }
19789
19790fi
19791
19792$as_echo "#define HAVE_EVIL 1" >>confdefs.h
19793
19794 requirements_ecore="evil ${requirements_ecore}"
19795 requirements_ecore_evas="evil ${requirements_ecore_evas}"
19796 requirements_ecore_file="evil ${requirements_ecore_file}"
19797 requirements_ecore_imf="evil ${requirements_ecore_imf}"
19798 requirements_ecore_imf_evas="evil ${requirements_ecore_imf_evas}"
19799 EFL_ECORE_BUILD="-DEFL_ECORE_BUILD"
19800 EFL_ECORE_CON_BUILD="-DEFL_ECORE_CON_BUILD"
19801 EFL_ECORE_EVAS_BUILD="-DEFL_ECORE_EVAS_BUILD"
19802 EFL_ECORE_FILE_BUILD="-DEFL_ECORE_FILE_BUILD"
19803 EFL_ECORE_IMF_BUILD="-DEFL_ECORE_IMF_BUILD"
19804 EFL_ECORE_IMF_EVAS_BUILD="-DEFL_ECORE_IMF_EVAS_BUILD"
19805 EFL_ECORE_INPUT_BUILD="-DEFL_ECORE_INPUT_BUILD"
19806 EFL_ECORE_INPUT_EVAS_BUILD="-DEFL_ECORE_INPUT_EVAS_BUILD"
19807 EFL_ECORE_IPC_BUILD="-DEFL_ECORE_IPC_BUILD"
19808 ;;
19809esac
19810
19811have_win32=""
19812have_wince=""
19813case "$host_os" in
19814 mingw32ce* | cegcc*)
19815 EFL_ECORE_WINCE_BUILD="-DEFL_ECORE_WINCE_BUILD"
19816 requirements_ecore_wince="evil ${requirements_ecore_wince}"
19817 have_wince="yes"
19818 ;;
19819 mingw*)
19820 EFL_ECORE_WIN32_BUILD="-DEFL_ECORE_WIN32_BUILD"
19821 EFL_ECORE_SDL_BUILD="-DEFL_ECORE_SDL_BUILD"
19822 requirements_ecore_win32="evil ${requirements_ecore_win32}"
19823 requirements_ecore_sdl="evil ${requirements_ecore_sdl}"
19824 have_win32="yes"
19825 ;;
19826esac
19827
19828have_ps3=""
19829case "$host_vendor" in
19830 ps3*)
19831 have_ps3="yes"
19832
19833pkg_failed=no
19834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ESCAPE" >&5
19835$as_echo_n "checking for ESCAPE... " >&6; }
19836
19837if test -n "$ESCAPE_CFLAGS"; then
19838 pkg_cv_ESCAPE_CFLAGS="$ESCAPE_CFLAGS"
19839 elif test -n "$PKG_CONFIG"; then
19840 if test -n "$PKG_CONFIG" && \
19841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
19842 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
19843 ac_status=$?
19844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19845 test $ac_status = 0; }; then
19846 pkg_cv_ESCAPE_CFLAGS=`$PKG_CONFIG --cflags "escape" 2>/dev/null`
19847else
19848 pkg_failed=yes
19849fi
19850 else
19851 pkg_failed=untried
19852fi
19853if test -n "$ESCAPE_LIBS"; then
19854 pkg_cv_ESCAPE_LIBS="$ESCAPE_LIBS"
19855 elif test -n "$PKG_CONFIG"; then
19856 if test -n "$PKG_CONFIG" && \
19857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"escape\""; } >&5
19858 ($PKG_CONFIG --exists --print-errors "escape") 2>&5
19859 ac_status=$?
19860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19861 test $ac_status = 0; }; then
19862 pkg_cv_ESCAPE_LIBS=`$PKG_CONFIG --libs "escape" 2>/dev/null`
19863else
19864 pkg_failed=yes
19865fi
19866 else
19867 pkg_failed=untried
19868fi
19869
19870
19871
19872if test $pkg_failed = yes; then
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19874$as_echo "no" >&6; }
19875
19876if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19877 _pkg_short_errors_supported=yes
19878else
19879 _pkg_short_errors_supported=no
19880fi
19881 if test $_pkg_short_errors_supported = yes; then
19882 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "escape" 2>&1`
19883 else
19884 ESCAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "escape" 2>&1`
19885 fi
19886 # Put the nasty error message in config.log where it belongs
19887 echo "$ESCAPE_PKG_ERRORS" >&5
19888
19889 as_fn_error $? "Package requirements (escape) were not met:
19890
19891$ESCAPE_PKG_ERRORS
19892
19893Consider adjusting the PKG_CONFIG_PATH environment variable if you
19894installed software in a non-standard prefix.
19895
19896Alternatively, you may set the environment variables ESCAPE_CFLAGS
19897and ESCAPE_LIBS to avoid the need to call pkg-config.
19898See the pkg-config man page for more details." "$LINENO" 5
19899elif test $pkg_failed = untried; then
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19901$as_echo "no" >&6; }
19902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19903$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19904as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19905is in your PATH or set the PKG_CONFIG environment variable to the full
19906path to pkg-config.
19907
19908Alternatively, you may set the environment variables ESCAPE_CFLAGS
19909and ESCAPE_LIBS to avoid the need to call pkg-config.
19910See the pkg-config man page for more details.
19911
19912To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19913See \`config.log' for more details" "$LINENO" 5 ; }
19914else
19915 ESCAPE_CFLAGS=$pkg_cv_ESCAPE_CFLAGS
19916 ESCAPE_LIBS=$pkg_cv_ESCAPE_LIBS
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19918$as_echo "yes" >&6; }
19919
19920fi
19921 CFLAGS="$CFLAGS $ESCAPE_CFLAGS"
19922
19923$as_echo "#define HAVE_ESCAPE 1" >>confdefs.h
19924
19925 EFL_ECORE_PSL1GHT_BUILD="-DEFL_ECORE_PSL1GHT_BUILD"
19926 requirements_ecore="escape ${requirements_ecore}"
19927 requirements_ecore_evas="escape ${requirements_ecore_evas}"
19928 requirements_ecore_file="escape ${requirements_ecore_file}"
19929 requirements_ecore_imf="escape ${requirements_ecore_imf}"
19930 requirements_ecore_imf_evas="escape ${requirements_ecore_imf_evas}"
19931 requirements_ecore_sdl="escape ${requirements_ecore_sdl}"
19932 want_ecore_psl1ght="yes"
19933 want_ecore_evas_psl1ght="yes"
19934 ;;
19935esac
19936
19937
19938### Checks for portability layer
19939
19940
19941pkg_failed=no
19942{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
19943$as_echo_n "checking for EXOTIC... " >&6; }
19944
19945if test -n "$EXOTIC_CFLAGS"; then
19946 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
19947 elif test -n "$PKG_CONFIG"; then
19948 if test -n "$PKG_CONFIG" && \
19949 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
19950 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
19951 ac_status=$?
19952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19953 test $ac_status = 0; }; then
19954 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
19955else
19956 pkg_failed=yes
19957fi
19958 else
19959 pkg_failed=untried
19960fi
19961if test -n "$EXOTIC_LIBS"; then
19962 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
19963 elif test -n "$PKG_CONFIG"; then
19964 if test -n "$PKG_CONFIG" && \
19965 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
19966 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
19967 ac_status=$?
19968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19969 test $ac_status = 0; }; then
19970 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
19971else
19972 pkg_failed=yes
19973fi
19974 else
19975 pkg_failed=untried
19976fi
19977
19978
19979
19980if test $pkg_failed = yes; then
19981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19982$as_echo "no" >&6; }
19983
19984if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19985 _pkg_short_errors_supported=yes
19986else
19987 _pkg_short_errors_supported=no
19988fi
19989 if test $_pkg_short_errors_supported = yes; then
19990 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
19991 else
19992 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
19993 fi
19994 # Put the nasty error message in config.log where it belongs
19995 echo "$EXOTIC_PKG_ERRORS" >&5
19996
19997 enable_exotic="no"
19998elif test $pkg_failed = untried; then
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20000$as_echo "no" >&6; }
20001 enable_exotic="no"
20002else
20003 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
20004 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20006$as_echo "yes" >&6; }
20007 enable_exotic="yes"
20008fi
20009
20010if test "x${enable_exotic}" = "xyes"; then
20011 requirements_ecore="exotic ${requirements_ecore}"
20012
20013
20014$as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
20015
20016fi
20017 if test "x${enable_exotic}" = "xyes"; then
20018 ECORE_HAVE_EXOTIC_TRUE=
20019 ECORE_HAVE_EXOTIC_FALSE='#'
20020else
20021 ECORE_HAVE_EXOTIC_TRUE='#'
20022 ECORE_HAVE_EXOTIC_FALSE=
20023fi
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040 if test "x${have_wince}" = "xyes"; then
20041 ECORE_HAVE_WINCE_TRUE=
20042 ECORE_HAVE_WINCE_FALSE='#'
20043else
20044 ECORE_HAVE_WINCE_TRUE='#'
20045 ECORE_HAVE_WINCE_FALSE=
20046fi
20047
20048 if test "x${have_win32}" = "xyes"; then
20049 ECORE_HAVE_WIN32_TRUE=
20050 ECORE_HAVE_WIN32_FALSE='#'
20051else
20052 ECORE_HAVE_WIN32_TRUE='#'
20053 ECORE_HAVE_WIN32_FALSE=
20054fi
20055
20056 if test "x${have_ps3}" = "xyes"; then
20057 ECORE_HAVE_PS3_TRUE=
20058 ECORE_HAVE_PS3_FALSE='#'
20059else
20060 ECORE_HAVE_PS3_TRUE='#'
20061 ECORE_HAVE_PS3_FALSE=
20062fi
20063
20064
20065WIN32_LIBS=""
20066case "$host_os" in
20067 mingw32ce* | cegcc*)
20068 WIN32_LIBS="-lws2"
20069 dlopen_libs="-ldl"
20070 ;;
20071 mingw*)
20072 WIN32_LIBS="-lws2_32"
20073 dlopen_libs="-ldl"
20074 ;;
20075 *)
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
20077$as_echo_n "checking for dlopen in -lc... " >&6; }
20078if test "${ac_cv_lib_c_dlopen+set}" = set; then :
20079 $as_echo_n "(cached) " >&6
20080else
20081 ac_check_lib_save_LIBS=$LIBS
20082LIBS="-lc $LIBS"
20083cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20084/* end confdefs.h. */
20085
20086/* Override any GCC internal prototype to avoid an error.
20087 Use char because int might match the return type of a GCC
20088 builtin and then its argument prototype would still apply. */
20089#ifdef __cplusplus
20090extern "C"
20091#endif
20092char dlopen ();
20093int
20094main ()
20095{
20096return dlopen ();
20097 ;
20098 return 0;
20099}
20100_ACEOF
20101if ac_fn_c_try_link "$LINENO"; then :
20102 ac_cv_lib_c_dlopen=yes
20103else
20104 ac_cv_lib_c_dlopen=no
20105fi
20106rm -f core conftest.err conftest.$ac_objext \
20107 conftest$ac_exeext conftest.$ac_ext
20108LIBS=$ac_check_lib_save_LIBS
20109fi
20110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
20111$as_echo "$ac_cv_lib_c_dlopen" >&6; }
20112if test "x$ac_cv_lib_c_dlopen" = x""yes; then :
20113 cat >>confdefs.h <<_ACEOF
20114#define HAVE_LIBC 1
20115_ACEOF
20116
20117 LIBS="-lc $LIBS"
20118
20119else
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
20121$as_echo_n "checking for dlopen in -ldl... " >&6; }
20122if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
20123 $as_echo_n "(cached) " >&6
20124else
20125 ac_check_lib_save_LIBS=$LIBS
20126LIBS="-ldl $LIBS"
20127cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128/* end confdefs.h. */
20129
20130/* Override any GCC internal prototype to avoid an error.
20131 Use char because int might match the return type of a GCC
20132 builtin and then its argument prototype would still apply. */
20133#ifdef __cplusplus
20134extern "C"
20135#endif
20136char dlopen ();
20137int
20138main ()
20139{
20140return dlopen ();
20141 ;
20142 return 0;
20143}
20144_ACEOF
20145if ac_fn_c_try_link "$LINENO"; then :
20146 ac_cv_lib_dl_dlopen=yes
20147else
20148 ac_cv_lib_dl_dlopen=no
20149fi
20150rm -f core conftest.err conftest.$ac_objext \
20151 conftest$ac_exeext conftest.$ac_ext
20152LIBS=$ac_check_lib_save_LIBS
20153fi
20154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
20155$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
20156if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
20157 dlopen_libs=-ldl
20158fi
20159
20160
20161fi
20162
20163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lc" >&5
20164$as_echo_n "checking for clock_gettime in -lc... " >&6; }
20165if test "${ac_cv_lib_c_clock_gettime+set}" = set; then :
20166 $as_echo_n "(cached) " >&6
20167else
20168 ac_check_lib_save_LIBS=$LIBS
20169LIBS="-lc $LIBS"
20170cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20171/* end confdefs.h. */
20172
20173/* Override any GCC internal prototype to avoid an error.
20174 Use char because int might match the return type of a GCC
20175 builtin and then its argument prototype would still apply. */
20176#ifdef __cplusplus
20177extern "C"
20178#endif
20179char clock_gettime ();
20180int
20181main ()
20182{
20183return clock_gettime ();
20184 ;
20185 return 0;
20186}
20187_ACEOF
20188if ac_fn_c_try_link "$LINENO"; then :
20189 ac_cv_lib_c_clock_gettime=yes
20190else
20191 ac_cv_lib_c_clock_gettime=no
20192fi
20193rm -f core conftest.err conftest.$ac_objext \
20194 conftest$ac_exeext conftest.$ac_ext
20195LIBS=$ac_check_lib_save_LIBS
20196fi
20197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_clock_gettime" >&5
20198$as_echo "$ac_cv_lib_c_clock_gettime" >&6; }
20199if test "x$ac_cv_lib_c_clock_gettime" = x""yes; then :
20200
20201$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20202
20203else
20204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
20205$as_echo_n "checking for clock_gettime in -lrt... " >&6; }
20206if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then :
20207 $as_echo_n "(cached) " >&6
20208else
20209 ac_check_lib_save_LIBS=$LIBS
20210LIBS="-lrt $LIBS"
20211cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20212/* end confdefs.h. */
20213
20214/* Override any GCC internal prototype to avoid an error.
20215 Use char because int might match the return type of a GCC
20216 builtin and then its argument prototype would still apply. */
20217#ifdef __cplusplus
20218extern "C"
20219#endif
20220char clock_gettime ();
20221int
20222main ()
20223{
20224return clock_gettime ();
20225 ;
20226 return 0;
20227}
20228_ACEOF
20229if ac_fn_c_try_link "$LINENO"; then :
20230 ac_cv_lib_rt_clock_gettime=yes
20231else
20232 ac_cv_lib_rt_clock_gettime=no
20233fi
20234rm -f core conftest.err conftest.$ac_objext \
20235 conftest$ac_exeext conftest.$ac_ext
20236LIBS=$ac_check_lib_save_LIBS
20237fi
20238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
20239$as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
20240if test "x$ac_cv_lib_rt_clock_gettime" = x""yes; then :
20241
20242 rt_libs=-lrt
20243
20244$as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20245
20246
20247fi
20248
20249
20250fi
20251
20252 ;;
20253esac
20254
20255
20256
20257
20258# Eina library
20259
20260
20261pkg_failed=no
20262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
20263$as_echo_n "checking for EINA... " >&6; }
20264
20265if test -n "$EINA_CFLAGS"; then
20266 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
20267 elif test -n "$PKG_CONFIG"; then
20268 if test -n "$PKG_CONFIG" && \
20269 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
20270 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
20271 ac_status=$?
20272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20273 test $ac_status = 0; }; then
20274 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.2.0" 2>/dev/null`
20275else
20276 pkg_failed=yes
20277fi
20278 else
20279 pkg_failed=untried
20280fi
20281if test -n "$EINA_LIBS"; then
20282 pkg_cv_EINA_LIBS="$EINA_LIBS"
20283 elif test -n "$PKG_CONFIG"; then
20284 if test -n "$PKG_CONFIG" && \
20285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
20286 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
20287 ac_status=$?
20288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20289 test $ac_status = 0; }; then
20290 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.2.0" 2>/dev/null`
20291else
20292 pkg_failed=yes
20293fi
20294 else
20295 pkg_failed=untried
20296fi
20297
20298
20299
20300if test $pkg_failed = yes; then
20301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20302$as_echo "no" >&6; }
20303
20304if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20305 _pkg_short_errors_supported=yes
20306else
20307 _pkg_short_errors_supported=no
20308fi
20309 if test $_pkg_short_errors_supported = yes; then
20310 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.2.0" 2>&1`
20311 else
20312 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.2.0" 2>&1`
20313 fi
20314 # Put the nasty error message in config.log where it belongs
20315 echo "$EINA_PKG_ERRORS" >&5
20316
20317 as_fn_error $? "Package requirements (eina >= 1.2.0) were not met:
20318
20319$EINA_PKG_ERRORS
20320
20321Consider adjusting the PKG_CONFIG_PATH environment variable if you
20322installed software in a non-standard prefix.
20323
20324Alternatively, you may set the environment variables EINA_CFLAGS
20325and EINA_LIBS to avoid the need to call pkg-config.
20326See the pkg-config man page for more details." "$LINENO" 5
20327elif test $pkg_failed = untried; then
20328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20329$as_echo "no" >&6; }
20330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20331$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20332as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20333is in your PATH or set the PKG_CONFIG environment variable to the full
20334path to pkg-config.
20335
20336Alternatively, you may set the environment variables EINA_CFLAGS
20337and EINA_LIBS to avoid the need to call pkg-config.
20338See the pkg-config man page for more details.
20339
20340To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20341See \`config.log' for more details" "$LINENO" 5 ; }
20342else
20343 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
20344 EINA_LIBS=$pkg_cv_EINA_LIBS
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20346$as_echo "yes" >&6; }
20347
20348fi
20349#FIXME check all the requirements when the eina move will be finished
20350requirements_ecore="eina >= 1.2.0 ${requirements_ecore}"
20351requirements_ecore_con="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_con}"
20352#requirements_ecore_config="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_config}"
20353requirements_ecore_directfb="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_directfb}"
20354requirements_ecore_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_evas}"
20355requirements_ecore_fb="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_fb}"
20356requirements_ecore_file="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_file}"
20357requirements_ecore_imf="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_imf}"
20358requirements_ecore_imf_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_imf_evas}"
20359requirements_ecore_input="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_input}"
20360requirements_ecore_input_evas="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_input_evas}"
20361requirements_ecore_ipc="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_ipc}"
20362requirements_ecore_cocoa="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_cocoa}"
20363requirements_ecore_sdl="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_sdl}"
20364requirements_ecore_psl1ght="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_sdl}"
20365requirements_ecore_win32="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_win32}"
20366requirements_ecore_wince="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_wince}"
20367requirements_ecore_x="ecore >= 1.2.0 eina >= 1.2.0 ${requirements_ecore_x}"
20368
20369
20370# glib support (main loop integration)
20371# Check whether --enable-glib was given.
20372if test "${enable_glib+set}" = set; then :
20373 enableval=$enable_glib; want_glib=$enableval
20374fi
20375
20376
20377if test "x$want_glib" != "xno"; then
20378
20379pkg_failed=no
20380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
20381$as_echo_n "checking for GLIB... " >&6; }
20382
20383if test -n "$GLIB_CFLAGS"; then
20384 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
20385 elif test -n "$PKG_CONFIG"; then
20386 if test -n "$PKG_CONFIG" && \
20387 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20388 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20389 ac_status=$?
20390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20391 test $ac_status = 0; }; then
20392 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
20393else
20394 pkg_failed=yes
20395fi
20396 else
20397 pkg_failed=untried
20398fi
20399if test -n "$GLIB_LIBS"; then
20400 pkg_cv_GLIB_LIBS="$GLIB_LIBS"
20401 elif test -n "$PKG_CONFIG"; then
20402 if test -n "$PKG_CONFIG" && \
20403 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
20404 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
20405 ac_status=$?
20406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20407 test $ac_status = 0; }; then
20408 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
20409else
20410 pkg_failed=yes
20411fi
20412 else
20413 pkg_failed=untried
20414fi
20415
20416
20417
20418if test $pkg_failed = yes; then
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20420$as_echo "no" >&6; }
20421
20422if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20423 _pkg_short_errors_supported=yes
20424else
20425 _pkg_short_errors_supported=no
20426fi
20427 if test $_pkg_short_errors_supported = yes; then
20428 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
20429 else
20430 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
20431 fi
20432 # Put the nasty error message in config.log where it belongs
20433 echo "$GLIB_PKG_ERRORS" >&5
20434
20435 have_glib="no"
20436elif test $pkg_failed = untried; then
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20438$as_echo "no" >&6; }
20439 have_glib="no"
20440else
20441 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
20442 GLIB_LIBS=$pkg_cv_GLIB_LIBS
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20444$as_echo "yes" >&6; }
20445 have_glib="yes"
20446fi
20447else
20448 have_glib="no"
20449fi
20450if test "x$want_glib" = "xyes" -a "x$have_glib" = "xno"; then
20451 as_fn_error $? "GLib support requested, but no GLib found by pkg-config." "$LINENO" 5
20452elif test "x$have_glib" = "xyes"; then
20453
20454$as_echo "#define HAVE_GLIB 1" >>confdefs.h
20455
20456 requirements_ecore="glib-2.0 ${requirements_ecore}"
20457fi
20458
20459
20460# SDL library (ecore_sdl)
20461
20462have_sdl="no"
20463
20464pkg_failed=no
20465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20466$as_echo_n "checking for SDL... " >&6; }
20467
20468if test -n "$SDL_CFLAGS"; then
20469 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20470 elif test -n "$PKG_CONFIG"; then
20471 if test -n "$PKG_CONFIG" && \
20472 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20473 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20474 ac_status=$?
20475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20476 test $ac_status = 0; }; then
20477 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20478else
20479 pkg_failed=yes
20480fi
20481 else
20482 pkg_failed=untried
20483fi
20484if test -n "$SDL_LIBS"; then
20485 pkg_cv_SDL_LIBS="$SDL_LIBS"
20486 elif test -n "$PKG_CONFIG"; then
20487 if test -n "$PKG_CONFIG" && \
20488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20489 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20490 ac_status=$?
20491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20492 test $ac_status = 0; }; then
20493 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20494else
20495 pkg_failed=yes
20496fi
20497 else
20498 pkg_failed=untried
20499fi
20500
20501
20502
20503if test $pkg_failed = yes; then
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20505$as_echo "no" >&6; }
20506
20507if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20508 _pkg_short_errors_supported=yes
20509else
20510 _pkg_short_errors_supported=no
20511fi
20512 if test $_pkg_short_errors_supported = yes; then
20513 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
20514 else
20515 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
20516 fi
20517 # Put the nasty error message in config.log where it belongs
20518 echo "$SDL_PKG_ERRORS" >&5
20519
20520 have_sdl="no"
20521elif test $pkg_failed = untried; then
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20523$as_echo "no" >&6; }
20524 have_sdl="no"
20525else
20526 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
20527 SDL_LIBS=$pkg_cv_SDL_LIBS
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20529$as_echo "yes" >&6; }
20530 have_sdl="yes"
20531fi
20532if test "x${have_sdl}" != "xyes" ; then
20533 SDL_CONFIG="sdl-config"
20534
20535# Check whether --with-sdl-config was given.
20536if test "${with_sdl_config+set}" = set; then :
20537 withval=$with_sdl_config;
20538 SDL_CONFIG=$withval
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: using ${SDL_CONFIG} for sdl-config" >&5
20540$as_echo "$as_me: using ${SDL_CONFIG} for sdl-config" >&6;}
20541
20542fi
20543
20544
20545 # Extract the first word of ""sdl-config"", so it can be a program name with args.
20546set dummy "sdl-config"; ac_word=$2
20547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20548$as_echo_n "checking for $ac_word... " >&6; }
20549if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
20550 $as_echo_n "(cached) " >&6
20551else
20552 case $SDL_CONFIG in
20553 [\\/]* | ?:[\\/]*)
20554 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
20555 ;;
20556 *)
20557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20558for as_dir in $PATH
20559do
20560 IFS=$as_save_IFS
20561 test -z "$as_dir" && as_dir=.
20562 for ac_exec_ext in '' $ac_executable_extensions; do
20563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20564 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20566 break 2
20567 fi
20568done
20569 done
20570IFS=$as_save_IFS
20571
20572 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG=""""
20573 ;;
20574esac
20575fi
20576SDL_CONFIG=$ac_cv_path_SDL_CONFIG
20577if test -n "$SDL_CONFIG"; then
20578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
20579$as_echo "$SDL_CONFIG" >&6; }
20580else
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20582$as_echo "no" >&6; }
20583fi
20584
20585
20586
20587 if test -n "$SDL_CONFIG" ; then
20588 SDL_CFLAGS=`$SDL_CONFIG --cflags`
20589 SDL_LIBS=`$SDL_CONFIG --libs`
20590
20591
20592 have_sdl="yes"
20593 fi
20594fi
20595
20596if test "x${have_sdl}" = "xyes" ; then
20597 if test -n "$PKG_CONFIG" && \
20598 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.3.0\""; } >&5
20599 ($PKG_CONFIG --exists --print-errors "sdl >= 1.3.0") 2>&5
20600 ac_status=$?
20601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20602 test $ac_status = 0; }; then
20603
20604$as_echo "#define BUILD_ECORE_EVAS_SDL_130 1" >>confdefs.h
20605
20606fi
20607fi
20608
20609
20610# DirectFB library (ecore_directfb)
20611
20612
20613pkg_failed=no
20614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
20615$as_echo_n "checking for DIRECTFB... " >&6; }
20616
20617if test -n "$DIRECTFB_CFLAGS"; then
20618 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
20619 elif test -n "$PKG_CONFIG"; then
20620 if test -n "$PKG_CONFIG" && \
20621 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20622 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20623 ac_status=$?
20624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20625 test $ac_status = 0; }; then
20626 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
20627else
20628 pkg_failed=yes
20629fi
20630 else
20631 pkg_failed=untried
20632fi
20633if test -n "$DIRECTFB_LIBS"; then
20634 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
20635 elif test -n "$PKG_CONFIG"; then
20636 if test -n "$PKG_CONFIG" && \
20637 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
20638 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
20639 ac_status=$?
20640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20641 test $ac_status = 0; }; then
20642 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
20643else
20644 pkg_failed=yes
20645fi
20646 else
20647 pkg_failed=untried
20648fi
20649
20650
20651
20652if test $pkg_failed = yes; then
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20654$as_echo "no" >&6; }
20655
20656if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20657 _pkg_short_errors_supported=yes
20658else
20659 _pkg_short_errors_supported=no
20660fi
20661 if test $_pkg_short_errors_supported = yes; then
20662 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
20663 else
20664 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
20665 fi
20666 # Put the nasty error message in config.log where it belongs
20667 echo "$DIRECTFB_PKG_ERRORS" >&5
20668
20669 have_directfb="no"
20670elif test $pkg_failed = untried; then
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20672$as_echo "no" >&6; }
20673 have_directfb="no"
20674else
20675 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
20676 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
20677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20678$as_echo "yes" >&6; }
20679 have_directfb="yes"
20680fi
20681
20682
20683# Eet library (ecore_config)
20684
20685#PKG_CHECK_MODULES([EET],
20686# [eet >= 1.4.0],
20687# [have_eet="yes"],
20688# [have_eet="no"])
20689
20690
20691# Xlib and XCB (ecore_x)
20692
20693ac_fn_c_check_decl "$LINENO" "MAXHOSTNAMELEN" "ac_cv_have_decl_MAXHOSTNAMELEN" "$ac_includes_default"
20694if test "x$ac_cv_have_decl_MAXHOSTNAMELEN" = x""yes; then :
20695 FOUND_MAXHOSTNAMELEN=yes
20696fi
20697
20698
20699if test "x${FOUND_MAXHOSTNAMELEN}" != "xyes" ; then
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for header that defines MAXHOSTNAMELEN" >&5
20701$as_echo_n "checking for header that defines MAXHOSTNAMELEN... " >&6; }
20702 FOUND_MAXHOSTNAMELEN="not found"
20703
20704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20705/* end confdefs.h. */
20706
20707
20708#include <sys/param.h>
20709
20710int
20711main ()
20712{
20713
20714int h = MAXHOSTNAMELEN;
20715
20716 ;
20717 return 0;
20718}
20719
20720_ACEOF
20721if ac_fn_c_try_compile "$LINENO"; then :
20722
20723 FOUND_MAXHOSTNAMELEN="sys/param.h"
20724
20725$as_echo "#define NEED_SYS_PARAM_H 1" >>confdefs.h
20726
20727
20728fi
20729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730
20731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20732/* end confdefs.h. */
20733
20734
20735#include <netdb.h>
20736
20737int
20738main ()
20739{
20740
20741int h = MAXHOSTNAMELEN;
20742
20743 ;
20744 return 0;
20745}
20746
20747_ACEOF
20748if ac_fn_c_try_compile "$LINENO"; then :
20749
20750 FOUND_MAXHOSTNAMELEN="netdb.h"
20751
20752$as_echo "#define NEED_NETDB_H 1" >>confdefs.h
20753
20754
20755fi
20756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20757
20758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOUND_MAXHOSTNAMELEN" >&5
20759$as_echo "$FOUND_MAXHOSTNAMELEN" >&6; }
20760fi
20761
20762have_x="no"
20763have_ecore_x="no"
20764have_ecore_x_xlib="no"
20765have_ecore_x_xcb="no"
20766
20767x_dir="";
20768x_includes="";
20769x_cflags="";
20770x_libs="";
20771
20772ecore_x_libs_private=""
20773
20774# Check whether --enable-ecore-x-composite was given.
20775if test "${enable_ecore_x_composite+set}" = set; then :
20776 enableval=$enable_ecore_x_composite; want_ecore_x_composite=$enableval
20777fi
20778
20779
20780# Check whether --enable-ecore-x-damage was given.
20781if test "${enable_ecore_x_damage+set}" = set; then :
20782 enableval=$enable_ecore_x_damage; want_ecore_x_damage=$enableval
20783fi
20784
20785
20786# Check whether --enable-ecore-x-dpms was given.
20787if test "${enable_ecore_x_dpms+set}" = set; then :
20788 enableval=$enable_ecore_x_dpms; want_ecore_x_dpms=$enableval
20789fi
20790
20791
20792# Check whether --enable-ecore-x-randr was given.
20793if test "${enable_ecore_x_randr+set}" = set; then :
20794 enableval=$enable_ecore_x_randr; want_ecore_x_randr=$enableval
20795fi
20796
20797
20798# Check whether --enable-ecore-x-render was given.
20799if test "${enable_ecore_x_render+set}" = set; then :
20800 enableval=$enable_ecore_x_render; want_ecore_x_render=$enableval
20801fi
20802
20803
20804# Check whether --enable-ecore-x-screensaver was given.
20805if test "${enable_ecore_x_screensaver+set}" = set; then :
20806 enableval=$enable_ecore_x_screensaver; want_ecore_x_screensaver=$enableval
20807fi
20808
20809
20810# Check whether --enable-ecore-x-shape was given.
20811if test "${enable_ecore_x_shape+set}" = set; then :
20812 enableval=$enable_ecore_x_shape; want_ecore_x_shape=$enableval
20813fi
20814
20815
20816# Check whether --enable-ecore-x-gesture was given.
20817if test "${enable_ecore_x_gesture+set}" = set; then :
20818 enableval=$enable_ecore_x_gesture; want_ecore_x_gesture=$enableval
20819fi
20820
20821
20822# Check whether --enable-ecore-x-sync was given.
20823if test "${enable_ecore_x_sync+set}" = set; then :
20824 enableval=$enable_ecore_x_sync; want_ecore_x_sync=$enableval
20825fi
20826
20827
20828# Check whether --enable-ecore-x-xfixes was given.
20829if test "${enable_ecore_x_xfixes+set}" = set; then :
20830 enableval=$enable_ecore_x_xfixes; want_ecore_x_xfixes=$enableval
20831fi
20832
20833
20834# Check whether --enable-ecore-x-xinerama was given.
20835if test "${enable_ecore_x_xinerama+set}" = set; then :
20836 enableval=$enable_ecore_x_xinerama; want_ecore_x_xinerama=$enableval
20837fi
20838
20839
20840# Check whether --enable-ecore-x-xprint was given.
20841if test "${enable_ecore_x_xprint+set}" = set; then :
20842 enableval=$enable_ecore_x_xprint; want_ecore_x_xprint=$enableval
20843fi
20844
20845
20846# Check whether --enable-ecore-x-xtest was given.
20847if test "${enable_ecore_x_xtest+set}" = set; then :
20848 enableval=$enable_ecore_x_xtest; want_ecore_x_xtest=$enableval
20849fi
20850
20851
20852# Check whether --enable-ecore-x-cursor was given.
20853if test "${enable_ecore_x_cursor+set}" = set; then :
20854 enableval=$enable_ecore_x_cursor; want_ecore_x_cursor=$enableval
20855fi
20856
20857
20858# Check whether --enable-ecore-x-input was given.
20859if test "${enable_ecore_x_input+set}" = set; then :
20860 enableval=$enable_ecore_x_input; want_ecore_x_input=$enableval
20861fi
20862
20863
20864# Check whether --enable-ecore-x-dri was given.
20865if test "${enable_ecore_x_dri+set}" = set; then :
20866 enableval=$enable_ecore_x_dri; want_ecore_x_dri=$enableval
20867fi
20868
20869
20870# Check whether --enable-ecore-x-xcb was given.
20871if test "${enable_ecore_x_xcb+set}" = set; then :
20872 enableval=$enable_ecore_x_xcb; want_ecore_x_xcb=$enableval
20873fi
20874
20875
20876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_x with XCB backend is to be built" >&5
20877$as_echo_n "checking whether ecore_x with XCB backend is to be built... " >&6; }
20878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_ecore_x_xcb" >&5
20879$as_echo "$want_ecore_x_xcb" >&6; }
20880
20881if test "x$want_ecore_x_xcb" = "xyes" ; then
20882
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking keysym definitions" >&5
20884$as_echo_n "checking keysym definitions... " >&6; }
20885 KEYSYMDEFDIR=`$PKG_CONFIG --variable=includedir xproto`/X11
20886 FILES="keysymdef.h XF86keysym.h Sunkeysym.h DECkeysym.h HPkeysym.h"
20887 for i in $FILES; do
20888 if test -f "$KEYSYMDEFDIR/$i"; then
20889 KEYSYMDEFS="$KEYSYMDEFS $KEYSYMDEFDIR/$i"
20890 elif test "x$i" = "xkeysymdef.h"; then
20891 as_fn_error $? "Cannot find keysymdef.h" "$LINENO" 5
20892 fi
20893 done
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KEYSYMDEFS" >&5
20895$as_echo "$KEYSYMDEFS" >&6; }
20896
20897
20898 have_iconv="no"
20899
20900# Check whether --with-iconv-link was given.
20901if test "${with_iconv_link+set}" = set; then :
20902 withval=$with_iconv_link;
20903 LIBS="$withval $LIBS"
20904 have_iconv="yes"
20905
20906fi
20907
20908
20909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for explicit iconv link options" >&5
20910$as_echo_n "checking for explicit iconv link options... " >&6; }
20911 if test "x${iconv_libs}" = "x" ; then
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no explicit iconv link option" >&5
20913$as_echo "no explicit iconv link option" >&6; }
20914 else
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $iconv_libs" >&5
20916$as_echo "$iconv_libs" >&6; }
20917 fi
20918
20919 if test "x${have_iconv}" = "xno" ; then
20920 for ac_header in iconv.h
20921do :
20922 ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
20923if test "x$ac_cv_header_iconv_h" = x""yes; then :
20924 cat >>confdefs.h <<_ACEOF
20925#define HAVE_ICONV_H 1
20926_ACEOF
20927 have_iconv="yes"
20928fi
20929
20930done
20931
20932
20933 if test "x${have_iconv}" = "xyes" ; then
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libc" >&5
20935$as_echo_n "checking whether iconv() is in libc... " >&6; }
20936
20937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20938/* end confdefs.h. */
20939
20940 #include <stdlib.h>
20941 #include <iconv.h>
20942
20943int
20944main ()
20945{
20946
20947 iconv_t ic;
20948 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
20949
20950 ;
20951 return 0;
20952}
20953_ACEOF
20954if ac_fn_c_try_link "$LINENO"; then :
20955 have_iconv="yes"
20956else
20957 have_iconv="no"
20958fi
20959rm -f core conftest.err conftest.$ac_objext \
20960 conftest$ac_exeext conftest.$ac_ext
20961
20962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
20963$as_echo "${have_iconv}" >&6; }
20964 fi
20965
20966 if test "x${have_iconv}" = "xno" ; then
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv.a" >&5
20968$as_echo_n "checking whether iconv() is in libiconv.a... " >&6; }
20969
20970 LIBS_save="${LIBS}"
20971 LIBS="-liconv $LIBS"
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973/* end confdefs.h. */
20974
20975 #include <stdlib.h>
20976 #include <iconv.h>
20977
20978int
20979main ()
20980{
20981
20982 iconv_t ic;
20983 size_t count;
20984 count = iconv(ic, NULL, NULL, NULL, NULL);
20985
20986 ;
20987 return 0;
20988}
20989_ACEOF
20990if ac_fn_c_try_link "$LINENO"; then :
20991 have_iconv="yes"
20992else
20993
20994 have_iconv="no"
20995 LIBS=${LIBS_save}
20996
20997fi
20998rm -f core conftest.err conftest.$ac_objext \
20999 conftest$ac_exeext conftest.$ac_ext
21000
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21002$as_echo "${have_iconv}" >&6; }
21003 fi
21004
21005 if test "x${have_iconv}" = "xno" ; then
21006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv() is in libiconv_plug.a" >&5
21007$as_echo_n "checking whether iconv() is in libiconv_plug.a... " >&6; }
21008
21009 LIBS_save="${LIBS}"
21010 LIBS="-liconv_plug $LIBS"
21011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012/* end confdefs.h. */
21013
21014 #include <stdlib.h>
21015 #include <iconv.h>
21016
21017int
21018main ()
21019{
21020
21021 iconv_t ic;
21022 size_t count = iconv(ic, NULL, NULL, NULL, NULL);
21023
21024 ;
21025 return 0;
21026}
21027_ACEOF
21028if ac_fn_c_try_link "$LINENO"; then :
21029 have_iconv="yes"
21030else
21031
21032 have_iconv="no"
21033 LIBS=${LIBS_save}
21034
21035fi
21036rm -f core conftest.err conftest.$ac_objext \
21037 conftest$ac_exeext conftest.$ac_ext
21038
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_iconv}" >&5
21040$as_echo "${have_iconv}" >&6; }
21041 fi
21042
21043 if test "x${have_iconv}" = "xyes" ; then
21044
21045$as_echo "#define HAVE_ICONV 1" >>confdefs.h
21046
21047 fi
21048 fi
21049
21050
21051pkg_failed=no
21052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21053$as_echo_n "checking for ECORE_XCB... " >&6; }
21054
21055if test -n "$ECORE_XCB_CFLAGS"; then
21056 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21057 elif test -n "$PKG_CONFIG"; then
21058 if test -n "$PKG_CONFIG" && \
21059 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21060 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21061 ac_status=$?
21062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21063 test $ac_status = 0; }; then
21064 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21065else
21066 pkg_failed=yes
21067fi
21068 else
21069 pkg_failed=untried
21070fi
21071if test -n "$ECORE_XCB_LIBS"; then
21072 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21073 elif test -n "$PKG_CONFIG"; then
21074 if test -n "$PKG_CONFIG" && \
21075 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8\""; } >&5
21076 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8") 2>&5
21077 ac_status=$?
21078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21079 test $ac_status = 0; }; then
21080 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>/dev/null`
21081else
21082 pkg_failed=yes
21083fi
21084 else
21085 pkg_failed=untried
21086fi
21087
21088
21089
21090if test $pkg_failed = yes; then
21091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21092$as_echo "no" >&6; }
21093
21094if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21095 _pkg_short_errors_supported=yes
21096else
21097 _pkg_short_errors_supported=no
21098fi
21099 if test $_pkg_short_errors_supported = yes; then
21100 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21101 else
21102 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-shm xcb-event xcb-icccm >= 0.3.8 xcb-util >= 0.3.8 xcb-image xcb-keysyms >= 0.3.8" 2>&1`
21103 fi
21104 # Put the nasty error message in config.log where it belongs
21105 echo "$ECORE_XCB_PKG_ERRORS" >&5
21106
21107
21108
21109pkg_failed=no
21110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21111$as_echo_n "checking for ECORE_XCB... " >&6; }
21112
21113if test -n "$ECORE_XCB_CFLAGS"; then
21114 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21115 elif test -n "$PKG_CONFIG"; then
21116 if test -n "$PKG_CONFIG" && \
21117 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21118 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21119 ac_status=$?
21120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21121 test $ac_status = 0; }; then
21122 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21123else
21124 pkg_failed=yes
21125fi
21126 else
21127 pkg_failed=untried
21128fi
21129if test -n "$ECORE_XCB_LIBS"; then
21130 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21131 elif test -n "$PKG_CONFIG"; then
21132 if test -n "$PKG_CONFIG" && \
21133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21134 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21135 ac_status=$?
21136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21137 test $ac_status = 0; }; then
21138 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21139else
21140 pkg_failed=yes
21141fi
21142 else
21143 pkg_failed=untried
21144fi
21145
21146
21147
21148if test $pkg_failed = yes; then
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21150$as_echo "no" >&6; }
21151
21152if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21153 _pkg_short_errors_supported=yes
21154else
21155 _pkg_short_errors_supported=no
21156fi
21157 if test $_pkg_short_errors_supported = yes; then
21158 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21159 else
21160 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21161 fi
21162 # Put the nasty error message in config.log where it belongs
21163 echo "$ECORE_XCB_PKG_ERRORS" >&5
21164
21165 have_ecore_x_xcb="no"
21166elif test $pkg_failed = untried; then
21167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21168$as_echo "no" >&6; }
21169 have_ecore_x_xcb="no"
21170else
21171 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21172 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21174$as_echo "yes" >&6; }
21175 have_ecore_x_xcb="yes"
21176
21177$as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21178
21179 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21180fi
21181
21182elif test $pkg_failed = untried; then
21183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21184$as_echo "no" >&6; }
21185
21186
21187pkg_failed=no
21188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_XCB" >&5
21189$as_echo_n "checking for ECORE_XCB... " >&6; }
21190
21191if test -n "$ECORE_XCB_CFLAGS"; then
21192 pkg_cv_ECORE_XCB_CFLAGS="$ECORE_XCB_CFLAGS"
21193 elif test -n "$PKG_CONFIG"; then
21194 if test -n "$PKG_CONFIG" && \
21195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21196 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21197 ac_status=$?
21198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21199 test $ac_status = 0; }; then
21200 pkg_cv_ECORE_XCB_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21201else
21202 pkg_failed=yes
21203fi
21204 else
21205 pkg_failed=untried
21206fi
21207if test -n "$ECORE_XCB_LIBS"; then
21208 pkg_cv_ECORE_XCB_LIBS="$ECORE_XCB_LIBS"
21209 elif test -n "$PKG_CONFIG"; then
21210 if test -n "$PKG_CONFIG" && \
21211 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms\""; } >&5
21212 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms") 2>&5
21213 ac_status=$?
21214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21215 test $ac_status = 0; }; then
21216 pkg_cv_ECORE_XCB_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>/dev/null`
21217else
21218 pkg_failed=yes
21219fi
21220 else
21221 pkg_failed=untried
21222fi
21223
21224
21225
21226if test $pkg_failed = yes; then
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21228$as_echo "no" >&6; }
21229
21230if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21231 _pkg_short_errors_supported=yes
21232else
21233 _pkg_short_errors_supported=no
21234fi
21235 if test $_pkg_short_errors_supported = yes; then
21236 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21237 else
21238 ECORE_XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms" 2>&1`
21239 fi
21240 # Put the nasty error message in config.log where it belongs
21241 echo "$ECORE_XCB_PKG_ERRORS" >&5
21242
21243 have_ecore_x_xcb="no"
21244elif test $pkg_failed = untried; then
21245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21246$as_echo "no" >&6; }
21247 have_ecore_x_xcb="no"
21248else
21249 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21250 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21252$as_echo "yes" >&6; }
21253 have_ecore_x_xcb="yes"
21254
21255$as_echo "#define OLD_XCB_VERSION 1" >>confdefs.h
21256
21257 requirements_ecore_x="x11-xcb xcb xcb-event xcb-shm xcb-icccm xcb-image xcb-keysyms ${requirements_ecore_x}"
21258fi
21259
21260else
21261 ECORE_XCB_CFLAGS=$pkg_cv_ECORE_XCB_CFLAGS
21262 ECORE_XCB_LIBS=$pkg_cv_ECORE_XCB_LIBS
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21264$as_echo "yes" >&6; }
21265 have_ecore_x_xcb="yes"
21266 requirements_ecore_x="x11-xcb xcb xcb-shm xcb-event xcb-icccm xcb-util xcb-image xcb-keysyms ${requirements_ecore_x}"
21267
21268fi
21269
21270 if test "x$have_ecore_x_xcb" = "xyes" ; then
21271
21272
21273pkg_failed=no
21274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
21275$as_echo_n "checking for PIXMAN... " >&6; }
21276
21277if test -n "$PIXMAN_CFLAGS"; then
21278 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
21279 elif test -n "$PKG_CONFIG"; then
21280 if test -n "$PKG_CONFIG" && \
21281 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21282 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21283 ac_status=$?
21284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21285 test $ac_status = 0; }; then
21286 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
21287else
21288 pkg_failed=yes
21289fi
21290 else
21291 pkg_failed=untried
21292fi
21293if test -n "$PIXMAN_LIBS"; then
21294 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
21295 elif test -n "$PKG_CONFIG"; then
21296 if test -n "$PKG_CONFIG" && \
21297 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
21298 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
21299 ac_status=$?
21300 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21301 test $ac_status = 0; }; then
21302 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
21303else
21304 pkg_failed=yes
21305fi
21306 else
21307 pkg_failed=untried
21308fi
21309
21310
21311
21312if test $pkg_failed = yes; then
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21314$as_echo "no" >&6; }
21315
21316if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21317 _pkg_short_errors_supported=yes
21318else
21319 _pkg_short_errors_supported=no
21320fi
21321 if test $_pkg_short_errors_supported = yes; then
21322 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
21323 else
21324 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
21325 fi
21326 # Put the nasty error message in config.log where it belongs
21327 echo "$PIXMAN_PKG_ERRORS" >&5
21328
21329
21330 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21331 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21332 fi
21333
21334elif test $pkg_failed = untried; then
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21336$as_echo "no" >&6; }
21337
21338 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21339 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
21340 fi
21341
21342else
21343 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
21344 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21346$as_echo "yes" >&6; }
21347
21348 have_pixman="yes"
21349
21350$as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
21351
21352 requirements_ecore_x="pixman-1 ${requirements_ecore_x}"
21353
21354fi
21355
21356 if test "x$want_ecore_x_composite" != "xno"; then
21357
21358pkg_failed=no
21359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_COMPOSITE" >&5
21360$as_echo_n "checking for XCB_COMPOSITE... " >&6; }
21361
21362if test -n "$XCB_COMPOSITE_CFLAGS"; then
21363 pkg_cv_XCB_COMPOSITE_CFLAGS="$XCB_COMPOSITE_CFLAGS"
21364 elif test -n "$PKG_CONFIG"; then
21365 if test -n "$PKG_CONFIG" && \
21366 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21367 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21368 ac_status=$?
21369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21370 test $ac_status = 0; }; then
21371 pkg_cv_XCB_COMPOSITE_CFLAGS=`$PKG_CONFIG --cflags "xcb-composite" 2>/dev/null`
21372else
21373 pkg_failed=yes
21374fi
21375 else
21376 pkg_failed=untried
21377fi
21378if test -n "$XCB_COMPOSITE_LIBS"; then
21379 pkg_cv_XCB_COMPOSITE_LIBS="$XCB_COMPOSITE_LIBS"
21380 elif test -n "$PKG_CONFIG"; then
21381 if test -n "$PKG_CONFIG" && \
21382 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-composite\""; } >&5
21383 ($PKG_CONFIG --exists --print-errors "xcb-composite") 2>&5
21384 ac_status=$?
21385 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21386 test $ac_status = 0; }; then
21387 pkg_cv_XCB_COMPOSITE_LIBS=`$PKG_CONFIG --libs "xcb-composite" 2>/dev/null`
21388else
21389 pkg_failed=yes
21390fi
21391 else
21392 pkg_failed=untried
21393fi
21394
21395
21396
21397if test $pkg_failed = yes; then
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21399$as_echo "no" >&6; }
21400
21401if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21402 _pkg_short_errors_supported=yes
21403else
21404 _pkg_short_errors_supported=no
21405fi
21406 if test $_pkg_short_errors_supported = yes; then
21407 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-composite" 2>&1`
21408 else
21409 XCB_COMPOSITE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-composite" 2>&1`
21410 fi
21411 # Put the nasty error message in config.log where it belongs
21412 echo "$XCB_COMPOSITE_PKG_ERRORS" >&5
21413
21414 have_ecore_x_xcb_composite="no"
21415elif test $pkg_failed = untried; then
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21417$as_echo "no" >&6; }
21418 have_ecore_x_xcb_composite="no"
21419else
21420 XCB_COMPOSITE_CFLAGS=$pkg_cv_XCB_COMPOSITE_CFLAGS
21421 XCB_COMPOSITE_LIBS=$pkg_cv_XCB_COMPOSITE_LIBS
21422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21423$as_echo "yes" >&6; }
21424 have_ecore_x_xcb_composite="yes"
21425 requirements_ecore_x="xcb-composite ${requirements_ecore_x}"
21426
21427$as_echo "#define ECORE_XCB_COMPOSITE 1" >>confdefs.h
21428
21429fi
21430 else
21431 have_ecore_x_xcb_composite="no"
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: \"composite extension explicitly disabled\"" >&5
21433$as_echo "$as_me: \"composite extension explicitly disabled\"" >&6;}
21434 fi
21435
21436 if test "x$want_ecore_x_damage" != "xno"; then
21437
21438pkg_failed=no
21439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DAMAGE" >&5
21440$as_echo_n "checking for XCB_DAMAGE... " >&6; }
21441
21442if test -n "$XCB_DAMAGE_CFLAGS"; then
21443 pkg_cv_XCB_DAMAGE_CFLAGS="$XCB_DAMAGE_CFLAGS"
21444 elif test -n "$PKG_CONFIG"; then
21445 if test -n "$PKG_CONFIG" && \
21446 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21447 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21448 ac_status=$?
21449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21450 test $ac_status = 0; }; then
21451 pkg_cv_XCB_DAMAGE_CFLAGS=`$PKG_CONFIG --cflags "xcb-damage" 2>/dev/null`
21452else
21453 pkg_failed=yes
21454fi
21455 else
21456 pkg_failed=untried
21457fi
21458if test -n "$XCB_DAMAGE_LIBS"; then
21459 pkg_cv_XCB_DAMAGE_LIBS="$XCB_DAMAGE_LIBS"
21460 elif test -n "$PKG_CONFIG"; then
21461 if test -n "$PKG_CONFIG" && \
21462 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-damage\""; } >&5
21463 ($PKG_CONFIG --exists --print-errors "xcb-damage") 2>&5
21464 ac_status=$?
21465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21466 test $ac_status = 0; }; then
21467 pkg_cv_XCB_DAMAGE_LIBS=`$PKG_CONFIG --libs "xcb-damage" 2>/dev/null`
21468else
21469 pkg_failed=yes
21470fi
21471 else
21472 pkg_failed=untried
21473fi
21474
21475
21476
21477if test $pkg_failed = yes; then
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21479$as_echo "no" >&6; }
21480
21481if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21482 _pkg_short_errors_supported=yes
21483else
21484 _pkg_short_errors_supported=no
21485fi
21486 if test $_pkg_short_errors_supported = yes; then
21487 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-damage" 2>&1`
21488 else
21489 XCB_DAMAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-damage" 2>&1`
21490 fi
21491 # Put the nasty error message in config.log where it belongs
21492 echo "$XCB_DAMAGE_PKG_ERRORS" >&5
21493
21494 have_ecore_x_xcb_damage="no"
21495elif test $pkg_failed = untried; then
21496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21497$as_echo "no" >&6; }
21498 have_ecore_x_xcb_damage="no"
21499else
21500 XCB_DAMAGE_CFLAGS=$pkg_cv_XCB_DAMAGE_CFLAGS
21501 XCB_DAMAGE_LIBS=$pkg_cv_XCB_DAMAGE_LIBS
21502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21503$as_echo "yes" >&6; }
21504 have_ecore_x_xcb_damage="yes"
21505 requirements_ecore_x="xcb-damage ${requirements_ecore_x}"
21506
21507$as_echo "#define ECORE_XCB_DAMAGE 1" >>confdefs.h
21508
21509fi
21510 else
21511 have_ecore_x_xcb_damage="no"
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: \"damage extension explicitly disabled\"" >&5
21513$as_echo "$as_me: \"damage extension explicitly disabled\"" >&6;}
21514 fi
21515
21516 if test "x$want_ecore_x_dpms" != "xno"; then
21517
21518pkg_failed=no
21519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_DPMS" >&5
21520$as_echo_n "checking for XCB_DPMS... " >&6; }
21521
21522if test -n "$XCB_DPMS_CFLAGS"; then
21523 pkg_cv_XCB_DPMS_CFLAGS="$XCB_DPMS_CFLAGS"
21524 elif test -n "$PKG_CONFIG"; then
21525 if test -n "$PKG_CONFIG" && \
21526 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21527 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21528 ac_status=$?
21529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21530 test $ac_status = 0; }; then
21531 pkg_cv_XCB_DPMS_CFLAGS=`$PKG_CONFIG --cflags "xcb-dpms" 2>/dev/null`
21532else
21533 pkg_failed=yes
21534fi
21535 else
21536 pkg_failed=untried
21537fi
21538if test -n "$XCB_DPMS_LIBS"; then
21539 pkg_cv_XCB_DPMS_LIBS="$XCB_DPMS_LIBS"
21540 elif test -n "$PKG_CONFIG"; then
21541 if test -n "$PKG_CONFIG" && \
21542 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-dpms\""; } >&5
21543 ($PKG_CONFIG --exists --print-errors "xcb-dpms") 2>&5
21544 ac_status=$?
21545 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21546 test $ac_status = 0; }; then
21547 pkg_cv_XCB_DPMS_LIBS=`$PKG_CONFIG --libs "xcb-dpms" 2>/dev/null`
21548else
21549 pkg_failed=yes
21550fi
21551 else
21552 pkg_failed=untried
21553fi
21554
21555
21556
21557if test $pkg_failed = yes; then
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21559$as_echo "no" >&6; }
21560
21561if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21562 _pkg_short_errors_supported=yes
21563else
21564 _pkg_short_errors_supported=no
21565fi
21566 if test $_pkg_short_errors_supported = yes; then
21567 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-dpms" 2>&1`
21568 else
21569 XCB_DPMS_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-dpms" 2>&1`
21570 fi
21571 # Put the nasty error message in config.log where it belongs
21572 echo "$XCB_DPMS_PKG_ERRORS" >&5
21573
21574 have_ecore_x_xcb_dpms="no"
21575elif test $pkg_failed = untried; then
21576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21577$as_echo "no" >&6; }
21578 have_ecore_x_xcb_dpms="no"
21579else
21580 XCB_DPMS_CFLAGS=$pkg_cv_XCB_DPMS_CFLAGS
21581 XCB_DPMS_LIBS=$pkg_cv_XCB_DPMS_LIBS
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21583$as_echo "yes" >&6; }
21584 have_ecore_x_xcb_dpms="yes"
21585 requirements_ecore_x="xcb-dpms ${requirements_ecore_x}"
21586
21587$as_echo "#define ECORE_XCB_DPMS 1" >>confdefs.h
21588
21589fi
21590 else
21591 have_ecore_x_xcb_dpms="no"
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: \"dpms extension explicitly disabled\"" >&5
21593$as_echo "$as_me: \"dpms extension explicitly disabled\"" >&6;}
21594 fi
21595
21596 if test "x$want_ecore_x_randr" != "xno"; then
21597
21598pkg_failed=no
21599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RANDR" >&5
21600$as_echo_n "checking for XCB_RANDR... " >&6; }
21601
21602if test -n "$XCB_RANDR_CFLAGS"; then
21603 pkg_cv_XCB_RANDR_CFLAGS="$XCB_RANDR_CFLAGS"
21604 elif test -n "$PKG_CONFIG"; then
21605 if test -n "$PKG_CONFIG" && \
21606 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21607 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21608 ac_status=$?
21609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21610 test $ac_status = 0; }; then
21611 pkg_cv_XCB_RANDR_CFLAGS=`$PKG_CONFIG --cflags "xcb-randr" 2>/dev/null`
21612else
21613 pkg_failed=yes
21614fi
21615 else
21616 pkg_failed=untried
21617fi
21618if test -n "$XCB_RANDR_LIBS"; then
21619 pkg_cv_XCB_RANDR_LIBS="$XCB_RANDR_LIBS"
21620 elif test -n "$PKG_CONFIG"; then
21621 if test -n "$PKG_CONFIG" && \
21622 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-randr\""; } >&5
21623 ($PKG_CONFIG --exists --print-errors "xcb-randr") 2>&5
21624 ac_status=$?
21625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21626 test $ac_status = 0; }; then
21627 pkg_cv_XCB_RANDR_LIBS=`$PKG_CONFIG --libs "xcb-randr" 2>/dev/null`
21628else
21629 pkg_failed=yes
21630fi
21631 else
21632 pkg_failed=untried
21633fi
21634
21635
21636
21637if test $pkg_failed = yes; then
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21639$as_echo "no" >&6; }
21640
21641if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21642 _pkg_short_errors_supported=yes
21643else
21644 _pkg_short_errors_supported=no
21645fi
21646 if test $_pkg_short_errors_supported = yes; then
21647 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-randr" 2>&1`
21648 else
21649 XCB_RANDR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-randr" 2>&1`
21650 fi
21651 # Put the nasty error message in config.log where it belongs
21652 echo "$XCB_RANDR_PKG_ERRORS" >&5
21653
21654 have_ecore_x_xcb_randr="no"
21655elif test $pkg_failed = untried; then
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21657$as_echo "no" >&6; }
21658 have_ecore_x_xcb_randr="no"
21659else
21660 XCB_RANDR_CFLAGS=$pkg_cv_XCB_RANDR_CFLAGS
21661 XCB_RANDR_LIBS=$pkg_cv_XCB_RANDR_LIBS
21662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21663$as_echo "yes" >&6; }
21664 have_ecore_x_xcb_randr="yes"
21665 requirements_ecore_x="xcb-randr ${requirements_ecore_x}"
21666
21667$as_echo "#define ECORE_XCB_RANDR 1" >>confdefs.h
21668
21669fi
21670 else
21671 have_ecore_x_xcb_randr="no"
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: \"randr extension explicitly disabled\"" >&5
21673$as_echo "$as_me: \"randr extension explicitly disabled\"" >&6;}
21674 fi
21675
21676 if test "x$want_ecore_x_render" != "xno"; then
21677
21678pkg_failed=no
21679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_RENDER" >&5
21680$as_echo_n "checking for XCB_RENDER... " >&6; }
21681
21682if test -n "$XCB_RENDER_CFLAGS"; then
21683 pkg_cv_XCB_RENDER_CFLAGS="$XCB_RENDER_CFLAGS"
21684 elif test -n "$PKG_CONFIG"; then
21685 if test -n "$PKG_CONFIG" && \
21686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
21687 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
21688 ac_status=$?
21689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21690 test $ac_status = 0; }; then
21691 pkg_cv_XCB_RENDER_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
21692else
21693 pkg_failed=yes
21694fi
21695 else
21696 pkg_failed=untried
21697fi
21698if test -n "$XCB_RENDER_LIBS"; then
21699 pkg_cv_XCB_RENDER_LIBS="$XCB_RENDER_LIBS"
21700 elif test -n "$PKG_CONFIG"; then
21701 if test -n "$PKG_CONFIG" && \
21702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
21703 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
21704 ac_status=$?
21705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21706 test $ac_status = 0; }; then
21707 pkg_cv_XCB_RENDER_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
21708else
21709 pkg_failed=yes
21710fi
21711 else
21712 pkg_failed=untried
21713fi
21714
21715
21716
21717if test $pkg_failed = yes; then
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21719$as_echo "no" >&6; }
21720
21721if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21722 _pkg_short_errors_supported=yes
21723else
21724 _pkg_short_errors_supported=no
21725fi
21726 if test $_pkg_short_errors_supported = yes; then
21727 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-render xcb-renderutil" 2>&1`
21728 else
21729 XCB_RENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-render xcb-renderutil" 2>&1`
21730 fi
21731 # Put the nasty error message in config.log where it belongs
21732 echo "$XCB_RENDER_PKG_ERRORS" >&5
21733
21734 have_ecore_x_xcb_render="no"
21735elif test $pkg_failed = untried; then
21736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21737$as_echo "no" >&6; }
21738 have_ecore_x_xcb_render="no"
21739else
21740 XCB_RENDER_CFLAGS=$pkg_cv_XCB_RENDER_CFLAGS
21741 XCB_RENDER_LIBS=$pkg_cv_XCB_RENDER_LIBS
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21743$as_echo "yes" >&6; }
21744 have_ecore_x_xcb_render="yes"
21745 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
21746
21747$as_echo "#define ECORE_XCB_RENDER 1" >>confdefs.h
21748
21749fi
21750 else
21751 have_ecore_x_xcb_render="no"
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: \"render extension explicitly disabled\"" >&5
21753$as_echo "$as_me: \"render extension explicitly disabled\"" >&6;}
21754 fi
21755
21756 if test "x$want_ecore_x_screensaver" != "xno"; then
21757
21758pkg_failed=no
21759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SCREENSAVER" >&5
21760$as_echo_n "checking for XCB_SCREENSAVER... " >&6; }
21761
21762if test -n "$XCB_SCREENSAVER_CFLAGS"; then
21763 pkg_cv_XCB_SCREENSAVER_CFLAGS="$XCB_SCREENSAVER_CFLAGS"
21764 elif test -n "$PKG_CONFIG"; then
21765 if test -n "$PKG_CONFIG" && \
21766 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
21767 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
21768 ac_status=$?
21769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21770 test $ac_status = 0; }; then
21771 pkg_cv_XCB_SCREENSAVER_CFLAGS=`$PKG_CONFIG --cflags "xcb-screensaver" 2>/dev/null`
21772else
21773 pkg_failed=yes
21774fi
21775 else
21776 pkg_failed=untried
21777fi
21778if test -n "$XCB_SCREENSAVER_LIBS"; then
21779 pkg_cv_XCB_SCREENSAVER_LIBS="$XCB_SCREENSAVER_LIBS"
21780 elif test -n "$PKG_CONFIG"; then
21781 if test -n "$PKG_CONFIG" && \
21782 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-screensaver\""; } >&5
21783 ($PKG_CONFIG --exists --print-errors "xcb-screensaver") 2>&5
21784 ac_status=$?
21785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21786 test $ac_status = 0; }; then
21787 pkg_cv_XCB_SCREENSAVER_LIBS=`$PKG_CONFIG --libs "xcb-screensaver" 2>/dev/null`
21788else
21789 pkg_failed=yes
21790fi
21791 else
21792 pkg_failed=untried
21793fi
21794
21795
21796
21797if test $pkg_failed = yes; then
21798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21799$as_echo "no" >&6; }
21800
21801if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21802 _pkg_short_errors_supported=yes
21803else
21804 _pkg_short_errors_supported=no
21805fi
21806 if test $_pkg_short_errors_supported = yes; then
21807 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-screensaver" 2>&1`
21808 else
21809 XCB_SCREENSAVER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-screensaver" 2>&1`
21810 fi
21811 # Put the nasty error message in config.log where it belongs
21812 echo "$XCB_SCREENSAVER_PKG_ERRORS" >&5
21813
21814 have_ecore_x_xcb_screensaver="no"
21815elif test $pkg_failed = untried; then
21816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21817$as_echo "no" >&6; }
21818 have_ecore_x_xcb_screensaver="no"
21819else
21820 XCB_SCREENSAVER_CFLAGS=$pkg_cv_XCB_SCREENSAVER_CFLAGS
21821 XCB_SCREENSAVER_LIBS=$pkg_cv_XCB_SCREENSAVER_LIBS
21822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21823$as_echo "yes" >&6; }
21824 have_ecore_x_xcb_screensaver="yes"
21825 requirements_ecore_x="xcb-screensaver ${requirements_ecore_x}"
21826
21827$as_echo "#define ECORE_XCB_SCREENSAVER 1" >>confdefs.h
21828
21829fi
21830 else
21831 have_ecore_x_xcb_screensaver="no"
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: \"screensaver extension explicitly disabled\"" >&5
21833$as_echo "$as_me: \"screensaver extension explicitly disabled\"" >&6;}
21834 fi
21835
21836 if test "x$want_ecore_x_shape" != "xno"; then
21837
21838pkg_failed=no
21839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SHAPE" >&5
21840$as_echo_n "checking for XCB_SHAPE... " >&6; }
21841
21842if test -n "$XCB_SHAPE_CFLAGS"; then
21843 pkg_cv_XCB_SHAPE_CFLAGS="$XCB_SHAPE_CFLAGS"
21844 elif test -n "$PKG_CONFIG"; then
21845 if test -n "$PKG_CONFIG" && \
21846 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
21847 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
21848 ac_status=$?
21849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21850 test $ac_status = 0; }; then
21851 pkg_cv_XCB_SHAPE_CFLAGS=`$PKG_CONFIG --cflags "xcb-shape" 2>/dev/null`
21852else
21853 pkg_failed=yes
21854fi
21855 else
21856 pkg_failed=untried
21857fi
21858if test -n "$XCB_SHAPE_LIBS"; then
21859 pkg_cv_XCB_SHAPE_LIBS="$XCB_SHAPE_LIBS"
21860 elif test -n "$PKG_CONFIG"; then
21861 if test -n "$PKG_CONFIG" && \
21862 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-shape\""; } >&5
21863 ($PKG_CONFIG --exists --print-errors "xcb-shape") 2>&5
21864 ac_status=$?
21865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21866 test $ac_status = 0; }; then
21867 pkg_cv_XCB_SHAPE_LIBS=`$PKG_CONFIG --libs "xcb-shape" 2>/dev/null`
21868else
21869 pkg_failed=yes
21870fi
21871 else
21872 pkg_failed=untried
21873fi
21874
21875
21876
21877if test $pkg_failed = yes; then
21878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21879$as_echo "no" >&6; }
21880
21881if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21882 _pkg_short_errors_supported=yes
21883else
21884 _pkg_short_errors_supported=no
21885fi
21886 if test $_pkg_short_errors_supported = yes; then
21887 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-shape" 2>&1`
21888 else
21889 XCB_SHAPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-shape" 2>&1`
21890 fi
21891 # Put the nasty error message in config.log where it belongs
21892 echo "$XCB_SHAPE_PKG_ERRORS" >&5
21893
21894 have_ecore_x_xcb_shape="no"
21895elif test $pkg_failed = untried; then
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21897$as_echo "no" >&6; }
21898 have_ecore_x_xcb_shape="no"
21899else
21900 XCB_SHAPE_CFLAGS=$pkg_cv_XCB_SHAPE_CFLAGS
21901 XCB_SHAPE_LIBS=$pkg_cv_XCB_SHAPE_LIBS
21902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21903$as_echo "yes" >&6; }
21904 have_ecore_x_xcb_shape="yes"
21905 requirements_ecore_x="xcb-shape ${requirements_ecore_x}"
21906
21907$as_echo "#define ECORE_XCB_SHAPE 1" >>confdefs.h
21908
21909fi
21910 else
21911 have_ecore_x_xcb_shape="no"
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: \"shape extension explicitly disabled\"" >&5
21913$as_echo "$as_me: \"shape extension explicitly disabled\"" >&6;}
21914 fi
21915
21916 if test "x$want_ecore_x_gesture" != "xno"; then
21917
21918pkg_failed=no
21919{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XGESTURE" >&5
21920$as_echo_n "checking for XCB_XGESTURE... " >&6; }
21921
21922if test -n "$XCB_XGESTURE_CFLAGS"; then
21923 pkg_cv_XCB_XGESTURE_CFLAGS="$XCB_XGESTURE_CFLAGS"
21924 elif test -n "$PKG_CONFIG"; then
21925 if test -n "$PKG_CONFIG" && \
21926 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
21927 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
21928 ac_status=$?
21929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21930 test $ac_status = 0; }; then
21931 pkg_cv_XCB_XGESTURE_CFLAGS=`$PKG_CONFIG --cflags "xcb-gesture" 2>/dev/null`
21932else
21933 pkg_failed=yes
21934fi
21935 else
21936 pkg_failed=untried
21937fi
21938if test -n "$XCB_XGESTURE_LIBS"; then
21939 pkg_cv_XCB_XGESTURE_LIBS="$XCB_XGESTURE_LIBS"
21940 elif test -n "$PKG_CONFIG"; then
21941 if test -n "$PKG_CONFIG" && \
21942 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-gesture\""; } >&5
21943 ($PKG_CONFIG --exists --print-errors "xcb-gesture") 2>&5
21944 ac_status=$?
21945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21946 test $ac_status = 0; }; then
21947 pkg_cv_XCB_XGESTURE_LIBS=`$PKG_CONFIG --libs "xcb-gesture" 2>/dev/null`
21948else
21949 pkg_failed=yes
21950fi
21951 else
21952 pkg_failed=untried
21953fi
21954
21955
21956
21957if test $pkg_failed = yes; then
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21959$as_echo "no" >&6; }
21960
21961if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21962 _pkg_short_errors_supported=yes
21963else
21964 _pkg_short_errors_supported=no
21965fi
21966 if test $_pkg_short_errors_supported = yes; then
21967 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-gesture" 2>&1`
21968 else
21969 XCB_XGESTURE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-gesture" 2>&1`
21970 fi
21971 # Put the nasty error message in config.log where it belongs
21972 echo "$XCB_XGESTURE_PKG_ERRORS" >&5
21973
21974 have_ecore_x_xcb_gesture="no"
21975elif test $pkg_failed = untried; then
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21977$as_echo "no" >&6; }
21978 have_ecore_x_xcb_gesture="no"
21979else
21980 XCB_XGESTURE_CFLAGS=$pkg_cv_XCB_XGESTURE_CFLAGS
21981 XCB_XGESTURE_LIBS=$pkg_cv_XCB_XGESTURE_LIBS
21982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21983$as_echo "yes" >&6; }
21984 have_ecore_x_xcb_gesture="yes"
21985 requirements_ecore_x="xcb-gesture ${requirements_ecore_x}"
21986
21987$as_echo "#define ECORE_XCB_XGESTURE 1" >>confdefs.h
21988
21989fi
21990 else
21991 have_ecore_x_xcb_gesture="no"
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: \"gesture extension explicitly disabled\"" >&5
21993$as_echo "$as_me: \"gesture extension explicitly disabled\"" >&6;}
21994 fi
21995
21996 if test "x$want_ecore_x_sync" != "xno"; then
21997
21998pkg_failed=no
21999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_SYNC" >&5
22000$as_echo_n "checking for XCB_SYNC... " >&6; }
22001
22002if test -n "$XCB_SYNC_CFLAGS"; then
22003 pkg_cv_XCB_SYNC_CFLAGS="$XCB_SYNC_CFLAGS"
22004 elif test -n "$PKG_CONFIG"; then
22005 if test -n "$PKG_CONFIG" && \
22006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22007 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22008 ac_status=$?
22009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22010 test $ac_status = 0; }; then
22011 pkg_cv_XCB_SYNC_CFLAGS=`$PKG_CONFIG --cflags "xcb-sync" 2>/dev/null`
22012else
22013 pkg_failed=yes
22014fi
22015 else
22016 pkg_failed=untried
22017fi
22018if test -n "$XCB_SYNC_LIBS"; then
22019 pkg_cv_XCB_SYNC_LIBS="$XCB_SYNC_LIBS"
22020 elif test -n "$PKG_CONFIG"; then
22021 if test -n "$PKG_CONFIG" && \
22022 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-sync\""; } >&5
22023 ($PKG_CONFIG --exists --print-errors "xcb-sync") 2>&5
22024 ac_status=$?
22025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22026 test $ac_status = 0; }; then
22027 pkg_cv_XCB_SYNC_LIBS=`$PKG_CONFIG --libs "xcb-sync" 2>/dev/null`
22028else
22029 pkg_failed=yes
22030fi
22031 else
22032 pkg_failed=untried
22033fi
22034
22035
22036
22037if test $pkg_failed = yes; then
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22039$as_echo "no" >&6; }
22040
22041if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22042 _pkg_short_errors_supported=yes
22043else
22044 _pkg_short_errors_supported=no
22045fi
22046 if test $_pkg_short_errors_supported = yes; then
22047 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-sync" 2>&1`
22048 else
22049 XCB_SYNC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-sync" 2>&1`
22050 fi
22051 # Put the nasty error message in config.log where it belongs
22052 echo "$XCB_SYNC_PKG_ERRORS" >&5
22053
22054 have_ecore_x_xcb_sync="no"
22055elif test $pkg_failed = untried; then
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22057$as_echo "no" >&6; }
22058 have_ecore_x_xcb_sync="no"
22059else
22060 XCB_SYNC_CFLAGS=$pkg_cv_XCB_SYNC_CFLAGS
22061 XCB_SYNC_LIBS=$pkg_cv_XCB_SYNC_LIBS
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22063$as_echo "yes" >&6; }
22064 have_ecore_x_xcb_sync="yes"
22065 requirements_ecore_x="xcb-sync ${requirements_ecore_x}"
22066
22067$as_echo "#define ECORE_XCB_SYNC 1" >>confdefs.h
22068
22069fi
22070 else
22071 have_ecore_x_xcb_sync="no"
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: \"sync extension explicitly disabled\"" >&5
22073$as_echo "$as_me: \"sync extension explicitly disabled\"" >&6;}
22074 fi
22075
22076 if test "x$want_ecore_x_xfixes" != "xno"; then
22077
22078pkg_failed=no
22079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XFIXES" >&5
22080$as_echo_n "checking for XCB_XFIXES... " >&6; }
22081
22082if test -n "$XCB_XFIXES_CFLAGS"; then
22083 pkg_cv_XCB_XFIXES_CFLAGS="$XCB_XFIXES_CFLAGS"
22084 elif test -n "$PKG_CONFIG"; then
22085 if test -n "$PKG_CONFIG" && \
22086 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22087 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22088 ac_status=$?
22089 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22090 test $ac_status = 0; }; then
22091 pkg_cv_XCB_XFIXES_CFLAGS=`$PKG_CONFIG --cflags "xcb-xfixes" 2>/dev/null`
22092else
22093 pkg_failed=yes
22094fi
22095 else
22096 pkg_failed=untried
22097fi
22098if test -n "$XCB_XFIXES_LIBS"; then
22099 pkg_cv_XCB_XFIXES_LIBS="$XCB_XFIXES_LIBS"
22100 elif test -n "$PKG_CONFIG"; then
22101 if test -n "$PKG_CONFIG" && \
22102 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xfixes\""; } >&5
22103 ($PKG_CONFIG --exists --print-errors "xcb-xfixes") 2>&5
22104 ac_status=$?
22105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22106 test $ac_status = 0; }; then
22107 pkg_cv_XCB_XFIXES_LIBS=`$PKG_CONFIG --libs "xcb-xfixes" 2>/dev/null`
22108else
22109 pkg_failed=yes
22110fi
22111 else
22112 pkg_failed=untried
22113fi
22114
22115
22116
22117if test $pkg_failed = yes; then
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22119$as_echo "no" >&6; }
22120
22121if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22122 _pkg_short_errors_supported=yes
22123else
22124 _pkg_short_errors_supported=no
22125fi
22126 if test $_pkg_short_errors_supported = yes; then
22127 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xfixes" 2>&1`
22128 else
22129 XCB_XFIXES_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xfixes" 2>&1`
22130 fi
22131 # Put the nasty error message in config.log where it belongs
22132 echo "$XCB_XFIXES_PKG_ERRORS" >&5
22133
22134 have_ecore_x_xcb_xfixes="no"
22135elif test $pkg_failed = untried; then
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22137$as_echo "no" >&6; }
22138 have_ecore_x_xcb_xfixes="no"
22139else
22140 XCB_XFIXES_CFLAGS=$pkg_cv_XCB_XFIXES_CFLAGS
22141 XCB_XFIXES_LIBS=$pkg_cv_XCB_XFIXES_LIBS
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22143$as_echo "yes" >&6; }
22144 have_ecore_x_xcb_xfixes="yes"
22145 requirements_ecore_x="xcb-xfixes ${requirements_ecore_x}"
22146
22147$as_echo "#define ECORE_XCB_XFIXES 1" >>confdefs.h
22148
22149fi
22150 else
22151 have_ecore_x_xcb_xfixes="no"
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xfixes extension explicitly disabled\"" >&5
22153$as_echo "$as_me: \"xfixes extension explicitly disabled\"" >&6;}
22154 fi
22155
22156 if test "x$want_ecore_x_xinerama" != "xno"; then
22157
22158pkg_failed=no
22159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINERAMA" >&5
22160$as_echo_n "checking for XCB_XINERAMA... " >&6; }
22161
22162if test -n "$XCB_XINERAMA_CFLAGS"; then
22163 pkg_cv_XCB_XINERAMA_CFLAGS="$XCB_XINERAMA_CFLAGS"
22164 elif test -n "$PKG_CONFIG"; then
22165 if test -n "$PKG_CONFIG" && \
22166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22167 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22168 ac_status=$?
22169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22170 test $ac_status = 0; }; then
22171 pkg_cv_XCB_XINERAMA_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinerama" 2>/dev/null`
22172else
22173 pkg_failed=yes
22174fi
22175 else
22176 pkg_failed=untried
22177fi
22178if test -n "$XCB_XINERAMA_LIBS"; then
22179 pkg_cv_XCB_XINERAMA_LIBS="$XCB_XINERAMA_LIBS"
22180 elif test -n "$PKG_CONFIG"; then
22181 if test -n "$PKG_CONFIG" && \
22182 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinerama\""; } >&5
22183 ($PKG_CONFIG --exists --print-errors "xcb-xinerama") 2>&5
22184 ac_status=$?
22185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22186 test $ac_status = 0; }; then
22187 pkg_cv_XCB_XINERAMA_LIBS=`$PKG_CONFIG --libs "xcb-xinerama" 2>/dev/null`
22188else
22189 pkg_failed=yes
22190fi
22191 else
22192 pkg_failed=untried
22193fi
22194
22195
22196
22197if test $pkg_failed = yes; then
22198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22199$as_echo "no" >&6; }
22200
22201if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22202 _pkg_short_errors_supported=yes
22203else
22204 _pkg_short_errors_supported=no
22205fi
22206 if test $_pkg_short_errors_supported = yes; then
22207 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xinerama" 2>&1`
22208 else
22209 XCB_XINERAMA_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xinerama" 2>&1`
22210 fi
22211 # Put the nasty error message in config.log where it belongs
22212 echo "$XCB_XINERAMA_PKG_ERRORS" >&5
22213
22214 have_ecore_x_xcb_xinerama="no"
22215elif test $pkg_failed = untried; then
22216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22217$as_echo "no" >&6; }
22218 have_ecore_x_xcb_xinerama="no"
22219else
22220 XCB_XINERAMA_CFLAGS=$pkg_cv_XCB_XINERAMA_CFLAGS
22221 XCB_XINERAMA_LIBS=$pkg_cv_XCB_XINERAMA_LIBS
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22223$as_echo "yes" >&6; }
22224 have_ecore_x_xcb_xinerama="yes"
22225 requirements_ecore_x="xcb-xinerama ${requirements_ecore_x}"
22226
22227$as_echo "#define ECORE_XCB_XINERAMA 1" >>confdefs.h
22228
22229fi
22230 else
22231 have_ecore_x_xcb_xinerama="no"
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinerama extension explicitly disabled\"" >&5
22233$as_echo "$as_me: \"xinerama extension explicitly disabled\"" >&6;}
22234 fi
22235
22236 if test "x$want_ecore_x_xprint" != "xno"; then
22237
22238pkg_failed=no
22239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XPRINT" >&5
22240$as_echo_n "checking for XCB_XPRINT... " >&6; }
22241
22242if test -n "$XCB_XPRINT_CFLAGS"; then
22243 pkg_cv_XCB_XPRINT_CFLAGS="$XCB_XPRINT_CFLAGS"
22244 elif test -n "$PKG_CONFIG"; then
22245 if test -n "$PKG_CONFIG" && \
22246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22247 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22248 ac_status=$?
22249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22250 test $ac_status = 0; }; then
22251 pkg_cv_XCB_XPRINT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xprint" 2>/dev/null`
22252else
22253 pkg_failed=yes
22254fi
22255 else
22256 pkg_failed=untried
22257fi
22258if test -n "$XCB_XPRINT_LIBS"; then
22259 pkg_cv_XCB_XPRINT_LIBS="$XCB_XPRINT_LIBS"
22260 elif test -n "$PKG_CONFIG"; then
22261 if test -n "$PKG_CONFIG" && \
22262 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xprint\""; } >&5
22263 ($PKG_CONFIG --exists --print-errors "xcb-xprint") 2>&5
22264 ac_status=$?
22265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22266 test $ac_status = 0; }; then
22267 pkg_cv_XCB_XPRINT_LIBS=`$PKG_CONFIG --libs "xcb-xprint" 2>/dev/null`
22268else
22269 pkg_failed=yes
22270fi
22271 else
22272 pkg_failed=untried
22273fi
22274
22275
22276
22277if test $pkg_failed = yes; then
22278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22279$as_echo "no" >&6; }
22280
22281if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22282 _pkg_short_errors_supported=yes
22283else
22284 _pkg_short_errors_supported=no
22285fi
22286 if test $_pkg_short_errors_supported = yes; then
22287 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xprint" 2>&1`
22288 else
22289 XCB_XPRINT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xprint" 2>&1`
22290 fi
22291 # Put the nasty error message in config.log where it belongs
22292 echo "$XCB_XPRINT_PKG_ERRORS" >&5
22293
22294 have_ecore_x_xcb_xprint="no"
22295elif test $pkg_failed = untried; then
22296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22297$as_echo "no" >&6; }
22298 have_ecore_x_xcb_xprint="no"
22299else
22300 XCB_XPRINT_CFLAGS=$pkg_cv_XCB_XPRINT_CFLAGS
22301 XCB_XPRINT_LIBS=$pkg_cv_XCB_XPRINT_LIBS
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22303$as_echo "yes" >&6; }
22304 have_ecore_x_xcb_xprint="yes"
22305 requirements_ecore_x="xcb-xprint ${requirements_ecore_x}"
22306
22307$as_echo "#define ECORE_XCB_XPRINT 1" >>confdefs.h
22308
22309fi
22310 else
22311 have_ecore_x_xcb_xprint="no"
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xprint extension explicitly disabled\"" >&5
22313$as_echo "$as_me: \"xprint extension explicitly disabled\"" >&6;}
22314 fi
22315
22316 if test "x$want_ecore_x_xtest" != "xno"; then
22317
22318pkg_failed=no
22319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XTEST" >&5
22320$as_echo_n "checking for XCB_XTEST... " >&6; }
22321
22322if test -n "$XCB_XTEST_CFLAGS"; then
22323 pkg_cv_XCB_XTEST_CFLAGS="$XCB_XTEST_CFLAGS"
22324 elif test -n "$PKG_CONFIG"; then
22325 if test -n "$PKG_CONFIG" && \
22326 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22327 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22328 ac_status=$?
22329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22330 test $ac_status = 0; }; then
22331 pkg_cv_XCB_XTEST_CFLAGS=`$PKG_CONFIG --cflags "xcb-xtest" 2>/dev/null`
22332else
22333 pkg_failed=yes
22334fi
22335 else
22336 pkg_failed=untried
22337fi
22338if test -n "$XCB_XTEST_LIBS"; then
22339 pkg_cv_XCB_XTEST_LIBS="$XCB_XTEST_LIBS"
22340 elif test -n "$PKG_CONFIG"; then
22341 if test -n "$PKG_CONFIG" && \
22342 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xtest\""; } >&5
22343 ($PKG_CONFIG --exists --print-errors "xcb-xtest") 2>&5
22344 ac_status=$?
22345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22346 test $ac_status = 0; }; then
22347 pkg_cv_XCB_XTEST_LIBS=`$PKG_CONFIG --libs "xcb-xtest" 2>/dev/null`
22348else
22349 pkg_failed=yes
22350fi
22351 else
22352 pkg_failed=untried
22353fi
22354
22355
22356
22357if test $pkg_failed = yes; then
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22359$as_echo "no" >&6; }
22360
22361if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22362 _pkg_short_errors_supported=yes
22363else
22364 _pkg_short_errors_supported=no
22365fi
22366 if test $_pkg_short_errors_supported = yes; then
22367 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xtest" 2>&1`
22368 else
22369 XCB_XTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xtest" 2>&1`
22370 fi
22371 # Put the nasty error message in config.log where it belongs
22372 echo "$XCB_XTEST_PKG_ERRORS" >&5
22373
22374 have_ecore_x_xcb_xtest="no"
22375elif test $pkg_failed = untried; then
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22377$as_echo "no" >&6; }
22378 have_ecore_x_xcb_xtest="no"
22379else
22380 XCB_XTEST_CFLAGS=$pkg_cv_XCB_XTEST_CFLAGS
22381 XCB_XTEST_LIBS=$pkg_cv_XCB_XTEST_LIBS
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22383$as_echo "yes" >&6; }
22384 have_ecore_x_xcb_xtest="yes"
22385 requirements_ecore_x="xcb-xtest ${requirements_ecore_x}"
22386
22387$as_echo "#define ECORE_XCB_XTEST 1" >>confdefs.h
22388
22389fi
22390 else
22391 have_ecore_x_xcb_xtest="no"
22392 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xtest extension explicitly disabled\"" >&5
22393$as_echo "$as_me: \"xtest extension explicitly disabled\"" >&6;}
22394 fi
22395
22396# input extension disabled currently in xcb as xcb-input has some issues
22397 want_ecore_x_input="no"
22398 if test "x$want_ecore_x_input" != "xno"; then
22399
22400pkg_failed=no
22401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_XINPUT" >&5
22402$as_echo_n "checking for XCB_XINPUT... " >&6; }
22403
22404if test -n "$XCB_XINPUT_CFLAGS"; then
22405 pkg_cv_XCB_XINPUT_CFLAGS="$XCB_XINPUT_CFLAGS"
22406 elif test -n "$PKG_CONFIG"; then
22407 if test -n "$PKG_CONFIG" && \
22408 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22409 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22410 ac_status=$?
22411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22412 test $ac_status = 0; }; then
22413 pkg_cv_XCB_XINPUT_CFLAGS=`$PKG_CONFIG --cflags "xcb-xinput" 2>/dev/null`
22414else
22415 pkg_failed=yes
22416fi
22417 else
22418 pkg_failed=untried
22419fi
22420if test -n "$XCB_XINPUT_LIBS"; then
22421 pkg_cv_XCB_XINPUT_LIBS="$XCB_XINPUT_LIBS"
22422 elif test -n "$PKG_CONFIG"; then
22423 if test -n "$PKG_CONFIG" && \
22424 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xinput\""; } >&5
22425 ($PKG_CONFIG --exists --print-errors "xcb-xinput") 2>&5
22426 ac_status=$?
22427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22428 test $ac_status = 0; }; then
22429 pkg_cv_XCB_XINPUT_LIBS=`$PKG_CONFIG --libs "xcb-xinput" 2>/dev/null`
22430else
22431 pkg_failed=yes
22432fi
22433 else
22434 pkg_failed=untried
22435fi
22436
22437
22438
22439if test $pkg_failed = yes; then
22440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22441$as_echo "no" >&6; }
22442
22443if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22444 _pkg_short_errors_supported=yes
22445else
22446 _pkg_short_errors_supported=no
22447fi
22448 if test $_pkg_short_errors_supported = yes; then
22449 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-xinput" 2>&1`
22450 else
22451 XCB_XINPUT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-xinput" 2>&1`
22452 fi
22453 # Put the nasty error message in config.log where it belongs
22454 echo "$XCB_XINPUT_PKG_ERRORS" >&5
22455
22456 have_ecore_x_xcb_xinput="no"
22457elif test $pkg_failed = untried; then
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22459$as_echo "no" >&6; }
22460 have_ecore_x_xcb_xinput="no"
22461else
22462 XCB_XINPUT_CFLAGS=$pkg_cv_XCB_XINPUT_CFLAGS
22463 XCB_XINPUT_LIBS=$pkg_cv_XCB_XINPUT_LIBS
22464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22465$as_echo "yes" >&6; }
22466 have_ecore_x_xcb_xinput="yes"
22467 requirements_ecore_x="xcb-xinput ${requirements_ecore_x}"
22468
22469$as_echo "#define ECORE_XCB_XINPUT 1" >>confdefs.h
22470
22471fi
22472 else
22473 have_ecore_x_xcb_xinput="no"
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: \"xinput extension explicitly disabled\"" >&5
22475$as_echo "$as_me: \"xinput extension explicitly disabled\"" >&6;}
22476 fi
22477
22478 if test "x$want_ecore_x_cursor" != "xno"; then
22479
22480pkg_failed=no
22481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_CURSOR" >&5
22482$as_echo_n "checking for XCB_CURSOR... " >&6; }
22483
22484if test -n "$XCB_CURSOR_CFLAGS"; then
22485 pkg_cv_XCB_CURSOR_CFLAGS="$XCB_CURSOR_CFLAGS"
22486 elif test -n "$PKG_CONFIG"; then
22487 if test -n "$PKG_CONFIG" && \
22488 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22489 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22490 ac_status=$?
22491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22492 test $ac_status = 0; }; then
22493 pkg_cv_XCB_CURSOR_CFLAGS=`$PKG_CONFIG --cflags "xcb-render xcb-renderutil" 2>/dev/null`
22494else
22495 pkg_failed=yes
22496fi
22497 else
22498 pkg_failed=untried
22499fi
22500if test -n "$XCB_CURSOR_LIBS"; then
22501 pkg_cv_XCB_CURSOR_LIBS="$XCB_CURSOR_LIBS"
22502 elif test -n "$PKG_CONFIG"; then
22503 if test -n "$PKG_CONFIG" && \
22504 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-render xcb-renderutil\""; } >&5
22505 ($PKG_CONFIG --exists --print-errors "xcb-render xcb-renderutil") 2>&5
22506 ac_status=$?
22507 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22508 test $ac_status = 0; }; then
22509 pkg_cv_XCB_CURSOR_LIBS=`$PKG_CONFIG --libs "xcb-render xcb-renderutil" 2>/dev/null`
22510else
22511 pkg_failed=yes
22512fi
22513 else
22514 pkg_failed=untried
22515fi
22516
22517
22518
22519if test $pkg_failed = yes; then
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22521$as_echo "no" >&6; }
22522
22523if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22524 _pkg_short_errors_supported=yes
22525else
22526 _pkg_short_errors_supported=no
22527fi
22528 if test $_pkg_short_errors_supported = yes; then
22529 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb-render xcb-renderutil" 2>&1`
22530 else
22531 XCB_CURSOR_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb-render xcb-renderutil" 2>&1`
22532 fi
22533 # Put the nasty error message in config.log where it belongs
22534 echo "$XCB_CURSOR_PKG_ERRORS" >&5
22535
22536 have_ecore_x_xcb_cursor="no"
22537elif test $pkg_failed = untried; then
22538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22539$as_echo "no" >&6; }
22540 have_ecore_x_xcb_cursor="no"
22541else
22542 XCB_CURSOR_CFLAGS=$pkg_cv_XCB_CURSOR_CFLAGS
22543 XCB_CURSOR_LIBS=$pkg_cv_XCB_CURSOR_LIBS
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22545$as_echo "yes" >&6; }
22546 have_ecore_x_xcb_cursor="yes"
22547 requirements_ecore_x="xcb-render xcb-renderutil ${requirements_ecore_x}"
22548
22549$as_echo "#define ECORE_XCB_CURSOR 1" >>confdefs.h
22550
22551fi
22552 else
22553 have_ecore_x_xcb_cursor="no"
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: \"cursor extension explicitly disabled\"" >&5
22555$as_echo "$as_me: \"cursor extension explicitly disabled\"" >&6;}
22556 fi
22557
22558# if test "x$want_ecore_x_dri" != "xno"; then
22559# PKG_CHECK_MODULES(XCB_DRI, xcb-dri2,
22560# [ have_ecore_x_xcb_dri="yes"
22561# requirements_ecore_x="xcb-dri2 ${requirements_ecore_x}"
22562# AC_DEFINE(ECORE_XCB_DRI, 1, [Build support for XCB dri/dri2]) ],
22563# [ have_ecore_x_xcb_dri="no" ])
22564# else
22565# have_ecore_x_xcb_dri="no"
22566# AC_MSG_NOTICE("dri extension explicitly disabled")
22567# fi
22568
22569
22570$as_echo "#define HAVE_ECORE_X_XCB 1" >>confdefs.h
22571
22572
22573 x_cflags=$ECORE_XCB_CFLAGS
22574 x_libs=$ECORE_XCB_LIBS
22575 have_x="yes"
22576
22577 have_ecore_x_xcb_define="-DHAVE_ECORE_X_XCB"
22578
22579 fi
22580fi
22581
22582if ! test "x$have_ecore_x_xcb" = "xyes" ; then
22583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
22584$as_echo_n "checking for X... " >&6; }
22585
22586
22587# Check whether --with-x was given.
22588if test "${with_x+set}" = set; then :
22589 withval=$with_x;
22590fi
22591
22592# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
22593if test "x$with_x" = xno; then
22594 # The user explicitly disabled X.
22595 have_x=disabled
22596else
22597 case $x_includes,$x_libraries in #(
22598 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
22599 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
22600 $as_echo_n "(cached) " >&6
22601else
22602 # One or both of the vars are not set, and there is no cached value.
22603ac_x_includes=no ac_x_libraries=no
22604rm -f -r conftest.dir
22605if mkdir conftest.dir; then
22606 cd conftest.dir
22607 cat >Imakefile <<'_ACEOF'
22608incroot:
22609 @echo incroot='${INCROOT}'
22610usrlibdir:
22611 @echo usrlibdir='${USRLIBDIR}'
22612libdir:
22613 @echo libdir='${LIBDIR}'
22614_ACEOF
22615 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
22616 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
22617 for ac_var in incroot usrlibdir libdir; do
22618 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
22619 done
22620 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
22621 for ac_extension in a so sl dylib la dll; do
22622 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
22623 test -f "$ac_im_libdir/libX11.$ac_extension"; then
22624 ac_im_usrlibdir=$ac_im_libdir; break
22625 fi
22626 done
22627 # Screen out bogus values from the imake configuration. They are
22628 # bogus both because they are the default anyway, and because
22629 # using them would break gcc on systems where it needs fixed includes.
22630 case $ac_im_incroot in
22631 /usr/include) ac_x_includes= ;;
22632 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
22633 esac
22634 case $ac_im_usrlibdir in
22635 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
22636 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
22637 esac
22638 fi
22639 cd ..
22640 rm -f -r conftest.dir
22641fi
22642
22643# Standard set of common directories for X headers.
22644# Check X11 before X11Rn because it is often a symlink to the current release.
22645ac_x_header_dirs='
22646/usr/X11/include
22647/usr/X11R7/include
22648/usr/X11R6/include
22649/usr/X11R5/include
22650/usr/X11R4/include
22651
22652/usr/include/X11
22653/usr/include/X11R7
22654/usr/include/X11R6
22655/usr/include/X11R5
22656/usr/include/X11R4
22657
22658/usr/local/X11/include
22659/usr/local/X11R7/include
22660/usr/local/X11R6/include
22661/usr/local/X11R5/include
22662/usr/local/X11R4/include
22663
22664/usr/local/include/X11
22665/usr/local/include/X11R7
22666/usr/local/include/X11R6
22667/usr/local/include/X11R5
22668/usr/local/include/X11R4
22669
22670/usr/X386/include
22671/usr/x386/include
22672/usr/XFree86/include/X11
22673
22674/usr/include
22675/usr/local/include
22676/usr/unsupported/include
22677/usr/athena/include
22678/usr/local/x11r5/include
22679/usr/lpp/Xamples/include
22680
22681/usr/openwin/include
22682/usr/openwin/share/include'
22683
22684if test "$ac_x_includes" = no; then
22685 # Guess where to find include files, by looking for Xlib.h.
22686 # First, try using that file with no special directory specified.
22687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22688/* end confdefs.h. */
22689#include <X11/Xlib.h>
22690_ACEOF
22691if ac_fn_c_try_cpp "$LINENO"; then :
22692 # We can compile using X headers with no special include directory.
22693ac_x_includes=
22694else
22695 for ac_dir in $ac_x_header_dirs; do
22696 if test -r "$ac_dir/X11/Xlib.h"; then
22697 ac_x_includes=$ac_dir
22698 break
22699 fi
22700done
22701fi
22702rm -f conftest.err conftest.i conftest.$ac_ext
22703fi # $ac_x_includes = no
22704
22705if test "$ac_x_libraries" = no; then
22706 # Check for the libraries.
22707 # See if we find them without any special options.
22708 # Don't add to $LIBS permanently.
22709 ac_save_LIBS=$LIBS
22710 LIBS="-lX11 $LIBS"
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712/* end confdefs.h. */
22713#include <X11/Xlib.h>
22714int
22715main ()
22716{
22717XrmInitialize ()
22718 ;
22719 return 0;
22720}
22721_ACEOF
22722if ac_fn_c_try_link "$LINENO"; then :
22723 LIBS=$ac_save_LIBS
22724# We can link X programs with no special library path.
22725ac_x_libraries=
22726else
22727 LIBS=$ac_save_LIBS
22728for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22729do
22730 # Don't even attempt the hair of trying to link an X program!
22731 for ac_extension in a so sl dylib la dll; do
22732 if test -r "$ac_dir/libX11.$ac_extension"; then
22733 ac_x_libraries=$ac_dir
22734 break 2
22735 fi
22736 done
22737done
22738fi
22739rm -f core conftest.err conftest.$ac_objext \
22740 conftest$ac_exeext conftest.$ac_ext
22741fi # $ac_x_libraries = no
22742
22743case $ac_x_includes,$ac_x_libraries in #(
22744 no,* | *,no | *\'*)
22745 # Didn't find X, or a directory has "'" in its name.
22746 ac_cv_have_x="have_x=no";; #(
22747 *)
22748 # Record where we found X for the cache.
22749 ac_cv_have_x="have_x=yes\
22750 ac_x_includes='$ac_x_includes'\
22751 ac_x_libraries='$ac_x_libraries'"
22752esac
22753fi
22754;; #(
22755 *) have_x=yes;;
22756 esac
22757 eval "$ac_cv_have_x"
22758fi # $with_x != no
22759
22760if test "$have_x" != yes; then
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22762$as_echo "$have_x" >&6; }
22763 no_x=yes
22764else
22765 # If each of the values was on the command line, it overrides each guess.
22766 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22767 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22768 # Update the cache value to reflect the command line values.
22769 ac_cv_have_x="have_x=yes\
22770 ac_x_includes='$x_includes'\
22771 ac_x_libraries='$x_libraries'"
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22773$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22774fi
22775
22776if test "$no_x" = yes; then
22777 # Not all programs may use this symbol, but it does not hurt to define it.
22778
22779$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22780
22781 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22782else
22783 if test -n "$x_includes"; then
22784 X_CFLAGS="$X_CFLAGS -I$x_includes"
22785 fi
22786
22787 # It would also be nice to do this for all -L options, not just this one.
22788 if test -n "$x_libraries"; then
22789 X_LIBS="$X_LIBS -L$x_libraries"
22790 # For Solaris; some versions of Sun CC require a space after -R and
22791 # others require no space. Words are not sufficient . . . .
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22793$as_echo_n "checking whether -R must be followed by a space... " >&6; }
22794 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22795 ac_xsave_c_werror_flag=$ac_c_werror_flag
22796 ac_c_werror_flag=yes
22797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22798/* end confdefs.h. */
22799
22800int
22801main ()
22802{
22803
22804 ;
22805 return 0;
22806}
22807_ACEOF
22808if ac_fn_c_try_link "$LINENO"; then :
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22810$as_echo "no" >&6; }
22811 X_LIBS="$X_LIBS -R$x_libraries"
22812else
22813 LIBS="$ac_xsave_LIBS -R $x_libraries"
22814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22815/* end confdefs.h. */
22816
22817int
22818main ()
22819{
22820
22821 ;
22822 return 0;
22823}
22824_ACEOF
22825if ac_fn_c_try_link "$LINENO"; then :
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22827$as_echo "yes" >&6; }
22828 X_LIBS="$X_LIBS -R $x_libraries"
22829else
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22831$as_echo "neither works" >&6; }
22832fi
22833rm -f core conftest.err conftest.$ac_objext \
22834 conftest$ac_exeext conftest.$ac_ext
22835fi
22836rm -f core conftest.err conftest.$ac_objext \
22837 conftest$ac_exeext conftest.$ac_ext
22838 ac_c_werror_flag=$ac_xsave_c_werror_flag
22839 LIBS=$ac_xsave_LIBS
22840 fi
22841
22842 # Check for system-dependent libraries X programs must link with.
22843 # Do this before checking for the system-independent R6 libraries
22844 # (-lICE), since we may need -lsocket or whatever for X linking.
22845
22846 if test "$ISC" = yes; then
22847 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22848 else
22849 # Martyn Johnson says this is needed for Ultrix, if the X
22850 # libraries were built with DECnet support. And Karl Berry says
22851 # the Alpha needs dnet_stub (dnet does not exist).
22852 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22854/* end confdefs.h. */
22855
22856/* Override any GCC internal prototype to avoid an error.
22857 Use char because int might match the return type of a GCC
22858 builtin and then its argument prototype would still apply. */
22859#ifdef __cplusplus
22860extern "C"
22861#endif
22862char XOpenDisplay ();
22863int
22864main ()
22865{
22866return XOpenDisplay ();
22867 ;
22868 return 0;
22869}
22870_ACEOF
22871if ac_fn_c_try_link "$LINENO"; then :
22872
22873else
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
22875$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
22876if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
22877 $as_echo_n "(cached) " >&6
22878else
22879 ac_check_lib_save_LIBS=$LIBS
22880LIBS="-ldnet $LIBS"
22881cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22882/* end confdefs.h. */
22883
22884/* Override any GCC internal prototype to avoid an error.
22885 Use char because int might match the return type of a GCC
22886 builtin and then its argument prototype would still apply. */
22887#ifdef __cplusplus
22888extern "C"
22889#endif
22890char dnet_ntoa ();
22891int
22892main ()
22893{
22894return dnet_ntoa ();
22895 ;
22896 return 0;
22897}
22898_ACEOF
22899if ac_fn_c_try_link "$LINENO"; then :
22900 ac_cv_lib_dnet_dnet_ntoa=yes
22901else
22902 ac_cv_lib_dnet_dnet_ntoa=no
22903fi
22904rm -f core conftest.err conftest.$ac_objext \
22905 conftest$ac_exeext conftest.$ac_ext
22906LIBS=$ac_check_lib_save_LIBS
22907fi
22908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22909$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22910if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
22911 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22912fi
22913
22914 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
22916$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
22917if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
22918 $as_echo_n "(cached) " >&6
22919else
22920 ac_check_lib_save_LIBS=$LIBS
22921LIBS="-ldnet_stub $LIBS"
22922cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22923/* end confdefs.h. */
22924
22925/* Override any GCC internal prototype to avoid an error.
22926 Use char because int might match the return type of a GCC
22927 builtin and then its argument prototype would still apply. */
22928#ifdef __cplusplus
22929extern "C"
22930#endif
22931char dnet_ntoa ();
22932int
22933main ()
22934{
22935return dnet_ntoa ();
22936 ;
22937 return 0;
22938}
22939_ACEOF
22940if ac_fn_c_try_link "$LINENO"; then :
22941 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22942else
22943 ac_cv_lib_dnet_stub_dnet_ntoa=no
22944fi
22945rm -f core conftest.err conftest.$ac_objext \
22946 conftest$ac_exeext conftest.$ac_ext
22947LIBS=$ac_check_lib_save_LIBS
22948fi
22949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22950$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22951if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
22952 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22953fi
22954
22955 fi
22956fi
22957rm -f core conftest.err conftest.$ac_objext \
22958 conftest$ac_exeext conftest.$ac_ext
22959 LIBS="$ac_xsave_LIBS"
22960
22961 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22962 # to get the SysV transport functions.
22963 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22964 # needs -lnsl.
22965 # The nsl library prevents programs from opening the X display
22966 # on Irix 5.2, according to T.E. Dickey.
22967 # The functions gethostbyname, getservbyname, and inet_addr are
22968 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22969 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22970if test "x$ac_cv_func_gethostbyname" = x""yes; then :
22971
22972fi
22973
22974 if test $ac_cv_func_gethostbyname = no; then
22975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22976$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22977if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
22978 $as_echo_n "(cached) " >&6
22979else
22980 ac_check_lib_save_LIBS=$LIBS
22981LIBS="-lnsl $LIBS"
22982cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22983/* end confdefs.h. */
22984
22985/* Override any GCC internal prototype to avoid an error.
22986 Use char because int might match the return type of a GCC
22987 builtin and then its argument prototype would still apply. */
22988#ifdef __cplusplus
22989extern "C"
22990#endif
22991char gethostbyname ();
22992int
22993main ()
22994{
22995return gethostbyname ();
22996 ;
22997 return 0;
22998}
22999_ACEOF
23000if ac_fn_c_try_link "$LINENO"; then :
23001 ac_cv_lib_nsl_gethostbyname=yes
23002else
23003 ac_cv_lib_nsl_gethostbyname=no
23004fi
23005rm -f core conftest.err conftest.$ac_objext \
23006 conftest$ac_exeext conftest.$ac_ext
23007LIBS=$ac_check_lib_save_LIBS
23008fi
23009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
23010$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
23011if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
23012 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
23013fi
23014
23015 if test $ac_cv_lib_nsl_gethostbyname = no; then
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
23017$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
23018if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
23019 $as_echo_n "(cached) " >&6
23020else
23021 ac_check_lib_save_LIBS=$LIBS
23022LIBS="-lbsd $LIBS"
23023cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23024/* end confdefs.h. */
23025
23026/* Override any GCC internal prototype to avoid an error.
23027 Use char because int might match the return type of a GCC
23028 builtin and then its argument prototype would still apply. */
23029#ifdef __cplusplus
23030extern "C"
23031#endif
23032char gethostbyname ();
23033int
23034main ()
23035{
23036return gethostbyname ();
23037 ;
23038 return 0;
23039}
23040_ACEOF
23041if ac_fn_c_try_link "$LINENO"; then :
23042 ac_cv_lib_bsd_gethostbyname=yes
23043else
23044 ac_cv_lib_bsd_gethostbyname=no
23045fi
23046rm -f core conftest.err conftest.$ac_objext \
23047 conftest$ac_exeext conftest.$ac_ext
23048LIBS=$ac_check_lib_save_LIBS
23049fi
23050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
23051$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
23052if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
23053 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
23054fi
23055
23056 fi
23057 fi
23058
23059 # lieder@skyler.mavd.honeywell.com says without -lsocket,
23060 # socket/setsockopt and other routines are undefined under SCO ODT
23061 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
23062 # on later versions), says Simon Leinen: it contains gethostby*
23063 # variants that don't use the name server (or something). -lsocket
23064 # must be given before -lnsl if both are needed. We assume that
23065 # if connect needs -lnsl, so does gethostbyname.
23066 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
23067if test "x$ac_cv_func_connect" = x""yes; then :
23068
23069fi
23070
23071 if test $ac_cv_func_connect = no; then
23072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
23073$as_echo_n "checking for connect in -lsocket... " >&6; }
23074if test "${ac_cv_lib_socket_connect+set}" = set; then :
23075 $as_echo_n "(cached) " >&6
23076else
23077 ac_check_lib_save_LIBS=$LIBS
23078LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
23079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23080/* end confdefs.h. */
23081
23082/* Override any GCC internal prototype to avoid an error.
23083 Use char because int might match the return type of a GCC
23084 builtin and then its argument prototype would still apply. */
23085#ifdef __cplusplus
23086extern "C"
23087#endif
23088char connect ();
23089int
23090main ()
23091{
23092return connect ();
23093 ;
23094 return 0;
23095}
23096_ACEOF
23097if ac_fn_c_try_link "$LINENO"; then :
23098 ac_cv_lib_socket_connect=yes
23099else
23100 ac_cv_lib_socket_connect=no
23101fi
23102rm -f core conftest.err conftest.$ac_objext \
23103 conftest$ac_exeext conftest.$ac_ext
23104LIBS=$ac_check_lib_save_LIBS
23105fi
23106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
23107$as_echo "$ac_cv_lib_socket_connect" >&6; }
23108if test "x$ac_cv_lib_socket_connect" = x""yes; then :
23109 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
23110fi
23111
23112 fi
23113
23114 # Guillermo Gomez says -lposix is necessary on A/UX.
23115 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
23116if test "x$ac_cv_func_remove" = x""yes; then :
23117
23118fi
23119
23120 if test $ac_cv_func_remove = no; then
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
23122$as_echo_n "checking for remove in -lposix... " >&6; }
23123if test "${ac_cv_lib_posix_remove+set}" = set; then :
23124 $as_echo_n "(cached) " >&6
23125else
23126 ac_check_lib_save_LIBS=$LIBS
23127LIBS="-lposix $LIBS"
23128cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129/* end confdefs.h. */
23130
23131/* Override any GCC internal prototype to avoid an error.
23132 Use char because int might match the return type of a GCC
23133 builtin and then its argument prototype would still apply. */
23134#ifdef __cplusplus
23135extern "C"
23136#endif
23137char remove ();
23138int
23139main ()
23140{
23141return remove ();
23142 ;
23143 return 0;
23144}
23145_ACEOF
23146if ac_fn_c_try_link "$LINENO"; then :
23147 ac_cv_lib_posix_remove=yes
23148else
23149 ac_cv_lib_posix_remove=no
23150fi
23151rm -f core conftest.err conftest.$ac_objext \
23152 conftest$ac_exeext conftest.$ac_ext
23153LIBS=$ac_check_lib_save_LIBS
23154fi
23155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
23156$as_echo "$ac_cv_lib_posix_remove" >&6; }
23157if test "x$ac_cv_lib_posix_remove" = x""yes; then :
23158 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
23159fi
23160
23161 fi
23162
23163 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
23164 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
23165if test "x$ac_cv_func_shmat" = x""yes; then :
23166
23167fi
23168
23169 if test $ac_cv_func_shmat = no; then
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
23171$as_echo_n "checking for shmat in -lipc... " >&6; }
23172if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
23173 $as_echo_n "(cached) " >&6
23174else
23175 ac_check_lib_save_LIBS=$LIBS
23176LIBS="-lipc $LIBS"
23177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23178/* end confdefs.h. */
23179
23180/* Override any GCC internal prototype to avoid an error.
23181 Use char because int might match the return type of a GCC
23182 builtin and then its argument prototype would still apply. */
23183#ifdef __cplusplus
23184extern "C"
23185#endif
23186char shmat ();
23187int
23188main ()
23189{
23190return shmat ();
23191 ;
23192 return 0;
23193}
23194_ACEOF
23195if ac_fn_c_try_link "$LINENO"; then :
23196 ac_cv_lib_ipc_shmat=yes
23197else
23198 ac_cv_lib_ipc_shmat=no
23199fi
23200rm -f core conftest.err conftest.$ac_objext \
23201 conftest$ac_exeext conftest.$ac_ext
23202LIBS=$ac_check_lib_save_LIBS
23203fi
23204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
23205$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
23206if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
23207 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
23208fi
23209
23210 fi
23211 fi
23212
23213 # Check for libraries that X11R6 Xt/Xaw programs need.
23214 ac_save_LDFLAGS=$LDFLAGS
23215 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
23216 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
23217 # check for ICE first), but we must link in the order -lSM -lICE or
23218 # we get undefined symbols. So assume we have SM if we have ICE.
23219 # These have to be linked with before -lX11, unlike the other
23220 # libraries we check for below, so use a different variable.
23221 # John Interrante, Karl Berry
23222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
23223$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
23224if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
23225 $as_echo_n "(cached) " >&6
23226else
23227 ac_check_lib_save_LIBS=$LIBS
23228LIBS="-lICE $X_EXTRA_LIBS $LIBS"
23229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23230/* end confdefs.h. */
23231
23232/* Override any GCC internal prototype to avoid an error.
23233 Use char because int might match the return type of a GCC
23234 builtin and then its argument prototype would still apply. */
23235#ifdef __cplusplus
23236extern "C"
23237#endif
23238char IceConnectionNumber ();
23239int
23240main ()
23241{
23242return IceConnectionNumber ();
23243 ;
23244 return 0;
23245}
23246_ACEOF
23247if ac_fn_c_try_link "$LINENO"; then :
23248 ac_cv_lib_ICE_IceConnectionNumber=yes
23249else
23250 ac_cv_lib_ICE_IceConnectionNumber=no
23251fi
23252rm -f core conftest.err conftest.$ac_objext \
23253 conftest$ac_exeext conftest.$ac_ext
23254LIBS=$ac_check_lib_save_LIBS
23255fi
23256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
23257$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
23258if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
23259 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
23260fi
23261
23262 LDFLAGS=$ac_save_LDFLAGS
23263
23264fi
23265
23266 ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
23267if test "x$ac_cv_header_X11_X_h" = x""yes; then :
23268
23269 if test "x$want_evas_simple_x11" = "xyes"; then
23270 x_libs="${x_libs} -lX11 -lXext"
23271 else
23272 x_dir=${x_dir:-/usr/X11R6}
23273 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
23274 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
23275 fi
23276 have_ecore_x_xlib="yes"
23277
23278
23279fi
23280
23281
23282
23283 if test "x$have_ecore_x_xlib" = "xyes"; then
23284 Xcursor_libs=""
23285 Xcursor_cflags=""
23286 use_Xcursor="no"
23287 PCFLAGS=$CFLAGS
23288 CFLAGS="$x_cflags $x_includes"
23289
23290 if test "x$want_ecore_x_cursor" = "xyes"; then
23291 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "
23292 #include <X11/Xlib.h>
23293
23294
23295"
23296if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = x""yes; then :
23297
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XcursorImageLoadCursor in -lXcursor" >&5
23299$as_echo_n "checking for XcursorImageLoadCursor in -lXcursor... " >&6; }
23300if test "${ac_cv_lib_Xcursor_XcursorImageLoadCursor+set}" = set; then :
23301 $as_echo_n "(cached) " >&6
23302else
23303 ac_check_lib_save_LIBS=$LIBS
23304LIBS="-lXcursor
23305 $x_libs -lXrender
23306
23307 $LIBS"
23308cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23309/* end confdefs.h. */
23310
23311/* Override any GCC internal prototype to avoid an error.
23312 Use char because int might match the return type of a GCC
23313 builtin and then its argument prototype would still apply. */
23314#ifdef __cplusplus
23315extern "C"
23316#endif
23317char XcursorImageLoadCursor ();
23318int
23319main ()
23320{
23321return XcursorImageLoadCursor ();
23322 ;
23323 return 0;
23324}
23325_ACEOF
23326if ac_fn_c_try_link "$LINENO"; then :
23327 ac_cv_lib_Xcursor_XcursorImageLoadCursor=yes
23328else
23329 ac_cv_lib_Xcursor_XcursorImageLoadCursor=no
23330fi
23331rm -f core conftest.err conftest.$ac_objext \
23332 conftest$ac_exeext conftest.$ac_ext
23333LIBS=$ac_check_lib_save_LIBS
23334fi
23335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&5
23336$as_echo "$ac_cv_lib_Xcursor_XcursorImageLoadCursor" >&6; }
23337if test "x$ac_cv_lib_Xcursor_XcursorImageLoadCursor" = x""yes; then :
23338
23339
23340$as_echo "#define ECORE_XCURSOR 1" >>confdefs.h
23341
23342 Xcursor_cflags=""
23343 Xcursor_libs="-lXcursor"
23344 use_Xcursor="yes"
23345
23346else
23347
23348 Xcursor_cflags=""
23349 Xcursor_libs=""
23350 use_Xcursor="no"
23351
23352fi
23353
23354
23355else
23356
23357 Xcursor_cflags=""
23358 Xcursor_libs=""
23359 use_Xcursor="no"
23360
23361fi
23362
23363
23364 CFLAGS=$PCFLAGS
23365 else
23366 Xcursor_cflags=""
23367 Xcursor_libs=""
23368 use_Xcursor="no"
23369 { $as_echo "$as_me:${as_lineno-$LINENO}: \"Xcursor explicitly disabled\"" >&5
23370$as_echo "$as_me: \"Xcursor explicitly disabled\"" >&6;}
23371 fi
23372
23373
23374
23375
23376
23377
23378XKB_CFLAGS=""
23379XKB_LIBS=""
23380use_xkb="no"
23381
23382if test "x$want_ecore_x_xkb" != "xno"; then
23383 SAVE_CFLAGS=$CFLAGS
23384 CFLAGS="$x_cflags $x_includes"
23385 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XKB.h" "ac_cv_header_X11_extensions_XKB_h" " #include <X11/Xlib.h>
23386
23387"
23388if test "x$ac_cv_header_X11_extensions_XKB_h" = x""yes; then :
23389
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbSetDetectableAutoRepeat in -lX11" >&5
23391$as_echo_n "checking for XkbSetDetectableAutoRepeat in -lX11... " >&6; }
23392if test "${ac_cv_lib_X11_XkbSetDetectableAutoRepeat+set}" = set; then :
23393 $as_echo_n "(cached) " >&6
23394else
23395 ac_check_lib_save_LIBS=$LIBS
23396LIBS="-lX11 $x_libs
23397 $LIBS"
23398cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23399/* end confdefs.h. */
23400
23401/* Override any GCC internal prototype to avoid an error.
23402 Use char because int might match the return type of a GCC
23403 builtin and then its argument prototype would still apply. */
23404#ifdef __cplusplus
23405extern "C"
23406#endif
23407char XkbSetDetectableAutoRepeat ();
23408int
23409main ()
23410{
23411return XkbSetDetectableAutoRepeat ();
23412 ;
23413 return 0;
23414}
23415_ACEOF
23416if ac_fn_c_try_link "$LINENO"; then :
23417 ac_cv_lib_X11_XkbSetDetectableAutoRepeat=yes
23418else
23419 ac_cv_lib_X11_XkbSetDetectableAutoRepeat=no
23420fi
23421rm -f core conftest.err conftest.$ac_objext \
23422 conftest$ac_exeext conftest.$ac_ext
23423LIBS=$ac_check_lib_save_LIBS
23424fi
23425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&5
23426$as_echo "$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" >&6; }
23427if test "x$ac_cv_lib_X11_XkbSetDetectableAutoRepeat" = x""yes; then :
23428
23429
23430$as_echo "#define ECORE_XKB 1" >>confdefs.h
23431
23432 XKB_LIBS="-lX11"
23433 use_xkb="yes"
23434
23435else
23436 use_xkb="no"
23437fi
23438
23439
23440else
23441 use_xkb="no"
23442fi
23443
23444
23445 CFLAGS=$SAVE_CFLAGS
23446else
23447 use_xkb="no"
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: Xkb support disabled" >&5
23449$as_echo "$as_me: Xkb support disabled" >&6;}
23450fi
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460XCOMPOSITE_CFLAGS=""
23461XCOMPOSITE_LIBS=""
23462use_xcomposite="no"
23463
23464if test "x$want_ecore_x_composite" != "xno"; then
23465 SAVE_CFLAGS=$CFLAGS
23466 CFLAGS="$x_cflags $x_includes"
23467 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" " #include <X11/Xlib.h>
23468
23469"
23470if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = x""yes; then :
23471
23472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCompositeQueryExtension in -lXcomposite" >&5
23473$as_echo_n "checking for XCompositeQueryExtension in -lXcomposite... " >&6; }
23474if test "${ac_cv_lib_Xcomposite_XCompositeQueryExtension+set}" = set; then :
23475 $as_echo_n "(cached) " >&6
23476else
23477 ac_check_lib_save_LIBS=$LIBS
23478LIBS="-lXcomposite $x_libs
23479 $LIBS"
23480cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23481/* end confdefs.h. */
23482
23483/* Override any GCC internal prototype to avoid an error.
23484 Use char because int might match the return type of a GCC
23485 builtin and then its argument prototype would still apply. */
23486#ifdef __cplusplus
23487extern "C"
23488#endif
23489char XCompositeQueryExtension ();
23490int
23491main ()
23492{
23493return XCompositeQueryExtension ();
23494 ;
23495 return 0;
23496}
23497_ACEOF
23498if ac_fn_c_try_link "$LINENO"; then :
23499 ac_cv_lib_Xcomposite_XCompositeQueryExtension=yes
23500else
23501 ac_cv_lib_Xcomposite_XCompositeQueryExtension=no
23502fi
23503rm -f core conftest.err conftest.$ac_objext \
23504 conftest$ac_exeext conftest.$ac_ext
23505LIBS=$ac_check_lib_save_LIBS
23506fi
23507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&5
23508$as_echo "$ac_cv_lib_Xcomposite_XCompositeQueryExtension" >&6; }
23509if test "x$ac_cv_lib_Xcomposite_XCompositeQueryExtension" = x""yes; then :
23510
23511
23512$as_echo "#define ECORE_XCOMPOSITE 1" >>confdefs.h
23513
23514 XCOMPOSITE_LIBS="-lXcomposite"
23515 use_xcomposite="yes"
23516
23517else
23518 use_xcomposite="no"
23519fi
23520
23521
23522else
23523 use_xcomposite="no"
23524fi
23525
23526
23527 CFLAGS=$SAVE_CFLAGS
23528else
23529 use_xcomposite="no"
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: Xcomposite support disabled" >&5
23531$as_echo "$as_me: Xcomposite support disabled" >&6;}
23532fi
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542XDAMAGE_CFLAGS=""
23543XDAMAGE_LIBS=""
23544use_xdamage="no"
23545
23546if test "x$want_ecore_x_damage" != "xno"; then
23547 SAVE_CFLAGS=$CFLAGS
23548 CFLAGS="$x_cflags $x_includes"
23549 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xdamage.h" "ac_cv_header_X11_extensions_Xdamage_h" " #include <X11/Xlib.h>
23550
23551"
23552if test "x$ac_cv_header_X11_extensions_Xdamage_h" = x""yes; then :
23553
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XDamageSubtract in -lXdamage" >&5
23555$as_echo_n "checking for XDamageSubtract in -lXdamage... " >&6; }
23556if test "${ac_cv_lib_Xdamage_XDamageSubtract+set}" = set; then :
23557 $as_echo_n "(cached) " >&6
23558else
23559 ac_check_lib_save_LIBS=$LIBS
23560LIBS="-lXdamage $x_libs
23561 $LIBS"
23562cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23563/* end confdefs.h. */
23564
23565/* Override any GCC internal prototype to avoid an error.
23566 Use char because int might match the return type of a GCC
23567 builtin and then its argument prototype would still apply. */
23568#ifdef __cplusplus
23569extern "C"
23570#endif
23571char XDamageSubtract ();
23572int
23573main ()
23574{
23575return XDamageSubtract ();
23576 ;
23577 return 0;
23578}
23579_ACEOF
23580if ac_fn_c_try_link "$LINENO"; then :
23581 ac_cv_lib_Xdamage_XDamageSubtract=yes
23582else
23583 ac_cv_lib_Xdamage_XDamageSubtract=no
23584fi
23585rm -f core conftest.err conftest.$ac_objext \
23586 conftest$ac_exeext conftest.$ac_ext
23587LIBS=$ac_check_lib_save_LIBS
23588fi
23589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdamage_XDamageSubtract" >&5
23590$as_echo "$ac_cv_lib_Xdamage_XDamageSubtract" >&6; }
23591if test "x$ac_cv_lib_Xdamage_XDamageSubtract" = x""yes; then :
23592
23593
23594$as_echo "#define ECORE_XDAMAGE 1" >>confdefs.h
23595
23596 XDAMAGE_LIBS="-lXdamage"
23597 use_xdamage="yes"
23598
23599else
23600 use_xdamage="no"
23601fi
23602
23603
23604else
23605 use_xdamage="no"
23606fi
23607
23608
23609 CFLAGS=$SAVE_CFLAGS
23610else
23611 use_xdamage="no"
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdamage support disabled" >&5
23613$as_echo "$as_me: Xdamage support disabled" >&6;}
23614fi
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624XDPMS_CFLAGS=""
23625XDPMS_LIBS=""
23626use_xdpms="no"
23627
23628if test "x$want_ecore_x_dpms" != "xno"; then
23629 SAVE_CFLAGS=$CFLAGS
23630 CFLAGS="$x_cflags $x_includes"
23631 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
23632
23633"
23634if test "x$ac_cv_header_X11_extensions_dpms_h" = x""yes; then :
23635
23636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXdpms" >&5
23637$as_echo_n "checking for DPMSQueryExtension in -lXdpms... " >&6; }
23638if test "${ac_cv_lib_Xdpms_DPMSQueryExtension+set}" = set; then :
23639 $as_echo_n "(cached) " >&6
23640else
23641 ac_check_lib_save_LIBS=$LIBS
23642LIBS="-lXdpms $x_libs
23643 $LIBS"
23644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23645/* end confdefs.h. */
23646
23647/* Override any GCC internal prototype to avoid an error.
23648 Use char because int might match the return type of a GCC
23649 builtin and then its argument prototype would still apply. */
23650#ifdef __cplusplus
23651extern "C"
23652#endif
23653char DPMSQueryExtension ();
23654int
23655main ()
23656{
23657return DPMSQueryExtension ();
23658 ;
23659 return 0;
23660}
23661_ACEOF
23662if ac_fn_c_try_link "$LINENO"; then :
23663 ac_cv_lib_Xdpms_DPMSQueryExtension=yes
23664else
23665 ac_cv_lib_Xdpms_DPMSQueryExtension=no
23666fi
23667rm -f core conftest.err conftest.$ac_objext \
23668 conftest$ac_exeext conftest.$ac_ext
23669LIBS=$ac_check_lib_save_LIBS
23670fi
23671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdpms_DPMSQueryExtension" >&5
23672$as_echo "$ac_cv_lib_Xdpms_DPMSQueryExtension" >&6; }
23673if test "x$ac_cv_lib_Xdpms_DPMSQueryExtension" = x""yes; then :
23674
23675
23676$as_echo "#define ECORE_XDPMS 1" >>confdefs.h
23677
23678 XDPMS_LIBS="-lXdpms"
23679 use_xdpms="yes"
23680
23681else
23682 use_xdpms="no"
23683fi
23684
23685
23686else
23687 use_xdpms="no"
23688fi
23689
23690
23691 CFLAGS=$SAVE_CFLAGS
23692else
23693 use_xdpms="no"
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
23695$as_echo "$as_me: Xdpms support disabled" >&6;}
23696fi
23697
23698
23699
23700
23701
23702
23703
23704 if test "x$use_xdpms" = "xno" ; then
23705
23706
23707XDPMS_CFLAGS=""
23708XDPMS_LIBS=""
23709use_xdpms="no"
23710
23711if test "x$want_ecore_x_dpms" != "xno"; then
23712 SAVE_CFLAGS=$CFLAGS
23713 CFLAGS="$x_cflags $x_includes"
23714 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/dpms.h" "ac_cv_header_X11_extensions_dpms_h" " #include <X11/Xlib.h>
23715
23716"
23717if test "x$ac_cv_header_X11_extensions_dpms_h" = x""yes; then :
23718
23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DPMSQueryExtension in -lXext" >&5
23720$as_echo_n "checking for DPMSQueryExtension in -lXext... " >&6; }
23721if test "${ac_cv_lib_Xext_DPMSQueryExtension+set}" = set; then :
23722 $as_echo_n "(cached) " >&6
23723else
23724 ac_check_lib_save_LIBS=$LIBS
23725LIBS="-lXext $x_libs
23726 $LIBS"
23727cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23728/* end confdefs.h. */
23729
23730/* Override any GCC internal prototype to avoid an error.
23731 Use char because int might match the return type of a GCC
23732 builtin and then its argument prototype would still apply. */
23733#ifdef __cplusplus
23734extern "C"
23735#endif
23736char DPMSQueryExtension ();
23737int
23738main ()
23739{
23740return DPMSQueryExtension ();
23741 ;
23742 return 0;
23743}
23744_ACEOF
23745if ac_fn_c_try_link "$LINENO"; then :
23746 ac_cv_lib_Xext_DPMSQueryExtension=yes
23747else
23748 ac_cv_lib_Xext_DPMSQueryExtension=no
23749fi
23750rm -f core conftest.err conftest.$ac_objext \
23751 conftest$ac_exeext conftest.$ac_ext
23752LIBS=$ac_check_lib_save_LIBS
23753fi
23754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_DPMSQueryExtension" >&5
23755$as_echo "$ac_cv_lib_Xext_DPMSQueryExtension" >&6; }
23756if test "x$ac_cv_lib_Xext_DPMSQueryExtension" = x""yes; then :
23757
23758
23759$as_echo "#define ECORE_XDPMS 1" >>confdefs.h
23760
23761 XDPMS_LIBS="-lXext"
23762 use_xdpms="yes"
23763
23764else
23765 use_xdpms="no"
23766fi
23767
23768
23769else
23770 use_xdpms="no"
23771fi
23772
23773
23774 CFLAGS=$SAVE_CFLAGS
23775else
23776 use_xdpms="no"
23777 { $as_echo "$as_me:${as_lineno-$LINENO}: Xdpms support disabled" >&5
23778$as_echo "$as_me: Xdpms support disabled" >&6;}
23779fi
23780
23781
23782
23783
23784
23785
23786
23787 fi
23788
23789
23790XFIXES_CFLAGS=""
23791XFIXES_LIBS=""
23792use_xfixes="no"
23793
23794if test "x$want_ecore_x_xfixes" != "xno"; then
23795 SAVE_CFLAGS=$CFLAGS
23796 CFLAGS="$x_cflags $x_includes"
23797 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" " #include <X11/Xlib.h>
23798
23799"
23800if test "x$ac_cv_header_X11_extensions_Xfixes_h" = x""yes; then :
23801
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFixesExpandRegion in -lXfixes" >&5
23803$as_echo_n "checking for XFixesExpandRegion in -lXfixes... " >&6; }
23804if test "${ac_cv_lib_Xfixes_XFixesExpandRegion+set}" = set; then :
23805 $as_echo_n "(cached) " >&6
23806else
23807 ac_check_lib_save_LIBS=$LIBS
23808LIBS="-lXfixes $x_libs
23809 $LIBS"
23810cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23811/* end confdefs.h. */
23812
23813/* Override any GCC internal prototype to avoid an error.
23814 Use char because int might match the return type of a GCC
23815 builtin and then its argument prototype would still apply. */
23816#ifdef __cplusplus
23817extern "C"
23818#endif
23819char XFixesExpandRegion ();
23820int
23821main ()
23822{
23823return XFixesExpandRegion ();
23824 ;
23825 return 0;
23826}
23827_ACEOF
23828if ac_fn_c_try_link "$LINENO"; then :
23829 ac_cv_lib_Xfixes_XFixesExpandRegion=yes
23830else
23831 ac_cv_lib_Xfixes_XFixesExpandRegion=no
23832fi
23833rm -f core conftest.err conftest.$ac_objext \
23834 conftest$ac_exeext conftest.$ac_ext
23835LIBS=$ac_check_lib_save_LIBS
23836fi
23837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xfixes_XFixesExpandRegion" >&5
23838$as_echo "$ac_cv_lib_Xfixes_XFixesExpandRegion" >&6; }
23839if test "x$ac_cv_lib_Xfixes_XFixesExpandRegion" = x""yes; then :
23840
23841
23842$as_echo "#define ECORE_XFIXES 1" >>confdefs.h
23843
23844 XFIXES_LIBS="-lXfixes"
23845 use_xfixes="yes"
23846
23847else
23848 use_xfixes="no"
23849fi
23850
23851
23852else
23853 use_xfixes="no"
23854fi
23855
23856
23857 CFLAGS=$SAVE_CFLAGS
23858else
23859 use_xfixes="no"
23860 { $as_echo "$as_me:${as_lineno-$LINENO}: Xfixes support disabled" >&5
23861$as_echo "$as_me: Xfixes support disabled" >&6;}
23862fi
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872XINERAMA_CFLAGS=""
23873XINERAMA_LIBS=""
23874use_xinerama="no"
23875
23876if test "x$want_ecore_x_xinerama" != "xno"; then
23877 SAVE_CFLAGS=$CFLAGS
23878 CFLAGS="$x_cflags $x_includes"
23879 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" " #include <X11/Xlib.h>
23880
23881"
23882if test "x$ac_cv_header_X11_extensions_Xinerama_h" = x""yes; then :
23883
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
23885$as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
23886if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then :
23887 $as_echo_n "(cached) " >&6
23888else
23889 ac_check_lib_save_LIBS=$LIBS
23890LIBS="-lXinerama $x_libs
23891 $LIBS"
23892cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23893/* end confdefs.h. */
23894
23895/* Override any GCC internal prototype to avoid an error.
23896 Use char because int might match the return type of a GCC
23897 builtin and then its argument prototype would still apply. */
23898#ifdef __cplusplus
23899extern "C"
23900#endif
23901char XineramaQueryScreens ();
23902int
23903main ()
23904{
23905return XineramaQueryScreens ();
23906 ;
23907 return 0;
23908}
23909_ACEOF
23910if ac_fn_c_try_link "$LINENO"; then :
23911 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
23912else
23913 ac_cv_lib_Xinerama_XineramaQueryScreens=no
23914fi
23915rm -f core conftest.err conftest.$ac_objext \
23916 conftest$ac_exeext conftest.$ac_ext
23917LIBS=$ac_check_lib_save_LIBS
23918fi
23919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
23920$as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
23921if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = x""yes; then :
23922
23923
23924$as_echo "#define ECORE_XINERAMA 1" >>confdefs.h
23925
23926 XINERAMA_LIBS="-lXinerama"
23927 use_xinerama="yes"
23928
23929else
23930 use_xinerama="no"
23931fi
23932
23933
23934else
23935 use_xinerama="no"
23936fi
23937
23938
23939 CFLAGS=$SAVE_CFLAGS
23940else
23941 use_xinerama="no"
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: Xinerama support disabled" >&5
23943$as_echo "$as_me: Xinerama support disabled" >&6;}
23944fi
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954XPRINT_CFLAGS=""
23955XPRINT_LIBS=""
23956use_xprint="no"
23957
23958if test "x$want_ecore_x_xprint" != "xno"; then
23959 SAVE_CFLAGS=$CFLAGS
23960 CFLAGS="$x_cflags $x_includes"
23961 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Print.h" "ac_cv_header_X11_extensions_Print_h" " #include <X11/Xlib.h>
23962
23963"
23964if test "x$ac_cv_header_X11_extensions_Print_h" = x""yes; then :
23965
23966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XpQueryScreens in -lXp" >&5
23967$as_echo_n "checking for XpQueryScreens in -lXp... " >&6; }
23968if test "${ac_cv_lib_Xp_XpQueryScreens+set}" = set; then :
23969 $as_echo_n "(cached) " >&6
23970else
23971 ac_check_lib_save_LIBS=$LIBS
23972LIBS="-lXp $x_libs
23973 $LIBS"
23974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23975/* end confdefs.h. */
23976
23977/* Override any GCC internal prototype to avoid an error.
23978 Use char because int might match the return type of a GCC
23979 builtin and then its argument prototype would still apply. */
23980#ifdef __cplusplus
23981extern "C"
23982#endif
23983char XpQueryScreens ();
23984int
23985main ()
23986{
23987return XpQueryScreens ();
23988 ;
23989 return 0;
23990}
23991_ACEOF
23992if ac_fn_c_try_link "$LINENO"; then :
23993 ac_cv_lib_Xp_XpQueryScreens=yes
23994else
23995 ac_cv_lib_Xp_XpQueryScreens=no
23996fi
23997rm -f core conftest.err conftest.$ac_objext \
23998 conftest$ac_exeext conftest.$ac_ext
23999LIBS=$ac_check_lib_save_LIBS
24000fi
24001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xp_XpQueryScreens" >&5
24002$as_echo "$ac_cv_lib_Xp_XpQueryScreens" >&6; }
24003if test "x$ac_cv_lib_Xp_XpQueryScreens" = x""yes; then :
24004
24005
24006$as_echo "#define ECORE_XPRINT 1" >>confdefs.h
24007
24008 XPRINT_LIBS="-lXp"
24009 use_xprint="yes"
24010
24011else
24012 use_xprint="no"
24013fi
24014
24015
24016else
24017 use_xprint="no"
24018fi
24019
24020
24021 CFLAGS=$SAVE_CFLAGS
24022else
24023 use_xprint="no"
24024 { $as_echo "$as_me:${as_lineno-$LINENO}: Xprint support disabled" >&5
24025$as_echo "$as_me: Xprint support disabled" >&6;}
24026fi
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036XRANDR_CFLAGS=""
24037XRANDR_LIBS=""
24038use_xrandr="no"
24039
24040if test "x$want_ecore_x_randr" != "xno"; then
24041 SAVE_CFLAGS=$CFLAGS
24042 CFLAGS="$x_cflags $x_includes"
24043 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" " #include <X11/Xlib.h>
24044
24045"
24046if test "x$ac_cv_header_X11_extensions_Xrandr_h" = x""yes; then :
24047
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRRGetScreenResourcesCurrent in -lXrandr" >&5
24049$as_echo_n "checking for XRRGetScreenResourcesCurrent in -lXrandr... " >&6; }
24050if test "${ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent+set}" = set; then :
24051 $as_echo_n "(cached) " >&6
24052else
24053 ac_check_lib_save_LIBS=$LIBS
24054LIBS="-lXrandr $x_libs
24055 $LIBS"
24056cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24057/* end confdefs.h. */
24058
24059/* Override any GCC internal prototype to avoid an error.
24060 Use char because int might match the return type of a GCC
24061 builtin and then its argument prototype would still apply. */
24062#ifdef __cplusplus
24063extern "C"
24064#endif
24065char XRRGetScreenResourcesCurrent ();
24066int
24067main ()
24068{
24069return XRRGetScreenResourcesCurrent ();
24070 ;
24071 return 0;
24072}
24073_ACEOF
24074if ac_fn_c_try_link "$LINENO"; then :
24075 ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=yes
24076else
24077 ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent=no
24078fi
24079rm -f core conftest.err conftest.$ac_objext \
24080 conftest$ac_exeext conftest.$ac_ext
24081LIBS=$ac_check_lib_save_LIBS
24082fi
24083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&5
24084$as_echo "$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" >&6; }
24085if test "x$ac_cv_lib_Xrandr_XRRGetScreenResourcesCurrent" = x""yes; then :
24086
24087
24088$as_echo "#define ECORE_XRANDR 1" >>confdefs.h
24089
24090 XRANDR_LIBS="-lXrandr"
24091 use_xrandr="yes"
24092
24093else
24094 use_xrandr="no"
24095fi
24096
24097
24098else
24099 use_xrandr="no"
24100fi
24101
24102
24103 CFLAGS=$SAVE_CFLAGS
24104else
24105 use_xrandr="no"
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: Xrandr support disabled" >&5
24107$as_echo "$as_me: Xrandr support disabled" >&6;}
24108fi
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118XGESTURE_CFLAGS=""
24119XGESTURE_LIBS=""
24120use_xgesture="no"
24121
24122if test "x$want_ecore_x_gesture" != "xno"; then
24123 SAVE_CFLAGS=$CFLAGS
24124 CFLAGS="$x_cflags $x_includes"
24125 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/gesture.h" "ac_cv_header_X11_extensions_gesture_h" " #include <X11/Xlib.h>
24126
24127"
24128if test "x$ac_cv_header_X11_extensions_gesture_h" = x""yes; then :
24129
24130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XGestureQueryExtension in -lXgesture" >&5
24131$as_echo_n "checking for XGestureQueryExtension in -lXgesture... " >&6; }
24132if test "${ac_cv_lib_Xgesture_XGestureQueryExtension+set}" = set; then :
24133 $as_echo_n "(cached) " >&6
24134else
24135 ac_check_lib_save_LIBS=$LIBS
24136LIBS="-lXgesture $x_libs
24137 $LIBS"
24138cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139/* end confdefs.h. */
24140
24141/* Override any GCC internal prototype to avoid an error.
24142 Use char because int might match the return type of a GCC
24143 builtin and then its argument prototype would still apply. */
24144#ifdef __cplusplus
24145extern "C"
24146#endif
24147char XGestureQueryExtension ();
24148int
24149main ()
24150{
24151return XGestureQueryExtension ();
24152 ;
24153 return 0;
24154}
24155_ACEOF
24156if ac_fn_c_try_link "$LINENO"; then :
24157 ac_cv_lib_Xgesture_XGestureQueryExtension=yes
24158else
24159 ac_cv_lib_Xgesture_XGestureQueryExtension=no
24160fi
24161rm -f core conftest.err conftest.$ac_objext \
24162 conftest$ac_exeext conftest.$ac_ext
24163LIBS=$ac_check_lib_save_LIBS
24164fi
24165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xgesture_XGestureQueryExtension" >&5
24166$as_echo "$ac_cv_lib_Xgesture_XGestureQueryExtension" >&6; }
24167if test "x$ac_cv_lib_Xgesture_XGestureQueryExtension" = x""yes; then :
24168
24169
24170$as_echo "#define ECORE_XGESTURE 1" >>confdefs.h
24171
24172 XGESTURE_LIBS="-lXgesture"
24173 use_xgesture="yes"
24174
24175else
24176 use_xgesture="no"
24177fi
24178
24179
24180else
24181 use_xgesture="no"
24182fi
24183
24184
24185 CFLAGS=$SAVE_CFLAGS
24186else
24187 use_xgesture="no"
24188 { $as_echo "$as_me:${as_lineno-$LINENO}: Xgesture support disabled" >&5
24189$as_echo "$as_me: Xgesture support disabled" >&6;}
24190fi
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200XRENDER_CFLAGS=""
24201XRENDER_LIBS=""
24202use_xrender="no"
24203
24204if test "x$want_ecore_x_render" != "xno"; then
24205 SAVE_CFLAGS=$CFLAGS
24206 CFLAGS="$x_cflags $x_includes"
24207 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" " #include <X11/Xlib.h>
24208
24209"
24210if test "x$ac_cv_header_X11_extensions_Xrender_h" = x""yes; then :
24211
24212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderFindVisualFormat in -lXrender" >&5
24213$as_echo_n "checking for XRenderFindVisualFormat in -lXrender... " >&6; }
24214if test "${ac_cv_lib_Xrender_XRenderFindVisualFormat+set}" = set; then :
24215 $as_echo_n "(cached) " >&6
24216else
24217 ac_check_lib_save_LIBS=$LIBS
24218LIBS="-lXrender $x_libs
24219 $LIBS"
24220cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24221/* end confdefs.h. */
24222
24223/* Override any GCC internal prototype to avoid an error.
24224 Use char because int might match the return type of a GCC
24225 builtin and then its argument prototype would still apply. */
24226#ifdef __cplusplus
24227extern "C"
24228#endif
24229char XRenderFindVisualFormat ();
24230int
24231main ()
24232{
24233return XRenderFindVisualFormat ();
24234 ;
24235 return 0;
24236}
24237_ACEOF
24238if ac_fn_c_try_link "$LINENO"; then :
24239 ac_cv_lib_Xrender_XRenderFindVisualFormat=yes
24240else
24241 ac_cv_lib_Xrender_XRenderFindVisualFormat=no
24242fi
24243rm -f core conftest.err conftest.$ac_objext \
24244 conftest$ac_exeext conftest.$ac_ext
24245LIBS=$ac_check_lib_save_LIBS
24246fi
24247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderFindVisualFormat" >&5
24248$as_echo "$ac_cv_lib_Xrender_XRenderFindVisualFormat" >&6; }
24249if test "x$ac_cv_lib_Xrender_XRenderFindVisualFormat" = x""yes; then :
24250
24251
24252$as_echo "#define ECORE_XRENDER 1" >>confdefs.h
24253
24254 XRENDER_LIBS="-lXrender"
24255 use_xrender="yes"
24256
24257else
24258 use_xrender="no"
24259fi
24260
24261
24262else
24263 use_xrender="no"
24264fi
24265
24266
24267 CFLAGS=$SAVE_CFLAGS
24268else
24269 use_xrender="no"
24270 { $as_echo "$as_me:${as_lineno-$LINENO}: Xrender support disabled" >&5
24271$as_echo "$as_me: Xrender support disabled" >&6;}
24272fi
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282XTEST_CFLAGS=""
24283XTEST_LIBS=""
24284use_xtest="no"
24285
24286if test "x$want_ecore_x_xtest" != "xno"; then
24287 SAVE_CFLAGS=$CFLAGS
24288 CFLAGS="$x_cflags $x_includes"
24289 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XTest.h" "ac_cv_header_X11_extensions_XTest_h" " #include <X11/Xlib.h>
24290
24291"
24292if test "x$ac_cv_header_X11_extensions_XTest_h" = x""yes; then :
24293
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
24295$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
24296if test "${ac_cv_lib_Xtst_XTestFakeKeyEvent+set}" = set; then :
24297 $as_echo_n "(cached) " >&6
24298else
24299 ac_check_lib_save_LIBS=$LIBS
24300LIBS="-lXtst $x_libs
24301 $LIBS"
24302cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24303/* end confdefs.h. */
24304
24305/* Override any GCC internal prototype to avoid an error.
24306 Use char because int might match the return type of a GCC
24307 builtin and then its argument prototype would still apply. */
24308#ifdef __cplusplus
24309extern "C"
24310#endif
24311char XTestFakeKeyEvent ();
24312int
24313main ()
24314{
24315return XTestFakeKeyEvent ();
24316 ;
24317 return 0;
24318}
24319_ACEOF
24320if ac_fn_c_try_link "$LINENO"; then :
24321 ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
24322else
24323 ac_cv_lib_Xtst_XTestFakeKeyEvent=no
24324fi
24325rm -f core conftest.err conftest.$ac_objext \
24326 conftest$ac_exeext conftest.$ac_ext
24327LIBS=$ac_check_lib_save_LIBS
24328fi
24329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
24330$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
24331if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = x""yes; then :
24332
24333
24334$as_echo "#define ECORE_XTEST 1" >>confdefs.h
24335
24336 XTEST_LIBS="-lXtst"
24337 use_xtest="yes"
24338
24339else
24340 use_xtest="no"
24341fi
24342
24343
24344else
24345 use_xtest="no"
24346fi
24347
24348
24349 CFLAGS=$SAVE_CFLAGS
24350else
24351 use_xtest="no"
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: Xtest support disabled" >&5
24353$as_echo "$as_me: Xtest support disabled" >&6;}
24354fi
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364XSS_CFLAGS=""
24365XSS_LIBS=""
24366use_xss="no"
24367
24368if test "x$want_ecore_x_screensaver" != "xno"; then
24369 SAVE_CFLAGS=$CFLAGS
24370 CFLAGS="$x_cflags $x_includes"
24371 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/scrnsaver.h" "ac_cv_header_X11_extensions_scrnsaver_h" " #include <X11/Xlib.h>
24372
24373"
24374if test "x$ac_cv_header_X11_extensions_scrnsaver_h" = x""yes; then :
24375
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XScreenSaverSelectInput in -lXss" >&5
24377$as_echo_n "checking for XScreenSaverSelectInput in -lXss... " >&6; }
24378if test "${ac_cv_lib_Xss_XScreenSaverSelectInput+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380else
24381 ac_check_lib_save_LIBS=$LIBS
24382LIBS="-lXss $x_libs
24383 $LIBS"
24384cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24385/* end confdefs.h. */
24386
24387/* Override any GCC internal prototype to avoid an error.
24388 Use char because int might match the return type of a GCC
24389 builtin and then its argument prototype would still apply. */
24390#ifdef __cplusplus
24391extern "C"
24392#endif
24393char XScreenSaverSelectInput ();
24394int
24395main ()
24396{
24397return XScreenSaverSelectInput ();
24398 ;
24399 return 0;
24400}
24401_ACEOF
24402if ac_fn_c_try_link "$LINENO"; then :
24403 ac_cv_lib_Xss_XScreenSaverSelectInput=yes
24404else
24405 ac_cv_lib_Xss_XScreenSaverSelectInput=no
24406fi
24407rm -f core conftest.err conftest.$ac_objext \
24408 conftest$ac_exeext conftest.$ac_ext
24409LIBS=$ac_check_lib_save_LIBS
24410fi
24411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xss_XScreenSaverSelectInput" >&5
24412$as_echo "$ac_cv_lib_Xss_XScreenSaverSelectInput" >&6; }
24413if test "x$ac_cv_lib_Xss_XScreenSaverSelectInput" = x""yes; then :
24414
24415
24416$as_echo "#define ECORE_XSS 1" >>confdefs.h
24417
24418 XSS_LIBS="-lXss"
24419 use_xss="yes"
24420
24421else
24422 use_xss="no"
24423fi
24424
24425
24426else
24427 use_xss="no"
24428fi
24429
24430
24431 CFLAGS=$SAVE_CFLAGS
24432else
24433 use_xss="no"
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: Xss support disabled" >&5
24435$as_echo "$as_me: Xss support disabled" >&6;}
24436fi
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446XI2_CFLAGS=""
24447XI2_LIBS=""
24448use_xi2="no"
24449
24450if test "x$want_ecore_x_input" != "xno"; then
24451 SAVE_CFLAGS=$CFLAGS
24452 CFLAGS="$x_cflags $x_includes"
24453 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" " #include <X11/Xlib.h>
24454
24455"
24456if test "x$ac_cv_header_X11_extensions_XInput2_h" = x""yes; then :
24457
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XIQueryDevice in -lXi" >&5
24459$as_echo_n "checking for XIQueryDevice in -lXi... " >&6; }
24460if test "${ac_cv_lib_Xi_XIQueryDevice+set}" = set; then :
24461 $as_echo_n "(cached) " >&6
24462else
24463 ac_check_lib_save_LIBS=$LIBS
24464LIBS="-lXi $x_libs
24465 $LIBS"
24466cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24467/* end confdefs.h. */
24468
24469/* Override any GCC internal prototype to avoid an error.
24470 Use char because int might match the return type of a GCC
24471 builtin and then its argument prototype would still apply. */
24472#ifdef __cplusplus
24473extern "C"
24474#endif
24475char XIQueryDevice ();
24476int
24477main ()
24478{
24479return XIQueryDevice ();
24480 ;
24481 return 0;
24482}
24483_ACEOF
24484if ac_fn_c_try_link "$LINENO"; then :
24485 ac_cv_lib_Xi_XIQueryDevice=yes
24486else
24487 ac_cv_lib_Xi_XIQueryDevice=no
24488fi
24489rm -f core conftest.err conftest.$ac_objext \
24490 conftest$ac_exeext conftest.$ac_ext
24491LIBS=$ac_check_lib_save_LIBS
24492fi
24493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XIQueryDevice" >&5
24494$as_echo "$ac_cv_lib_Xi_XIQueryDevice" >&6; }
24495if test "x$ac_cv_lib_Xi_XIQueryDevice" = x""yes; then :
24496
24497
24498$as_echo "#define ECORE_XI2 1" >>confdefs.h
24499
24500 XI2_LIBS="-lXi"
24501 use_xi2="yes"
24502
24503else
24504 use_xi2="no"
24505fi
24506
24507
24508else
24509 use_xi2="no"
24510fi
24511
24512
24513 CFLAGS=$SAVE_CFLAGS
24514else
24515 use_xi2="no"
24516 { $as_echo "$as_me:${as_lineno-$LINENO}: Xi2 support disabled" >&5
24517$as_echo "$as_me: Xi2 support disabled" >&6;}
24518fi
24519
24520
24521
24522
24523
24524
24525
24526
24527 ecore_x_libs_private="${Xcursor_libs} ${XKB_LIBS} ${XCOMPOSITE_LIBS} ${XGESTURE_LIBS} ${XDAMAGE_LIBS} ${XDPMS_LIBS} ${XFIXES_LIBS} ${XINERAMA_LIBS} ${XPRINT_LIBS} ${XRANDR_LIBS} ${XRENDER_LIBS} ${XTEST_LIBS} ${XSS_LIBS} ${XI2_LIBS}"
24528
24529
24530$as_echo "#define HAVE_ECORE_X_XLIB 1" >>confdefs.h
24531
24532 have_x="yes"
24533
24534 have_ecore_x_xlib="yes"
24535 fi
24536fi
24537
24538
24539
24540
24541
24542
24543 if test $have_ecore_x_xlib = yes; then
24544 BUILD_ECORE_X_XLIB_TRUE=
24545 BUILD_ECORE_X_XLIB_FALSE='#'
24546else
24547 BUILD_ECORE_X_XLIB_TRUE='#'
24548 BUILD_ECORE_X_XLIB_FALSE=
24549fi
24550
24551 if test $have_ecore_x_xcb = yes; then
24552 BUILD_ECORE_X_XCB_TRUE=
24553 BUILD_ECORE_X_XCB_FALSE='#'
24554else
24555 BUILD_ECORE_X_XCB_TRUE='#'
24556 BUILD_ECORE_X_XCB_FALSE=
24557fi
24558
24559
24560
24561# Evas library (ecore_config, ecore_input_evas, ecore_imf_evas and ecore_evas)
24562
24563
24564pkg_failed=no
24565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVAS" >&5
24566$as_echo_n "checking for EVAS... " >&6; }
24567
24568if test -n "$EVAS_CFLAGS"; then
24569 pkg_cv_EVAS_CFLAGS="$EVAS_CFLAGS"
24570 elif test -n "$PKG_CONFIG"; then
24571 if test -n "$PKG_CONFIG" && \
24572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.2.0\""; } >&5
24573 ($PKG_CONFIG --exists --print-errors "evas >= 1.2.0") 2>&5
24574 ac_status=$?
24575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24576 test $ac_status = 0; }; then
24577 pkg_cv_EVAS_CFLAGS=`$PKG_CONFIG --cflags "evas >= 1.2.0" 2>/dev/null`
24578else
24579 pkg_failed=yes
24580fi
24581 else
24582 pkg_failed=untried
24583fi
24584if test -n "$EVAS_LIBS"; then
24585 pkg_cv_EVAS_LIBS="$EVAS_LIBS"
24586 elif test -n "$PKG_CONFIG"; then
24587 if test -n "$PKG_CONFIG" && \
24588 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas >= 1.2.0\""; } >&5
24589 ($PKG_CONFIG --exists --print-errors "evas >= 1.2.0") 2>&5
24590 ac_status=$?
24591 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
24592 test $ac_status = 0; }; then
24593 pkg_cv_EVAS_LIBS=`$PKG_CONFIG --libs "evas >= 1.2.0" 2>/dev/null`
24594else
24595 pkg_failed=yes
24596fi
24597 else
24598 pkg_failed=untried
24599fi
24600
24601
24602
24603if test $pkg_failed = yes; then
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24605$as_echo "no" >&6; }
24606
24607if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24608 _pkg_short_errors_supported=yes
24609else
24610 _pkg_short_errors_supported=no
24611fi
24612 if test $_pkg_short_errors_supported = yes; then
24613 EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evas >= 1.2.0" 2>&1`
24614 else
24615 EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "evas >= 1.2.0" 2>&1`
24616 fi
24617 # Put the nasty error message in config.log where it belongs
24618 echo "$EVAS_PKG_ERRORS" >&5
24619
24620 have_evas="no"
24621elif test $pkg_failed = untried; then
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24623$as_echo "no" >&6; }
24624 have_evas="no"
24625else
24626 EVAS_CFLAGS=$pkg_cv_EVAS_CFLAGS
24627 EVAS_LIBS=$pkg_cv_EVAS_LIBS
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24629$as_echo "yes" >&6; }
24630 have_evas="yes"
24631fi
24632
24633
24634### Checks for header files
24635
24636for ac_header in sys/select.h sys/prctl.h
24637do :
24638 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24639ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24640if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24641 cat >>confdefs.h <<_ACEOF
24642#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24643_ACEOF
24644
24645fi
24646
24647done
24648
24649
24650
24651
24652default_max="4096"
24653ac_ext=c
24654ac_cpp='$CPP $CPPFLAGS'
24655ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658
24659
24660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
24661$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
24662cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24663/* end confdefs.h. */
24664
24665#include <limits.h>
24666
24667int
24668main ()
24669{
24670
24671int i = PATH_MAX;
24672
24673 ;
24674 return 0;
24675}
24676_ACEOF
24677if ac_fn_c_try_compile "$LINENO"; then :
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24679$as_echo "yes" >&6; }
24680else
24681
24682
24683cat >>confdefs.h <<_ACEOF
24684#define PATH_MAX ${default_max}
24685_ACEOF
24686
24687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
24688$as_echo "no: using ${default_max}" >&6; }
24689
24690fi
24691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24692
24693ac_ext=c
24694ac_cpp='$CPP $CPPFLAGS'
24695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24697ac_compiler_gnu=$ac_cv_c_compiler_gnu
24698
24699
24700
24701
24702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
24703$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
24704if test "${ac_cv_header_sys_wait_h+set}" = set; then :
24705 $as_echo_n "(cached) " >&6
24706else
24707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24708/* end confdefs.h. */
24709#include <sys/types.h>
24710#include <sys/wait.h>
24711#ifndef WEXITSTATUS
24712# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
24713#endif
24714#ifndef WIFEXITED
24715# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
24716#endif
24717
24718int
24719main ()
24720{
24721 int s;
24722 wait (&s);
24723 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
24724 ;
24725 return 0;
24726}
24727_ACEOF
24728if ac_fn_c_try_compile "$LINENO"; then :
24729 ac_cv_header_sys_wait_h=yes
24730else
24731 ac_cv_header_sys_wait_h=no
24732fi
24733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24734fi
24735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
24736$as_echo "$ac_cv_header_sys_wait_h" >&6; }
24737if test $ac_cv_header_sys_wait_h = yes; then
24738
24739$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
24740
24741fi
24742
24743# Check whether --enable-largefile was given.
24744if test "${enable_largefile+set}" = set; then :
24745 enableval=$enable_largefile;
24746fi
24747
24748if test "$enable_largefile" != no; then
24749
24750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
24751$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
24752if test "${ac_cv_sys_largefile_CC+set}" = set; then :
24753 $as_echo_n "(cached) " >&6
24754else
24755 ac_cv_sys_largefile_CC=no
24756 if test "$GCC" != yes; then
24757 ac_save_CC=$CC
24758 while :; do
24759 # IRIX 6.2 and later do not support large files by default,
24760 # so use the C compiler's -n32 option if that helps.
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762/* end confdefs.h. */
24763#include <sys/types.h>
24764 /* Check that off_t can represent 2**63 - 1 correctly.
24765 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24766 since some C++ compilers masquerading as C compilers
24767 incorrectly reject 9223372036854775807. */
24768#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24769 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24770 && LARGE_OFF_T % 2147483647 == 1)
24771 ? 1 : -1];
24772int
24773main ()
24774{
24775
24776 ;
24777 return 0;
24778}
24779_ACEOF
24780 if ac_fn_c_try_compile "$LINENO"; then :
24781 break
24782fi
24783rm -f core conftest.err conftest.$ac_objext
24784 CC="$CC -n32"
24785 if ac_fn_c_try_compile "$LINENO"; then :
24786 ac_cv_sys_largefile_CC=' -n32'; break
24787fi
24788rm -f core conftest.err conftest.$ac_objext
24789 break
24790 done
24791 CC=$ac_save_CC
24792 rm -f conftest.$ac_ext
24793 fi
24794fi
24795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
24796$as_echo "$ac_cv_sys_largefile_CC" >&6; }
24797 if test "$ac_cv_sys_largefile_CC" != no; then
24798 CC=$CC$ac_cv_sys_largefile_CC
24799 fi
24800
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24802$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
24803if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
24804 $as_echo_n "(cached) " >&6
24805else
24806 while :; do
24807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24808/* end confdefs.h. */
24809#include <sys/types.h>
24810 /* Check that off_t can represent 2**63 - 1 correctly.
24811 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24812 since some C++ compilers masquerading as C compilers
24813 incorrectly reject 9223372036854775807. */
24814#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24815 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24816 && LARGE_OFF_T % 2147483647 == 1)
24817 ? 1 : -1];
24818int
24819main ()
24820{
24821
24822 ;
24823 return 0;
24824}
24825_ACEOF
24826if ac_fn_c_try_compile "$LINENO"; then :
24827 ac_cv_sys_file_offset_bits=no; break
24828fi
24829rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24831/* end confdefs.h. */
24832#define _FILE_OFFSET_BITS 64
24833#include <sys/types.h>
24834 /* Check that off_t can represent 2**63 - 1 correctly.
24835 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24836 since some C++ compilers masquerading as C compilers
24837 incorrectly reject 9223372036854775807. */
24838#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24839 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24840 && LARGE_OFF_T % 2147483647 == 1)
24841 ? 1 : -1];
24842int
24843main ()
24844{
24845
24846 ;
24847 return 0;
24848}
24849_ACEOF
24850if ac_fn_c_try_compile "$LINENO"; then :
24851 ac_cv_sys_file_offset_bits=64; break
24852fi
24853rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24854 ac_cv_sys_file_offset_bits=unknown
24855 break
24856done
24857fi
24858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
24859$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
24860case $ac_cv_sys_file_offset_bits in #(
24861 no | unknown) ;;
24862 *)
24863cat >>confdefs.h <<_ACEOF
24864#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24865_ACEOF
24866;;
24867esac
24868rm -rf conftest*
24869 if test $ac_cv_sys_file_offset_bits = unknown; then
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
24871$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
24872if test "${ac_cv_sys_large_files+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24874else
24875 while :; do
24876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24877/* end confdefs.h. */
24878#include <sys/types.h>
24879 /* Check that off_t can represent 2**63 - 1 correctly.
24880 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24881 since some C++ compilers masquerading as C compilers
24882 incorrectly reject 9223372036854775807. */
24883#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24884 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24885 && LARGE_OFF_T % 2147483647 == 1)
24886 ? 1 : -1];
24887int
24888main ()
24889{
24890
24891 ;
24892 return 0;
24893}
24894_ACEOF
24895if ac_fn_c_try_compile "$LINENO"; then :
24896 ac_cv_sys_large_files=no; break
24897fi
24898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900/* end confdefs.h. */
24901#define _LARGE_FILES 1
24902#include <sys/types.h>
24903 /* Check that off_t can represent 2**63 - 1 correctly.
24904 We can't simply define LARGE_OFF_T to be 9223372036854775807,
24905 since some C++ compilers masquerading as C compilers
24906 incorrectly reject 9223372036854775807. */
24907#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
24908 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
24909 && LARGE_OFF_T % 2147483647 == 1)
24910 ? 1 : -1];
24911int
24912main ()
24913{
24914
24915 ;
24916 return 0;
24917}
24918_ACEOF
24919if ac_fn_c_try_compile "$LINENO"; then :
24920 ac_cv_sys_large_files=1; break
24921fi
24922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24923 ac_cv_sys_large_files=unknown
24924 break
24925done
24926fi
24927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
24928$as_echo "$ac_cv_sys_large_files" >&6; }
24929case $ac_cv_sys_large_files in #(
24930 no | unknown) ;;
24931 *)
24932cat >>confdefs.h <<_ACEOF
24933#define _LARGE_FILES $ac_cv_sys_large_files
24934_ACEOF
24935;;
24936esac
24937rm -rf conftest*
24938 fi
24939fi
24940
24941
24942have_addrinfo="no"
24943case "$host_os" in
24944 mingw* | cegcc*)
24945
24946$as_echo "#define HAVE_DLFCN_H 1" >>confdefs.h
24947
24948
24949$as_echo "#define HAVE_SYS_MMAN_H 1" >>confdefs.h
24950
24951
24952$as_echo "#define HAVE_SYS_TIME_H 1" >>confdefs.h
24953
24954 have_addrinfo="yes"
24955 ;;
24956 *)
24957 for ac_header in dlfcn.h features.h langinfo.h locale.h sys/time.h sys/mman.h signal.h sys/resource.h
24958do :
24959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
24960ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
24961if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
24962 cat >>confdefs.h <<_ACEOF
24963#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
24964_ACEOF
24965
24966fi
24967
24968done
24969
24970 ;;
24971esac
24972
24973# ecore_con
24974
24975for ac_header in sys/socket.h
24976do :
24977 ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
24978if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
24979 cat >>confdefs.h <<_ACEOF
24980#define HAVE_SYS_SOCKET_H 1
24981_ACEOF
24982
24983fi
24984
24985done
24986
24987for ac_header in net/if.h
24988do :
24989 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "
24990#include <stdio.h>
24991#ifdef STDC_HEADERS
24992# include <stdlib.h>
24993# include <stddef.h>
24994#else
24995# ifdef HAVE_STDLIB_H
24996# include <stdlib.h>
24997# endif
24998#endif
24999#ifdef HAVE_SYS_SOCKET_H
25000# include <sys/socket.h>
25001#endif
25002
25003"
25004if test "x$ac_cv_header_net_if_h" = x""yes; then :
25005 cat >>confdefs.h <<_ACEOF
25006#define HAVE_NET_IF_H 1
25007_ACEOF
25008
25009fi
25010
25011done
25012
25013for ac_header in sys/un.h arpa/inet.h arpa/nameser.h netinet/tcp.h netinet/in.h ws2tcpip.h netdb.h
25014do :
25015 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
25016ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
25017if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
25018 cat >>confdefs.h <<_ACEOF
25019#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
25020_ACEOF
25021
25022fi
25023
25024done
25025
25026
25027if test "x${ac_cv_header_netdb_h}" = "xyes" ; then
25028 have_addrinfo="yes"
25029fi
25030
25031# Framebuffer (ecore_fb)
25032have_fb="no"
25033ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
25034if test "x$ac_cv_header_linux_fb_h" = x""yes; then :
25035 ac_fn_c_check_header_mongrel "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
25036if test "x$ac_cv_header_linux_input_h" = x""yes; then :
25037 have_fb="yes"
25038fi
25039
25040
25041fi
25042
25043
25044
25045# Cocoa header files (ecore_cocoa)
25046
25047if test "x${want_ecore_cocoa}" = "xyes" ; then
25048 cocoa_ldflags=""
25049 have_cocoa="no"
25050
25051 if test "x${have_gnu_objc}" = "xyes" ; then
25052 ac_ext=m
25053ac_cpp='$OBJCPP $CPPFLAGS'
25054ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25055ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25056ac_compiler_gnu=$ac_cv_objc_compiler_gnu
25057
25058 LIBS_save="$LIBS"
25059 LIBS="$LIBS -framework Cocoa"
25060
25061cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062/* end confdefs.h. */
25063
25064#include <Cocoa/Cocoa.h>
25065
25066int
25067main ()
25068{
25069
25070NSWindow *window;
25071window = [[NSWindow alloc]
25072 initWithContentRect:NSMakeRect(0, 0, 1, 1)
25073 styleMask:(NSTitledWindowMask)
25074 backing:NSBackingStoreBuffered
25075 defer:NO
25076 screen:nil
25077 ];
25078
25079 ;
25080 return 0;
25081}
25082_ACEOF
25083if ac_fn_objc_try_link "$LINENO"; then :
25084
25085 have_cocoa="yes"
25086 cocoa_ldflags="-framework Cocoa"
25087
25088else
25089 have_cocoa="no"
25090fi
25091rm -f core conftest.err conftest.$ac_objext \
25092 conftest$ac_exeext conftest.$ac_ext
25093 LIBS="$LIBS_save"
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Cocoa framework is supported" >&5
25095$as_echo_n "checking whether Cocoa framework is supported... " >&6; }
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_cocoa}" >&5
25097$as_echo "${have_cocoa}" >&6; }
25098 ac_ext=c
25099ac_cpp='$CPP $CPPFLAGS'
25100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25102ac_compiler_gnu=$ac_cv_c_compiler_gnu
25103
25104 fi
25105
25106fi
25107
25108
25109want_epoll=yes
25110# Check whether --enable-epoll was given.
25111if test "${enable_epoll+set}" = set; then :
25112 enableval=$enable_epoll; want_epoll=$enableval
25113fi
25114
25115
25116if test "x${want_epoll}" = "xyes" ; then
25117 # check for epoll support
25118 for ac_header in sys/epoll.h
25119do :
25120 ac_fn_c_check_header_mongrel "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
25121if test "x$ac_cv_header_sys_epoll_h" = x""yes; then :
25122 cat >>confdefs.h <<_ACEOF
25123#define HAVE_SYS_EPOLL_H 1
25124_ACEOF
25125
25126fi
25127
25128done
25129
25130fi
25131
25132# timerfd_create
25133for ac_header in sys/timerfd.h
25134do :
25135 ac_fn_c_check_header_mongrel "$LINENO" "sys/timerfd.h" "ac_cv_header_sys_timerfd_h" "$ac_includes_default"
25136if test "x$ac_cv_header_sys_timerfd_h" = x""yes; then :
25137 cat >>confdefs.h <<_ACEOF
25138#define HAVE_SYS_TIMERFD_H 1
25139_ACEOF
25140
25141fi
25142
25143done
25144
25145for ac_func in timerfd_create
25146do :
25147 ac_fn_c_check_func "$LINENO" "timerfd_create" "ac_cv_func_timerfd_create"
25148if test "x$ac_cv_func_timerfd_create" = x""yes; then :
25149 cat >>confdefs.h <<_ACEOF
25150#define HAVE_TIMERFD_CREATE 1
25151_ACEOF
25152
25153fi
25154done
25155
25156
25157# thread support
25158
25159
25160
25161
25162# Check whether --enable-posix-threads was given.
25163if test "${enable_posix_threads+set}" = set; then :
25164 enableval=$enable_posix_threads;
25165 if test "x${enableval}" = "xyes" ; then
25166 _efl_enable_posix_threads="yes"
25167 else
25168 _efl_enable_posix_threads="no"
25169 fi
25170
25171else
25172 _efl_enable_posix_threads="auto"
25173fi
25174
25175
25176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build POSIX threads code" >&5
25177$as_echo_n "checking whether to build POSIX threads code... " >&6; }
25178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_posix_threads}" >&5
25179$as_echo "${_efl_enable_posix_threads}" >&6; }
25180
25181# Check whether --enable-win32-threads was given.
25182if test "${enable_win32_threads+set}" = set; then :
25183 enableval=$enable_win32_threads;
25184 if test "x${enableval}" = "xyes" ; then
25185 _efl_enable_win32_threads="yes"
25186 else
25187 _efl_enable_win32_threads="no"
25188 fi
25189
25190else
25191 _efl_enable_win32_threads="no"
25192fi
25193
25194
25195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Windows threads code" >&5
25196$as_echo_n "checking whether to build Windows threads code... " >&6; }
25197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_win32_threads}" >&5
25198$as_echo "${_efl_enable_win32_threads}" >&6; }
25199
25200
25201if test "x${_efl_enable_posix_threads}" = "xyes" && test "x${_efl_enable_win32_threads}" = "xyes" ; then
25202 case "$host_os" in
25203 mingw*)
25204 _efl_enable_posix_threads=no
25205 ;;
25206 *)
25207 _efl_enable_win32_threads=no
25208 ;;
25209 esac
25210fi
25211
25212if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25213 case "$host_os" in
25214 mingw*)
25215 ;;
25216 *)
25217 as_fn_error $? "Win32 threads support requested but non Windows system found." "$LINENO" 5
25218 ;;
25219 esac
25220fi
25221
25222if test "x${_efl_enable_posix_threads}" = "xyes" ; then
25223 case "$host_os" in
25224 mingw*)
25225 as_fn_error $? "POSIX threads support requested but Windows system found." "$LINENO" 5
25226 ;;
25227 *)
25228 ;;
25229 esac
25230fi
25231
25232
25233case "$host_os" in
25234 mingw*)
25235 ;;
25236 solaris*)
25237 _efl_threads_cflags="-mt"
25238 _efl_threads_libs="-mt"
25239 ;;
25240 *)
25241 _efl_threads_cflags="-pthread"
25242 _efl_threads_libs="-pthread"
25243 ;;
25244esac
25245
25246_efl_have_posix_threads="no"
25247_efl_have_win32_threads="no"
25248
25249if test "x${_efl_enable_posix_threads}" = "xyes" || test "x${_efl_enable_posix_threads}" = "xauto" ; then
25250
25251 SAVE_CFLAGS=${CFLAGS}
25252 CFLAGS="${CFLAGS} ${_efl_threads_cflags}"
25253 SAVE_LIBS=${LIBS}
25254 LIBS="${LIBS} ${_efl_threads_libs}"
25255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25256/* end confdefs.h. */
25257
25258#include <pthread.h>
25259
25260int
25261main ()
25262{
25263
25264pthread_t id;
25265id = pthread_self();
25266
25267 ;
25268 return 0;
25269}
25270_ACEOF
25271if ac_fn_c_try_link "$LINENO"; then :
25272 _efl_have_posix_threads="yes"
25273else
25274 _efl_have_posix_threads="no"
25275fi
25276rm -f core conftest.err conftest.$ac_objext \
25277 conftest$ac_exeext conftest.$ac_ext
25278 CFLAGS=${SAVE_CFLAGS}
25279 LIBS=${SAVE_LIBS}
25280
25281fi
25282
25283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system support POSIX threads" >&5
25284$as_echo_n "checking whether system support POSIX threads... " >&6; }
25285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_have_posix_threads}" >&5
25286$as_echo "${_efl_have_posix_threads}" >&6; }
25287if test "$x{_efl_enable_posix_threads}" = "xyes" && test "x${_efl_have_posix_threads}" = "xno"; then
25288 as_fn_error $? "POSIX threads support requested but not found." "$LINENO" 5
25289fi
25290
25291EFL_PTHREAD_CFLAGS=""
25292EFL_PTHREAD_LIBS=""
25293if test "x${_efl_have_posix_threads}" = "xyes" ; then
25294 EFL_PTHREAD_CFLAGS=${_efl_threads_cflags}
25295 EFL_PTHREAD_LIBS=${_efl_threads_libs}
25296fi
25297
25298
25299
25300
25301_efl_enable_debug_threads="no"
25302# Check whether --enable-debug-threads was given.
25303if test "${enable_debug_threads+set}" = set; then :
25304 enableval=$enable_debug_threads; _efl_enable_debug_threads="${enableval}"
25305fi
25306
25307
25308have_debug_threads="no"
25309if test "x${_efl_have_posix_threads}" = "xyes" -a "x${_efl_enable_debug_threads}" = "xyes"; then
25310 have_debug_threads="yes"
25311
25312$as_echo "#define EFL_DEBUG_THREADS 1" >>confdefs.h
25313
25314fi
25315
25316if test "x${_efl_have_posix_threads}" = "xyes" ; then
25317
25318$as_echo "#define EFL_HAVE_POSIX_THREADS 1" >>confdefs.h
25319
25320fi
25321
25322if test "x${_efl_enable_win32_threads}" = "xyes" ; then
25323 _efl_have_win32_threads="yes"
25324
25325$as_echo "#define EFL_HAVE_WIN32_THREADS 1" >>confdefs.h
25326
25327fi
25328
25329if test "x${_efl_have_posix_threads}" = "xyes" || test "x${_efl_have_win32_threads}" = "xyes" ; then
25330
25331$as_echo "#define EFL_HAVE_THREADS 1" >>confdefs.h
25332
25333fi
25334
25335if test "x$_efl_have_posix_threads" = "xyes" || test "x$_efl_have_win32_threads" = "xyes"; then :
25336
25337 if test "x${_efl_have_posix_threads}" = "xyes" ; then
25338 have_threads="POSIX"
25339 else
25340 if test "x${_efl_have_win32_threads}" = "xyes" ; then
25341 have_threads="Win32"
25342 else
25343 have_threads="no"
25344 fi
25345 fi
25346
25347else
25348 have_threads="no"
25349fi
25350
25351
25352### enable thread safety if we have threads, unless specifically asked not to
25353if test "x${have_threads}" = "xno"
25354then
25355 want_thread_safety="no"
25356else
25357 want_thread_safety="no" # to be changed to yes when ready
25358 # Check whether --enable-thread-safety was given.
25359if test "${enable_thread_safety+set}" = set; then :
25360 enableval=$enable_thread_safety; want_thread_safety=$enableval
25361fi
25362
25363fi
25364
25365if test "x${want_thread_safety}" = "xyes"
25366then
25367
25368$as_echo "#define HAVE_THREAD_SAFETY 1" >>confdefs.h
25369
25370fi
25371
25372### Checks for types
25373# The cast to long int works around a bug in the HP C Compiler
25374# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25375# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25376# This bug is HP SR number 8606223364.
25377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
25378$as_echo_n "checking size of int... " >&6; }
25379if test "${ac_cv_sizeof_int+set}" = set; then :
25380 $as_echo_n "(cached) " >&6
25381else
25382 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
25383
25384else
25385 if test "$ac_cv_type_int" = yes; then
25386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25388as_fn_error 77 "cannot compute sizeof (int)
25389See \`config.log' for more details" "$LINENO" 5 ; }
25390 else
25391 ac_cv_sizeof_int=0
25392 fi
25393fi
25394
25395fi
25396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
25397$as_echo "$ac_cv_sizeof_int" >&6; }
25398
25399
25400
25401cat >>confdefs.h <<_ACEOF
25402#define SIZEOF_INT $ac_cv_sizeof_int
25403_ACEOF
25404
25405
25406# The cast to long int works around a bug in the HP C Compiler
25407# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25408# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25409# This bug is HP SR number 8606223364.
25410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
25411$as_echo_n "checking size of long... " >&6; }
25412if test "${ac_cv_sizeof_long+set}" = set; then :
25413 $as_echo_n "(cached) " >&6
25414else
25415 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
25416
25417else
25418 if test "$ac_cv_type_long" = yes; then
25419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25420$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25421as_fn_error 77 "cannot compute sizeof (long)
25422See \`config.log' for more details" "$LINENO" 5 ; }
25423 else
25424 ac_cv_sizeof_long=0
25425 fi
25426fi
25427
25428fi
25429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
25430$as_echo "$ac_cv_sizeof_long" >&6; }
25431
25432
25433
25434cat >>confdefs.h <<_ACEOF
25435#define SIZEOF_LONG $ac_cv_sizeof_long
25436_ACEOF
25437
25438
25439
25440
25441### Checks for structures
25442
25443
25444### Checks for compiler characteristics
25445 case $ac_cv_prog_cc_stdc in #(
25446 no) :
25447 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
25448 *) :
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
25450$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
25451if test "${ac_cv_prog_cc_c99+set}" = set; then :
25452 $as_echo_n "(cached) " >&6
25453else
25454 ac_cv_prog_cc_c99=no
25455ac_save_CC=$CC
25456cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457/* end confdefs.h. */
25458#include <stdarg.h>
25459#include <stdbool.h>
25460#include <stdlib.h>
25461#include <wchar.h>
25462#include <stdio.h>
25463
25464// Check varargs macros. These examples are taken from C99 6.10.3.5.
25465#define debug(...) fprintf (stderr, __VA_ARGS__)
25466#define showlist(...) puts (#__VA_ARGS__)
25467#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
25468static void
25469test_varargs_macros (void)
25470{
25471 int x = 1234;
25472 int y = 5678;
25473 debug ("Flag");
25474 debug ("X = %d\n", x);
25475 showlist (The first, second, and third items.);
25476 report (x>y, "x is %d but y is %d", x, y);
25477}
25478
25479// Check long long types.
25480#define BIG64 18446744073709551615ull
25481#define BIG32 4294967295ul
25482#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
25483#if !BIG_OK
25484 your preprocessor is broken;
25485#endif
25486#if BIG_OK
25487#else
25488 your preprocessor is broken;
25489#endif
25490static long long int bignum = -9223372036854775807LL;
25491static unsigned long long int ubignum = BIG64;
25492
25493struct incomplete_array
25494{
25495 int datasize;
25496 double data[];
25497};
25498
25499struct named_init {
25500 int number;
25501 const wchar_t *name;
25502 double average;
25503};
25504
25505typedef const char *ccp;
25506
25507static inline int
25508test_restrict (ccp restrict text)
25509{
25510 // See if C++-style comments work.
25511 // Iterate through items via the restricted pointer.
25512 // Also check for declarations in for loops.
25513 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
25514 continue;
25515 return 0;
25516}
25517
25518// Check varargs and va_copy.
25519static void
25520test_varargs (const char *format, ...)
25521{
25522 va_list args;
25523 va_start (args, format);
25524 va_list args_copy;
25525 va_copy (args_copy, args);
25526
25527 const char *str;
25528 int number;
25529 float fnumber;
25530
25531 while (*format)
25532 {
25533 switch (*format++)
25534 {
25535 case 's': // string
25536 str = va_arg (args_copy, const char *);
25537 break;
25538 case 'd': // int
25539 number = va_arg (args_copy, int);
25540 break;
25541 case 'f': // float
25542 fnumber = va_arg (args_copy, double);
25543 break;
25544 default:
25545 break;
25546 }
25547 }
25548 va_end (args_copy);
25549 va_end (args);
25550}
25551
25552int
25553main ()
25554{
25555
25556 // Check bool.
25557 _Bool success = false;
25558
25559 // Check restrict.
25560 if (test_restrict ("String literal") == 0)
25561 success = true;
25562 char *restrict newvar = "Another string";
25563
25564 // Check varargs.
25565 test_varargs ("s, d' f .", "string", 65, 34.234);
25566 test_varargs_macros ();
25567
25568 // Check flexible array members.
25569 struct incomplete_array *ia =
25570 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
25571 ia->datasize = 10;
25572 for (int i = 0; i < ia->datasize; ++i)
25573 ia->data[i] = i * 1.234;
25574
25575 // Check named initializers.
25576 struct named_init ni = {
25577 .number = 34,
25578 .name = L"Test wide string",
25579 .average = 543.34343,
25580 };
25581
25582 ni.number = 58;
25583
25584 int dynamic_array[ni.number];
25585 dynamic_array[ni.number - 1] = 543;
25586
25587 // work around unused variable warnings
25588 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
25589 || dynamic_array[ni.number - 1] != 543);
25590
25591 ;
25592 return 0;
25593}
25594_ACEOF
25595for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
25596do
25597 CC="$ac_save_CC $ac_arg"
25598 if ac_fn_c_try_compile "$LINENO"; then :
25599 ac_cv_prog_cc_c99=$ac_arg
25600fi
25601rm -f core conftest.err conftest.$ac_objext
25602 test "x$ac_cv_prog_cc_c99" != "xno" && break
25603done
25604rm -f conftest.$ac_ext
25605CC=$ac_save_CC
25606
25607fi
25608# AC_CACHE_VAL
25609case "x$ac_cv_prog_cc_c99" in
25610 x)
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25612$as_echo "none needed" >&6; } ;;
25613 xno)
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
25615$as_echo "unsupported" >&6; } ;;
25616 *)
25617 CC="$CC $ac_cv_prog_cc_c99"
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
25619$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
25620esac
25621if test "x$ac_cv_prog_cc_c99" != xno; then :
25622 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
25623else
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
25625$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
25626if test "${ac_cv_prog_cc_c89+set}" = set; then :
25627 $as_echo_n "(cached) " >&6
25628else
25629 ac_cv_prog_cc_c89=no
25630ac_save_CC=$CC
25631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25632/* end confdefs.h. */
25633#include <stdarg.h>
25634#include <stdio.h>
25635#include <sys/types.h>
25636#include <sys/stat.h>
25637/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
25638struct buf { int x; };
25639FILE * (*rcsopen) (struct buf *, struct stat *, int);
25640static char *e (p, i)
25641 char **p;
25642 int i;
25643{
25644 return p[i];
25645}
25646static char *f (char * (*g) (char **, int), char **p, ...)
25647{
25648 char *s;
25649 va_list v;
25650 va_start (v,p);
25651 s = g (p, va_arg (v,int));
25652 va_end (v);
25653 return s;
25654}
25655
25656/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
25657 function prototypes and stuff, but not '\xHH' hex character constants.
25658 These don't provoke an error unfortunately, instead are silently treated
25659 as 'x'. The following induces an error, until -std is added to get
25660 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
25661 array size at least. It's necessary to write '\x00'==0 to get something
25662 that's true only with -std. */
25663int osf4_cc_array ['\x00' == 0 ? 1 : -1];
25664
25665/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
25666 inside strings and character constants. */
25667#define FOO(x) 'x'
25668int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
25669
25670int test (int i, double x);
25671struct s1 {int (*f) (int a);};
25672struct s2 {int (*f) (double a);};
25673int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
25674int argc;
25675char **argv;
25676int
25677main ()
25678{
25679return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
25680 ;
25681 return 0;
25682}
25683_ACEOF
25684for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
25685 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
25686do
25687 CC="$ac_save_CC $ac_arg"
25688 if ac_fn_c_try_compile "$LINENO"; then :
25689 ac_cv_prog_cc_c89=$ac_arg
25690fi
25691rm -f core conftest.err conftest.$ac_objext
25692 test "x$ac_cv_prog_cc_c89" != "xno" && break
25693done
25694rm -f conftest.$ac_ext
25695CC=$ac_save_CC
25696
25697fi
25698# AC_CACHE_VAL
25699case "x$ac_cv_prog_cc_c89" in
25700 x)
25701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25702$as_echo "none needed" >&6; } ;;
25703 xno)
25704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
25705$as_echo "unsupported" >&6; } ;;
25706 *)
25707 CC="$CC $ac_cv_prog_cc_c89"
25708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
25709$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
25710esac
25711if test "x$ac_cv_prog_cc_c89" != xno; then :
25712 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
25713else
25714 ac_cv_prog_cc_stdc=no
25715fi
25716
25717fi
25718 ;;
25719esac
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
25721$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
25722 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
25723 $as_echo_n "(cached) " >&6
25724fi
25725
25726 case $ac_cv_prog_cc_stdc in #(
25727 no) :
25728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
25729$as_echo "unsupported" >&6; } ;; #(
25730 '') :
25731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25732$as_echo "none needed" >&6; } ;; #(
25733 *) :
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
25735$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
25736esac
25737
25738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
25739$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
25740if test "${ac_cv_c_const+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742else
25743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25744/* end confdefs.h. */
25745
25746int
25747main ()
25748{
25749/* FIXME: Include the comments suggested by Paul. */
25750#ifndef __cplusplus
25751 /* Ultrix mips cc rejects this. */
25752 typedef int charset[2];
25753 const charset cs;
25754 /* SunOS 4.1.1 cc rejects this. */
25755 char const *const *pcpcc;
25756 char **ppc;
25757 /* NEC SVR4.0.2 mips cc rejects this. */
25758 struct point {int x, y;};
25759 static struct point const zero = {0,0};
25760 /* AIX XL C 1.02.0.0 rejects this.
25761 It does not let you subtract one const X* pointer from another in
25762 an arm of an if-expression whose if-part is not a constant
25763 expression */
25764 const char *g = "string";
25765 pcpcc = &g + (g ? g-g : 0);
25766 /* HPUX 7.0 cc rejects these. */
25767 ++pcpcc;
25768 ppc = (char**) pcpcc;
25769 pcpcc = (char const *const *) ppc;
25770 { /* SCO 3.2v4 cc rejects this. */
25771 char *t;
25772 char const *s = 0 ? (char *) 0 : (char const *) 0;
25773
25774 *t++ = 0;
25775 if (s) return 0;
25776 }
25777 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
25778 int x[] = {25, 17};
25779 const int *foo = &x[0];
25780 ++foo;
25781 }
25782 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
25783 typedef const int *iptr;
25784 iptr p = 0;
25785 ++p;
25786 }
25787 { /* AIX XL C 1.02.0.0 rejects this saying
25788 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
25789 struct s { int j; const int *ap[3]; };
25790 struct s *b; b->j = 5;
25791 }
25792 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
25793 const int foo = 10;
25794 if (!foo) return 0;
25795 }
25796 return !cs[0] && !zero.x;
25797#endif
25798
25799 ;
25800 return 0;
25801}
25802_ACEOF
25803if ac_fn_c_try_compile "$LINENO"; then :
25804 ac_cv_c_const=yes
25805else
25806 ac_cv_c_const=no
25807fi
25808rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25809fi
25810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
25811$as_echo "$ac_cv_c_const" >&6; }
25812if test $ac_cv_c_const = no; then
25813
25814$as_echo "#define const /**/" >>confdefs.h
25815
25816fi
25817
25818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
25819$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
25820if test "${ac_cv_c_bigendian+set}" = set; then :
25821 $as_echo_n "(cached) " >&6
25822else
25823 ac_cv_c_bigendian=unknown
25824 # See if we're dealing with a universal compiler.
25825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25826/* end confdefs.h. */
25827#ifndef __APPLE_CC__
25828 not a universal capable compiler
25829 #endif
25830 typedef int dummy;
25831
25832_ACEOF
25833if ac_fn_c_try_compile "$LINENO"; then :
25834
25835 # Check for potential -arch flags. It is not universal unless
25836 # there are at least two -arch flags with different values.
25837 ac_arch=
25838 ac_prev=
25839 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
25840 if test -n "$ac_prev"; then
25841 case $ac_word in
25842 i?86 | x86_64 | ppc | ppc64)
25843 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
25844 ac_arch=$ac_word
25845 else
25846 ac_cv_c_bigendian=universal
25847 break
25848 fi
25849 ;;
25850 esac
25851 ac_prev=
25852 elif test "x$ac_word" = "x-arch"; then
25853 ac_prev=arch
25854 fi
25855 done
25856fi
25857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25858 if test $ac_cv_c_bigendian = unknown; then
25859 # See if sys/param.h defines the BYTE_ORDER macro.
25860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25861/* end confdefs.h. */
25862#include <sys/types.h>
25863 #include <sys/param.h>
25864
25865int
25866main ()
25867{
25868#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
25869 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
25870 && LITTLE_ENDIAN)
25871 bogus endian macros
25872 #endif
25873
25874 ;
25875 return 0;
25876}
25877_ACEOF
25878if ac_fn_c_try_compile "$LINENO"; then :
25879 # It does; now see whether it defined to BIG_ENDIAN or not.
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881/* end confdefs.h. */
25882#include <sys/types.h>
25883 #include <sys/param.h>
25884
25885int
25886main ()
25887{
25888#if BYTE_ORDER != BIG_ENDIAN
25889 not big endian
25890 #endif
25891
25892 ;
25893 return 0;
25894}
25895_ACEOF
25896if ac_fn_c_try_compile "$LINENO"; then :
25897 ac_cv_c_bigendian=yes
25898else
25899 ac_cv_c_bigendian=no
25900fi
25901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25902fi
25903rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25904 fi
25905 if test $ac_cv_c_bigendian = unknown; then
25906 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
25907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25908/* end confdefs.h. */
25909#include <limits.h>
25910
25911int
25912main ()
25913{
25914#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
25915 bogus endian macros
25916 #endif
25917
25918 ;
25919 return 0;
25920}
25921_ACEOF
25922if ac_fn_c_try_compile "$LINENO"; then :
25923 # It does; now see whether it defined to _BIG_ENDIAN or not.
25924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25925/* end confdefs.h. */
25926#include <limits.h>
25927
25928int
25929main ()
25930{
25931#ifndef _BIG_ENDIAN
25932 not big endian
25933 #endif
25934
25935 ;
25936 return 0;
25937}
25938_ACEOF
25939if ac_fn_c_try_compile "$LINENO"; then :
25940 ac_cv_c_bigendian=yes
25941else
25942 ac_cv_c_bigendian=no
25943fi
25944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25945fi
25946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25947 fi
25948 if test $ac_cv_c_bigendian = unknown; then
25949 # Compile a test program.
25950 if test "$cross_compiling" = yes; then :
25951 # Try to guess by grepping values from an object file.
25952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25953/* end confdefs.h. */
25954short int ascii_mm[] =
25955 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
25956 short int ascii_ii[] =
25957 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
25958 int use_ascii (int i) {
25959 return ascii_mm[i] + ascii_ii[i];
25960 }
25961 short int ebcdic_ii[] =
25962 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
25963 short int ebcdic_mm[] =
25964 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
25965 int use_ebcdic (int i) {
25966 return ebcdic_mm[i] + ebcdic_ii[i];
25967 }
25968 extern int foo;
25969
25970int
25971main ()
25972{
25973return use_ascii (foo) == use_ebcdic (foo);
25974 ;
25975 return 0;
25976}
25977_ACEOF
25978if ac_fn_c_try_compile "$LINENO"; then :
25979 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
25980 ac_cv_c_bigendian=yes
25981 fi
25982 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
25983 if test "$ac_cv_c_bigendian" = unknown; then
25984 ac_cv_c_bigendian=no
25985 else
25986 # finding both strings is unlikely to happen, but who knows?
25987 ac_cv_c_bigendian=unknown
25988 fi
25989 fi
25990fi
25991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25992else
25993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25994/* end confdefs.h. */
25995$ac_includes_default
25996int
25997main ()
25998{
25999
26000 /* Are we little or big endian? From Harbison&Steele. */
26001 union
26002 {
26003 long int l;
26004 char c[sizeof (long int)];
26005 } u;
26006 u.l = 1;
26007 return u.c[sizeof (long int) - 1] == 1;
26008
26009 ;
26010 return 0;
26011}
26012_ACEOF
26013if ac_fn_c_try_run "$LINENO"; then :
26014 ac_cv_c_bigendian=no
26015else
26016 ac_cv_c_bigendian=yes
26017fi
26018rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26019 conftest.$ac_objext conftest.beam conftest.$ac_ext
26020fi
26021
26022 fi
26023fi
26024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
26025$as_echo "$ac_cv_c_bigendian" >&6; }
26026 case $ac_cv_c_bigendian in #(
26027 yes)
26028 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
26029;; #(
26030 no)
26031 ;; #(
26032 universal)
26033
26034$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
26035
26036 ;; #(
26037 *)
26038 as_fn_error $? "unknown endianness
26039 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
26040 esac
26041
26042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
26043$as_echo_n "checking for ANSI C header files... " >&6; }
26044if test "${ac_cv_header_stdc+set}" = set; then :
26045 $as_echo_n "(cached) " >&6
26046else
26047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26048/* end confdefs.h. */
26049#include <stdlib.h>
26050#include <stdarg.h>
26051#include <string.h>
26052#include <float.h>
26053
26054int
26055main ()
26056{
26057
26058 ;
26059 return 0;
26060}
26061_ACEOF
26062if ac_fn_c_try_compile "$LINENO"; then :
26063 ac_cv_header_stdc=yes
26064else
26065 ac_cv_header_stdc=no
26066fi
26067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26068
26069if test $ac_cv_header_stdc = yes; then
26070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
26071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26072/* end confdefs.h. */
26073#include <string.h>
26074
26075_ACEOF
26076if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26077 $EGREP "memchr" >/dev/null 2>&1; then :
26078
26079else
26080 ac_cv_header_stdc=no
26081fi
26082rm -f conftest*
26083
26084fi
26085
26086if test $ac_cv_header_stdc = yes; then
26087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
26088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26089/* end confdefs.h. */
26090#include <stdlib.h>
26091
26092_ACEOF
26093if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26094 $EGREP "free" >/dev/null 2>&1; then :
26095
26096else
26097 ac_cv_header_stdc=no
26098fi
26099rm -f conftest*
26100
26101fi
26102
26103if test $ac_cv_header_stdc = yes; then
26104 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
26105 if test "$cross_compiling" = yes; then :
26106 :
26107else
26108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26109/* end confdefs.h. */
26110#include <ctype.h>
26111#include <stdlib.h>
26112#if ((' ' & 0x0FF) == 0x020)
26113# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
26114# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
26115#else
26116# define ISLOWER(c) \
26117 (('a' <= (c) && (c) <= 'i') \
26118 || ('j' <= (c) && (c) <= 'r') \
26119 || ('s' <= (c) && (c) <= 'z'))
26120# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
26121#endif
26122
26123#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
26124int
26125main ()
26126{
26127 int i;
26128 for (i = 0; i < 256; i++)
26129 if (XOR (islower (i), ISLOWER (i))
26130 || toupper (i) != TOUPPER (i))
26131 return 2;
26132 return 0;
26133}
26134_ACEOF
26135if ac_fn_c_try_run "$LINENO"; then :
26136
26137else
26138 ac_cv_header_stdc=no
26139fi
26140rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26141 conftest.$ac_objext conftest.beam conftest.$ac_ext
26142fi
26143
26144fi
26145fi
26146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
26147$as_echo "$ac_cv_header_stdc" >&6; }
26148if test $ac_cv_header_stdc = yes; then
26149
26150$as_echo "#define STDC_HEADERS 1" >>confdefs.h
26151
26152fi
26153
26154
26155
26156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__" >&5
26157$as_echo_n "checking for __attribute__... " >&6; }
26158
26159if test "${ac_cv___attribute__+set}" = set; then :
26160 $as_echo_n "(cached) " >&6
26161else
26162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26163/* end confdefs.h. */
26164
26165#include <stdlib.h>
26166
26167int func(int x);
26168int foo(int x __attribute__ ((unused)))
26169{
26170 exit(1);
26171}
26172
26173int
26174main ()
26175{
26176
26177 ;
26178 return 0;
26179}
26180_ACEOF
26181if ac_fn_c_try_compile "$LINENO"; then :
26182 ac_cv___attribute__="yes"
26183else
26184 ac_cv___attribute__="no"
26185
26186fi
26187rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26188fi
26189
26190
26191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___attribute__" >&5
26192$as_echo "$ac_cv___attribute__" >&6; }
26193
26194if test "x${ac_cv___attribute__}" = "xyes" ; then
26195
26196$as_echo "#define HAVE___ATTRIBUTE__ 1" >>confdefs.h
26197
26198
26199$as_echo "#define __UNUSED__ __attribute__((unused))" >>confdefs.h
26200
26201 else
26202
26203$as_echo "#define __UNUSED__ /**/" >>confdefs.h
26204
26205fi
26206
26207
26208
26209WIN32_CPPFLAGS=""
26210WIN32_CFLAGS=""
26211case "$host_os" in
26212 mingw32ce*)
26213 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26214 ;;
26215 cegcc*)
26216 WIN32_CPPFLAGS="-D_WIN32_WCE=0x0420"
26217 WIN32_CFLAGS="-mwin32"
26218 ;;
26219 mingw*)
26220 WIN32_CPPFLAGS="-D_WIN32_WINNT=0x0501"
26221 ;;
26222esac
26223
26224
26225
26226
26227### Checks for linker characteristics
26228
26229# use --enable-auto-import on Windows
26230
26231lt_enable_auto_import=""
26232case "$host_os" in
26233 mingw* | cegcc*)
26234 lt_enable_auto_import="-Wl,--enable-auto-import"
26235 ;;
26236esac
26237
26238
26239### Checks for library functions
26240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
26241$as_echo_n "checking for library containing strerror... " >&6; }
26242if test "${ac_cv_search_strerror+set}" = set; then :
26243 $as_echo_n "(cached) " >&6
26244else
26245 ac_func_search_save_LIBS=$LIBS
26246cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247/* end confdefs.h. */
26248
26249/* Override any GCC internal prototype to avoid an error.
26250 Use char because int might match the return type of a GCC
26251 builtin and then its argument prototype would still apply. */
26252#ifdef __cplusplus
26253extern "C"
26254#endif
26255char strerror ();
26256int
26257main ()
26258{
26259return strerror ();
26260 ;
26261 return 0;
26262}
26263_ACEOF
26264for ac_lib in '' cposix; do
26265 if test -z "$ac_lib"; then
26266 ac_res="none required"
26267 else
26268 ac_res=-l$ac_lib
26269 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
26270 fi
26271 if ac_fn_c_try_link "$LINENO"; then :
26272 ac_cv_search_strerror=$ac_res
26273fi
26274rm -f core conftest.err conftest.$ac_objext \
26275 conftest$ac_exeext
26276 if test "${ac_cv_search_strerror+set}" = set; then :
26277 break
26278fi
26279done
26280if test "${ac_cv_search_strerror+set}" = set; then :
26281
26282else
26283 ac_cv_search_strerror=no
26284fi
26285rm conftest.$ac_ext
26286LIBS=$ac_func_search_save_LIBS
26287fi
26288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
26289$as_echo "$ac_cv_search_strerror" >&6; }
26290ac_res=$ac_cv_search_strerror
26291if test "$ac_res" != no; then :
26292 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
26293
26294fi
26295
26296# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
26297# for constant arguments. Useless!
26298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
26299$as_echo_n "checking for working alloca.h... " >&6; }
26300if test "${ac_cv_working_alloca_h+set}" = set; then :
26301 $as_echo_n "(cached) " >&6
26302else
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304/* end confdefs.h. */
26305#include <alloca.h>
26306int
26307main ()
26308{
26309char *p = (char *) alloca (2 * sizeof (int));
26310 if (p) return 0;
26311 ;
26312 return 0;
26313}
26314_ACEOF
26315if ac_fn_c_try_link "$LINENO"; then :
26316 ac_cv_working_alloca_h=yes
26317else
26318 ac_cv_working_alloca_h=no
26319fi
26320rm -f core conftest.err conftest.$ac_objext \
26321 conftest$ac_exeext conftest.$ac_ext
26322fi
26323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
26324$as_echo "$ac_cv_working_alloca_h" >&6; }
26325if test $ac_cv_working_alloca_h = yes; then
26326
26327$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
26328
26329fi
26330
26331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
26332$as_echo_n "checking for alloca... " >&6; }
26333if test "${ac_cv_func_alloca_works+set}" = set; then :
26334 $as_echo_n "(cached) " >&6
26335else
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337/* end confdefs.h. */
26338#ifdef __GNUC__
26339# define alloca __builtin_alloca
26340#else
26341# ifdef _MSC_VER
26342# include <malloc.h>
26343# define alloca _alloca
26344# else
26345# ifdef HAVE_ALLOCA_H
26346# include <alloca.h>
26347# else
26348# ifdef _AIX
26349 #pragma alloca
26350# else
26351# ifndef alloca /* predefined by HP cc +Olibcalls */
26352char *alloca ();
26353# endif
26354# endif
26355# endif
26356# endif
26357#endif
26358
26359int
26360main ()
26361{
26362char *p = (char *) alloca (1);
26363 if (p) return 0;
26364 ;
26365 return 0;
26366}
26367_ACEOF
26368if ac_fn_c_try_link "$LINENO"; then :
26369 ac_cv_func_alloca_works=yes
26370else
26371 ac_cv_func_alloca_works=no
26372fi
26373rm -f core conftest.err conftest.$ac_objext \
26374 conftest$ac_exeext conftest.$ac_ext
26375fi
26376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
26377$as_echo "$ac_cv_func_alloca_works" >&6; }
26378
26379if test $ac_cv_func_alloca_works = yes; then
26380
26381$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
26382
26383else
26384 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
26385# that cause trouble. Some versions do not even contain alloca or
26386# contain a buggy version. If you still want to use their alloca,
26387# use ar to extract alloca.o from them instead of compiling alloca.c.
26388
26389ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
26390
26391$as_echo "#define C_ALLOCA 1" >>confdefs.h
26392
26393
26394{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
26395$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
26396if test "${ac_cv_os_cray+set}" = set; then :
26397 $as_echo_n "(cached) " >&6
26398else
26399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26400/* end confdefs.h. */
26401#if defined CRAY && ! defined CRAY2
26402webecray
26403#else
26404wenotbecray
26405#endif
26406
26407_ACEOF
26408if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26409 $EGREP "webecray" >/dev/null 2>&1; then :
26410 ac_cv_os_cray=yes
26411else
26412 ac_cv_os_cray=no
26413fi
26414rm -f conftest*
26415
26416fi
26417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
26418$as_echo "$ac_cv_os_cray" >&6; }
26419if test $ac_cv_os_cray = yes; then
26420 for ac_func in _getb67 GETB67 getb67; do
26421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26422ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26423if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26424
26425cat >>confdefs.h <<_ACEOF
26426#define CRAY_STACKSEG_END $ac_func
26427_ACEOF
26428
26429 break
26430fi
26431
26432 done
26433fi
26434
26435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
26436$as_echo_n "checking stack direction for C alloca... " >&6; }
26437if test "${ac_cv_c_stack_direction+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439else
26440 if test "$cross_compiling" = yes; then :
26441 ac_cv_c_stack_direction=0
26442else
26443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26444/* end confdefs.h. */
26445$ac_includes_default
26446int
26447find_stack_direction ()
26448{
26449 static char *addr = 0;
26450 auto char dummy;
26451 if (addr == 0)
26452 {
26453 addr = &dummy;
26454 return find_stack_direction ();
26455 }
26456 else
26457 return (&dummy > addr) ? 1 : -1;
26458}
26459
26460int
26461main ()
26462{
26463 return find_stack_direction () < 0;
26464}
26465_ACEOF
26466if ac_fn_c_try_run "$LINENO"; then :
26467 ac_cv_c_stack_direction=1
26468else
26469 ac_cv_c_stack_direction=-1
26470fi
26471rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26472 conftest.$ac_objext conftest.beam conftest.$ac_ext
26473fi
26474
26475fi
26476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
26477$as_echo "$ac_cv_c_stack_direction" >&6; }
26478cat >>confdefs.h <<_ACEOF
26479#define STACK_DIRECTION $ac_cv_c_stack_direction
26480_ACEOF
26481
26482
26483fi
26484
26485for ac_func in gettimeofday strlcpy execvp
26486do :
26487 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26488ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26489if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26490 cat >>confdefs.h <<_ACEOF
26491#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26492_ACEOF
26493
26494fi
26495done
26496
26497
26498cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26499/* end confdefs.h. */
26500
26501#include <math.h>
26502
26503int
26504main ()
26505{
26506
26507int i = isfinite(0);
26508
26509 ;
26510 return 0;
26511}
26512_ACEOF
26513if ac_fn_c_try_compile "$LINENO"; then :
26514
26515
26516$as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
26517
26518 have_isfinite="yes"
26519
26520else
26521 have_isfinite="no"
26522fi
26523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26524
26525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
26526$as_echo_n "checking for isfinite... " >&6; }
26527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_isfinite}" >&5
26528$as_echo "${have_isfinite}" >&6; }
26529
26530have_atfile_source=auto
26531# Check whether --enable-atfile-source was given.
26532if test "${enable_atfile_source+set}" = set; then :
26533 enableval=$enable_atfile_source;
26534 if test "x${enableval}" = "xyes" ; then
26535 have_atfile_source="yes"
26536 else
26537 have_atfile_source="no"
26538 fi
26539else
26540 have_atfile_source=auto
26541fi
26542
26543
26544if ! test "x${have_atfile_source}" = "xno" ; then
26545 for ac_func in mkdirat
26546do :
26547 ac_fn_c_check_func "$LINENO" "mkdirat" "ac_cv_func_mkdirat"
26548if test "x$ac_cv_func_mkdirat" = x""yes; then :
26549 cat >>confdefs.h <<_ACEOF
26550#define HAVE_MKDIRAT 1
26551_ACEOF
26552
26553 have_atfile_source="yes"
26554
26555$as_echo "#define HAVE_ATFILE_SOURCE 1" >>confdefs.h
26556
26557
26558else
26559
26560 if test "x${have_atfile_source}" = "xyes" ; then
26561 as_fn_error $? "required atfile-source but no mkdirat()" "$LINENO" 5
26562 fi
26563 have_atfile_source="no"
26564
26565fi
26566done
26567
26568fi
26569
26570SHM_OPEN_LIBS=""
26571
26572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open is in libc" >&5
26573$as_echo_n "checking whether shm_open is in libc... " >&6; }
26574cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26575/* end confdefs.h. */
26576
26577#include <sys/mman.h>
26578#include <sys/stat.h>
26579#include <fcntl.h>
26580
26581int
26582main ()
26583{
26584
26585int fd;
26586fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
26587shm_unlink("/");
26588
26589 ;
26590 return 0;
26591}
26592_ACEOF
26593if ac_fn_c_try_link "$LINENO"; then :
26594
26595 have_shm_open="yes"
26596
26597$as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
26598
26599
26600else
26601 have_shm_open="no"
26602fi
26603rm -f core conftest.err conftest.$ac_objext \
26604 conftest$ac_exeext conftest.$ac_ext
26605LIBS="${LIBS_save}"
26606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shm_open}" >&5
26607$as_echo "${have_shm_open}" >&6; }
26608
26609if ! test "x${have_shm_open}" = "xyes" ; then
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open is in librt" >&5
26611$as_echo_n "checking whether shm_open is in librt... " >&6; }
26612 LIBS_save="${LIBS}"
26613 LIBS="${LIBS} -lrt"
26614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26615/* end confdefs.h. */
26616
26617#include <sys/mman.h>
26618#include <sys/stat.h>
26619#include <fcntl.h>
26620
26621int
26622main ()
26623{
26624
26625int fd;
26626fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
26627shm_unlink("/");
26628
26629 ;
26630 return 0;
26631}
26632_ACEOF
26633if ac_fn_c_try_link "$LINENO"; then :
26634
26635 have_shm_open="yes"
26636
26637$as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
26638
26639 SHM_OPEN_LIBS="-lrt"
26640
26641else
26642 have_shm_open="no"
26643fi
26644rm -f core conftest.err conftest.$ac_objext \
26645 conftest$ac_exeext conftest.$ac_ext
26646 LIBS="${LIBS_save}"
26647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shm_open}" >&5
26648$as_echo "${have_shm_open}" >&6; }
26649fi
26650
26651
26652
26653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open is available" >&5
26654$as_echo_n "checking whether shm_open is available... " >&6; }
26655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shm_open}" >&5
26656$as_echo "${have_shm_open}" >&6; }
26657
26658### Checks for optionnal feature
26659ac_fn_c_check_func "$LINENO" "mallinfo" "ac_cv_func_mallinfo"
26660if test "x$ac_cv_func_mallinfo" = x""yes; then :
26661
26662 have_mallinfo="yes"
26663
26664$as_echo "#define HAVE_MALLINFO 1" >>confdefs.h
26665
26666
26667else
26668 have_mallinfo="no"
26669fi
26670
26671
26672### Ecore modules
26673
26674## Core modules
26675
26676# ecore_con
26677
26678
26679have_ecore_con=no
26680ecore_con_cflags=
26681ecore_con_libs=
26682want_module=${want_ecore_con}
26683
26684# Check whether --enable-ecore-con was given.
26685if test "${enable_ecore_con+set}" = set; then :
26686 enableval=$enable_ecore_con;
26687 if test "x${enableval}" = "xyes" ; then
26688 want_module="yes"
26689 else
26690 want_module="no"
26691 fi
26692
26693fi
26694
26695
26696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Con module is to be built" >&5
26697$as_echo_n "checking whether Ecore_Con module is to be built... " >&6; }
26698
26699if test "x${want_module}" = "xyes" ; then
26700 if test "x${have_addrinfo}" = "x" || test "x${have_addrinfo}" = "xyes" ; then
26701
26702$as_echo "#define BUILD_ECORE_CON 1" >>confdefs.h
26703
26704 have_ecore_con="yes"
26705 ecore_con_libs="-lecore_con"
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26707$as_echo "yes" >&6; }
26708 else
26709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
26710$as_echo "no (dependency failed)" >&6; }
26711 fi
26712else
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26714$as_echo "no" >&6; }
26715fi
26716
26717 if test "x$have_ecore_con" = "xyes"; then
26718 BUILD_ECORE_CON_TRUE=
26719 BUILD_ECORE_CON_FALSE='#'
26720else
26721 BUILD_ECORE_CON_TRUE='#'
26722 BUILD_ECORE_CON_FALSE=
26723fi
26724
26725
26726if test "x$have_ecore_con" = "xyes"; then :
26727
26728fi
26729
26730
26731
26732
26733
26734
26735
26736
26737have_curl="no"
26738have_gnutls="no"
26739have_openssl="no"
26740have_cares="no"
26741want_ipv6="yes"
26742have_ipv6="no"
26743
26744# Check whether --enable-ipv6 was given.
26745if test "${enable_ipv6+set}" = set; then :
26746 enableval=$enable_ipv6;
26747 if test "x${enableval}" = "xyes" ; then
26748 want_ipv6="yes"
26749 else
26750 want_ipv6="no"
26751 fi
26752else
26753 want_ipv6="auto"
26754fi
26755
26756
26757if test "x${have_ecore_con}" = "xyes" ; then
26758
26759 # Verify IPV6 availability in headers
26760 if test "x${want_ipv6}" != "xno" ; then
26761 ac_fn_c_check_type "$LINENO" "struct ipv6_mreq" "ac_cv_type_struct_ipv6_mreq" "
26762#ifdef HAVE_NETINET_IN_H
26763# include <netinet/in.h>
26764#endif
26765#ifdef HAVE_WS2TCPIP_H
26766# include <ws2tcpip.h>
26767#endif
26768
26769"
26770if test "x$ac_cv_type_struct_ipv6_mreq" = x""yes; then :
26771
26772cat >>confdefs.h <<_ACEOF
26773#define HAVE_STRUCT_IPV6_MREQ 1
26774_ACEOF
26775
26776have_ipv6="yes"
26777else
26778 have_ipv6="no"
26779fi
26780
26781 fi
26782
26783 if test "x${have_ipv6}" = "xyes" ; then
26784
26785$as_echo "#define HAVE_IPV6 1" >>confdefs.h
26786
26787 fi
26788
26789
26790_ecore_want_curl=${want_curl}
26791_ecore_have_curl="no"
26792
26793# Check whether --enable-curl was given.
26794if test "${enable_curl+set}" = set; then :
26795 enableval=$enable_curl;
26796 if test "x${enableval}" = "xyes" ; then
26797 _ecore_want_curl="yes"
26798 else
26799 _ecore_want_curl="no"
26800 fi
26801
26802fi
26803
26804
26805if test "x${_ecore_want_curl}" = "xyes" ; then
26806
26807pkg_failed=no
26808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
26809$as_echo_n "checking for CURL... " >&6; }
26810
26811if test -n "$CURL_CFLAGS"; then
26812 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
26813 elif test -n "$PKG_CONFIG"; then
26814 if test -n "$PKG_CONFIG" && \
26815 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
26816 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
26817 ac_status=$?
26818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26819 test $ac_status = 0; }; then
26820 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
26821else
26822 pkg_failed=yes
26823fi
26824 else
26825 pkg_failed=untried
26826fi
26827if test -n "$CURL_LIBS"; then
26828 pkg_cv_CURL_LIBS="$CURL_LIBS"
26829 elif test -n "$PKG_CONFIG"; then
26830 if test -n "$PKG_CONFIG" && \
26831 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
26832 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
26833 ac_status=$?
26834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26835 test $ac_status = 0; }; then
26836 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
26837else
26838 pkg_failed=yes
26839fi
26840 else
26841 pkg_failed=untried
26842fi
26843
26844
26845
26846if test $pkg_failed = yes; then
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26848$as_echo "no" >&6; }
26849
26850if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26851 _pkg_short_errors_supported=yes
26852else
26853 _pkg_short_errors_supported=no
26854fi
26855 if test $_pkg_short_errors_supported = yes; then
26856 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
26857 else
26858 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
26859 fi
26860 # Put the nasty error message in config.log where it belongs
26861 echo "$CURL_PKG_ERRORS" >&5
26862
26863 _ecore_have_curl="no"
26864elif test $pkg_failed = untried; then
26865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26866$as_echo "no" >&6; }
26867 _ecore_have_curl="no"
26868else
26869 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
26870 CURL_LIBS=$pkg_cv_CURL_LIBS
26871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26872$as_echo "yes" >&6; }
26873
26874
26875$as_echo "#define HAVE_CURL 1" >>confdefs.h
26876
26877 _ecore_have_curl="yes"
26878
26879fi
26880fi
26881
26882if test "x$_ecore_have_curl" = "xyes" ; then
26883
26884 have_curl="yes"
26885 requirements_ecore_con="libcurl ${requirements_ecore_con}"
26886
26887else
26888 have_curl="no"
26889fi
26890
26891
26892
26893_ecore_want_gnutls=${want_gnutls}
26894_ecore_have_gnutls="no"
26895
26896# Check whether --enable-gnutls was given.
26897if test "${enable_gnutls+set}" = set; then :
26898 enableval=$enable_gnutls;
26899 if test "x${enableval}" = "xyes" ; then
26900 _ecore_want_gnutls="yes"
26901 else
26902 _ecore_want_gnutls="no"
26903 fi
26904
26905fi
26906
26907
26908if test "x${_ecore_want_gnutls}" = "xyes" -o "x${_ecore_want_gnutls}" = "xauto" ; then
26909
26910pkg_failed=no
26911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS" >&5
26912$as_echo_n "checking for TLS... " >&6; }
26913
26914if test -n "$TLS_CFLAGS"; then
26915 pkg_cv_TLS_CFLAGS="$TLS_CFLAGS"
26916 elif test -n "$PKG_CONFIG"; then
26917 if test -n "$PKG_CONFIG" && \
26918 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26919 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26920 ac_status=$?
26921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26922 test $ac_status = 0; }; then
26923 pkg_cv_TLS_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.10.2" 2>/dev/null`
26924else
26925 pkg_failed=yes
26926fi
26927 else
26928 pkg_failed=untried
26929fi
26930if test -n "$TLS_LIBS"; then
26931 pkg_cv_TLS_LIBS="$TLS_LIBS"
26932 elif test -n "$PKG_CONFIG"; then
26933 if test -n "$PKG_CONFIG" && \
26934 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26935 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26936 ac_status=$?
26937 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26938 test $ac_status = 0; }; then
26939 pkg_cv_TLS_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.10.2" 2>/dev/null`
26940else
26941 pkg_failed=yes
26942fi
26943 else
26944 pkg_failed=untried
26945fi
26946
26947
26948
26949if test $pkg_failed = yes; then
26950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26951$as_echo "no" >&6; }
26952
26953if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
26954 _pkg_short_errors_supported=yes
26955else
26956 _pkg_short_errors_supported=no
26957fi
26958 if test $_pkg_short_errors_supported = yes; then
26959 TLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 2.10.2" 2>&1`
26960 else
26961 TLS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 2.10.2" 2>&1`
26962 fi
26963 # Put the nasty error message in config.log where it belongs
26964 echo "$TLS_PKG_ERRORS" >&5
26965
26966 _ecore_have_gnutls="no"
26967elif test $pkg_failed = untried; then
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26969$as_echo "no" >&6; }
26970 _ecore_have_gnutls="no"
26971else
26972 TLS_CFLAGS=$pkg_cv_TLS_CFLAGS
26973 TLS_LIBS=$pkg_cv_TLS_LIBS
26974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26975$as_echo "yes" >&6; }
26976
26977
26978$as_echo "#define USE_GNUTLS 1" >>confdefs.h
26979
26980 _ecore_have_gnutls="yes"
26981
26982fi
26983 # for ecore_con_ssl.c
26984
26985pkg_failed=no
26986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TLS2" >&5
26987$as_echo_n "checking for TLS2... " >&6; }
26988
26989if test -n "$TLS2_CFLAGS"; then
26990 pkg_cv_TLS2_CFLAGS="$TLS2_CFLAGS"
26991 elif test -n "$PKG_CONFIG"; then
26992 if test -n "$PKG_CONFIG" && \
26993 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
26994 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
26995 ac_status=$?
26996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
26997 test $ac_status = 0; }; then
26998 pkg_cv_TLS2_CFLAGS=`$PKG_CONFIG --cflags "gnutls >= 2.10.2" 2>/dev/null`
26999else
27000 pkg_failed=yes
27001fi
27002 else
27003 pkg_failed=untried
27004fi
27005if test -n "$TLS2_LIBS"; then
27006 pkg_cv_TLS2_LIBS="$TLS2_LIBS"
27007 elif test -n "$PKG_CONFIG"; then
27008 if test -n "$PKG_CONFIG" && \
27009 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnutls >= 2.10.2\""; } >&5
27010 ($PKG_CONFIG --exists --print-errors "gnutls >= 2.10.2") 2>&5
27011 ac_status=$?
27012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27013 test $ac_status = 0; }; then
27014 pkg_cv_TLS2_LIBS=`$PKG_CONFIG --libs "gnutls >= 2.10.2" 2>/dev/null`
27015else
27016 pkg_failed=yes
27017fi
27018 else
27019 pkg_failed=untried
27020fi
27021
27022
27023
27024if test $pkg_failed = yes; then
27025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27026$as_echo "no" >&6; }
27027
27028if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27029 _pkg_short_errors_supported=yes
27030else
27031 _pkg_short_errors_supported=no
27032fi
27033 if test $_pkg_short_errors_supported = yes; then
27034 TLS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnutls >= 2.10.2" 2>&1`
27035 else
27036 TLS2_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnutls >= 2.10.2" 2>&1`
27037 fi
27038 # Put the nasty error message in config.log where it belongs
27039 echo "$TLS2_PKG_ERRORS" >&5
27040
27041 dummy="no"
27042elif test $pkg_failed = untried; then
27043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27044$as_echo "no" >&6; }
27045 dummy="no"
27046else
27047 TLS2_CFLAGS=$pkg_cv_TLS2_CFLAGS
27048 TLS2_LIBS=$pkg_cv_TLS2_LIBS
27049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27050$as_echo "yes" >&6; }
27051
27052$as_echo "#define USE_GNUTLS2 1" >>confdefs.h
27053
27054fi
27055 if test "x$_ecore_have_gnutls" = "xyes";then
27056
27057
27058# Check whether --with-libgcrypt-prefix was given.
27059if test "${with_libgcrypt_prefix+set}" = set; then :
27060 withval=$with_libgcrypt_prefix; libgcrypt_config_prefix="$withval"
27061else
27062 libgcrypt_config_prefix=""
27063fi
27064
27065
27066# Check whether --with-libgcrypt-exec-prefix was given.
27067if test "${with_libgcrypt_exec_prefix+set}" = set; then :
27068 withval=$with_libgcrypt_exec_prefix; libgcrypt_config_exec_prefix="$withval"
27069else
27070 libgcrypt_config_exec_prefix=""
27071fi
27072
27073
27074 if test x$libgcrypt_config_exec_prefix != x ; then
27075 libgcrypt_config_args="$libgcrypt_config_args --exec-prefix=$libgcrypt_config_exec_prefix"
27076 if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27077 LIBGCRYPT_CONFIG=$libgcrypt_config_exec_prefix/bin/libgcrypt-config
27078 fi
27079 fi
27080 if test x$libgcrypt_config_prefix != x ; then
27081 libgcrypt_config_args="$libgcrypt_config_args --prefix=$libgcrypt_config_prefix"
27082 if test x${LIBGCRYPT_CONFIG+set} != xset ; then
27083 LIBGCRYPT_CONFIG=$libgcrypt_config_prefix/bin/libgcrypt-config
27084 fi
27085 fi
27086
27087 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
27088set dummy libgcrypt-config; ac_word=$2
27089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27090$as_echo_n "checking for $ac_word... " >&6; }
27091if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then :
27092 $as_echo_n "(cached) " >&6
27093else
27094 case $LIBGCRYPT_CONFIG in
27095 [\\/]* | ?:[\\/]*)
27096 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
27097 ;;
27098 *)
27099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27100for as_dir in $PATH
27101do
27102 IFS=$as_save_IFS
27103 test -z "$as_dir" && as_dir=.
27104 for ac_exec_ext in '' $ac_executable_extensions; do
27105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27106 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
27108 break 2
27109 fi
27110done
27111 done
27112IFS=$as_save_IFS
27113
27114 test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG="no"
27115 ;;
27116esac
27117fi
27118LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG
27119if test -n "$LIBGCRYPT_CONFIG"; then
27120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5
27121$as_echo "$LIBGCRYPT_CONFIG" >&6; }
27122else
27123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27124$as_echo "no" >&6; }
27125fi
27126
27127
27128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt" >&5
27129$as_echo_n "checking for libgcrypt... " >&6; }
27130 no_libgcrypt=""
27131 if test "$LIBGCRYPT_CONFIG" = "no" ; then
27132 no_libgcrypt=yes
27133 else
27134 LIBGCRYPT_CFLAGS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`"
27135 LIBGCRYPT_LIBS="`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`"
27136
27137 fi
27138 if test "x$no_libgcrypt" = x ; then
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27140$as_echo "yes" >&6; }
27141 _ecore_have_gnutls="yes"
27142 else
27143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27144$as_echo "no" >&6; }
27145 if test "$LIBGCRYPT_CONFIG" = "no" ; then
27146 echo "*** The libgcrypt-config script installed by libgcrypt could not be found"
27147 echo "*** If libgcrypt was installed in PREFIX, make sure PREFIX/bin is in"
27148 echo "*** your path, or set the LIBGCRYPT_CONFIG environment variable to the"
27149 echo "*** full path to libgcrypt-config."
27150 fi
27151 LIBGCRYPT_CFLAGS=""
27152 LIBGCRYPT_LIBS=""
27153 _ecore_have_gnutls="no"
27154 fi
27155
27156
27157
27158
27159
27160
27161 if test "x${_ecore_have_gnutls}" = "xyes" ; then
27162 TLS_CFLAGS+=" ${LIBGCRYPT_CFLAGS}"
27163 TLS_LIBS+=" ${LIBGCRYPT_LIBS}"
27164 fi
27165 fi
27166
27167fi
27168
27169if test "x$_ecore_have_gnutls" = "xyes" ; then
27170 have_gnutls="yes"
27171else
27172 have_gnutls="no"
27173fi
27174
27175
27176
27177_ecore_want_openssl=${want_openssl}
27178_ecore_have_openssl="no"
27179
27180# Check whether --enable-openssl was given.
27181if test "${enable_openssl+set}" = set; then :
27182 enableval=$enable_openssl;
27183 if test "x${enableval}" = "xyes" ; then
27184 _ecore_want_openssl="yes"
27185 else
27186 _ecore_want_openssl="no"
27187 fi
27188
27189fi
27190
27191
27192if test "x${_ecore_have_gnutls}" = "xyes";then
27193 _ecore_want_openssl=no
27194fi
27195
27196if test "x${_ecore_want_openssl}" = "xyes" -o "x${_ecore_want_openssl}" = "xauto"; then
27197
27198pkg_failed=no
27199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL" >&5
27200$as_echo_n "checking for SSL... " >&6; }
27201
27202if test -n "$SSL_CFLAGS"; then
27203 pkg_cv_SSL_CFLAGS="$SSL_CFLAGS"
27204 elif test -n "$PKG_CONFIG"; then
27205 if test -n "$PKG_CONFIG" && \
27206 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27207 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27208 ac_status=$?
27209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27210 test $ac_status = 0; }; then
27211 pkg_cv_SSL_CFLAGS=`$PKG_CONFIG --cflags "openssl" 2>/dev/null`
27212else
27213 pkg_failed=yes
27214fi
27215 else
27216 pkg_failed=untried
27217fi
27218if test -n "$SSL_LIBS"; then
27219 pkg_cv_SSL_LIBS="$SSL_LIBS"
27220 elif test -n "$PKG_CONFIG"; then
27221 if test -n "$PKG_CONFIG" && \
27222 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"openssl\""; } >&5
27223 ($PKG_CONFIG --exists --print-errors "openssl") 2>&5
27224 ac_status=$?
27225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27226 test $ac_status = 0; }; then
27227 pkg_cv_SSL_LIBS=`$PKG_CONFIG --libs "openssl" 2>/dev/null`
27228else
27229 pkg_failed=yes
27230fi
27231 else
27232 pkg_failed=untried
27233fi
27234
27235
27236
27237if test $pkg_failed = yes; then
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27239$as_echo "no" >&6; }
27240
27241if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27242 _pkg_short_errors_supported=yes
27243else
27244 _pkg_short_errors_supported=no
27245fi
27246 if test $_pkg_short_errors_supported = yes; then
27247 SSL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "openssl" 2>&1`
27248 else
27249 SSL_PKG_ERRORS=`$PKG_CONFIG --print-errors "openssl" 2>&1`
27250 fi
27251 # Put the nasty error message in config.log where it belongs
27252 echo "$SSL_PKG_ERRORS" >&5
27253
27254 _ecore_have_openssl="no"
27255elif test $pkg_failed = untried; then
27256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27257$as_echo "no" >&6; }
27258 _ecore_have_openssl="no"
27259else
27260 SSL_CFLAGS=$pkg_cv_SSL_CFLAGS
27261 SSL_LIBS=$pkg_cv_SSL_LIBS
27262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27263$as_echo "yes" >&6; }
27264
27265
27266$as_echo "#define USE_OPENSSL 1" >>confdefs.h
27267
27268 _ecore_have_openssl="yes"
27269
27270fi
27271fi
27272
27273if test "x$_ecore_have_openssl" = "xyes" ; then
27274 have_openssl="yes"
27275else
27276 have_openssl="no"
27277fi
27278
27279
27280 if test "x${have_gnutls}" = "xyes" ; then
27281 requirements_ecore_con="gnutls ${requirements_ecore_con}"
27282 # no need to add it to req_ecore_ipc, since they
27283 # depends on ecore_con anyway.
27284 else
27285 if test "x${have_openssl}" = "xyes" ; then
27286 requirements_ecore_con="openssl ${requirements_ecore_con}"
27287 # no need to add it to req_ecore_ipc, since they
27288 # depends on ecore_con anyway.
27289 fi
27290 fi
27291
27292
27293_ecore_want_cares=${want_cares}
27294_ecore_have_cares="no"
27295
27296# Check whether --enable-cares was given.
27297if test "${enable_cares+set}" = set; then :
27298 enableval=$enable_cares;
27299 if test "x${enableval}" = "xyes" ; then
27300 _ecore_want_cares="yes"
27301 else
27302 _ecore_want_cares="no"
27303 fi
27304
27305fi
27306
27307
27308if test "x${_ecore_want_cares}" = "xyes" -o "x${_ecore_want_cares}" = "xauto" ; then
27309
27310pkg_failed=no
27311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CARES" >&5
27312$as_echo_n "checking for CARES... " >&6; }
27313
27314if test -n "$CARES_CFLAGS"; then
27315 pkg_cv_CARES_CFLAGS="$CARES_CFLAGS"
27316 elif test -n "$PKG_CONFIG"; then
27317 if test -n "$PKG_CONFIG" && \
27318 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27319 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27320 ac_status=$?
27321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27322 test $ac_status = 0; }; then
27323 pkg_cv_CARES_CFLAGS=`$PKG_CONFIG --cflags "libcares >= 1.6.1" 2>/dev/null`
27324else
27325 pkg_failed=yes
27326fi
27327 else
27328 pkg_failed=untried
27329fi
27330if test -n "$CARES_LIBS"; then
27331 pkg_cv_CARES_LIBS="$CARES_LIBS"
27332 elif test -n "$PKG_CONFIG"; then
27333 if test -n "$PKG_CONFIG" && \
27334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcares >= 1.6.1\""; } >&5
27335 ($PKG_CONFIG --exists --print-errors "libcares >= 1.6.1") 2>&5
27336 ac_status=$?
27337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27338 test $ac_status = 0; }; then
27339 pkg_cv_CARES_LIBS=`$PKG_CONFIG --libs "libcares >= 1.6.1" 2>/dev/null`
27340else
27341 pkg_failed=yes
27342fi
27343 else
27344 pkg_failed=untried
27345fi
27346
27347
27348
27349if test $pkg_failed = yes; then
27350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27351$as_echo "no" >&6; }
27352
27353if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27354 _pkg_short_errors_supported=yes
27355else
27356 _pkg_short_errors_supported=no
27357fi
27358 if test $_pkg_short_errors_supported = yes; then
27359 CARES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcares >= 1.6.1" 2>&1`
27360 else
27361 CARES_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcares >= 1.6.1" 2>&1`
27362 fi
27363 # Put the nasty error message in config.log where it belongs
27364 echo "$CARES_PKG_ERRORS" >&5
27365
27366 _ecore_have_cares="no"
27367elif test $pkg_failed = untried; then
27368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27369$as_echo "no" >&6; }
27370 _ecore_have_cares="no"
27371else
27372 CARES_CFLAGS=$pkg_cv_CARES_CFLAGS
27373 CARES_LIBS=$pkg_cv_CARES_LIBS
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27375$as_echo "yes" >&6; }
27376 _ecore_have_cares="yes"
27377fi
27378fi
27379
27380if test "x${_ecore_have_cares}" = "xyes" ; then
27381
27382$as_echo "#define HAVE_CARES 1" >>confdefs.h
27383
27384fi
27385
27386if test "x$_ecore_have_cares" = "xyes" ; then
27387
27388 have_cares="yes"
27389 requirements_ecore_con="libcares ${requirements_ecore_con}"
27390
27391else
27392 have_cares="no"
27393fi
27394
27395
27396fi
27397
27398 if test "x${have_cares}" = "xyes"; then
27399 HAVE_CARES_TRUE=
27400 HAVE_CARES_FALSE='#'
27401else
27402 HAVE_CARES_TRUE='#'
27403 HAVE_CARES_FALSE=
27404fi
27405
27406
27407# ecore_ipc
27408
27409
27410have_ecore_ipc=no
27411ecore_ipc_cflags=
27412ecore_ipc_libs=
27413want_module=${want_ecore_ipc}
27414
27415# Check whether --enable-ecore-ipc was given.
27416if test "${enable_ecore_ipc+set}" = set; then :
27417 enableval=$enable_ecore_ipc;
27418 if test "x${enableval}" = "xyes" ; then
27419 want_module="yes"
27420 else
27421 want_module="no"
27422 fi
27423
27424fi
27425
27426
27427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Ipc module is to be built" >&5
27428$as_echo_n "checking whether Ecore_Ipc module is to be built... " >&6; }
27429
27430if test "x${want_module}" = "xyes" ; then
27431 if test "x${have_ecore_con}" = "x" || test "x${have_ecore_con}" = "xyes" ; then
27432
27433$as_echo "#define BUILD_ECORE_IPC 1" >>confdefs.h
27434
27435 have_ecore_ipc="yes"
27436 ecore_ipc_libs="-lecore_ipc"
27437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27438$as_echo "yes" >&6; }
27439 else
27440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27441$as_echo "no (dependency failed)" >&6; }
27442 fi
27443else
27444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27445$as_echo "no" >&6; }
27446fi
27447
27448 if test "x$have_ecore_ipc" = "xyes"; then
27449 BUILD_ECORE_IPC_TRUE=
27450 BUILD_ECORE_IPC_FALSE='#'
27451else
27452 BUILD_ECORE_IPC_TRUE='#'
27453 BUILD_ECORE_IPC_FALSE=
27454fi
27455
27456
27457if test "x$have_ecore_ipc" = "xyes"; then :
27458
27459 requirements_ecore_ipc="ecore-con >= 1.2.0 ${requirements_ecore_ipc}"
27460 requirements_ecore_evas="ecore-ipc >= 1.2.0 ${requirements_ecore_evas}"
27461
27462fi
27463
27464
27465
27466
27467
27468
27469
27470
27471# ecore_file
27472
27473
27474have_ecore_file=no
27475ecore_file_cflags=
27476ecore_file_libs=
27477want_module=${want_ecore_file}
27478
27479# Check whether --enable-ecore-file was given.
27480if test "${enable_ecore_file+set}" = set; then :
27481 enableval=$enable_ecore_file;
27482 if test "x${enableval}" = "xyes" ; then
27483 want_module="yes"
27484 else
27485 want_module="no"
27486 fi
27487
27488fi
27489
27490
27491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_File module is to be built" >&5
27492$as_echo_n "checking whether Ecore_File module is to be built... " >&6; }
27493
27494if test "x${want_module}" = "xyes" ; then
27495 if test "x" = "x" || test "x" = "xyes" ; then
27496
27497$as_echo "#define BUILD_ECORE_FILE 1" >>confdefs.h
27498
27499 have_ecore_file="yes"
27500 ecore_file_libs="-lecore_file"
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27502$as_echo "yes" >&6; }
27503 else
27504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27505$as_echo "no (dependency failed)" >&6; }
27506 fi
27507else
27508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27509$as_echo "no" >&6; }
27510fi
27511
27512 if test "x$have_ecore_file" = "xyes"; then
27513 BUILD_ECORE_FILE_TRUE=
27514 BUILD_ECORE_FILE_FALSE='#'
27515else
27516 BUILD_ECORE_FILE_TRUE='#'
27517 BUILD_ECORE_FILE_FALSE=
27518fi
27519
27520
27521if test "x$have_ecore_file" = "xyes"; then :
27522
27523fi
27524
27525
27526
27527
27528
27529
27530
27531
27532have_poll="no"
27533have_inotify="no"
27534have_notify_win32="no"
27535if test "x${have_ecore_file}" = "xyes" ; then
27536
27537_ecore_want_poll=${want_poll}
27538_ecore_have_poll="no"
27539
27540# Check whether --enable-poll was given.
27541if test "${enable_poll+set}" = set; then :
27542 enableval=$enable_poll;
27543 if test "x${enableval}" = "xyes" ; then
27544 _ecore_want_poll="yes"
27545 else
27546 _ecore_want_poll="no"
27547 fi
27548
27549fi
27550
27551
27552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether polling is to be used for filemonitoring" >&5
27553$as_echo_n "checking whether polling is to be used for filemonitoring... " >&6; }
27554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_poll}" >&5
27555$as_echo "${_ecore_want_poll}" >&6; }
27556
27557if test "x${_ecore_want_poll}" = "xyes" ; then
27558
27559$as_echo "#define HAVE_POLL 1" >>confdefs.h
27560
27561 _ecore_have_poll="yes"
27562fi
27563
27564if test "x${_ecore_have_poll}" = "xyes" ; then
27565 have_poll="yes"
27566else
27567 have_poll="no"
27568fi
27569
27570
27571_ecore_want_inotify=${want_inotify}
27572_ecore_have_inotify="no"
27573
27574_ecore_want_inotify="yes"
27575# Check whether --enable-inotify was given.
27576if test "${enable_inotify+set}" = set; then :
27577 enableval=$enable_inotify;
27578 if test "x${enableval}" = "xyes" ; then
27579 _ecore_want_inotify="yes"
27580 else
27581 _ecore_want_inotify="no"
27582 fi
27583
27584fi
27585
27586
27587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether inotify is to be used for filemonitoring" >&5
27588$as_echo_n "checking whether inotify is to be used for filemonitoring... " >&6; }
27589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_ecore_want_inotify" >&5
27590$as_echo "$_ecore_want_inotify" >&6; }
27591
27592
27593if test "x${_ecore_want_inotify}" = "xyes" ; then
27594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_init in -lc" >&5
27595$as_echo_n "checking for inotify_init in -lc... " >&6; }
27596if test "${ac_cv_lib_c_inotify_init+set}" = set; then :
27597 $as_echo_n "(cached) " >&6
27598else
27599 ac_check_lib_save_LIBS=$LIBS
27600LIBS="-lc $LIBS"
27601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27602/* end confdefs.h. */
27603
27604/* Override any GCC internal prototype to avoid an error.
27605 Use char because int might match the return type of a GCC
27606 builtin and then its argument prototype would still apply. */
27607#ifdef __cplusplus
27608extern "C"
27609#endif
27610char inotify_init ();
27611int
27612main ()
27613{
27614return inotify_init ();
27615 ;
27616 return 0;
27617}
27618_ACEOF
27619if ac_fn_c_try_link "$LINENO"; then :
27620 ac_cv_lib_c_inotify_init=yes
27621else
27622 ac_cv_lib_c_inotify_init=no
27623fi
27624rm -f core conftest.err conftest.$ac_objext \
27625 conftest$ac_exeext conftest.$ac_ext
27626LIBS=$ac_check_lib_save_LIBS
27627fi
27628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inotify_init" >&5
27629$as_echo "$ac_cv_lib_c_inotify_init" >&6; }
27630if test "x$ac_cv_lib_c_inotify_init" = x""yes; then :
27631
27632
27633$as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
27634
27635
27636$as_echo "#define HAVE_SYS_INOTIFY 1" >>confdefs.h
27637
27638 _ecore_have_inotify="yes"
27639
27640else
27641
27642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27643/* end confdefs.h. */
27644
27645 #include <asm/unistd.h>
27646 #include <linux/inotify.h>
27647
27648int
27649main ()
27650{
27651int a = __NR_inotify_init; int b = IN_MOVE_SELF;
27652 ;
27653 return 0;
27654}
27655_ACEOF
27656if ac_fn_c_try_compile "$LINENO"; then :
27657
27658
27659$as_echo "#define HAVE_INOTIFY 1" >>confdefs.h
27660
27661 _ecore_have_inotify="yes"
27662
27663else
27664 _ecore_have_inotify="no"
27665fi
27666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27667
27668fi
27669
27670fi
27671
27672if test "x$_ecore_have_inotify" = "xyes" ; then
27673 have_inotify="yes"
27674else
27675 have_inotify="no"
27676fi
27677
27678
27679_ecore_want_notify_win32=${want_notify_win32}
27680_ecore_have_notify_win32="no"
27681
27682# Check whether --enable-notify-win32 was given.
27683if test "${enable_notify_win32+set}" = set; then :
27684 enableval=$enable_notify_win32;
27685 if test "x${enableval}" = "xyes" ; then
27686 _ecore_want_notify_win32="yes"
27687 else
27688 _ecore_want_notify_win32="no"
27689 fi
27690
27691fi
27692
27693
27694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Windows notification is to be used for filemonitoring" >&5
27695$as_echo_n "checking whether Windows notification is to be used for filemonitoring... " >&6; }
27696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_ecore_want_notify_win32}" >&5
27697$as_echo "${_ecore_want_notify_win32}" >&6; }
27698
27699if test "x${_ecore_want_notify_win32}" = "xyes" ; then
27700
27701$as_echo "#define HAVE_NOTIFY_WIN32 1" >>confdefs.h
27702
27703 _ecore_have_notify_win32="yes"
27704fi
27705
27706if test "x${_ecore_have_notify_win32}" = "xyes" ; then
27707 have_notify_win32="yes"
27708else
27709 have_notify_win32="no"
27710fi
27711
27712
27713 if test "x${have_ecore_con}" = "xyes" ; then
27714 requirements_ecore_file="ecore-con >= 1.2.0 ${requirements_ecore_file}"
27715 else
27716
27717_ecore_want_curl=${want_curl}
27718_ecore_have_curl="no"
27719
27720# Check whether --enable-curl was given.
27721if test "${enable_curl+set}" = set; then :
27722 enableval=$enable_curl;
27723 if test "x${enableval}" = "xyes" ; then
27724 _ecore_want_curl="yes"
27725 else
27726 _ecore_want_curl="no"
27727 fi
27728
27729fi
27730
27731
27732if test "x${_ecore_want_curl}" = "xyes" ; then
27733
27734pkg_failed=no
27735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5
27736$as_echo_n "checking for CURL... " >&6; }
27737
27738if test -n "$CURL_CFLAGS"; then
27739 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS"
27740 elif test -n "$PKG_CONFIG"; then
27741 if test -n "$PKG_CONFIG" && \
27742 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27743 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27744 ac_status=$?
27745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27746 test $ac_status = 0; }; then
27747 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null`
27748else
27749 pkg_failed=yes
27750fi
27751 else
27752 pkg_failed=untried
27753fi
27754if test -n "$CURL_LIBS"; then
27755 pkg_cv_CURL_LIBS="$CURL_LIBS"
27756 elif test -n "$PKG_CONFIG"; then
27757 if test -n "$PKG_CONFIG" && \
27758 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5
27759 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5
27760 ac_status=$?
27761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27762 test $ac_status = 0; }; then
27763 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null`
27764else
27765 pkg_failed=yes
27766fi
27767 else
27768 pkg_failed=untried
27769fi
27770
27771
27772
27773if test $pkg_failed = yes; then
27774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27775$as_echo "no" >&6; }
27776
27777if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27778 _pkg_short_errors_supported=yes
27779else
27780 _pkg_short_errors_supported=no
27781fi
27782 if test $_pkg_short_errors_supported = yes; then
27783 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libcurl" 2>&1`
27784 else
27785 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors "libcurl" 2>&1`
27786 fi
27787 # Put the nasty error message in config.log where it belongs
27788 echo "$CURL_PKG_ERRORS" >&5
27789
27790 _ecore_have_curl="no"
27791elif test $pkg_failed = untried; then
27792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27793$as_echo "no" >&6; }
27794 _ecore_have_curl="no"
27795else
27796 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS
27797 CURL_LIBS=$pkg_cv_CURL_LIBS
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27799$as_echo "yes" >&6; }
27800
27801
27802$as_echo "#define HAVE_CURL 1" >>confdefs.h
27803
27804 _ecore_have_curl="yes"
27805
27806fi
27807fi
27808
27809if test "x$_ecore_have_curl" = "xyes" ; then
27810
27811 have_curl="yes"
27812 requirements_ecore_file="libcurl ${requirements_ecore_file}"
27813
27814else
27815 have_curl="no"
27816fi
27817
27818 fi
27819
27820fi
27821
27822# ecore_config
27823#ecore_config_deps="no"
27824#if test "x${have_eet}" = "xyes" -a "x${have_evas}" -a "x${have_ecore_ipc}" ; then
27825# ecore_config_deps="yes"
27826#fi
27827
27828#ECORE_CHECK_MODULE([config], [${want_ecore_config}], [Config], [${ecore_config_deps}],
27829# [requirements_ecore_config="ecore-ipc >= 1.2.0 evas >= 1.2.0 eet >= 1.6.0 ${requirements_ecore_config}"])
27830
27831 if false; then
27832 BUILD_ECORE_CONFIG_TRUE=
27833 BUILD_ECORE_CONFIG_FALSE='#'
27834else
27835 BUILD_ECORE_CONFIG_TRUE='#'
27836 BUILD_ECORE_CONFIG_FALSE=
27837fi
27838
27839
27840# ecore_imf
27841
27842
27843
27844have_ecore_imf=no
27845ecore_imf_cflags=
27846ecore_imf_libs=
27847want_module=${want_ecore_imf}
27848
27849# Check whether --enable-ecore-imf was given.
27850if test "${enable_ecore_imf+set}" = set; then :
27851 enableval=$enable_ecore_imf;
27852 if test "x${enableval}" = "xyes" ; then
27853 want_module="yes"
27854 else
27855 want_module="no"
27856 fi
27857
27858fi
27859
27860
27861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf module is to be built" >&5
27862$as_echo_n "checking whether Ecore_Imf module is to be built... " >&6; }
27863
27864if test "x${want_module}" = "xyes" ; then
27865 if test "x" = "x" || test "x" = "xyes" ; then
27866
27867$as_echo "#define BUILD_ECORE_IMF 1" >>confdefs.h
27868
27869 have_ecore_imf="yes"
27870 ecore_imf_libs="-lecore_imf"
27871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27872$as_echo "yes" >&6; }
27873 else
27874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27875$as_echo "no (dependency failed)" >&6; }
27876 fi
27877else
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27879$as_echo "no" >&6; }
27880fi
27881
27882 if test "x$have_ecore_imf" = "xyes"; then
27883 BUILD_ECORE_IMF_TRUE=
27884 BUILD_ECORE_IMF_FALSE='#'
27885else
27886 BUILD_ECORE_IMF_TRUE='#'
27887 BUILD_ECORE_IMF_FALSE=
27888fi
27889
27890
27891if test "x$have_ecore_imf" = "xyes"; then :
27892
27893fi
27894
27895
27896
27897
27898
27899
27900
27901
27902# ecore_imf_evas
27903
27904ecore_imf_evas_deps="no"
27905if test "x${have_ecore_imf}" = "xyes" -a "x${have_evas}" = "xyes" ; then
27906 ecore_imf_evas_deps="yes"
27907fi
27908
27909
27910
27911have_ecore_imf_evas=no
27912ecore_imf_evas_cflags=
27913ecore_imf_evas_libs=
27914want_module=${want_ecore_imf}
27915
27916# Check whether --enable-ecore-imf-evas was given.
27917if test "${enable_ecore_imf_evas+set}" = set; then :
27918 enableval=$enable_ecore_imf_evas;
27919 if test "x${enableval}" = "xyes" ; then
27920 want_module="yes"
27921 else
27922 want_module="no"
27923 fi
27924
27925fi
27926
27927
27928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_Evas module is to be built" >&5
27929$as_echo_n "checking whether Ecore_Imf_Evas module is to be built... " >&6; }
27930
27931if test "x${want_module}" = "xyes" ; then
27932 if test "x${ecore_imf_evas_deps}" = "x" || test "x${ecore_imf_evas_deps}" = "xyes" ; then
27933
27934$as_echo "#define BUILD_ECORE_IMF_EVAS 1" >>confdefs.h
27935
27936 have_ecore_imf_evas="yes"
27937 ecore_imf_evas_libs="-lecore_imf_evas"
27938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27939$as_echo "yes" >&6; }
27940 else
27941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
27942$as_echo "no (dependency failed)" >&6; }
27943 fi
27944else
27945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27946$as_echo "no" >&6; }
27947fi
27948
27949 if test "x$have_ecore_imf_evas" = "xyes"; then
27950 BUILD_ECORE_IMF_EVAS_TRUE=
27951 BUILD_ECORE_IMF_EVAS_FALSE='#'
27952else
27953 BUILD_ECORE_IMF_EVAS_TRUE='#'
27954 BUILD_ECORE_IMF_EVAS_FALSE=
27955fi
27956
27957
27958if test "x$have_ecore_imf_evas" = "xyes"; then :
27959 requirements_ecore_imf_evas="ecore-imf >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_imf_evas}"
27960fi
27961
27962
27963
27964
27965
27966
27967
27968
27969# ecore_input{_evas}
27970
27971
27972have_ecore_input=no
27973ecore_input_cflags=
27974ecore_input_libs=
27975want_module=${want_ecore_input}
27976
27977# Check whether --enable-ecore-input was given.
27978if test "${enable_ecore_input+set}" = set; then :
27979 enableval=$enable_ecore_input;
27980 if test "x${enableval}" = "xyes" ; then
27981 want_module="yes"
27982 else
27983 want_module="no"
27984 fi
27985
27986fi
27987
27988
27989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input module is to be built" >&5
27990$as_echo_n "checking whether Ecore_Input module is to be built... " >&6; }
27991
27992if test "x${want_module}" = "xyes" ; then
27993 if test "x" = "x" || test "x" = "xyes" ; then
27994
27995$as_echo "#define BUILD_ECORE_INPUT 1" >>confdefs.h
27996
27997 have_ecore_input="yes"
27998 ecore_input_libs="-lecore_input"
27999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28000$as_echo "yes" >&6; }
28001 else
28002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28003$as_echo "no (dependency failed)" >&6; }
28004 fi
28005else
28006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28007$as_echo "no" >&6; }
28008fi
28009
28010 if test "x$have_ecore_input" = "xyes"; then
28011 BUILD_ECORE_INPUT_TRUE=
28012 BUILD_ECORE_INPUT_FALSE='#'
28013else
28014 BUILD_ECORE_INPUT_TRUE='#'
28015 BUILD_ECORE_INPUT_FALSE=
28016fi
28017
28018
28019if test "x$have_ecore_input" = "xyes"; then :
28020
28021fi
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031have_ecore_input_evas=no
28032ecore_input_evas_cflags=
28033ecore_input_evas_libs=
28034want_module=${want_ecore_input}
28035
28036# Check whether --enable-ecore-input-evas was given.
28037if test "${enable_ecore_input_evas+set}" = set; then :
28038 enableval=$enable_ecore_input_evas;
28039 if test "x${enableval}" = "xyes" ; then
28040 want_module="yes"
28041 else
28042 want_module="no"
28043 fi
28044
28045fi
28046
28047
28048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Input_Evas module is to be built" >&5
28049$as_echo_n "checking whether Ecore_Input_Evas module is to be built... " >&6; }
28050
28051if test "x${want_module}" = "xyes" ; then
28052 if test "x${have_evas}" = "x" || test "x${have_evas}" = "xyes" ; then
28053
28054$as_echo "#define BUILD_ECORE_INPUT_EVAS 1" >>confdefs.h
28055
28056 have_ecore_input_evas="yes"
28057 ecore_input_evas_libs="-lecore_input_evas"
28058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28059$as_echo "yes" >&6; }
28060 else
28061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28062$as_echo "no (dependency failed)" >&6; }
28063 fi
28064else
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28066$as_echo "no" >&6; }
28067fi
28068
28069 if test "x$have_ecore_input_evas" = "xyes"; then
28070 BUILD_ECORE_INPUT_EVAS_TRUE=
28071 BUILD_ECORE_INPUT_EVAS_FALSE='#'
28072else
28073 BUILD_ECORE_INPUT_EVAS_TRUE='#'
28074 BUILD_ECORE_INPUT_EVAS_FALSE=
28075fi
28076
28077
28078if test "x$have_ecore_input_evas" = "xyes"; then :
28079 requirements_ecore_input_evas="ecore-input >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_input}"
28080fi
28081
28082
28083
28084
28085
28086
28087
28088
28089# ecore_imf_xim
28090 if false; then
28091 BUILD_ECORE_IMF_XIM_TRUE=
28092 BUILD_ECORE_IMF_XIM_FALSE='#'
28093else
28094 BUILD_ECORE_IMF_XIM_TRUE='#'
28095 BUILD_ECORE_IMF_XIM_FALSE=
28096fi
28097
28098ecore_imf_xim_deps="no"
28099echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
28100if test "x${have_ecore_imf}" = "xyes" \
28101 -a "x${have_ecore_x_xlib}" = "xyes" \
28102 -a "x${have_ecore_input}" = "xyes" ; then
28103 ecore_imf_xim_deps="yes"
28104
28105$as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28106
28107fi
28108
28109
28110
28111have_ecore_imf_xim=no
28112ecore_imf_xim_cflags=
28113ecore_imf_xim_libs=
28114want_module=${want_ecore_imf}
28115
28116# Check whether --enable-ecore-imf-xim was given.
28117if test "${enable_ecore_imf_xim+set}" = set; then :
28118 enableval=$enable_ecore_imf_xim;
28119 if test "x${enableval}" = "xyes" ; then
28120 want_module="yes"
28121 else
28122 want_module="no"
28123 fi
28124
28125fi
28126
28127
28128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_XIM module is to be built" >&5
28129$as_echo_n "checking whether Ecore_Imf_XIM module is to be built... " >&6; }
28130
28131if test "x${want_module}" = "xyes" ; then
28132 if test "x${ecore_imf_xim_deps}" = "x" || test "x${ecore_imf_xim_deps}" = "xyes" ; then
28133
28134$as_echo "#define BUILD_ECORE_IMF_XIM 1" >>confdefs.h
28135
28136 have_ecore_imf_xim="yes"
28137 ecore_imf_xim_libs="-lecore_imf_xim"
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28139$as_echo "yes" >&6; }
28140 else
28141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28142$as_echo "no (dependency failed)" >&6; }
28143 fi
28144else
28145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28146$as_echo "no" >&6; }
28147fi
28148
28149 if test "x$have_ecore_imf_xim" = "xyes"; then
28150 BUILD_ECORE_IMF_XIM_TRUE=
28151 BUILD_ECORE_IMF_XIM_FALSE='#'
28152else
28153 BUILD_ECORE_IMF_XIM_TRUE='#'
28154 BUILD_ECORE_IMF_XIM_FALSE=
28155fi
28156
28157
28158if test "x$have_ecore_imf_xim" = "xyes"; then :
28159 requirements_ecore_imf_xim="ecore-imf >= 1.2.0 ecore-x >= 1.2.0 ecore-input >= 1.2.0 ${requirements_ecore_imf_xim}"
28160fi
28161
28162
28163
28164
28165
28166
28167
28168
28169# ecore_imf_scim
28170
28171pkg_failed=no
28172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCIM" >&5
28173$as_echo_n "checking for SCIM... " >&6; }
28174
28175if test -n "$SCIM_CFLAGS"; then
28176 pkg_cv_SCIM_CFLAGS="$SCIM_CFLAGS"
28177 elif test -n "$PKG_CONFIG"; then
28178 if test -n "$PKG_CONFIG" && \
28179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5
28180 ($PKG_CONFIG --exists --print-errors "scim") 2>&5
28181 ac_status=$?
28182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28183 test $ac_status = 0; }; then
28184 pkg_cv_SCIM_CFLAGS=`$PKG_CONFIG --cflags "scim" 2>/dev/null`
28185else
28186 pkg_failed=yes
28187fi
28188 else
28189 pkg_failed=untried
28190fi
28191if test -n "$SCIM_LIBS"; then
28192 pkg_cv_SCIM_LIBS="$SCIM_LIBS"
28193 elif test -n "$PKG_CONFIG"; then
28194 if test -n "$PKG_CONFIG" && \
28195 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"scim\""; } >&5
28196 ($PKG_CONFIG --exists --print-errors "scim") 2>&5
28197 ac_status=$?
28198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28199 test $ac_status = 0; }; then
28200 pkg_cv_SCIM_LIBS=`$PKG_CONFIG --libs "scim" 2>/dev/null`
28201else
28202 pkg_failed=yes
28203fi
28204 else
28205 pkg_failed=untried
28206fi
28207
28208
28209
28210if test $pkg_failed = yes; then
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28212$as_echo "no" >&6; }
28213
28214if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28215 _pkg_short_errors_supported=yes
28216else
28217 _pkg_short_errors_supported=no
28218fi
28219 if test $_pkg_short_errors_supported = yes; then
28220 SCIM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "scim" 2>&1`
28221 else
28222 SCIM_PKG_ERRORS=`$PKG_CONFIG --print-errors "scim" 2>&1`
28223 fi
28224 # Put the nasty error message in config.log where it belongs
28225 echo "$SCIM_PKG_ERRORS" >&5
28226
28227 have_scim="no"
28228elif test $pkg_failed = untried; then
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28230$as_echo "no" >&6; }
28231 have_scim="no"
28232else
28233 SCIM_CFLAGS=$pkg_cv_SCIM_CFLAGS
28234 SCIM_LIBS=$pkg_cv_SCIM_LIBS
28235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28236$as_echo "yes" >&6; }
28237 have_scim="yes"
28238fi
28239
28240 if false; then
28241 BUILD_ECORE_IMF_SCIM_TRUE=
28242 BUILD_ECORE_IMF_SCIM_FALSE='#'
28243else
28244 BUILD_ECORE_IMF_SCIM_TRUE='#'
28245 BUILD_ECORE_IMF_SCIM_FALSE=
28246fi
28247
28248ecore_imf_scim_deps="no"
28249echo "have_ecore_x_xlib: ${have_ecore_x_xlib}"
28250if test "x${have_ecore_imf}" = "xyes" \
28251 -a "x${have_scim}" = "xyes" \
28252 -a "x${have_ecore_input}" = "xyes" ; then
28253 ecore_imf_scim_deps="yes"
28254
28255$as_echo "#define BUILD_ECORE_IMF_SCIM 1" >>confdefs.h
28256
28257fi
28258
28259
28260
28261have_ecore_imf_scim=no
28262ecore_imf_scim_cflags=
28263ecore_imf_scim_libs=
28264want_module=${want_ecore_imf}
28265
28266# Check whether --enable-ecore-imf-scim was given.
28267if test "${enable_ecore_imf_scim+set}" = set; then :
28268 enableval=$enable_ecore_imf_scim;
28269 if test "x${enableval}" = "xyes" ; then
28270 want_module="yes"
28271 else
28272 want_module="no"
28273 fi
28274
28275fi
28276
28277
28278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Imf_SCIM module is to be built" >&5
28279$as_echo_n "checking whether Ecore_Imf_SCIM module is to be built... " >&6; }
28280
28281if test "x${want_module}" = "xyes" ; then
28282 if test "x${ecore_imf_scim_deps}" = "x" || test "x${ecore_imf_scim_deps}" = "xyes" ; then
28283
28284$as_echo "#define BUILD_ECORE_IMF_SCIM 1" >>confdefs.h
28285
28286 have_ecore_imf_scim="yes"
28287 ecore_imf_scim_libs="-lecore_imf_scim"
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28289$as_echo "yes" >&6; }
28290 else
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28292$as_echo "no (dependency failed)" >&6; }
28293 fi
28294else
28295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28296$as_echo "no" >&6; }
28297fi
28298
28299 if test "x$have_ecore_imf_scim" = "xyes"; then
28300 BUILD_ECORE_IMF_SCIM_TRUE=
28301 BUILD_ECORE_IMF_SCIM_FALSE='#'
28302else
28303 BUILD_ECORE_IMF_SCIM_TRUE='#'
28304 BUILD_ECORE_IMF_SCIM_FALSE=
28305fi
28306
28307
28308if test "x$have_ecore_imf_scim" = "xyes"; then :
28309 requirements_ecore_imf_scim="ecore-imf >= 1.2.0 ecore-x >= 1.2.0 ecore-input >= 1.2.0 ${requirements_ecore_imf_scim}"
28310fi
28311
28312
28313
28314
28315
28316
28317
28318
28319## Graphic systems
28320
28321# ecore_x{cb}
28322
28323ecore_x_deps="no"
28324if test "x${have_x}" = "xyes" -a \
28325 "x${have_ecore_input}" = "xyes" ; then
28326 ecore_x_deps="yes"
28327fi
28328
28329
28330
28331have_ecore_x=no
28332ecore_x_cflags=
28333ecore_x_libs=
28334want_module=${want_ecore_x}
28335
28336# Check whether --enable-ecore-x was given.
28337if test "${enable_ecore_x+set}" = set; then :
28338 enableval=$enable_ecore_x;
28339 if test "x${enableval}" = "xyes" ; then
28340 want_module="yes"
28341 else
28342 want_module="no"
28343 fi
28344
28345fi
28346
28347
28348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_X module is to be built" >&5
28349$as_echo_n "checking whether Ecore_X module is to be built... " >&6; }
28350
28351if test "x${want_module}" = "xyes" ; then
28352 if test "x${ecore_x_deps}" = "x" || test "x${ecore_x_deps}" = "xyes" ; then
28353
28354$as_echo "#define BUILD_ECORE_X 1" >>confdefs.h
28355
28356 have_ecore_x="yes"
28357 ecore_x_libs="-lecore_x"
28358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28359$as_echo "yes" >&6; }
28360 else
28361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28362$as_echo "no (dependency failed)" >&6; }
28363 fi
28364else
28365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28366$as_echo "no" >&6; }
28367fi
28368
28369 if test "x$have_ecore_x" = "xyes"; then
28370 BUILD_ECORE_X_TRUE=
28371 BUILD_ECORE_X_FALSE='#'
28372else
28373 BUILD_ECORE_X_TRUE='#'
28374 BUILD_ECORE_X_FALSE=
28375fi
28376
28377
28378if test "x$have_ecore_x" = "xyes"; then :
28379
28380 ecore_x_libs="$ecore_x_libs $x_libs"
28381 requirements_ecore_x="ecore-input >= 1.2.0 ${requirements_ecore_x}"
28382
28383fi
28384
28385
28386
28387
28388
28389
28390
28391
28392# ecore_win32
28393
28394
28395
28396have_ecore_win32=no
28397ecore_win32_cflags=
28398ecore_win32_libs=
28399want_module=${want_ecore_win32}
28400
28401# Check whether --enable-ecore-win32 was given.
28402if test "${enable_ecore_win32+set}" = set; then :
28403 enableval=$enable_ecore_win32;
28404 if test "x${enableval}" = "xyes" ; then
28405 want_module="yes"
28406 else
28407 want_module="no"
28408 fi
28409
28410fi
28411
28412
28413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Win32 module is to be built" >&5
28414$as_echo_n "checking whether Ecore_Win32 module is to be built... " >&6; }
28415
28416if test "x${want_module}" = "xyes" ; then
28417 if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
28418
28419$as_echo "#define BUILD_ECORE_WIN32 1" >>confdefs.h
28420
28421 have_ecore_win32="yes"
28422 ecore_win32_libs="-lecore_win32"
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28424$as_echo "yes" >&6; }
28425 else
28426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28427$as_echo "no (dependency failed)" >&6; }
28428 fi
28429else
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28431$as_echo "no" >&6; }
28432fi
28433
28434 if test "x$have_ecore_win32" = "xyes"; then
28435 BUILD_ECORE_WIN32_TRUE=
28436 BUILD_ECORE_WIN32_FALSE='#'
28437else
28438 BUILD_ECORE_WIN32_TRUE='#'
28439 BUILD_ECORE_WIN32_FALSE=
28440fi
28441
28442
28443if test "x$have_ecore_win32" = "xyes"; then :
28444
28445 ecore_win32_libs="-lole32 -lgdi32"
28446 requirements_ecore_win32="ecore-input >= 1.2.0 ${requirements_ecore_win32}"
28447
28448fi
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458# ecore_cocoa
28459
28460ecore_cocoa_deps="no"
28461if test "x${have_ecore_input}" = "xyes" -a "x${have_cocoa}" = "xyes" ; then
28462 ecore_cocoa_deps="yes"
28463fi
28464
28465
28466
28467have_ecore_cocoa=no
28468ecore_cocoa_cflags=
28469ecore_cocoa_libs=
28470want_module=${want_ecore_cocoa}
28471
28472# Check whether --enable-ecore-cocoa was given.
28473if test "${enable_ecore_cocoa+set}" = set; then :
28474 enableval=$enable_ecore_cocoa;
28475 if test "x${enableval}" = "xyes" ; then
28476 want_module="yes"
28477 else
28478 want_module="no"
28479 fi
28480
28481fi
28482
28483
28484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Cocoa module is to be built" >&5
28485$as_echo_n "checking whether Ecore_Cocoa module is to be built... " >&6; }
28486
28487if test "x${want_module}" = "xyes" ; then
28488 if test "x${ecore_cocoa_deps}" = "x" || test "x${ecore_cocoa_deps}" = "xyes" ; then
28489
28490$as_echo "#define BUILD_ECORE_COCOA 1" >>confdefs.h
28491
28492 have_ecore_cocoa="yes"
28493 ecore_cocoa_libs="-lecore_cocoa"
28494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28495$as_echo "yes" >&6; }
28496 else
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28498$as_echo "no (dependency failed)" >&6; }
28499 fi
28500else
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28502$as_echo "no" >&6; }
28503fi
28504
28505 if test "x$have_ecore_cocoa" = "xyes"; then
28506 BUILD_ECORE_COCOA_TRUE=
28507 BUILD_ECORE_COCOA_FALSE='#'
28508else
28509 BUILD_ECORE_COCOA_TRUE='#'
28510 BUILD_ECORE_COCOA_FALSE=
28511fi
28512
28513
28514if test "x$have_ecore_cocoa" = "xyes"; then :
28515 requirements_ecore_cocoa="ecore-input >= 1.2.0 ${requirements_ecore_cocoa}"
28516fi
28517
28518
28519
28520
28521
28522
28523
28524
28525# ecore_sdl
28526
28527ecore_sdl_deps="no"
28528if test "x${have_sdl}" = "xyes" -a "x${have_ecore_input}" = "xyes" ; then
28529 ecore_sdl_deps="yes"
28530fi
28531
28532
28533
28534have_ecore_sdl=no
28535ecore_sdl_cflags=
28536ecore_sdl_libs=
28537want_module=${want_ecore_sdl}
28538
28539# Check whether --enable-ecore-sdl was given.
28540if test "${enable_ecore_sdl+set}" = set; then :
28541 enableval=$enable_ecore_sdl;
28542 if test "x${enableval}" = "xyes" ; then
28543 want_module="yes"
28544 else
28545 want_module="no"
28546 fi
28547
28548fi
28549
28550
28551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Sdl module is to be built" >&5
28552$as_echo_n "checking whether Ecore_Sdl module is to be built... " >&6; }
28553
28554if test "x${want_module}" = "xyes" ; then
28555 if test "x${ecore_sdl_deps}" = "x" || test "x${ecore_sdl_deps}" = "xyes" ; then
28556
28557$as_echo "#define BUILD_ECORE_SDL 1" >>confdefs.h
28558
28559 have_ecore_sdl="yes"
28560 ecore_sdl_libs="-lecore_sdl"
28561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28562$as_echo "yes" >&6; }
28563 else
28564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28565$as_echo "no (dependency failed)" >&6; }
28566 fi
28567else
28568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28569$as_echo "no" >&6; }
28570fi
28571
28572 if test "x$have_ecore_sdl" = "xyes"; then
28573 BUILD_ECORE_SDL_TRUE=
28574 BUILD_ECORE_SDL_FALSE='#'
28575else
28576 BUILD_ECORE_SDL_TRUE='#'
28577 BUILD_ECORE_SDL_FALSE=
28578fi
28579
28580
28581if test "x$have_ecore_sdl" = "xyes"; then :
28582 requirements_ecore_sdl="ecore-input >= 1.2.0 ${requirements_ecore_sdl}"
28583fi
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594have_ecore_psl1ght=no
28595ecore_psl1ght_cflags=
28596ecore_psl1ght_libs=
28597want_module=${want_ecore_psl1ght}
28598
28599# Check whether --enable-ecore-psl1ght was given.
28600if test "${enable_ecore_psl1ght+set}" = set; then :
28601 enableval=$enable_ecore_psl1ght;
28602 if test "x${enableval}" = "xyes" ; then
28603 want_module="yes"
28604 else
28605 want_module="no"
28606 fi
28607
28608fi
28609
28610
28611{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_psl1ght module is to be built" >&5
28612$as_echo_n "checking whether Ecore_psl1ght module is to be built... " >&6; }
28613
28614if test "x${want_module}" = "xyes" ; then
28615 if test "x${ecore_psl1ght_deps}" = "x" || test "x${ecore_psl1ght_deps}" = "xyes" ; then
28616
28617$as_echo "#define BUILD_ECORE_PSL1GHT 1" >>confdefs.h
28618
28619 have_ecore_psl1ght="yes"
28620 ecore_psl1ght_libs="-lecore_psl1ght"
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28622$as_echo "yes" >&6; }
28623 else
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28625$as_echo "no (dependency failed)" >&6; }
28626 fi
28627else
28628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28629$as_echo "no" >&6; }
28630fi
28631
28632 if test "x$have_ecore_psl1ght" = "xyes"; then
28633 BUILD_ECORE_PSL1GHT_TRUE=
28634 BUILD_ECORE_PSL1GHT_FALSE='#'
28635else
28636 BUILD_ECORE_PSL1GHT_TRUE='#'
28637 BUILD_ECORE_PSL1GHT_FALSE=
28638fi
28639
28640
28641if test "x$have_ecore_psl1ght" = "xyes"; then :
28642 requirements_ecore_psl1ght="ecore-input >= 1.2.0 ${requirements_ecore_psl1ght}"
28643fi
28644
28645
28646
28647
28648
28649
28650
28651
28652# ecore_fb
28653
28654
28655have_ecore_fb=no
28656ecore_fb_cflags=
28657ecore_fb_libs=
28658want_module=${want_ecore_fb}
28659
28660# Check whether --enable-ecore-fb was given.
28661if test "${enable_ecore_fb+set}" = set; then :
28662 enableval=$enable_ecore_fb;
28663 if test "x${enableval}" = "xyes" ; then
28664 want_module="yes"
28665 else
28666 want_module="no"
28667 fi
28668
28669fi
28670
28671
28672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_FB module is to be built" >&5
28673$as_echo_n "checking whether Ecore_FB module is to be built... " >&6; }
28674
28675if test "x${want_module}" = "xyes" ; then
28676 if test "x$have_fb" = "x" || test "x$have_fb" = "xyes" ; then
28677
28678$as_echo "#define BUILD_ECORE_FB 1" >>confdefs.h
28679
28680 have_ecore_fb="yes"
28681 ecore_fb_libs="-lecore_fb"
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28683$as_echo "yes" >&6; }
28684 else
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
28686$as_echo "no (dependency failed)" >&6; }
28687 fi
28688else
28689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28690$as_echo "no" >&6; }
28691fi
28692
28693 if test "x$have_ecore_fb" = "xyes"; then
28694 BUILD_ECORE_FB_TRUE=
28695 BUILD_ECORE_FB_FALSE='#'
28696else
28697 BUILD_ECORE_FB_TRUE='#'
28698 BUILD_ECORE_FB_FALSE=
28699fi
28700
28701
28702if test "x$have_ecore_fb" = "xyes"; then :
28703
28704fi
28705
28706
28707
28708
28709
28710
28711
28712
28713if test "x${have_ecore_fb}" = "xyes" ; then
28714
28715_tslib_requirement=""
28716_ecore_want_tslib=${want_tslib}
28717_ecore_have_tslib="no"
28718TSLIB_LIBS=""
28719TSLIB_CFLAGS=""
28720
28721# Check whether --enable-tslib was given.
28722if test "${enable_tslib+set}" = set; then :
28723 enableval=$enable_tslib;
28724 if test "x${enableval}" = "xyes" ; then
28725 _ecore_want_tslib="yes"
28726 else
28727 _ecore_want_tslib="no"
28728 fi
28729
28730fi
28731
28732
28733if test "x${_ecore_want_tslib}" = "xyes" -o "x${_ecore_want_tslib}" = "xauto" ; then
28734
28735pkg_failed=no
28736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
28737$as_echo_n "checking for TSLIB... " >&6; }
28738
28739if test -n "$TSLIB_CFLAGS"; then
28740 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
28741 elif test -n "$PKG_CONFIG"; then
28742 if test -n "$PKG_CONFIG" && \
28743 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
28744 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
28745 ac_status=$?
28746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28747 test $ac_status = 0; }; then
28748 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib-1.0" 2>/dev/null`
28749else
28750 pkg_failed=yes
28751fi
28752 else
28753 pkg_failed=untried
28754fi
28755if test -n "$TSLIB_LIBS"; then
28756 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
28757 elif test -n "$PKG_CONFIG"; then
28758 if test -n "$PKG_CONFIG" && \
28759 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib-1.0\""; } >&5
28760 ($PKG_CONFIG --exists --print-errors "tslib-1.0") 2>&5
28761 ac_status=$?
28762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28763 test $ac_status = 0; }; then
28764 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib-1.0" 2>/dev/null`
28765else
28766 pkg_failed=yes
28767fi
28768 else
28769 pkg_failed=untried
28770fi
28771
28772
28773
28774if test $pkg_failed = yes; then
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28776$as_echo "no" >&6; }
28777
28778if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28779 _pkg_short_errors_supported=yes
28780else
28781 _pkg_short_errors_supported=no
28782fi
28783 if test $_pkg_short_errors_supported = yes; then
28784 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib-1.0" 2>&1`
28785 else
28786 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib-1.0" 2>&1`
28787 fi
28788 # Put the nasty error message in config.log where it belongs
28789 echo "$TSLIB_PKG_ERRORS" >&5
28790
28791
28792
28793pkg_failed=no
28794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
28795$as_echo_n "checking for TSLIB... " >&6; }
28796
28797if test -n "$TSLIB_CFLAGS"; then
28798 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
28799 elif test -n "$PKG_CONFIG"; then
28800 if test -n "$PKG_CONFIG" && \
28801 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28802 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28803 ac_status=$?
28804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28805 test $ac_status = 0; }; then
28806 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
28807else
28808 pkg_failed=yes
28809fi
28810 else
28811 pkg_failed=untried
28812fi
28813if test -n "$TSLIB_LIBS"; then
28814 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
28815 elif test -n "$PKG_CONFIG"; then
28816 if test -n "$PKG_CONFIG" && \
28817 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
28818 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
28819 ac_status=$?
28820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28821 test $ac_status = 0; }; then
28822 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
28823else
28824 pkg_failed=yes
28825fi
28826 else
28827 pkg_failed=untried
28828fi
28829
28830
28831
28832if test $pkg_failed = yes; then
28833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28834$as_echo "no" >&6; }
28835
28836if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28837 _pkg_short_errors_supported=yes
28838else
28839 _pkg_short_errors_supported=no
28840fi
28841 if test $_pkg_short_errors_supported = yes; then
28842 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib" 2>&1`
28843 else
28844 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib" 2>&1`
28845 fi
28846 # Put the nasty error message in config.log where it belongs
28847 echo "$TSLIB_PKG_ERRORS" >&5
28848
28849
28850 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
28851if test "x$ac_cv_header_tslib_h" = x""yes; then :
28852
28853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
28854$as_echo_n "checking for ts_open in -lts... " >&6; }
28855if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
28856 $as_echo_n "(cached) " >&6
28857else
28858 ac_check_lib_save_LIBS=$LIBS
28859LIBS="-lts $LIBS"
28860cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28861/* end confdefs.h. */
28862
28863/* Override any GCC internal prototype to avoid an error.
28864 Use char because int might match the return type of a GCC
28865 builtin and then its argument prototype would still apply. */
28866#ifdef __cplusplus
28867extern "C"
28868#endif
28869char ts_open ();
28870int
28871main ()
28872{
28873return ts_open ();
28874 ;
28875 return 0;
28876}
28877_ACEOF
28878if ac_fn_c_try_link "$LINENO"; then :
28879 ac_cv_lib_ts_ts_open=yes
28880else
28881 ac_cv_lib_ts_ts_open=no
28882fi
28883rm -f core conftest.err conftest.$ac_objext \
28884 conftest$ac_exeext conftest.$ac_ext
28885LIBS=$ac_check_lib_save_LIBS
28886fi
28887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
28888$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
28889if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
28890
28891 TSLIB_LIBS="-lts"
28892 TSLIB_CFLAGS=""
28893
28894$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28895
28896 _ecore_have_tslib="yes"
28897
28898else
28899
28900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
28901$as_echo_n "checking for ts_open in -ltslib... " >&6; }
28902if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
28903 $as_echo_n "(cached) " >&6
28904else
28905 ac_check_lib_save_LIBS=$LIBS
28906LIBS="-ltslib $LIBS"
28907cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28908/* end confdefs.h. */
28909
28910/* Override any GCC internal prototype to avoid an error.
28911 Use char because int might match the return type of a GCC
28912 builtin and then its argument prototype would still apply. */
28913#ifdef __cplusplus
28914extern "C"
28915#endif
28916char ts_open ();
28917int
28918main ()
28919{
28920return ts_open ();
28921 ;
28922 return 0;
28923}
28924_ACEOF
28925if ac_fn_c_try_link "$LINENO"; then :
28926 ac_cv_lib_tslib_ts_open=yes
28927else
28928 ac_cv_lib_tslib_ts_open=no
28929fi
28930rm -f core conftest.err conftest.$ac_objext \
28931 conftest$ac_exeext conftest.$ac_ext
28932LIBS=$ac_check_lib_save_LIBS
28933fi
28934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
28935$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
28936if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
28937
28938 TSLIB_LIBS="-ltslib"
28939 TSLIB_CFLAGS=""
28940
28941$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
28942
28943 _ecore_have_tslib="yes"
28944
28945else
28946
28947 _ecore_have_tslib="no"
28948
28949fi
28950
28951
28952fi
28953
28954
28955fi
28956
28957
28958
28959elif test $pkg_failed = untried; then
28960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28961$as_echo "no" >&6; }
28962
28963 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
28964if test "x$ac_cv_header_tslib_h" = x""yes; then :
28965
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
28967$as_echo_n "checking for ts_open in -lts... " >&6; }
28968if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
28969 $as_echo_n "(cached) " >&6
28970else
28971 ac_check_lib_save_LIBS=$LIBS
28972LIBS="-lts $LIBS"
28973cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28974/* end confdefs.h. */
28975
28976/* Override any GCC internal prototype to avoid an error.
28977 Use char because int might match the return type of a GCC
28978 builtin and then its argument prototype would still apply. */
28979#ifdef __cplusplus
28980extern "C"
28981#endif
28982char ts_open ();
28983int
28984main ()
28985{
28986return ts_open ();
28987 ;
28988 return 0;
28989}
28990_ACEOF
28991if ac_fn_c_try_link "$LINENO"; then :
28992 ac_cv_lib_ts_ts_open=yes
28993else
28994 ac_cv_lib_ts_ts_open=no
28995fi
28996rm -f core conftest.err conftest.$ac_objext \
28997 conftest$ac_exeext conftest.$ac_ext
28998LIBS=$ac_check_lib_save_LIBS
28999fi
29000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29001$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29002if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
29003
29004 TSLIB_LIBS="-lts"
29005 TSLIB_CFLAGS=""
29006
29007$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29008
29009 _ecore_have_tslib="yes"
29010
29011else
29012
29013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29014$as_echo_n "checking for ts_open in -ltslib... " >&6; }
29015if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
29016 $as_echo_n "(cached) " >&6
29017else
29018 ac_check_lib_save_LIBS=$LIBS
29019LIBS="-ltslib $LIBS"
29020cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29021/* end confdefs.h. */
29022
29023/* Override any GCC internal prototype to avoid an error.
29024 Use char because int might match the return type of a GCC
29025 builtin and then its argument prototype would still apply. */
29026#ifdef __cplusplus
29027extern "C"
29028#endif
29029char ts_open ();
29030int
29031main ()
29032{
29033return ts_open ();
29034 ;
29035 return 0;
29036}
29037_ACEOF
29038if ac_fn_c_try_link "$LINENO"; then :
29039 ac_cv_lib_tslib_ts_open=yes
29040else
29041 ac_cv_lib_tslib_ts_open=no
29042fi
29043rm -f core conftest.err conftest.$ac_objext \
29044 conftest$ac_exeext conftest.$ac_ext
29045LIBS=$ac_check_lib_save_LIBS
29046fi
29047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29048$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29049if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
29050
29051 TSLIB_LIBS="-ltslib"
29052 TSLIB_CFLAGS=""
29053
29054$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29055
29056 _ecore_have_tslib="yes"
29057
29058else
29059
29060 _ecore_have_tslib="no"
29061
29062fi
29063
29064
29065fi
29066
29067
29068fi
29069
29070
29071
29072else
29073 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29074 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29076$as_echo "yes" >&6; }
29077
29078
29079$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29080
29081 _ecore_have_tslib="yes"
29082 _tslib_requirement="tslib"
29083
29084fi
29085
29086elif test $pkg_failed = untried; then
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29088$as_echo "no" >&6; }
29089
29090
29091pkg_failed=no
29092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TSLIB" >&5
29093$as_echo_n "checking for TSLIB... " >&6; }
29094
29095if test -n "$TSLIB_CFLAGS"; then
29096 pkg_cv_TSLIB_CFLAGS="$TSLIB_CFLAGS"
29097 elif test -n "$PKG_CONFIG"; then
29098 if test -n "$PKG_CONFIG" && \
29099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29100 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29101 ac_status=$?
29102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29103 test $ac_status = 0; }; then
29104 pkg_cv_TSLIB_CFLAGS=`$PKG_CONFIG --cflags "tslib" 2>/dev/null`
29105else
29106 pkg_failed=yes
29107fi
29108 else
29109 pkg_failed=untried
29110fi
29111if test -n "$TSLIB_LIBS"; then
29112 pkg_cv_TSLIB_LIBS="$TSLIB_LIBS"
29113 elif test -n "$PKG_CONFIG"; then
29114 if test -n "$PKG_CONFIG" && \
29115 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tslib\""; } >&5
29116 ($PKG_CONFIG --exists --print-errors "tslib") 2>&5
29117 ac_status=$?
29118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29119 test $ac_status = 0; }; then
29120 pkg_cv_TSLIB_LIBS=`$PKG_CONFIG --libs "tslib" 2>/dev/null`
29121else
29122 pkg_failed=yes
29123fi
29124 else
29125 pkg_failed=untried
29126fi
29127
29128
29129
29130if test $pkg_failed = yes; then
29131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29132$as_echo "no" >&6; }
29133
29134if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29135 _pkg_short_errors_supported=yes
29136else
29137 _pkg_short_errors_supported=no
29138fi
29139 if test $_pkg_short_errors_supported = yes; then
29140 TSLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "tslib" 2>&1`
29141 else
29142 TSLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "tslib" 2>&1`
29143 fi
29144 # Put the nasty error message in config.log where it belongs
29145 echo "$TSLIB_PKG_ERRORS" >&5
29146
29147
29148 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29149if test "x$ac_cv_header_tslib_h" = x""yes; then :
29150
29151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29152$as_echo_n "checking for ts_open in -lts... " >&6; }
29153if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
29154 $as_echo_n "(cached) " >&6
29155else
29156 ac_check_lib_save_LIBS=$LIBS
29157LIBS="-lts $LIBS"
29158cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29159/* end confdefs.h. */
29160
29161/* Override any GCC internal prototype to avoid an error.
29162 Use char because int might match the return type of a GCC
29163 builtin and then its argument prototype would still apply. */
29164#ifdef __cplusplus
29165extern "C"
29166#endif
29167char ts_open ();
29168int
29169main ()
29170{
29171return ts_open ();
29172 ;
29173 return 0;
29174}
29175_ACEOF
29176if ac_fn_c_try_link "$LINENO"; then :
29177 ac_cv_lib_ts_ts_open=yes
29178else
29179 ac_cv_lib_ts_ts_open=no
29180fi
29181rm -f core conftest.err conftest.$ac_objext \
29182 conftest$ac_exeext conftest.$ac_ext
29183LIBS=$ac_check_lib_save_LIBS
29184fi
29185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29186$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29187if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
29188
29189 TSLIB_LIBS="-lts"
29190 TSLIB_CFLAGS=""
29191
29192$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29193
29194 _ecore_have_tslib="yes"
29195
29196else
29197
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29199$as_echo_n "checking for ts_open in -ltslib... " >&6; }
29200if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
29201 $as_echo_n "(cached) " >&6
29202else
29203 ac_check_lib_save_LIBS=$LIBS
29204LIBS="-ltslib $LIBS"
29205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29206/* end confdefs.h. */
29207
29208/* Override any GCC internal prototype to avoid an error.
29209 Use char because int might match the return type of a GCC
29210 builtin and then its argument prototype would still apply. */
29211#ifdef __cplusplus
29212extern "C"
29213#endif
29214char ts_open ();
29215int
29216main ()
29217{
29218return ts_open ();
29219 ;
29220 return 0;
29221}
29222_ACEOF
29223if ac_fn_c_try_link "$LINENO"; then :
29224 ac_cv_lib_tslib_ts_open=yes
29225else
29226 ac_cv_lib_tslib_ts_open=no
29227fi
29228rm -f core conftest.err conftest.$ac_objext \
29229 conftest$ac_exeext conftest.$ac_ext
29230LIBS=$ac_check_lib_save_LIBS
29231fi
29232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29233$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29234if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
29235
29236 TSLIB_LIBS="-ltslib"
29237 TSLIB_CFLAGS=""
29238
29239$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29240
29241 _ecore_have_tslib="yes"
29242
29243else
29244
29245 _ecore_have_tslib="no"
29246
29247fi
29248
29249
29250fi
29251
29252
29253fi
29254
29255
29256
29257elif test $pkg_failed = untried; then
29258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29259$as_echo "no" >&6; }
29260
29261 ac_fn_c_check_header_mongrel "$LINENO" "tslib.h" "ac_cv_header_tslib_h" "$ac_includes_default"
29262if test "x$ac_cv_header_tslib_h" = x""yes; then :
29263
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -lts" >&5
29265$as_echo_n "checking for ts_open in -lts... " >&6; }
29266if test "${ac_cv_lib_ts_ts_open+set}" = set; then :
29267 $as_echo_n "(cached) " >&6
29268else
29269 ac_check_lib_save_LIBS=$LIBS
29270LIBS="-lts $LIBS"
29271cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29272/* end confdefs.h. */
29273
29274/* Override any GCC internal prototype to avoid an error.
29275 Use char because int might match the return type of a GCC
29276 builtin and then its argument prototype would still apply. */
29277#ifdef __cplusplus
29278extern "C"
29279#endif
29280char ts_open ();
29281int
29282main ()
29283{
29284return ts_open ();
29285 ;
29286 return 0;
29287}
29288_ACEOF
29289if ac_fn_c_try_link "$LINENO"; then :
29290 ac_cv_lib_ts_ts_open=yes
29291else
29292 ac_cv_lib_ts_ts_open=no
29293fi
29294rm -f core conftest.err conftest.$ac_objext \
29295 conftest$ac_exeext conftest.$ac_ext
29296LIBS=$ac_check_lib_save_LIBS
29297fi
29298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ts_ts_open" >&5
29299$as_echo "$ac_cv_lib_ts_ts_open" >&6; }
29300if test "x$ac_cv_lib_ts_ts_open" = x""yes; then :
29301
29302 TSLIB_LIBS="-lts"
29303 TSLIB_CFLAGS=""
29304
29305$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29306
29307 _ecore_have_tslib="yes"
29308
29309else
29310
29311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ts_open in -ltslib" >&5
29312$as_echo_n "checking for ts_open in -ltslib... " >&6; }
29313if test "${ac_cv_lib_tslib_ts_open+set}" = set; then :
29314 $as_echo_n "(cached) " >&6
29315else
29316 ac_check_lib_save_LIBS=$LIBS
29317LIBS="-ltslib $LIBS"
29318cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29319/* end confdefs.h. */
29320
29321/* Override any GCC internal prototype to avoid an error.
29322 Use char because int might match the return type of a GCC
29323 builtin and then its argument prototype would still apply. */
29324#ifdef __cplusplus
29325extern "C"
29326#endif
29327char ts_open ();
29328int
29329main ()
29330{
29331return ts_open ();
29332 ;
29333 return 0;
29334}
29335_ACEOF
29336if ac_fn_c_try_link "$LINENO"; then :
29337 ac_cv_lib_tslib_ts_open=yes
29338else
29339 ac_cv_lib_tslib_ts_open=no
29340fi
29341rm -f core conftest.err conftest.$ac_objext \
29342 conftest$ac_exeext conftest.$ac_ext
29343LIBS=$ac_check_lib_save_LIBS
29344fi
29345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tslib_ts_open" >&5
29346$as_echo "$ac_cv_lib_tslib_ts_open" >&6; }
29347if test "x$ac_cv_lib_tslib_ts_open" = x""yes; then :
29348
29349 TSLIB_LIBS="-ltslib"
29350 TSLIB_CFLAGS=""
29351
29352$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29353
29354 _ecore_have_tslib="yes"
29355
29356else
29357
29358 _ecore_have_tslib="no"
29359
29360fi
29361
29362
29363fi
29364
29365
29366fi
29367
29368
29369
29370else
29371 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29372 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29374$as_echo "yes" >&6; }
29375
29376
29377$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29378
29379 _ecore_have_tslib="yes"
29380 _tslib_requirement="tslib"
29381
29382fi
29383
29384else
29385 TSLIB_CFLAGS=$pkg_cv_TSLIB_CFLAGS
29386 TSLIB_LIBS=$pkg_cv_TSLIB_LIBS
29387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29388$as_echo "yes" >&6; }
29389
29390
29391$as_echo "#define HAVE_TSLIB 1" >>confdefs.h
29392
29393 _ecore_have_tslib="yes"
29394 _tslib_requirement="tslib-1.0"
29395
29396fi
29397fi
29398
29399
29400
29401
29402if test "x$_ecore_have_tslib" = "xyes" ; then
29403
29404 have_tslib="yes"
29405 requirements_ecore_fb="${_tslib_requirement} ${requirements_ecore_fb}"
29406
29407else
29408 have_tslib="no"
29409fi
29410
29411fi
29412
29413# ecore_directfb
29414
29415
29416
29417have_ecore_directfb=no
29418ecore_directfb_cflags=
29419ecore_directfb_libs=
29420want_module=${want_ecore_directfb}
29421
29422# Check whether --enable-ecore-directfb was given.
29423if test "${enable_ecore_directfb+set}" = set; then :
29424 enableval=$enable_ecore_directfb;
29425 if test "x${enableval}" = "xyes" ; then
29426 want_module="yes"
29427 else
29428 want_module="no"
29429 fi
29430
29431fi
29432
29433
29434{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_DirectFB module is to be built" >&5
29435$as_echo_n "checking whether Ecore_DirectFB module is to be built... " >&6; }
29436
29437if test "x${want_module}" = "xyes" ; then
29438 if test "x${have_directfb}" = "x" || test "x${have_directfb}" = "xyes" ; then
29439
29440$as_echo "#define BUILD_ECORE_DIRECTFB 1" >>confdefs.h
29441
29442 have_ecore_directfb="yes"
29443 ecore_directfb_libs="-lecore_directfb"
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29445$as_echo "yes" >&6; }
29446 else
29447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29448$as_echo "no (dependency failed)" >&6; }
29449 fi
29450else
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29452$as_echo "no" >&6; }
29453fi
29454
29455 if test "x$have_ecore_directfb" = "xyes"; then
29456 BUILD_ECORE_DIRECTFB_TRUE=
29457 BUILD_ECORE_DIRECTFB_FALSE='#'
29458else
29459 BUILD_ECORE_DIRECTFB_TRUE='#'
29460 BUILD_ECORE_DIRECTFB_FALSE=
29461fi
29462
29463
29464if test "x$have_ecore_directfb" = "xyes"; then :
29465 requirements_ecore_directfb="directfb ${requirements_ecore_directfb}"
29466fi
29467
29468
29469
29470
29471
29472
29473
29474
29475# ecore_wince
29476
29477
29478
29479have_ecore_wince=no
29480ecore_wince_cflags=
29481ecore_wince_libs=
29482want_module=${want_ecore_wince}
29483
29484# Check whether --enable-ecore-wince was given.
29485if test "${enable_ecore_wince+set}" = set; then :
29486 enableval=$enable_ecore_wince;
29487 if test "x${enableval}" = "xyes" ; then
29488 want_module="yes"
29489 else
29490 want_module="no"
29491 fi
29492
29493fi
29494
29495
29496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_WinCE module is to be built" >&5
29497$as_echo_n "checking whether Ecore_WinCE module is to be built... " >&6; }
29498
29499if test "x${want_module}" = "xyes" ; then
29500 if test "x${have_ecore_input}" = "x" || test "x${have_ecore_input}" = "xyes" ; then
29501
29502$as_echo "#define BUILD_ECORE_WINCE 1" >>confdefs.h
29503
29504 have_ecore_wince="yes"
29505 ecore_wince_libs="-lecore_wince"
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29507$as_echo "yes" >&6; }
29508 else
29509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29510$as_echo "no (dependency failed)" >&6; }
29511 fi
29512else
29513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29514$as_echo "no" >&6; }
29515fi
29516
29517 if test "x$have_ecore_wince" = "xyes"; then
29518 BUILD_ECORE_WINCE_TRUE=
29519 BUILD_ECORE_WINCE_FALSE='#'
29520else
29521 BUILD_ECORE_WINCE_TRUE='#'
29522 BUILD_ECORE_WINCE_FALSE=
29523fi
29524
29525
29526if test "x$have_ecore_wince" = "xyes"; then :
29527 requirements_ecore_win32="ecore-input >= 1.2.0 ${requirements_ecore_win32}"
29528fi
29529
29530
29531
29532
29533
29534
29535
29536
29537## Ecore Evas
29538
29539# ecore_evas
29540
29541ecore_evas_deps="no"
29542if test "x${have_evas}" = "xyes" && test "x${have_ecore_input}" = "xyes" && test "x${have_ecore_input_evas}" = "xyes" ; then
29543 ecore_evas_deps="yes"
29544fi
29545
29546
29547
29548have_ecore_evas=no
29549ecore_evas_cflags=
29550ecore_evas_libs=
29551want_module=${want_ecore_evas}
29552
29553# Check whether --enable-ecore-evas was given.
29554if test "${enable_ecore_evas+set}" = set; then :
29555 enableval=$enable_ecore_evas;
29556 if test "x${enableval}" = "xyes" ; then
29557 want_module="yes"
29558 else
29559 want_module="no"
29560 fi
29561
29562fi
29563
29564
29565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Evas module is to be built" >&5
29566$as_echo_n "checking whether Ecore_Evas module is to be built... " >&6; }
29567
29568if test "x${want_module}" = "xyes" ; then
29569 if test "x${ecore_evas_deps}" = "x" || test "x${ecore_evas_deps}" = "xyes" ; then
29570
29571$as_echo "#define BUILD_ECORE_EVAS 1" >>confdefs.h
29572
29573 have_ecore_evas="yes"
29574 ecore_evas_libs="-lecore_evas"
29575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29576$as_echo "yes" >&6; }
29577 else
29578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
29579$as_echo "no (dependency failed)" >&6; }
29580 fi
29581else
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29583$as_echo "no" >&6; }
29584fi
29585
29586 if test "x$have_ecore_evas" = "xyes"; then
29587 BUILD_ECORE_EVAS_TRUE=
29588 BUILD_ECORE_EVAS_FALSE='#'
29589else
29590 BUILD_ECORE_EVAS_TRUE='#'
29591 BUILD_ECORE_EVAS_FALSE=
29592fi
29593
29594
29595if test "x$have_ecore_evas" = "xyes"; then :
29596 requirements_ecore_evas="ecore-input >= 1.2.0 ecore-input-evas >= 1.2.0 evas >= 1.2.0 ${requirements_ecore_evas}"
29597fi
29598
29599
29600
29601
29602
29603
29604
29605
29606# ecore_evas_buffer
29607
29608
29609
29610have_ecore_evas_software_buffer="no"
29611want_module="${want_ecore_evas_software_buffer}"
29612
29613# Check whether --enable-ecore-evas-software-buffer was given.
29614if test "${enable_ecore_evas_software_buffer+set}" = set; then :
29615 enableval=$enable_ecore_evas_software_buffer;
29616 if test "x${enableval}" = "xyes" ; then
29617 want_module="yes"
29618 else
29619 want_module="no"
29620 fi
29621
29622fi
29623
29624
29625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is to be built" >&5
29626$as_echo_n "checking whether ecore_evas Software Buffer support is to be built... " >&6; }
29627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29628$as_echo "${want_module}" >&6; }
29629
29630if test "xyes" = "xyes" && \
29631 test "x$have_ecore_evas" = "xyes" && \
29632 test "x$want_module" = "xyes" ; then
29633 if test -n "$PKG_CONFIG" && \
29634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
29635 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
29636 ac_status=$?
29637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29638 test $ac_status = 0; }; then
29639
29640
29641$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_BUFFER 1" >>confdefs.h
29642
29643 have_ecore_evas_software_buffer="yes"
29644
29645fi
29646fi
29647
29648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Buffer support is built" >&5
29649$as_echo_n "checking whether ecore_evas Software Buffer support is built... " >&6; }
29650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_buffer" >&5
29651$as_echo "$have_ecore_evas_software_buffer" >&6; }
29652
29653if test "x$have_ecore_evas_software_buffer" = "xyes"; then :
29654
29655fi
29656
29657
29658
29659
29660
29661# ecore_evas_x11
29662
29663# ecore_evas_software_x11
29664
29665
29666
29667have_ecore_evas_software_x11="no"
29668want_module="${want_ecore_evas_software_x11}"
29669
29670# Check whether --enable-ecore-evas-software-x11 was given.
29671if test "${enable_ecore_evas_software_x11+set}" = set; then :
29672 enableval=$enable_ecore_evas_software_x11;
29673 if test "x${enableval}" = "xyes" ; then
29674 want_module="yes"
29675 else
29676 want_module="no"
29677 fi
29678
29679fi
29680
29681
29682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is to be built" >&5
29683$as_echo_n "checking whether ecore_evas Software X11 support is to be built... " >&6; }
29684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29685$as_echo "${want_module}" >&6; }
29686
29687if test "x${have_ecore_x}" = "xyes" && \
29688 test "x$have_ecore_evas" = "xyes" && \
29689 test "x$want_module" = "xyes" ; then
29690 if test -n "$PKG_CONFIG" && \
29691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-x11\""; } >&5
29692 ($PKG_CONFIG --exists --print-errors "evas-software-x11") 2>&5
29693 ac_status=$?
29694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29695 test $ac_status = 0; }; then
29696
29697
29698$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_X11 1" >>confdefs.h
29699
29700 have_ecore_evas_software_x11="yes"
29701
29702fi
29703fi
29704
29705{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software X11 support is built" >&5
29706$as_echo_n "checking whether ecore_evas Software X11 support is built... " >&6; }
29707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_x11" >&5
29708$as_echo "$have_ecore_evas_software_x11" >&6; }
29709
29710if test "x$have_ecore_evas_software_x11" = "xyes"; then :
29711
29712fi
29713
29714
29715
29716
29717
29718have_ecore_evas_software_xlib="no"
29719have_ecore_evas_software_xcb="no"
29720if test "x$have_ecore_evas_software_x11" = "xyes" ; then
29721 have_ecore_evas_software_xlib=`${PKG_CONFIG} --variable=Xlib evas-software-x11`
29722 if test "x${have_ecore_evas_software_xlib}" = "xstatic"; then
29723 have_ecore_evas_software_xlib="yes"
29724 fi
29725 if test "x${have_ecore_evas_software_xlib}" = "xyes" -a "x${have_ecore_x_xlib}" = "xyes" ; then
29726
29727$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XLIB 1" >>confdefs.h
29728
29729 fi
29730 have_ecore_evas_software_xcb=`${PKG_CONFIG} --variable=XCB evas-software-x11`
29731 if test "x$have_ecore_evas_software_xcb" = "xstatic"; then
29732 have_ecore_evas_software_xcb="yes"
29733 fi
29734 if test "x$have_ecore_evas_software_xcb" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
29735
29736$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_XCB 1" >>confdefs.h
29737
29738 fi
29739fi
29740
29741# ecore_evas_opengl_x11
29742
29743
29744
29745have_ecore_evas_opengl_x11="no"
29746want_module="${want_ecore_evas_opengl_x11}"
29747
29748# Check whether --enable-ecore-evas-opengl-x11 was given.
29749if test "${enable_ecore_evas_opengl_x11+set}" = set; then :
29750 enableval=$enable_ecore_evas_opengl_x11;
29751 if test "x${enableval}" = "xyes" ; then
29752 want_module="yes"
29753 else
29754 want_module="no"
29755 fi
29756
29757fi
29758
29759
29760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is to be built" >&5
29761$as_echo_n "checking whether ecore_evas OpenGL Xlib support is to be built... " >&6; }
29762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29763$as_echo "${want_module}" >&6; }
29764
29765if test "x${have_ecore_x}" = "xyes" && \
29766 test "x$have_ecore_evas" = "xyes" && \
29767 test "x$want_module" = "xyes" ; then
29768 if test -n "$PKG_CONFIG" && \
29769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-x11\""; } >&5
29770 ($PKG_CONFIG --exists --print-errors "evas-opengl-x11") 2>&5
29771 ac_status=$?
29772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29773 test $ac_status = 0; }; then
29774
29775
29776$as_echo "#define BUILD_ECORE_EVAS_OPENGL_X11 1" >>confdefs.h
29777
29778 have_ecore_evas_opengl_x11="yes"
29779
29780fi
29781fi
29782
29783{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Xlib support is built" >&5
29784$as_echo_n "checking whether ecore_evas OpenGL Xlib support is built... " >&6; }
29785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_x11" >&5
29786$as_echo "$have_ecore_evas_opengl_x11" >&6; }
29787
29788if test "x$have_ecore_evas_opengl_x11" = "xyes"; then :
29789
29790fi
29791
29792
29793
29794
29795
29796have_ecore_evas_opengl_xlib="no"
29797have_ecore_evas_opengl_xcb="no"
29798if test "x${have_ecore_evas_opengl_x11}" = "xyes" -o "x${have_ecore_evas_opengl_x11}" = "xstatic" ; then
29799 have_ecore_evas_opengl_xlib=`${PKG_CONFIG} --variable=Xlib evas-opengl-x11`
29800 if test "x${have_ecore_evas_opengl_xlib}" = "xyes" ; then
29801
29802$as_echo "#define BUILD_ECORE_EVAS_OPENGL_XLIB 1" >>confdefs.h
29803
29804 fi
29805
29806# opengl does not work with xcb (yet)
29807 have_ecore_evas_opengl_xcb=`${PKG_CONFIG} --variable=XCB evas-opengl-x11`
29808 if test "x${have_ecore_evas_opengl_xcb}" = "xstatic"; then
29809 have_ecore_evas_opengl_xcb="yes"
29810 fi
29811 if test "x${have_ecore_evas_opengl_xcb}" = "xyes" -a "x${have_ecore_x_xcb}" = "xyes" ; then
29812
29813pkg_failed=no
29814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_X11" >&5
29815$as_echo_n "checking for XCB_X11... " >&6; }
29816
29817if test -n "$XCB_X11_CFLAGS"; then
29818 pkg_cv_XCB_X11_CFLAGS="$XCB_X11_CFLAGS"
29819 elif test -n "$PKG_CONFIG"; then
29820 if test -n "$PKG_CONFIG" && \
29821 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
29822 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
29823 ac_status=$?
29824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29825 test $ac_status = 0; }; then
29826 pkg_cv_XCB_X11_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb" 2>/dev/null`
29827else
29828 pkg_failed=yes
29829fi
29830 else
29831 pkg_failed=untried
29832fi
29833if test -n "$XCB_X11_LIBS"; then
29834 pkg_cv_XCB_X11_LIBS="$XCB_X11_LIBS"
29835 elif test -n "$PKG_CONFIG"; then
29836 if test -n "$PKG_CONFIG" && \
29837 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb\""; } >&5
29838 ($PKG_CONFIG --exists --print-errors "x11-xcb") 2>&5
29839 ac_status=$?
29840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29841 test $ac_status = 0; }; then
29842 pkg_cv_XCB_X11_LIBS=`$PKG_CONFIG --libs "x11-xcb" 2>/dev/null`
29843else
29844 pkg_failed=yes
29845fi
29846 else
29847 pkg_failed=untried
29848fi
29849
29850
29851
29852if test $pkg_failed = yes; then
29853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29854$as_echo "no" >&6; }
29855
29856if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29857 _pkg_short_errors_supported=yes
29858else
29859 _pkg_short_errors_supported=no
29860fi
29861 if test $_pkg_short_errors_supported = yes; then
29862 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb" 2>&1`
29863 else
29864 XCB_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb" 2>&1`
29865 fi
29866 # Put the nasty error message in config.log where it belongs
29867 echo "$XCB_X11_PKG_ERRORS" >&5
29868
29869 have_ecore_x_opengl_xcb="no"
29870elif test $pkg_failed = untried; then
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29872$as_echo "no" >&6; }
29873 have_ecore_x_opengl_xcb="no"
29874else
29875 XCB_X11_CFLAGS=$pkg_cv_XCB_X11_CFLAGS
29876 XCB_X11_LIBS=$pkg_cv_XCB_X11_LIBS
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29878$as_echo "yes" >&6; }
29879 have_ecore_x_opengl_xcb="yes"
29880 requirements_ecore_x="x11-xcb ${requirements_ecore_x}"
29881
29882$as_echo "#define BUILD_ECORE_X_OPENGL_XCB 1" >>confdefs.h
29883
29884
29885$as_echo "#define BUILD_ECORE_EVAS_OPENGL_XCB 1" >>confdefs.h
29886
29887
29888fi
29889 else
29890 have_ecore_x_opengl_xcb="no"
29891 { $as_echo "$as_me:${as_lineno-$LINENO}: \"XCB-based OpenGL explicitly disabled\"" >&5
29892$as_echo "$as_me: \"XCB-based OpenGL explicitly disabled\"" >&6;}
29893 fi
29894fi
29895
29896# ecore_evas_software_x11 16 bits
29897
29898
29899
29900have_ecore_evas_software_16_x11="no"
29901want_module="${want_ecore_evas_software_16_x11}"
29902
29903# Check whether --enable-ecore-evas-software-16-x11 was given.
29904if test "${enable_ecore_evas_software_16_x11+set}" = set; then :
29905 enableval=$enable_ecore_evas_software_16_x11;
29906 if test "x${enableval}" = "xyes" ; then
29907 want_module="yes"
29908 else
29909 want_module="no"
29910 fi
29911
29912fi
29913
29914
29915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is to be built" >&5
29916$as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is to be built... " >&6; }
29917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29918$as_echo "${want_module}" >&6; }
29919
29920if test "x${have_ecore_x_xlib}" = "xyes" && \
29921 test "x$have_ecore_evas" = "xyes" && \
29922 test "x$want_module" = "xyes" ; then
29923 if test -n "$PKG_CONFIG" && \
29924 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-x11\""; } >&5
29925 ($PKG_CONFIG --exists --print-errors "evas-software-16-x11") 2>&5
29926 ac_status=$?
29927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29928 test $ac_status = 0; }; then
29929
29930
29931$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_X11 1" >>confdefs.h
29932
29933 have_ecore_evas_software_16_x11="yes"
29934
29935fi
29936fi
29937
29938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software Xlib 16 bits support is built" >&5
29939$as_echo_n "checking whether ecore_evas Software Xlib 16 bits support is built... " >&6; }
29940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_x11" >&5
29941$as_echo "$have_ecore_evas_software_16_x11" >&6; }
29942
29943if test "x$have_ecore_evas_software_16_x11" = "xyes"; then :
29944
29945fi
29946
29947
29948
29949
29950
29951
29952
29953have_ecore_evas_software_8_x11="no"
29954want_module="$want_ecore_evas_software_8_x11"
29955
29956# Check whether --enable-ecore-evas-software-8-x11 was given.
29957if test "${enable_ecore_evas_software_8_x11+set}" = set; then :
29958 enableval=$enable_ecore_evas_software_8_x11;
29959 if test "x${enableval}" = "xyes" ; then
29960 want_module="yes"
29961 else
29962 want_module="no"
29963 fi
29964
29965fi
29966
29967
29968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is to be built" >&5
29969$as_echo_n "checking whether ecore_evas Software 8bit X11 support is to be built... " >&6; }
29970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
29971$as_echo "${want_module}" >&6; }
29972
29973if test "x$have_ecore_x_xcb" = "xyes" && \
29974 test "x$have_ecore_evas" = "xyes" && \
29975 test "x$want_module" = "xyes" ; then
29976 if test -n "$PKG_CONFIG" && \
29977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-8-x11\""; } >&5
29978 ($PKG_CONFIG --exists --print-errors "evas-software-8-x11") 2>&5
29979 ac_status=$?
29980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29981 test $ac_status = 0; }; then
29982
29983
29984$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_8_X11 1" >>confdefs.h
29985
29986 have_ecore_evas_software_8_x11="yes"
29987
29988fi
29989fi
29990
29991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software 8bit X11 support is built" >&5
29992$as_echo_n "checking whether ecore_evas Software 8bit X11 support is built... " >&6; }
29993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_8_x11" >&5
29994$as_echo "$have_ecore_evas_software_8_x11" >&6; }
29995
29996if test "x$have_ecore_evas_software_8_x11" = "xyes"; then :
29997
29998fi
29999
30000
30001
30002
30003
30004
30005if test "x$have_ecore_evas_software_x11" = "xyes" -o \
30006 "x$have_ecore_evas_opengl_x11" = "xyes" -o \
30007 "x$have_ecore_evas_software_8_x11" = "xyes" -o \
30008 "x$have_ecore_evas_software_16_x11" = "xyes" -o \
30009 "x$have_ecore_evas_software_xcb" = "xyes"; then
30010
30011$as_echo "#define BUILD_ECORE_EVAS_X11 1" >>confdefs.h
30012
30013 requirements_ecore_evas="ecore-x >= 1.2.0 ${requirements_ecore_evas}"
30014fi
30015
30016# ecore_evas_win32
30017
30018
30019
30020have_ecore_evas_software_gdi="no"
30021want_module="${want_ecore_evas_software_gdi}"
30022
30023# Check whether --enable-ecore-evas-software-gdi was given.
30024if test "${enable_ecore_evas_software_gdi+set}" = set; then :
30025 enableval=$enable_ecore_evas_software_gdi;
30026 if test "x${enableval}" = "xyes" ; then
30027 want_module="yes"
30028 else
30029 want_module="no"
30030 fi
30031
30032fi
30033
30034
30035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is to be built" >&5
30036$as_echo_n "checking whether ecore_evas Software GDI support is to be built... " >&6; }
30037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30038$as_echo "${want_module}" >&6; }
30039
30040if test "x${have_ecore_win32}" = "xyes" && \
30041 test "x$have_ecore_evas" = "xyes" && \
30042 test "x$want_module" = "xyes" ; then
30043 if test -n "$PKG_CONFIG" && \
30044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-gdi\""; } >&5
30045 ($PKG_CONFIG --exists --print-errors "evas-software-gdi") 2>&5
30046 ac_status=$?
30047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30048 test $ac_status = 0; }; then
30049
30050
30051$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_GDI 1" >>confdefs.h
30052
30053 have_ecore_evas_software_gdi="yes"
30054
30055fi
30056fi
30057
30058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software GDI support is built" >&5
30059$as_echo_n "checking whether ecore_evas Software GDI support is built... " >&6; }
30060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_gdi" >&5
30061$as_echo "$have_ecore_evas_software_gdi" >&6; }
30062
30063if test "x$have_ecore_evas_software_gdi" = "xyes"; then :
30064
30065fi
30066
30067
30068
30069
30070
30071
30072
30073have_ecore_evas_software_ddraw="no"
30074want_module="${want_ecore_evas_software_ddraw}"
30075
30076# Check whether --enable-ecore-evas-software-ddraw was given.
30077if test "${enable_ecore_evas_software_ddraw+set}" = set; then :
30078 enableval=$enable_ecore_evas_software_ddraw;
30079 if test "x${enableval}" = "xyes" ; then
30080 want_module="yes"
30081 else
30082 want_module="no"
30083 fi
30084
30085fi
30086
30087
30088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is to be built" >&5
30089$as_echo_n "checking whether ecore_evas Software DirectDraw support is to be built... " >&6; }
30090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30091$as_echo "${want_module}" >&6; }
30092
30093if test "x${have_ecore_win32}" = "xyes" && \
30094 test "x$have_ecore_evas" = "xyes" && \
30095 test "x$want_module" = "xyes" ; then
30096 if test -n "$PKG_CONFIG" && \
30097 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-ddraw\""; } >&5
30098 ($PKG_CONFIG --exists --print-errors "evas-software-ddraw") 2>&5
30099 ac_status=$?
30100 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30101 test $ac_status = 0; }; then
30102
30103
30104$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_DDRAW 1" >>confdefs.h
30105
30106 have_ecore_evas_software_ddraw="yes"
30107
30108fi
30109fi
30110
30111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Software DirectDraw support is built" >&5
30112$as_echo_n "checking whether ecore_evas Software DirectDraw support is built... " >&6; }
30113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_ddraw" >&5
30114$as_echo "$have_ecore_evas_software_ddraw" >&6; }
30115
30116if test "x$have_ecore_evas_software_ddraw" = "xyes"; then :
30117
30118fi
30119
30120
30121
30122
30123
30124
30125
30126have_ecore_evas_direct3d="no"
30127want_module="${want_ecore_evas_direct3d}"
30128
30129# Check whether --enable-ecore-evas-direct3d was given.
30130if test "${enable_ecore_evas_direct3d+set}" = set; then :
30131 enableval=$enable_ecore_evas_direct3d;
30132 if test "x${enableval}" = "xyes" ; then
30133 want_module="yes"
30134 else
30135 want_module="no"
30136 fi
30137
30138fi
30139
30140
30141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is to be built" >&5
30142$as_echo_n "checking whether ecore_evas Direct3d support is to be built... " >&6; }
30143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30144$as_echo "${want_module}" >&6; }
30145
30146if test "x${have_ecore_win32}" = "xyes" && \
30147 test "x$have_ecore_evas" = "xyes" && \
30148 test "x$want_module" = "xyes" ; then
30149 if test -n "$PKG_CONFIG" && \
30150 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-direct3d\""; } >&5
30151 ($PKG_CONFIG --exists --print-errors "evas-direct3d") 2>&5
30152 ac_status=$?
30153 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30154 test $ac_status = 0; }; then
30155
30156
30157$as_echo "#define BUILD_ECORE_EVAS_DIRECT3D 1" >>confdefs.h
30158
30159 have_ecore_evas_direct3d="yes"
30160
30161fi
30162fi
30163
30164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Direct3d support is built" >&5
30165$as_echo_n "checking whether ecore_evas Direct3d support is built... " >&6; }
30166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_direct3d" >&5
30167$as_echo "$have_ecore_evas_direct3d" >&6; }
30168
30169if test "x$have_ecore_evas_direct3d" = "xyes"; then :
30170
30171fi
30172
30173
30174
30175
30176
30177
30178
30179have_ecore_evas_opengl_glew="no"
30180want_module="${want_ecore_evas_opengl_glew}"
30181
30182# Check whether --enable-ecore-evas-opengl-glew was given.
30183if test "${enable_ecore_evas_opengl_glew+set}" = set; then :
30184 enableval=$enable_ecore_evas_opengl_glew;
30185 if test "x${enableval}" = "xyes" ; then
30186 want_module="yes"
30187 else
30188 want_module="no"
30189 fi
30190
30191fi
30192
30193
30194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is to be built" >&5
30195$as_echo_n "checking whether ecore_evas Glew OpenGL support is to be built... " >&6; }
30196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30197$as_echo "${want_module}" >&6; }
30198
30199if test "x${have_ecore_win32}" = "xyes" && \
30200 test "x$have_ecore_evas" = "xyes" && \
30201 test "x$want_module" = "xyes" ; then
30202 if test -n "$PKG_CONFIG" && \
30203 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-glew\""; } >&5
30204 ($PKG_CONFIG --exists --print-errors "evas-opengl-glew") 2>&5
30205 ac_status=$?
30206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30207 test $ac_status = 0; }; then
30208
30209
30210$as_echo "#define BUILD_ECORE_EVAS_OPENGL_GLEW 1" >>confdefs.h
30211
30212 have_ecore_evas_opengl_glew="yes"
30213
30214fi
30215fi
30216
30217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Glew OpenGL support is built" >&5
30218$as_echo_n "checking whether ecore_evas Glew OpenGL support is built... " >&6; }
30219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_glew" >&5
30220$as_echo "$have_ecore_evas_opengl_glew" >&6; }
30221
30222if test "x$have_ecore_evas_opengl_glew" = "xyes"; then :
30223
30224fi
30225
30226
30227
30228
30229
30230
30231
30232have_ecore_evas_software_16_ddraw="no"
30233want_module="${want_ecore_evas_software_16_ddraw}"
30234
30235# Check whether --enable-ecore-evas-software-16-ddraw was given.
30236if test "${enable_ecore_evas_software_16_ddraw+set}" = set; then :
30237 enableval=$enable_ecore_evas_software_16_ddraw;
30238 if test "x${enableval}" = "xyes" ; then
30239 want_module="yes"
30240 else
30241 want_module="no"
30242 fi
30243
30244fi
30245
30246
30247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is to be built" >&5
30248$as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is to be built... " >&6; }
30249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30250$as_echo "${want_module}" >&6; }
30251
30252if test "x${have_ecore_win32}" = "xyes" && \
30253 test "x$have_ecore_evas" = "xyes" && \
30254 test "x$want_module" = "xyes" ; then
30255 if test -n "$PKG_CONFIG" && \
30256 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-ddraw\""; } >&5
30257 ($PKG_CONFIG --exists --print-errors "evas-software-16-ddraw") 2>&5
30258 ac_status=$?
30259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30260 test $ac_status = 0; }; then
30261
30262
30263$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_DDRAW 1" >>confdefs.h
30264
30265 have_ecore_evas_software_16_ddraw="yes"
30266
30267fi
30268fi
30269
30270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software DirectDraw support is built" >&5
30271$as_echo_n "checking whether ecore_evas 16 bpp Software DirectDraw support is built... " >&6; }
30272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_ddraw" >&5
30273$as_echo "$have_ecore_evas_software_16_ddraw" >&6; }
30274
30275if test "x$have_ecore_evas_software_16_ddraw" = "xyes"; then :
30276
30277fi
30278
30279
30280
30281
30282
30283if test "x${have_ecore_evas_software_gdi}" = "xyes" -o \
30284 "x${have_ecore_evas_software_ddraw}" = "xyes" -o \
30285 "x${have_ecore_evas_direct3d}" = "xyes" -o \
30286 "x${have_ecore_evas_opengl_glew}" = "xyes" -o \
30287 "x${have_ecore_evas_software_16_ddraw}" = "xyes" ; then
30288
30289$as_echo "#define BUILD_ECORE_EVAS_WIN32 1" >>confdefs.h
30290
30291 requirements_ecore_evas="ecore-win32 >= 1.2.0 ${requirements_ecore_evas}"
30292fi
30293
30294# ecore_evas_software_sdl
30295
30296have_ecore_evas_software_sdl="no"
30297if test "x${have_ecore_sdl}" = "xyes"; then
30298 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
30299 have_ecore_evas_software_sdl="yes"
30300
30301$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_SDL 1" >>confdefs.h
30302
30303 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
30304fi
30305
30306# ecore_evas_gl_sdl
30307
30308
30309
30310have_ecore_evas_opengl_sdl="no"
30311want_module="${want_ecore_evas_gl_sdl}"
30312
30313# Check whether --enable-ecore-evas-opengl-sdl was given.
30314if test "${enable_ecore_evas_opengl_sdl+set}" = set; then :
30315 enableval=$enable_ecore_evas_opengl_sdl;
30316 if test "x${enableval}" = "xyes" ; then
30317 want_module="yes"
30318 else
30319 want_module="no"
30320 fi
30321
30322fi
30323
30324
30325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is to be built" >&5
30326$as_echo_n "checking whether ecore_evas OpenGL SDL support is to be built... " >&6; }
30327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30328$as_echo "${want_module}" >&6; }
30329
30330if test "x${have_ecore_sdl}" = "xyes" && \
30331 test "x$have_ecore_evas" = "xyes" && \
30332 test "x$want_module" = "xyes" ; then
30333 if test -n "$PKG_CONFIG" && \
30334 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-sdl\""; } >&5
30335 ($PKG_CONFIG --exists --print-errors "evas-opengl-sdl") 2>&5
30336 ac_status=$?
30337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30338 test $ac_status = 0; }; then
30339
30340
30341$as_echo "#define BUILD_ECORE_EVAS_OPENGL_SDL 1" >>confdefs.h
30342
30343 have_ecore_evas_opengl_sdl="yes"
30344
30345fi
30346fi
30347
30348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL SDL support is built" >&5
30349$as_echo_n "checking whether ecore_evas OpenGL SDL support is built... " >&6; }
30350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_sdl" >&5
30351$as_echo "$have_ecore_evas_opengl_sdl" >&6; }
30352
30353if test "x$have_ecore_evas_opengl_sdl" = "xyes"; then :
30354 requirements_ecore_evas="ecore-sdl >= 1.2.0 ${requirements_ecore_evas}"
30355fi
30356
30357
30358
30359
30360
30361# ecore_evas_cocoa
30362
30363
30364
30365have_ecore_evas_opengl_cocoa="no"
30366want_module="${want_ecore_evas_gl_cocoa}"
30367
30368# Check whether --enable-ecore-evas-opengl-cocoa was given.
30369if test "${enable_ecore_evas_opengl_cocoa+set}" = set; then :
30370 enableval=$enable_ecore_evas_opengl_cocoa;
30371 if test "x${enableval}" = "xyes" ; then
30372 want_module="yes"
30373 else
30374 want_module="no"
30375 fi
30376
30377fi
30378
30379
30380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is to be built" >&5
30381$as_echo_n "checking whether ecore_evas OpenGL Cocoa support is to be built... " >&6; }
30382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30383$as_echo "${want_module}" >&6; }
30384
30385if test "x${have_ecore_cocoa}" = "xyes" && \
30386 test "x$have_ecore_evas" = "xyes" && \
30387 test "x$want_module" = "xyes" ; then
30388 if test -n "$PKG_CONFIG" && \
30389 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-opengl-cocoa\""; } >&5
30390 ($PKG_CONFIG --exists --print-errors "evas-opengl-cocoa") 2>&5
30391 ac_status=$?
30392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30393 test $ac_status = 0; }; then
30394
30395
30396$as_echo "#define BUILD_ECORE_EVAS_OPENGL_COCOA 1" >>confdefs.h
30397
30398 have_ecore_evas_opengl_cocoa="yes"
30399
30400fi
30401fi
30402
30403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas OpenGL Cocoa support is built" >&5
30404$as_echo_n "checking whether ecore_evas OpenGL Cocoa support is built... " >&6; }
30405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_opengl_cocoa" >&5
30406$as_echo "$have_ecore_evas_opengl_cocoa" >&6; }
30407
30408if test "x$have_ecore_evas_opengl_cocoa" = "xyes"; then :
30409 requirements_ecore_evas="ecore-cocoa >= 1.2.0 ${requirements_ecore_evas}"
30410fi
30411
30412
30413
30414
30415
30416# ecore_evas_directfb
30417
30418
30419
30420have_ecore_evas_directfb="no"
30421want_module="${want_ecore_evas_directfb}"
30422
30423# Check whether --enable-ecore-evas-directfb was given.
30424if test "${enable_ecore_evas_directfb+set}" = set; then :
30425 enableval=$enable_ecore_evas_directfb;
30426 if test "x${enableval}" = "xyes" ; then
30427 want_module="yes"
30428 else
30429 want_module="no"
30430 fi
30431
30432fi
30433
30434
30435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is to be built" >&5
30436$as_echo_n "checking whether ecore_evas DirectFB support is to be built... " >&6; }
30437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30438$as_echo "${want_module}" >&6; }
30439
30440if test "x${have_ecore_directfb}" = "xyes" && \
30441 test "x$have_ecore_evas" = "xyes" && \
30442 test "x$want_module" = "xyes" ; then
30443 if test -n "$PKG_CONFIG" && \
30444 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-directfb\""; } >&5
30445 ($PKG_CONFIG --exists --print-errors "evas-directfb") 2>&5
30446 ac_status=$?
30447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30448 test $ac_status = 0; }; then
30449
30450
30451$as_echo "#define BUILD_ECORE_EVAS_DIRECTFB 1" >>confdefs.h
30452
30453 have_ecore_evas_directfb="yes"
30454
30455fi
30456fi
30457
30458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas DirectFB support is built" >&5
30459$as_echo_n "checking whether ecore_evas DirectFB support is built... " >&6; }
30460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_directfb" >&5
30461$as_echo "$have_ecore_evas_directfb" >&6; }
30462
30463if test "x$have_ecore_evas_directfb" = "xyes"; then :
30464 requirements_ecore_evas="ecore-directfb >= 1.2.0 ${requirements_ecore_evas}"
30465fi
30466
30467
30468
30469
30470
30471# ecore_evas_fb
30472
30473
30474
30475have_ecore_evas_fb="no"
30476want_module="${want_ecore_evas_fb}"
30477
30478# Check whether --enable-ecore-evas-fb was given.
30479if test "${enable_ecore_evas_fb+set}" = set; then :
30480 enableval=$enable_ecore_evas_fb;
30481 if test "x${enableval}" = "xyes" ; then
30482 want_module="yes"
30483 else
30484 want_module="no"
30485 fi
30486
30487fi
30488
30489
30490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is to be built" >&5
30491$as_echo_n "checking whether ecore_evas Linux Framebuffer support is to be built... " >&6; }
30492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30493$as_echo "${want_module}" >&6; }
30494
30495if test "x${have_ecore_fb}" = "xyes" && \
30496 test "x$have_ecore_evas" = "xyes" && \
30497 test "x$want_module" = "xyes" ; then
30498 if test -n "$PKG_CONFIG" && \
30499 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-fb\""; } >&5
30500 ($PKG_CONFIG --exists --print-errors "evas-fb") 2>&5
30501 ac_status=$?
30502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30503 test $ac_status = 0; }; then
30504
30505
30506$as_echo "#define BUILD_ECORE_EVAS_FB 1" >>confdefs.h
30507
30508 have_ecore_evas_fb="yes"
30509
30510fi
30511fi
30512
30513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Linux Framebuffer support is built" >&5
30514$as_echo_n "checking whether ecore_evas Linux Framebuffer support is built... " >&6; }
30515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_fb" >&5
30516$as_echo "$have_ecore_evas_fb" >&6; }
30517
30518if test "x$have_ecore_evas_fb" = "xyes"; then :
30519 requirements_ecore_evas="ecore-fb >= 1.2.0 ${requirements_ecore_evas}"
30520fi
30521
30522
30523
30524
30525
30526# ecore_evas_wince
30527
30528
30529
30530have_ecore_evas_software_16_wince="no"
30531want_module="${want_ecore_evas_software_16_wince}"
30532
30533# Check whether --enable-ecore-evas-software-16-wince was given.
30534if test "${enable_ecore_evas_software_16_wince+set}" = set; then :
30535 enableval=$enable_ecore_evas_software_16_wince;
30536 if test "x${enableval}" = "xyes" ; then
30537 want_module="yes"
30538 else
30539 want_module="no"
30540 fi
30541
30542fi
30543
30544
30545{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is to be built" >&5
30546$as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is to be built... " >&6; }
30547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30548$as_echo "${want_module}" >&6; }
30549
30550if test "x${have_ecore_wince}" = "xyes" && \
30551 test "x$have_ecore_evas" = "xyes" && \
30552 test "x$want_module" = "xyes" ; then
30553 if test -n "$PKG_CONFIG" && \
30554 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-16-wince\""; } >&5
30555 ($PKG_CONFIG --exists --print-errors "evas-software-16-wince") 2>&5
30556 ac_status=$?
30557 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30558 test $ac_status = 0; }; then
30559
30560
30561$as_echo "#define BUILD_ECORE_EVAS_SOFTWARE_16_WINCE 1" >>confdefs.h
30562
30563 have_ecore_evas_software_16_wince="yes"
30564
30565fi
30566fi
30567
30568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas 16 bpp Software Windows CE support is built" >&5
30569$as_echo_n "checking whether ecore_evas 16 bpp Software Windows CE support is built... " >&6; }
30570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_software_16_wince" >&5
30571$as_echo "$have_ecore_evas_software_16_wince" >&6; }
30572
30573if test "x$have_ecore_evas_software_16_wince" = "xyes"; then :
30574 requirements_ecore_evas="ecore-wince >= 1.2.0 ${requirements_ecore_evas}"
30575fi
30576
30577
30578
30579
30580
30581# ecore_evas_ews
30582
30583
30584
30585have_ecore_evas_ews="no"
30586want_module="${want_ecore_evas_ews}"
30587
30588# Check whether --enable-ecore-evas-ews was given.
30589if test "${enable_ecore_evas_ews+set}" = set; then :
30590 enableval=$enable_ecore_evas_ews;
30591 if test "x${enableval}" = "xyes" ; then
30592 want_module="yes"
30593 else
30594 want_module="no"
30595 fi
30596
30597fi
30598
30599
30600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built" >&5
30601$as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is to be built... " >&6; }
30602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30603$as_echo "${want_module}" >&6; }
30604
30605if test "xyes" = "xyes" && \
30606 test "x$have_ecore_evas" = "xyes" && \
30607 test "x$want_module" = "xyes" ; then
30608 if test -n "$PKG_CONFIG" && \
30609 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-software-buffer\""; } >&5
30610 ($PKG_CONFIG --exists --print-errors "evas-software-buffer") 2>&5
30611 ac_status=$?
30612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30613 test $ac_status = 0; }; then
30614
30615
30616$as_echo "#define BUILD_ECORE_EVAS_EWS 1" >>confdefs.h
30617
30618 have_ecore_evas_ews="yes"
30619
30620fi
30621fi
30622
30623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Ecore Evas Single Process Windowing System support is built" >&5
30624$as_echo_n "checking whether ecore_evas Ecore Evas Single Process Windowing System support is built... " >&6; }
30625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_ews" >&5
30626$as_echo "$have_ecore_evas_ews" >&6; }
30627
30628if test "x$have_ecore_evas_ews" = "xyes"; then :
30629
30630fi
30631
30632
30633
30634
30635
30636# ecore_evas_extn
30637
30638have_extn="yes"
30639if test "x${have_ecore_ipc}" = "xno" || \
30640 test "x${have_ecore_evas_software_buffer}" = "xno" || \
30641 test "x${have_shm_open}" = "xno" ; then
30642 have_extn="no"
30643fi
30644
30645have_ecore_evas_extn="no"
30646if test "x${want_ecore_evas_extn}" = "xyes" && \
30647 test "x${have_extn}" = "xyes" && \
30648 test "x${have_ecore_evas}" = "xyes"; then
30649
30650$as_echo "#define BUILD_ECORE_EVAS_EXTN 1" >>confdefs.h
30651
30652 have_ecore_evas_extn="yes"
30653fi
30654
30655# ecore_evas_psl1ght
30656
30657
30658
30659have_ecore_evas_psl1ght="no"
30660want_module="${want_ecore_evas_psl1ght}"
30661
30662# Check whether --enable-ecore-evas-psl1ght was given.
30663if test "${enable_ecore_evas_psl1ght+set}" = set; then :
30664 enableval=$enable_ecore_evas_psl1ght;
30665 if test "x${enableval}" = "xyes" ; then
30666 want_module="yes"
30667 else
30668 want_module="no"
30669 fi
30670
30671fi
30672
30673
30674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is to be built" >&5
30675$as_echo_n "checking whether ecore_evas PSL1GHT support is to be built... " >&6; }
30676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30677$as_echo "${want_module}" >&6; }
30678
30679if test "x${have_ecore_psl1ght}" = "xyes" && \
30680 test "x$have_ecore_evas" = "xyes" && \
30681 test "x$want_module" = "xyes" ; then
30682 if test -n "$PKG_CONFIG" && \
30683 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-psl1ght\""; } >&5
30684 ($PKG_CONFIG --exists --print-errors "evas-psl1ght") 2>&5
30685 ac_status=$?
30686 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30687 test $ac_status = 0; }; then
30688
30689
30690$as_echo "#define BUILD_ECORE_EVAS_PSL1GHT 1" >>confdefs.h
30691
30692 have_ecore_evas_psl1ght="yes"
30693
30694fi
30695fi
30696
30697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas PSL1GHT support is built" >&5
30698$as_echo_n "checking whether ecore_evas PSL1GHT support is built... " >&6; }
30699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_psl1ght" >&5
30700$as_echo "$have_ecore_evas_psl1ght" >&6; }
30701
30702if test "x$have_ecore_evas_psl1ght" = "xyes"; then :
30703 requirements_ecore_evas="ecore-psl1ght >= 1.2.0 ${requirements_ecore_evas}"
30704fi
30705
30706
30707
30708
30709
30710### WAYLAND
30711
30712ecore_wayland_deps="no"
30713have_wayland="no"
30714if test "x${want_ecore_wayland}" = "xyes" ; then
30715
30716pkg_failed=no
30717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND" >&5
30718$as_echo_n "checking for WAYLAND... " >&6; }
30719
30720if test -n "$WAYLAND_CFLAGS"; then
30721 pkg_cv_WAYLAND_CFLAGS="$WAYLAND_CFLAGS"
30722 elif test -n "$PKG_CONFIG"; then
30723 if test -n "$PKG_CONFIG" && \
30724 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl wayland-egl wayland-client xkbcommon\""; } >&5
30725 ($PKG_CONFIG --exists --print-errors "egl wayland-egl wayland-client xkbcommon") 2>&5
30726 ac_status=$?
30727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30728 test $ac_status = 0; }; then
30729 pkg_cv_WAYLAND_CFLAGS=`$PKG_CONFIG --cflags "egl wayland-egl wayland-client xkbcommon" 2>/dev/null`
30730else
30731 pkg_failed=yes
30732fi
30733 else
30734 pkg_failed=untried
30735fi
30736if test -n "$WAYLAND_LIBS"; then
30737 pkg_cv_WAYLAND_LIBS="$WAYLAND_LIBS"
30738 elif test -n "$PKG_CONFIG"; then
30739 if test -n "$PKG_CONFIG" && \
30740 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl wayland-egl wayland-client xkbcommon\""; } >&5
30741 ($PKG_CONFIG --exists --print-errors "egl wayland-egl wayland-client xkbcommon") 2>&5
30742 ac_status=$?
30743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30744 test $ac_status = 0; }; then
30745 pkg_cv_WAYLAND_LIBS=`$PKG_CONFIG --libs "egl wayland-egl wayland-client xkbcommon" 2>/dev/null`
30746else
30747 pkg_failed=yes
30748fi
30749 else
30750 pkg_failed=untried
30751fi
30752
30753
30754
30755if test $pkg_failed = yes; then
30756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30757$as_echo "no" >&6; }
30758
30759if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30760 _pkg_short_errors_supported=yes
30761else
30762 _pkg_short_errors_supported=no
30763fi
30764 if test $_pkg_short_errors_supported = yes; then
30765 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "egl wayland-egl wayland-client xkbcommon" 2>&1`
30766 else
30767 WAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors "egl wayland-egl wayland-client xkbcommon" 2>&1`
30768 fi
30769 # Put the nasty error message in config.log where it belongs
30770 echo "$WAYLAND_PKG_ERRORS" >&5
30771
30772 have_wayland="no"
30773elif test $pkg_failed = untried; then
30774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30775$as_echo "no" >&6; }
30776 have_wayland="no"
30777else
30778 WAYLAND_CFLAGS=$pkg_cv_WAYLAND_CFLAGS
30779 WAYLAND_LIBS=$pkg_cv_WAYLAND_LIBS
30780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30781$as_echo "yes" >&6; }
30782 have_wayland="yes"
30783fi
30784fi
30785if test "x${have_ecore_input}" = "xyes" -a "x${have_wayland}" = "xyes" ; then
30786 ecore_wayland_deps="yes"
30787fi
30788
30789
30790
30791have_ecore_wayland=no
30792ecore_wayland_cflags=
30793ecore_wayland_libs=
30794want_module=${want_ecore_wayland}
30795
30796# Check whether --enable-ecore-wayland was given.
30797if test "${enable_ecore_wayland+set}" = set; then :
30798 enableval=$enable_ecore_wayland;
30799 if test "x${enableval}" = "xyes" ; then
30800 want_module="yes"
30801 else
30802 want_module="no"
30803 fi
30804
30805fi
30806
30807
30808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Ecore_Wayland module is to be built" >&5
30809$as_echo_n "checking whether Ecore_Wayland module is to be built... " >&6; }
30810
30811if test "x${want_module}" = "xyes" ; then
30812 if test "x${ecore_wayland_deps}" = "x" || test "x${ecore_wayland_deps}" = "xyes" ; then
30813
30814$as_echo "#define BUILD_ECORE_WAYLAND 1" >>confdefs.h
30815
30816 have_ecore_wayland="yes"
30817 ecore_wayland_libs="-lecore_wayland"
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30819$as_echo "yes" >&6; }
30820 else
30821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (dependency failed)" >&5
30822$as_echo "no (dependency failed)" >&6; }
30823 fi
30824else
30825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30826$as_echo "no" >&6; }
30827fi
30828
30829 if test "x$have_ecore_wayland" = "xyes"; then
30830 BUILD_ECORE_WAYLAND_TRUE=
30831 BUILD_ECORE_WAYLAND_FALSE='#'
30832else
30833 BUILD_ECORE_WAYLAND_TRUE='#'
30834 BUILD_ECORE_WAYLAND_FALSE=
30835fi
30836
30837
30838if test "x$have_ecore_wayland" = "xyes"; then :
30839
30840fi
30841
30842
30843
30844
30845
30846
30847
30848if test "x${have_ecore_wayland}" = "xyes" ; then
30849 requirements_ecore_wayland="ecore-input >= 1.2.0 egl wayland-egl wayland-client xkbcommon ${requirements_ecore_wayland}"
30850fi
30851
30852
30853
30854have_ecore_evas_wayland_shm="no"
30855want_module="${want_ecore_evas_wayland_shm}"
30856
30857# Check whether --enable-ecore-evas-wayland-shm was given.
30858if test "${enable_ecore_evas_wayland_shm+set}" = set; then :
30859 enableval=$enable_ecore_evas_wayland_shm;
30860 if test "x${enableval}" = "xyes" ; then
30861 want_module="yes"
30862 else
30863 want_module="no"
30864 fi
30865
30866fi
30867
30868
30869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Shm support is to be built" >&5
30870$as_echo_n "checking whether ecore_evas Wayland Shm support is to be built... " >&6; }
30871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30872$as_echo "${want_module}" >&6; }
30873
30874if test "x${have_ecore_wayland}" = "xyes" && \
30875 test "x$have_ecore_evas" = "xyes" && \
30876 test "x$want_module" = "xyes" ; then
30877 if test -n "$PKG_CONFIG" && \
30878 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-shm\""; } >&5
30879 ($PKG_CONFIG --exists --print-errors "evas-wayland-shm") 2>&5
30880 ac_status=$?
30881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30882 test $ac_status = 0; }; then
30883
30884
30885$as_echo "#define BUILD_ECORE_EVAS_WAYLAND_SHM 1" >>confdefs.h
30886
30887 have_ecore_evas_wayland_shm="yes"
30888
30889fi
30890fi
30891
30892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Shm support is built" >&5
30893$as_echo_n "checking whether ecore_evas Wayland Shm support is built... " >&6; }
30894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_wayland_shm" >&5
30895$as_echo "$have_ecore_evas_wayland_shm" >&6; }
30896
30897if test "x$have_ecore_evas_wayland_shm" = "xyes"; then :
30898 requirements_ecore_evas="${requirements_ecore_wayland} ${requirements_ecore_evas}"
30899fi
30900
30901
30902
30903
30904
30905
30906
30907have_ecore_evas_wayland_egl="no"
30908want_module="${want_ecore_evas_wayland_egl}"
30909
30910# Check whether --enable-ecore-evas-wayland-egl was given.
30911if test "${enable_ecore_evas_wayland_egl+set}" = set; then :
30912 enableval=$enable_ecore_evas_wayland_egl;
30913 if test "x${enableval}" = "xyes" ; then
30914 want_module="yes"
30915 else
30916 want_module="no"
30917 fi
30918
30919fi
30920
30921
30922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Egl support is to be built" >&5
30923$as_echo_n "checking whether ecore_evas Wayland Egl support is to be built... " >&6; }
30924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_module}" >&5
30925$as_echo "${want_module}" >&6; }
30926
30927if test "x${have_ecore_wayland}" = "xyes" && \
30928 test "x$have_ecore_evas" = "xyes" && \
30929 test "x$want_module" = "xyes" ; then
30930 if test -n "$PKG_CONFIG" && \
30931 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evas-wayland-egl egl\""; } >&5
30932 ($PKG_CONFIG --exists --print-errors "evas-wayland-egl egl") 2>&5
30933 ac_status=$?
30934 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30935 test $ac_status = 0; }; then
30936
30937
30938$as_echo "#define BUILD_ECORE_EVAS_WAYLAND_EGL 1" >>confdefs.h
30939
30940 have_ecore_evas_wayland_egl="yes"
30941
30942fi
30943fi
30944
30945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ecore_evas Wayland Egl support is built" >&5
30946$as_echo_n "checking whether ecore_evas Wayland Egl support is built... " >&6; }
30947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ecore_evas_wayland_egl" >&5
30948$as_echo "$have_ecore_evas_wayland_egl" >&6; }
30949
30950if test "x$have_ecore_evas_wayland_egl" = "xyes"; then :
30951
30952
30953pkg_failed=no
30954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
30955$as_echo_n "checking for WAYLAND_EGL... " >&6; }
30956
30957if test -n "$WAYLAND_EGL_CFLAGS"; then
30958 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
30959 elif test -n "$PKG_CONFIG"; then
30960 if test -n "$PKG_CONFIG" && \
30961 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
30962 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
30963 ac_status=$?
30964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30965 test $ac_status = 0; }; then
30966 pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl" 2>/dev/null`
30967else
30968 pkg_failed=yes
30969fi
30970 else
30971 pkg_failed=untried
30972fi
30973if test -n "$WAYLAND_EGL_LIBS"; then
30974 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
30975 elif test -n "$PKG_CONFIG"; then
30976 if test -n "$PKG_CONFIG" && \
30977 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5
30978 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5
30979 ac_status=$?
30980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30981 test $ac_status = 0; }; then
30982 pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl" 2>/dev/null`
30983else
30984 pkg_failed=yes
30985fi
30986 else
30987 pkg_failed=untried
30988fi
30989
30990
30991
30992if test $pkg_failed = yes; then
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30994$as_echo "no" >&6; }
30995
30996if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30997 _pkg_short_errors_supported=yes
30998else
30999 _pkg_short_errors_supported=no
31000fi
31001 if test $_pkg_short_errors_supported = yes; then
31002 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "wayland-egl" 2>&1`
31003 else
31004 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "wayland-egl" 2>&1`
31005 fi
31006 # Put the nasty error message in config.log where it belongs
31007 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
31008
31009 have_wayland_egl="no"
31010elif test $pkg_failed = untried; then
31011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31012$as_echo "no" >&6; }
31013 have_wayland_egl="no"
31014else
31015 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
31016 WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31018$as_echo "yes" >&6; }
31019 have_wayland_egl="yes"
31020fi
31021 if test "x${have_wayland_egl}" = "xyes" ; then
31022 requirements_ecore_evas="wayland-egl egl ${requirements_ecore_wayland} ${requirements_ecore_evas}"
31023 fi
31024
31025fi
31026
31027
31028
31029
31030
31031### Unit tests
31032
31033
31034
31035
31036# Check whether --enable-tests was given.
31037if test "${enable_tests+set}" = set; then :
31038 enableval=$enable_tests;
31039 if test "x${enableval}" = "xyes" ; then
31040 _efl_enable_tests="yes"
31041 else
31042 _efl_enable_tests="no"
31043 fi
31044
31045else
31046 _efl_enable_tests="no"
31047fi
31048
31049
31050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
31051$as_echo_n "checking whether tests are built... " >&6; }
31052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
31053$as_echo "${_efl_enable_tests}" >&6; }
31054
31055
31056
31057if test "x${_efl_enable_tests}" = "xyes" ; then
31058
31059pkg_failed=no
31060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
31061$as_echo_n "checking for CHECK... " >&6; }
31062
31063if test -n "$CHECK_CFLAGS"; then
31064 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
31065 elif test -n "$PKG_CONFIG"; then
31066 if test -n "$PKG_CONFIG" && \
31067 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31068 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31069 ac_status=$?
31070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31071 test $ac_status = 0; }; then
31072 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
31073else
31074 pkg_failed=yes
31075fi
31076 else
31077 pkg_failed=untried
31078fi
31079if test -n "$CHECK_LIBS"; then
31080 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
31081 elif test -n "$PKG_CONFIG"; then
31082 if test -n "$PKG_CONFIG" && \
31083 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
31084 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
31085 ac_status=$?
31086 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
31087 test $ac_status = 0; }; then
31088 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
31089else
31090 pkg_failed=yes
31091fi
31092 else
31093 pkg_failed=untried
31094fi
31095
31096
31097
31098if test $pkg_failed = yes; then
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31100$as_echo "no" >&6; }
31101
31102if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31103 _pkg_short_errors_supported=yes
31104else
31105 _pkg_short_errors_supported=no
31106fi
31107 if test $_pkg_short_errors_supported = yes; then
31108 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
31109 else
31110 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
31111 fi
31112 # Put the nasty error message in config.log where it belongs
31113 echo "$CHECK_PKG_ERRORS" >&5
31114
31115 _efl_enable_tests="no"
31116elif test $pkg_failed = untried; then
31117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31118$as_echo "no" >&6; }
31119 _efl_enable_tests="no"
31120else
31121 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
31122 CHECK_LIBS=$pkg_cv_CHECK_LIBS
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31124$as_echo "yes" >&6; }
31125 dummy="yes"
31126fi
31127fi
31128
31129 if test "x${_efl_enable_tests}" = "xyes"; then
31130 EFL_ENABLE_TESTS_TRUE=
31131 EFL_ENABLE_TESTS_FALSE='#'
31132else
31133 EFL_ENABLE_TESTS_TRUE='#'
31134 EFL_ENABLE_TESTS_FALSE=
31135fi
31136
31137
31138if test "x$_efl_enable_tests" = "xyes"; then :
31139 enable_tests="yes"
31140else
31141 enable_tests="no"
31142fi
31143
31144
31145### install and build examples
31146
31147
31148
31149
31150# Check whether --enable-build-examples was given.
31151if test "${enable_build_examples+set}" = set; then :
31152 enableval=$enable_build_examples;
31153 if test "x${enableval}" = "xyes" ; then
31154 _efl_enable_build_examples="yes"
31155 else
31156 _efl_enable_build_examples="no"
31157 fi
31158
31159else
31160 _efl_enable_build_examples="no"
31161fi
31162
31163
31164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are built" >&5
31165$as_echo_n "checking whether examples are built... " >&6; }
31166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_build_examples}" >&5
31167$as_echo "${_efl_enable_build_examples}" >&6; }
31168
31169 if test "x${_efl_enable_build_examples}" = "xyes"; then
31170 EFL_BUILD_EXAMPLES_TRUE=
31171 EFL_BUILD_EXAMPLES_FALSE='#'
31172else
31173 EFL_BUILD_EXAMPLES_TRUE='#'
31174 EFL_BUILD_EXAMPLES_FALSE=
31175fi
31176
31177
31178if test "x$_efl_enable_build_examples" = "xyes"; then :
31179 enable_build_examples="yes"
31180else
31181 enable_build_examples="no"
31182fi
31183
31184
31185
31186
31187# Check whether --enable-install-examples was given.
31188if test "${enable_install_examples+set}" = set; then :
31189 enableval=$enable_install_examples;
31190 if test "x${enableval}" = "xyes" ; then
31191 _efl_enable_install_examples="yes"
31192 else
31193 _efl_enable_install_examples="no"
31194 fi
31195
31196else
31197 _efl_enable_install_examples="no"
31198fi
31199
31200
31201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether examples are installed" >&5
31202$as_echo_n "checking whether examples are installed... " >&6; }
31203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_install_examples}" >&5
31204$as_echo "${_efl_enable_install_examples}" >&6; }
31205
31206 if test "x${_efl_enable_install_examples}" = "xyes"; then
31207 EFL_INSTALL_EXAMPLES_TRUE=
31208 EFL_INSTALL_EXAMPLES_FALSE='#'
31209else
31210 EFL_INSTALL_EXAMPLES_TRUE='#'
31211 EFL_INSTALL_EXAMPLES_FALSE=
31212fi
31213
31214
31215if test "x$_efl_enable_install_examples" = "xyes"; then :
31216 enable_install_examples="yes"
31217else
31218 enable_install_examples="no"
31219fi
31220
31221
31222### requirements
31223
31224
31225
31226#AC_SUBST(requirements_ecore_config)
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246ac_config_files="$ac_config_files Makefile ecore-con.pc ecore-config.pc ecore-directfb.pc ecore-evas.pc ecore-fb.pc ecore-file.pc ecore-imf.pc ecore-imf-evas.pc ecore-ipc.pc ecore-x.pc ecore-input.pc ecore-input-evas.pc ecore-win32.pc ecore-sdl.pc ecore-cocoa.pc ecore-psl1ght.pc ecore-wince.pc ecore-wayland.pc ecore.pc doc/ecore.dox doc/Makefile doc/Doxyfile src/Makefile src/util/Makefile src/bin/Makefile src/lib/Makefile src/lib/ecore/Makefile src/lib/ecore_con/Makefile src/lib/ecore_config/Makefile src/lib/ecore_directfb/Makefile src/lib/ecore_evas/Makefile src/lib/ecore_fb/Makefile src/lib/ecore_file/Makefile src/lib/ecore_cocoa/Makefile src/lib/ecore_sdl/Makefile src/lib/ecore_psl1ght/Makefile src/lib/ecore_imf/Makefile src/lib/ecore_imf_evas/Makefile src/lib/ecore_input/Makefile src/lib/ecore_input_evas/Makefile src/lib/ecore_ipc/Makefile src/lib/ecore_win32/Makefile src/lib/ecore_wince/Makefile src/lib/ecore_x/Makefile src/lib/ecore_x/xlib/Makefile src/lib/ecore_x/xcb/Makefile src/lib/ecore_wayland/Makefile src/examples/Makefile src/tests/Makefile src/modules/Makefile src/modules/immodules/Makefile src/modules/immodules/xim/Makefile src/modules/immodules/scim/Makefile ecore.spec $po_makefile_in"
31247
31248
31249cat >confcache <<\_ACEOF
31250# This file is a shell script that caches the results of configure
31251# tests run on this system so they can be shared between configure
31252# scripts and configure runs, see configure's option --config-cache.
31253# It is not useful on other systems. If it contains results you don't
31254# want to keep, you may remove or edit it.
31255#
31256# config.status only pays attention to the cache file if you give it
31257# the --recheck option to rerun configure.
31258#
31259# `ac_cv_env_foo' variables (set or unset) will be overridden when
31260# loading this file, other *unset* `ac_cv_foo' will be assigned the
31261# following values.
31262
31263_ACEOF
31264
31265# The following way of writing the cache mishandles newlines in values,
31266# but we know of no workaround that is simple, portable, and efficient.
31267# So, we kill variables containing newlines.
31268# Ultrix sh set writes to stderr and can't be redirected directly,
31269# and sets the high bit in the cache file unless we assign to the vars.
31270(
31271 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31272 eval ac_val=\$$ac_var
31273 case $ac_val in #(
31274 *${as_nl}*)
31275 case $ac_var in #(
31276 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31277$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31278 esac
31279 case $ac_var in #(
31280 _ | IFS | as_nl) ;; #(
31281 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
31282 *) { eval $ac_var=; unset $ac_var;} ;;
31283 esac ;;
31284 esac
31285 done
31286
31287 (set) 2>&1 |
31288 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31289 *${as_nl}ac_space=\ *)
31290 # `set' does not quote correctly, so add quotes: double-quote
31291 # substitution turns \\\\ into \\, and sed turns \\ into \.
31292 sed -n \
31293 "s/'/'\\\\''/g;
31294 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31295 ;; #(
31296 *)
31297 # `set' quotes correctly as required by POSIX, so do not add quotes.
31298 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31299 ;;
31300 esac |
31301 sort
31302) |
31303 sed '
31304 /^ac_cv_env_/b end
31305 t clear
31306 :clear
31307 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31308 t end
31309 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31310 :end' >>confcache
31311if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31312 if test -w "$cache_file"; then
31313 test "x$cache_file" != "x/dev/null" &&
31314 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31315$as_echo "$as_me: updating cache $cache_file" >&6;}
31316 cat confcache >$cache_file
31317 else
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31319$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31320 fi
31321fi
31322rm -f confcache
31323
31324test "x$prefix" = xNONE && prefix=$ac_default_prefix
31325# Let make expand exec_prefix.
31326test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
31327
31328DEFS=-DHAVE_CONFIG_H
31329
31330ac_libobjs=
31331ac_ltlibobjs=
31332U=
31333for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
31334 # 1. Remove the extension, and $U if already installed.
31335 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
31336 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
31337 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31338 # will be set to the directory where LIBOBJS objects are built.
31339 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31340 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
31341done
31342LIBOBJS=$ac_libobjs
31343
31344LTLIBOBJS=$ac_ltlibobjs
31345
31346
31347 if test -n "$EXEEXT"; then
31348 am__EXEEXT_TRUE=
31349 am__EXEEXT_FALSE='#'
31350else
31351 am__EXEEXT_TRUE='#'
31352 am__EXEEXT_FALSE=
31353fi
31354
31355if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31356 as_fn_error $? "conditional \"AMDEP\" was never defined.
31357Usually this means the macro was only invoked conditionally." "$LINENO" 5
31358fi
31359if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31360 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31361Usually this means the macro was only invoked conditionally." "$LINENO" 5
31362fi
31363if test -z "${HAVE_PO_TRUE}" && test -z "${HAVE_PO_FALSE}"; then
31364 as_fn_error $? "conditional \"HAVE_PO\" was never defined.
31365Usually this means the macro was only invoked conditionally." "$LINENO" 5
31366fi
31367if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
31368 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
31369Usually this means the macro was only invoked conditionally." "$LINENO" 5
31370fi
31371if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
31372 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
31373Usually this means the macro was only invoked conditionally." "$LINENO" 5
31374fi
31375if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
31376 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
31377Usually this means the macro was only invoked conditionally." "$LINENO" 5
31378fi
31379if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31380 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31381Usually this means the macro was only invoked conditionally." "$LINENO" 5
31382fi
31383if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
31384 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
31385Usually this means the macro was only invoked conditionally." "$LINENO" 5
31386fi
31387if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31388 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
31389Usually this means the macro was only invoked conditionally." "$LINENO" 5
31390fi
31391if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
31392 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
31393Usually this means the macro was only invoked conditionally." "$LINENO" 5
31394fi
31395if test -z "${ECORE_HAVE_EXOTIC_TRUE}" && test -z "${ECORE_HAVE_EXOTIC_FALSE}"; then
31396 as_fn_error $? "conditional \"ECORE_HAVE_EXOTIC\" was never defined.
31397Usually this means the macro was only invoked conditionally." "$LINENO" 5
31398fi
31399if test -z "${ECORE_HAVE_WINCE_TRUE}" && test -z "${ECORE_HAVE_WINCE_FALSE}"; then
31400 as_fn_error $? "conditional \"ECORE_HAVE_WINCE\" was never defined.
31401Usually this means the macro was only invoked conditionally." "$LINENO" 5
31402fi
31403if test -z "${ECORE_HAVE_WIN32_TRUE}" && test -z "${ECORE_HAVE_WIN32_FALSE}"; then
31404 as_fn_error $? "conditional \"ECORE_HAVE_WIN32\" was never defined.
31405Usually this means the macro was only invoked conditionally." "$LINENO" 5
31406fi
31407if test -z "${ECORE_HAVE_PS3_TRUE}" && test -z "${ECORE_HAVE_PS3_FALSE}"; then
31408 as_fn_error $? "conditional \"ECORE_HAVE_PS3\" was never defined.
31409Usually this means the macro was only invoked conditionally." "$LINENO" 5
31410fi
31411if test -z "${BUILD_ECORE_X_XLIB_TRUE}" && test -z "${BUILD_ECORE_X_XLIB_FALSE}"; then
31412 as_fn_error $? "conditional \"BUILD_ECORE_X_XLIB\" was never defined.
31413Usually this means the macro was only invoked conditionally." "$LINENO" 5
31414fi
31415if test -z "${BUILD_ECORE_X_XCB_TRUE}" && test -z "${BUILD_ECORE_X_XCB_FALSE}"; then
31416 as_fn_error $? "conditional \"BUILD_ECORE_X_XCB\" was never defined.
31417Usually this means the macro was only invoked conditionally." "$LINENO" 5
31418fi
31419
31420if test -z "${BUILD_ECORE_CON_TRUE}" && test -z "${BUILD_ECORE_CON_FALSE}"; then
31421 as_fn_error $? "conditional \"BUILD_ECORE_CON\" was never defined.
31422Usually this means the macro was only invoked conditionally." "$LINENO" 5
31423fi
31424if test -z "${HAVE_CARES_TRUE}" && test -z "${HAVE_CARES_FALSE}"; then
31425 as_fn_error $? "conditional \"HAVE_CARES\" was never defined.
31426Usually this means the macro was only invoked conditionally." "$LINENO" 5
31427fi
31428if test -z "${BUILD_ECORE_IPC_TRUE}" && test -z "${BUILD_ECORE_IPC_FALSE}"; then
31429 as_fn_error $? "conditional \"BUILD_ECORE_IPC\" was never defined.
31430Usually this means the macro was only invoked conditionally." "$LINENO" 5
31431fi
31432if test -z "${BUILD_ECORE_FILE_TRUE}" && test -z "${BUILD_ECORE_FILE_FALSE}"; then
31433 as_fn_error $? "conditional \"BUILD_ECORE_FILE\" was never defined.
31434Usually this means the macro was only invoked conditionally." "$LINENO" 5
31435fi
31436if test -z "${BUILD_ECORE_CONFIG_TRUE}" && test -z "${BUILD_ECORE_CONFIG_FALSE}"; then
31437 as_fn_error $? "conditional \"BUILD_ECORE_CONFIG\" was never defined.
31438Usually this means the macro was only invoked conditionally." "$LINENO" 5
31439fi
31440if test -z "${BUILD_ECORE_IMF_TRUE}" && test -z "${BUILD_ECORE_IMF_FALSE}"; then
31441 as_fn_error $? "conditional \"BUILD_ECORE_IMF\" was never defined.
31442Usually this means the macro was only invoked conditionally." "$LINENO" 5
31443fi
31444if test -z "${BUILD_ECORE_IMF_EVAS_TRUE}" && test -z "${BUILD_ECORE_IMF_EVAS_FALSE}"; then
31445 as_fn_error $? "conditional \"BUILD_ECORE_IMF_EVAS\" was never defined.
31446Usually this means the macro was only invoked conditionally." "$LINENO" 5
31447fi
31448if test -z "${BUILD_ECORE_INPUT_TRUE}" && test -z "${BUILD_ECORE_INPUT_FALSE}"; then
31449 as_fn_error $? "conditional \"BUILD_ECORE_INPUT\" was never defined.
31450Usually this means the macro was only invoked conditionally." "$LINENO" 5
31451fi
31452if test -z "${BUILD_ECORE_INPUT_EVAS_TRUE}" && test -z "${BUILD_ECORE_INPUT_EVAS_FALSE}"; then
31453 as_fn_error $? "conditional \"BUILD_ECORE_INPUT_EVAS\" was never defined.
31454Usually this means the macro was only invoked conditionally." "$LINENO" 5
31455fi
31456if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
31457 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
31458Usually this means the macro was only invoked conditionally." "$LINENO" 5
31459fi
31460if test -z "${BUILD_ECORE_IMF_XIM_TRUE}" && test -z "${BUILD_ECORE_IMF_XIM_FALSE}"; then
31461 as_fn_error $? "conditional \"BUILD_ECORE_IMF_XIM\" was never defined.
31462Usually this means the macro was only invoked conditionally." "$LINENO" 5
31463fi
31464if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
31465 as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
31466Usually this means the macro was only invoked conditionally." "$LINENO" 5
31467fi
31468if test -z "${BUILD_ECORE_IMF_SCIM_TRUE}" && test -z "${BUILD_ECORE_IMF_SCIM_FALSE}"; then
31469 as_fn_error $? "conditional \"BUILD_ECORE_IMF_SCIM\" was never defined.
31470Usually this means the macro was only invoked conditionally." "$LINENO" 5
31471fi
31472if test -z "${BUILD_ECORE_X_TRUE}" && test -z "${BUILD_ECORE_X_FALSE}"; then
31473 as_fn_error $? "conditional \"BUILD_ECORE_X\" was never defined.
31474Usually this means the macro was only invoked conditionally." "$LINENO" 5
31475fi
31476if test -z "${BUILD_ECORE_WIN32_TRUE}" && test -z "${BUILD_ECORE_WIN32_FALSE}"; then
31477 as_fn_error $? "conditional \"BUILD_ECORE_WIN32\" was never defined.
31478Usually this means the macro was only invoked conditionally." "$LINENO" 5
31479fi
31480if test -z "${BUILD_ECORE_COCOA_TRUE}" && test -z "${BUILD_ECORE_COCOA_FALSE}"; then
31481 as_fn_error $? "conditional \"BUILD_ECORE_COCOA\" was never defined.
31482Usually this means the macro was only invoked conditionally." "$LINENO" 5
31483fi
31484if test -z "${BUILD_ECORE_SDL_TRUE}" && test -z "${BUILD_ECORE_SDL_FALSE}"; then
31485 as_fn_error $? "conditional \"BUILD_ECORE_SDL\" was never defined.
31486Usually this means the macro was only invoked conditionally." "$LINENO" 5
31487fi
31488if test -z "${BUILD_ECORE_PSL1GHT_TRUE}" && test -z "${BUILD_ECORE_PSL1GHT_FALSE}"; then
31489 as_fn_error $? "conditional \"BUILD_ECORE_PSL1GHT\" was never defined.
31490Usually this means the macro was only invoked conditionally." "$LINENO" 5
31491fi
31492if test -z "${BUILD_ECORE_FB_TRUE}" && test -z "${BUILD_ECORE_FB_FALSE}"; then
31493 as_fn_error $? "conditional \"BUILD_ECORE_FB\" was never defined.
31494Usually this means the macro was only invoked conditionally." "$LINENO" 5
31495fi
31496if test -z "${BUILD_ECORE_DIRECTFB_TRUE}" && test -z "${BUILD_ECORE_DIRECTFB_FALSE}"; then
31497 as_fn_error $? "conditional \"BUILD_ECORE_DIRECTFB\" was never defined.
31498Usually this means the macro was only invoked conditionally." "$LINENO" 5
31499fi
31500if test -z "${BUILD_ECORE_WINCE_TRUE}" && test -z "${BUILD_ECORE_WINCE_FALSE}"; then
31501 as_fn_error $? "conditional \"BUILD_ECORE_WINCE\" was never defined.
31502Usually this means the macro was only invoked conditionally." "$LINENO" 5
31503fi
31504if test -z "${BUILD_ECORE_EVAS_TRUE}" && test -z "${BUILD_ECORE_EVAS_FALSE}"; then
31505 as_fn_error $? "conditional \"BUILD_ECORE_EVAS\" was never defined.
31506Usually this means the macro was only invoked conditionally." "$LINENO" 5
31507fi
31508if test -z "${BUILD_ECORE_WAYLAND_TRUE}" && test -z "${BUILD_ECORE_WAYLAND_FALSE}"; then
31509 as_fn_error $? "conditional \"BUILD_ECORE_WAYLAND\" was never defined.
31510Usually this means the macro was only invoked conditionally." "$LINENO" 5
31511fi
31512if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
31513 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
31514Usually this means the macro was only invoked conditionally." "$LINENO" 5
31515fi
31516if test -z "${EFL_BUILD_EXAMPLES_TRUE}" && test -z "${EFL_BUILD_EXAMPLES_FALSE}"; then
31517 as_fn_error $? "conditional \"EFL_BUILD_EXAMPLES\" was never defined.
31518Usually this means the macro was only invoked conditionally." "$LINENO" 5
31519fi
31520if test -z "${EFL_INSTALL_EXAMPLES_TRUE}" && test -z "${EFL_INSTALL_EXAMPLES_FALSE}"; then
31521 as_fn_error $? "conditional \"EFL_INSTALL_EXAMPLES\" was never defined.
31522Usually this means the macro was only invoked conditionally." "$LINENO" 5
31523fi
31524
31525: ${CONFIG_STATUS=./config.status}
31526ac_write_fail=0
31527ac_clean_files_save=$ac_clean_files
31528ac_clean_files="$ac_clean_files $CONFIG_STATUS"
31529{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31530$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31531as_write_fail=0
31532cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31533#! $SHELL
31534# Generated by $as_me.
31535# Run this file to recreate the current configuration.
31536# Compiler output produced by configure, useful for debugging
31537# configure, is in config.log if it exists.
31538
31539debug=false
31540ac_cs_recheck=false
31541ac_cs_silent=false
31542
31543SHELL=\${CONFIG_SHELL-$SHELL}
31544export SHELL
31545_ASEOF
31546cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
31547## -------------------- ##
31548## M4sh Initialization. ##
31549## -------------------- ##
31550
31551# Be more Bourne compatible
31552DUALCASE=1; export DUALCASE # for MKS sh
31553if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
31554 emulate sh
31555 NULLCMD=:
31556 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31557 # is contrary to our usage. Disable this feature.
31558 alias -g '${1+"$@"}'='"$@"'
31559 setopt NO_GLOB_SUBST
31560else
31561 case `(set -o) 2>/dev/null` in #(
31562 *posix*) :
31563 set -o posix ;; #(
31564 *) :
31565 ;;
31566esac
31567fi
31568
31569
31570as_nl='
31571'
31572export as_nl
31573# Printing a long string crashes Solaris 7 /usr/bin/printf.
31574as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31575as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31576as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31577# Prefer a ksh shell builtin over an external printf program on Solaris,
31578# but without wasting forks for bash or zsh.
31579if test -z "$BASH_VERSION$ZSH_VERSION" \
31580 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31581 as_echo='print -r --'
31582 as_echo_n='print -rn --'
31583elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31584 as_echo='printf %s\n'
31585 as_echo_n='printf %s'
31586else
31587 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31588 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
31589 as_echo_n='/usr/ucb/echo -n'
31590 else
31591 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31592 as_echo_n_body='eval
31593 arg=$1;
31594 case $arg in #(
31595 *"$as_nl"*)
31596 expr "X$arg" : "X\\(.*\\)$as_nl";
31597 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31598 esac;
31599 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
31600 '
31601 export as_echo_n_body
31602 as_echo_n='sh -c $as_echo_n_body as_echo'
31603 fi
31604 export as_echo_body
31605 as_echo='sh -c $as_echo_body as_echo'
31606fi
31607
31608# The user is always right.
31609if test "${PATH_SEPARATOR+set}" != set; then
31610 PATH_SEPARATOR=:
31611 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31612 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31613 PATH_SEPARATOR=';'
31614 }
31615fi
31616
31617
31618# IFS
31619# We need space, tab and new line, in precisely that order. Quoting is
31620# there to prevent editors from complaining about space-tab.
31621# (If _AS_PATH_WALK were called with IFS unset, it would disable word
31622# splitting by setting IFS to empty value.)
31623IFS=" "" $as_nl"
31624
31625# Find who we are. Look in the path if we contain no directory separator.
31626case $0 in #((
31627 *[\\/]* ) as_myself=$0 ;;
31628 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31629for as_dir in $PATH
31630do
31631 IFS=$as_save_IFS
31632 test -z "$as_dir" && as_dir=.
31633 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31634 done
31635IFS=$as_save_IFS
31636
31637 ;;
31638esac
31639# We did not find ourselves, most probably we were run as `sh COMMAND'
31640# in which case we are not to be found in the path.
31641if test "x$as_myself" = x; then
31642 as_myself=$0
31643fi
31644if test ! -f "$as_myself"; then
31645 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31646 exit 1
31647fi
31648
31649# Unset variables that we do not need and which cause bugs (e.g. in
31650# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31651# suppresses any "Segmentation fault" message there. '((' could
31652# trigger a bug in pdksh 5.2.14.
31653for as_var in BASH_ENV ENV MAIL MAILPATH
31654do eval test x\${$as_var+set} = xset \
31655 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
31656done
31657PS1='$ '
31658PS2='> '
31659PS4='+ '
31660
31661# NLS nuisances.
31662LC_ALL=C
31663export LC_ALL
31664LANGUAGE=C
31665export LANGUAGE
31666
31667# CDPATH.
31668(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
31669
31670
31671# as_fn_error STATUS ERROR [LINENO LOG_FD]
31672# ----------------------------------------
31673# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31674# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31675# script with STATUS, using 1 if that was 0.
31676as_fn_error ()
31677{
31678 as_status=$1; test $as_status -eq 0 && as_status=1
31679 if test "$4"; then
31680 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
31681 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31682 fi
31683 $as_echo "$as_me: error: $2" >&2
31684 as_fn_exit $as_status
31685} # as_fn_error
31686
31687
31688# as_fn_set_status STATUS
31689# -----------------------
31690# Set $? to STATUS, without forking.
31691as_fn_set_status ()
31692{
31693 return $1
31694} # as_fn_set_status
31695
31696# as_fn_exit STATUS
31697# -----------------
31698# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31699as_fn_exit ()
31700{
31701 set +e
31702 as_fn_set_status $1
31703 exit $1
31704} # as_fn_exit
31705
31706# as_fn_unset VAR
31707# ---------------
31708# Portably unset VAR.
31709as_fn_unset ()
31710{
31711 { eval $1=; unset $1;}
31712}
31713as_unset=as_fn_unset
31714# as_fn_append VAR VALUE
31715# ----------------------
31716# Append the text in VALUE to the end of the definition contained in VAR. Take
31717# advantage of any shell optimizations that allow amortized linear growth over
31718# repeated appends, instead of the typical quadratic growth present in naive
31719# implementations.
31720if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
31721 eval 'as_fn_append ()
31722 {
31723 eval $1+=\$2
31724 }'
31725else
31726 as_fn_append ()
31727 {
31728 eval $1=\$$1\$2
31729 }
31730fi # as_fn_append
31731
31732# as_fn_arith ARG...
31733# ------------------
31734# Perform arithmetic evaluation on the ARGs, and store the result in the
31735# global $as_val. Take advantage of shells that can avoid forks. The arguments
31736# must be portable across $(()) and expr.
31737if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
31738 eval 'as_fn_arith ()
31739 {
31740 as_val=$(( $* ))
31741 }'
31742else
31743 as_fn_arith ()
31744 {
31745 as_val=`expr "$@" || test $? -eq 1`
31746 }
31747fi # as_fn_arith
31748
31749
31750if expr a : '\(a\)' >/dev/null 2>&1 &&
31751 test "X`expr 00001 : '.*\(...\)'`" = X001; then
31752 as_expr=expr
31753else
31754 as_expr=false
31755fi
31756
31757if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31758 as_basename=basename
31759else
31760 as_basename=false
31761fi
31762
31763if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
31764 as_dirname=dirname
31765else
31766 as_dirname=false
31767fi
31768
31769as_me=`$as_basename -- "$0" ||
31770$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31771 X"$0" : 'X\(//\)$' \| \
31772 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31773$as_echo X/"$0" |
31774 sed '/^.*\/\([^/][^/]*\)\/*$/{
31775 s//\1/
31776 q
31777 }
31778 /^X\/\(\/\/\)$/{
31779 s//\1/
31780 q
31781 }
31782 /^X\/\(\/\).*/{
31783 s//\1/
31784 q
31785 }
31786 s/.*/./; q'`
31787
31788# Avoid depending upon Character Ranges.
31789as_cr_letters='abcdefghijklmnopqrstuvwxyz'
31790as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31791as_cr_Letters=$as_cr_letters$as_cr_LETTERS
31792as_cr_digits='0123456789'
31793as_cr_alnum=$as_cr_Letters$as_cr_digits
31794
31795ECHO_C= ECHO_N= ECHO_T=
31796case `echo -n x` in #(((((
31797-n*)
31798 case `echo 'xy\c'` in
31799 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
31800 xy) ECHO_C='\c';;
31801 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
31802 ECHO_T=' ';;
31803 esac;;
31804*)
31805 ECHO_N='-n';;
31806esac
31807
31808rm -f conf$$ conf$$.exe conf$$.file
31809if test -d conf$$.dir; then
31810 rm -f conf$$.dir/conf$$.file
31811else
31812 rm -f conf$$.dir
31813 mkdir conf$$.dir 2>/dev/null
31814fi
31815if (echo >conf$$.file) 2>/dev/null; then
31816 if ln -s conf$$.file conf$$ 2>/dev/null; then
31817 as_ln_s='ln -s'
31818 # ... but there are two gotchas:
31819 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31820 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31821 # In both cases, we have to default to `cp -p'.
31822 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
31823 as_ln_s='cp -p'
31824 elif ln conf$$.file conf$$ 2>/dev/null; then
31825 as_ln_s=ln
31826 else
31827 as_ln_s='cp -p'
31828 fi
31829else
31830 as_ln_s='cp -p'
31831fi
31832rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
31833rmdir conf$$.dir 2>/dev/null
31834
31835
31836# as_fn_mkdir_p
31837# -------------
31838# Create "$as_dir" as a directory, including parents if necessary.
31839as_fn_mkdir_p ()
31840{
31841
31842 case $as_dir in #(
31843 -*) as_dir=./$as_dir;;
31844 esac
31845 test -d "$as_dir" || eval $as_mkdir_p || {
31846 as_dirs=
31847 while :; do
31848 case $as_dir in #(
31849 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31850 *) as_qdir=$as_dir;;
31851 esac
31852 as_dirs="'$as_qdir' $as_dirs"
31853 as_dir=`$as_dirname -- "$as_dir" ||
31854$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31855 X"$as_dir" : 'X\(//\)[^/]' \| \
31856 X"$as_dir" : 'X\(//\)$' \| \
31857 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31858$as_echo X"$as_dir" |
31859 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31860 s//\1/
31861 q
31862 }
31863 /^X\(\/\/\)[^/].*/{
31864 s//\1/
31865 q
31866 }
31867 /^X\(\/\/\)$/{
31868 s//\1/
31869 q
31870 }
31871 /^X\(\/\).*/{
31872 s//\1/
31873 q
31874 }
31875 s/.*/./; q'`
31876 test -d "$as_dir" && break
31877 done
31878 test -z "$as_dirs" || eval "mkdir $as_dirs"
31879 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
31880
31881
31882} # as_fn_mkdir_p
31883if mkdir -p . 2>/dev/null; then
31884 as_mkdir_p='mkdir -p "$as_dir"'
31885else
31886 test -d ./-p && rmdir ./-p
31887 as_mkdir_p=false
31888fi
31889
31890if test -x / >/dev/null 2>&1; then
31891 as_test_x='test -x'
31892else
31893 if ls -dL / >/dev/null 2>&1; then
31894 as_ls_L_option=L
31895 else
31896 as_ls_L_option=
31897 fi
31898 as_test_x='
31899 eval sh -c '\''
31900 if test -d "$1"; then
31901 test -d "$1/.";
31902 else
31903 case $1 in #(
31904 -*)set "./$1";;
31905 esac;
31906 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
31907 ???[sx]*):;;*)false;;esac;fi
31908 '\'' sh
31909 '
31910fi
31911as_executable_p=$as_test_x
31912
31913# Sed expression to map a string onto a valid CPP name.
31914as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31915
31916# Sed expression to map a string onto a valid variable name.
31917as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
31918
31919
31920exec 6>&1
31921## ----------------------------------- ##
31922## Main body of $CONFIG_STATUS script. ##
31923## ----------------------------------- ##
31924_ASEOF
31925test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
31926
31927cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31928# Save the log message, to keep $0 and so on meaningful, and to
31929# report actual input values of CONFIG_FILES etc. instead of their
31930# values after options handling.
31931ac_log="
31932This file was extended by ecore $as_me 1.2.0-alpha, which was
31933generated by GNU Autoconf 2.67. Invocation command line was
31934
31935 CONFIG_FILES = $CONFIG_FILES
31936 CONFIG_HEADERS = $CONFIG_HEADERS
31937 CONFIG_LINKS = $CONFIG_LINKS
31938 CONFIG_COMMANDS = $CONFIG_COMMANDS
31939 $ $0 $@
31940
31941on `(hostname || uname -n) 2>/dev/null | sed 1q`
31942"
31943
31944_ACEOF
31945
31946case $ac_config_files in *"
31947"*) set x $ac_config_files; shift; ac_config_files=$*;;
31948esac
31949
31950case $ac_config_headers in *"
31951"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
31952esac
31953
31954
31955cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31956# Files that config.status was made for.
31957config_files="$ac_config_files"
31958config_headers="$ac_config_headers"
31959config_commands="$ac_config_commands"
31960
31961_ACEOF
31962
31963cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
31964ac_cs_usage="\
31965\`$as_me' instantiates files and other configuration actions
31966from templates according to the current configuration. Unless the files
31967and actions are specified as TAGs, all are instantiated by default.
31968
31969Usage: $0 [OPTION]... [TAG]...
31970
31971 -h, --help print this help, then exit
31972 -V, --version print version number and configuration settings, then exit
31973 --config print configuration, then exit
31974 -q, --quiet, --silent
31975 do not print progress messages
31976 -d, --debug don't remove temporary files
31977 --recheck update $as_me by reconfiguring in the same conditions
31978 --file=FILE[:TEMPLATE]
31979 instantiate the configuration file FILE
31980 --header=FILE[:TEMPLATE]
31981 instantiate the configuration header FILE
31982
31983Configuration files:
31984$config_files
31985
31986Configuration headers:
31987$config_headers
31988
31989Configuration commands:
31990$config_commands
31991
31992Report bugs to <enlightenment-devel@lists.sourceforge.net>."
31993
31994_ACEOF
31995cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
31996ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
31997ac_cs_version="\\
31998ecore config.status 1.2.0-alpha
31999configured by $0, generated by GNU Autoconf 2.67,
32000 with options \\"\$ac_cs_config\\"
32001
32002Copyright (C) 2010 Free Software Foundation, Inc.
32003This config.status script is free software; the Free Software Foundation
32004gives unlimited permission to copy, distribute and modify it."
32005
32006ac_pwd='$ac_pwd'
32007srcdir='$srcdir'
32008INSTALL='$INSTALL'
32009MKDIR_P='$MKDIR_P'
32010AWK='$AWK'
32011test -n "\$AWK" || AWK=awk
32012_ACEOF
32013
32014cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32015# The default lists apply if the user does not specify any file.
32016ac_need_defaults=:
32017while test $# != 0
32018do
32019 case $1 in
32020 --*=?*)
32021 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32022 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
32023 ac_shift=:
32024 ;;
32025 --*=)
32026 ac_option=`expr "X$1" : 'X\([^=]*\)='`
32027 ac_optarg=
32028 ac_shift=:
32029 ;;
32030 *)
32031 ac_option=$1
32032 ac_optarg=$2
32033 ac_shift=shift
32034 ;;
32035 esac
32036
32037 case $ac_option in
32038 # Handling of the options.
32039 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
32040 ac_cs_recheck=: ;;
32041 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
32042 $as_echo "$ac_cs_version"; exit ;;
32043 --config | --confi | --conf | --con | --co | --c )
32044 $as_echo "$ac_cs_config"; exit ;;
32045 --debug | --debu | --deb | --de | --d | -d )
32046 debug=: ;;
32047 --file | --fil | --fi | --f )
32048 $ac_shift
32049 case $ac_optarg in
32050 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32051 '') as_fn_error $? "missing file argument" ;;
32052 esac
32053 as_fn_append CONFIG_FILES " '$ac_optarg'"
32054 ac_need_defaults=false;;
32055 --header | --heade | --head | --hea )
32056 $ac_shift
32057 case $ac_optarg in
32058 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32059 esac
32060 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
32061 ac_need_defaults=false;;
32062 --he | --h)
32063 # Conflict between --help and --header
32064 as_fn_error $? "ambiguous option: \`$1'
32065Try \`$0 --help' for more information.";;
32066 --help | --hel | -h )
32067 $as_echo "$ac_cs_usage"; exit ;;
32068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
32069 | -silent | --silent | --silen | --sile | --sil | --si | --s)
32070 ac_cs_silent=: ;;
32071
32072 # This is an error.
32073 -*) as_fn_error $? "unrecognized option: \`$1'
32074Try \`$0 --help' for more information." ;;
32075
32076 *) as_fn_append ac_config_targets " $1"
32077 ac_need_defaults=false ;;
32078
32079 esac
32080 shift
32081done
32082
32083ac_configure_extra_args=
32084
32085if $ac_cs_silent; then
32086 exec 6>/dev/null
32087 ac_configure_extra_args="$ac_configure_extra_args --silent"
32088fi
32089
32090_ACEOF
32091cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32092if \$ac_cs_recheck; then
32093 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32094 shift
32095 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32096 CONFIG_SHELL='$SHELL'
32097 export CONFIG_SHELL
32098 exec "\$@"
32099fi
32100
32101_ACEOF
32102cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32103exec 5>>config.log
32104{
32105 echo
32106 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32107## Running $as_me. ##
32108_ASBOX
32109 $as_echo "$ac_log"
32110} >&5
32111
32112_ACEOF
32113cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32114#
32115# INIT-COMMANDS
32116#
32117AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32118
32119
32120# The HP-UX ksh and POSIX shell print the target directory to stdout
32121# if CDPATH is set.
32122(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32123
32124sed_quote_subst='$sed_quote_subst'
32125double_quote_subst='$double_quote_subst'
32126delay_variable_subst='$delay_variable_subst'
32127AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
32128DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
32129OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
32130macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
32131macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
32132enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
32133enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
32134pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
32135enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
32136host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
32137host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
32138host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
32139build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
32140build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
32141build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
32142SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
32143Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
32144GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
32145EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
32146FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
32147LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
32148NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
32149LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
32150max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
32151ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
32152exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
32153lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
32154lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
32155lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
32156reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
32157reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32158deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
32159file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
32160AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
32161AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
32162STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
32163RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
32164old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32165old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32166old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32167CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
32168CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
32169compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
32170GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
32171lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
32172lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
32173lt_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"`'
32174lt_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"`'
32175objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
32176SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
32177ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
32178MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
32179lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
32180lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
32181lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
32182lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
32183lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
32184need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
32185DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
32186NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
32187LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
32188OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
32189OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
32190libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
32191shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32192extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32193archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
32194enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
32195export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
32196whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
32197compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
32198old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32199old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32200archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32201archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32202module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32203module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32204with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
32205allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
32206no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
32207hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
32208hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
32209hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
32210hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
32211hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
32212hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
32213hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
32214hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
32215inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
32216link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
32217fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
32218always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
32219export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32220exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
32221include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
32222prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32223file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
32224variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
32225need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
32226need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
32227version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
32228runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
32229shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
32230shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
32231libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
32232library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
32233soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
32234postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32235postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32236finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
32237finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
32238hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
32239sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
32240sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
32241hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
32242enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
32243enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
32244enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
32245old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
32246striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
32247compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
32248predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
32249postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
32250predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
32251postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
32252compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
32253LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32254old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32255compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32256GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32257lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32258lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32259lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32260lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32261lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32262archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32263enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32264export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32265whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32266compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32267old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32268old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32269archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32270archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32271module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32272module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32273with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32274allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32275no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32276hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32277hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32278hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32279hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32280hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32281hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32282hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32283hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32284inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32285link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32286fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32287always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32288export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32289exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32290include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32291prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32292file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32293hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32294compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32295predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32296postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32297predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32298postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32299compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
32300
32301LTCC='$LTCC'
32302LTCFLAGS='$LTCFLAGS'
32303compiler='$compiler_DEFAULT'
32304
32305# Quote evaled strings.
32306for var in SED \
32307GREP \
32308EGREP \
32309FGREP \
32310LD \
32311NM \
32312LN_S \
32313lt_SP2NL \
32314lt_NL2SP \
32315reload_flag \
32316deplibs_check_method \
32317file_magic_cmd \
32318AR \
32319AR_FLAGS \
32320STRIP \
32321RANLIB \
32322CC \
32323CFLAGS \
32324compiler \
32325lt_cv_sys_global_symbol_pipe \
32326lt_cv_sys_global_symbol_to_cdecl \
32327lt_cv_sys_global_symbol_to_c_name_address \
32328lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32329SHELL \
32330ECHO \
32331lt_prog_compiler_no_builtin_flag \
32332lt_prog_compiler_wl \
32333lt_prog_compiler_pic \
32334lt_prog_compiler_static \
32335lt_cv_prog_compiler_c_o \
32336need_locks \
32337DSYMUTIL \
32338NMEDIT \
32339LIPO \
32340OTOOL \
32341OTOOL64 \
32342shrext_cmds \
32343export_dynamic_flag_spec \
32344whole_archive_flag_spec \
32345compiler_needs_object \
32346with_gnu_ld \
32347allow_undefined_flag \
32348no_undefined_flag \
32349hardcode_libdir_flag_spec \
32350hardcode_libdir_flag_spec_ld \
32351hardcode_libdir_separator \
32352fix_srcfile_path \
32353exclude_expsyms \
32354include_expsyms \
32355file_list_spec \
32356variables_saved_for_relink \
32357libname_spec \
32358library_names_spec \
32359soname_spec \
32360finish_eval \
32361old_striplib \
32362striplib \
32363compiler_lib_search_dirs \
32364predep_objects \
32365postdep_objects \
32366predeps \
32367postdeps \
32368compiler_lib_search_path \
32369LD_CXX \
32370compiler_CXX \
32371lt_prog_compiler_no_builtin_flag_CXX \
32372lt_prog_compiler_wl_CXX \
32373lt_prog_compiler_pic_CXX \
32374lt_prog_compiler_static_CXX \
32375lt_cv_prog_compiler_c_o_CXX \
32376export_dynamic_flag_spec_CXX \
32377whole_archive_flag_spec_CXX \
32378compiler_needs_object_CXX \
32379with_gnu_ld_CXX \
32380allow_undefined_flag_CXX \
32381no_undefined_flag_CXX \
32382hardcode_libdir_flag_spec_CXX \
32383hardcode_libdir_flag_spec_ld_CXX \
32384hardcode_libdir_separator_CXX \
32385fix_srcfile_path_CXX \
32386exclude_expsyms_CXX \
32387include_expsyms_CXX \
32388file_list_spec_CXX \
32389compiler_lib_search_dirs_CXX \
32390predep_objects_CXX \
32391postdep_objects_CXX \
32392predeps_CXX \
32393postdeps_CXX \
32394compiler_lib_search_path_CXX; do
32395 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
32396 *[\\\\\\\`\\"\\\$]*)
32397 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32398 ;;
32399 *)
32400 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32401 ;;
32402 esac
32403done
32404
32405# Double-quote double-evaled strings.
32406for var in reload_cmds \
32407old_postinstall_cmds \
32408old_postuninstall_cmds \
32409old_archive_cmds \
32410extract_expsyms_cmds \
32411old_archive_from_new_cmds \
32412old_archive_from_expsyms_cmds \
32413archive_cmds \
32414archive_expsym_cmds \
32415module_cmds \
32416module_expsym_cmds \
32417export_symbols_cmds \
32418prelink_cmds \
32419postinstall_cmds \
32420postuninstall_cmds \
32421finish_cmds \
32422sys_lib_search_path_spec \
32423sys_lib_dlsearch_path_spec \
32424old_archive_cmds_CXX \
32425old_archive_from_new_cmds_CXX \
32426old_archive_from_expsyms_cmds_CXX \
32427archive_cmds_CXX \
32428archive_expsym_cmds_CXX \
32429module_cmds_CXX \
32430module_expsym_cmds_CXX \
32431export_symbols_cmds_CXX \
32432prelink_cmds_CXX; do
32433 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
32434 *[\\\\\\\`\\"\\\$]*)
32435 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32436 ;;
32437 *)
32438 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32439 ;;
32440 esac
32441done
32442
32443# Fix-up fallback echo if it was mangled by the above quoting rules.
32444case \$lt_ECHO in
32445*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
32446 ;;
32447esac
32448
32449ac_aux_dir='$ac_aux_dir'
32450xsi_shell='$xsi_shell'
32451lt_shell_append='$lt_shell_append'
32452
32453# See if we are running on zsh, and set the options which allow our
32454# commands through without removal of \ escapes INIT.
32455if test -n "\${ZSH_VERSION+set}" ; then
32456 setopt NO_GLOB_SUBST
32457fi
32458
32459
32460 PACKAGE='$PACKAGE'
32461 VERSION='$VERSION'
32462 TIMESTAMP='$TIMESTAMP'
32463 RM='$RM'
32464 ofile='$ofile'
32465
32466
32467
32468
32469
32470# Capture the value of obsolete ALL_LINGUAS because we need it to compute
32471 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
32472 # from automake < 1.5.
32473 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
32474 # Capture the value of LINGUAS because we need it to compute CATALOGS.
32475 LINGUAS="${LINGUAS-%UNSET%}"
32476
32477
32478_ACEOF
32479
32480cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32481
32482# Handling of arguments.
32483for ac_config_target in $ac_config_targets
32484do
32485 case $ac_config_target in
32486 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
32487 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
32488 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
32489 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
32490 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
32491 "ecore-con.pc") CONFIG_FILES="$CONFIG_FILES ecore-con.pc" ;;
32492 "ecore-config.pc") CONFIG_FILES="$CONFIG_FILES ecore-config.pc" ;;
32493 "ecore-directfb.pc") CONFIG_FILES="$CONFIG_FILES ecore-directfb.pc" ;;
32494 "ecore-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-evas.pc" ;;
32495 "ecore-fb.pc") CONFIG_FILES="$CONFIG_FILES ecore-fb.pc" ;;
32496 "ecore-file.pc") CONFIG_FILES="$CONFIG_FILES ecore-file.pc" ;;
32497 "ecore-imf.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf.pc" ;;
32498 "ecore-imf-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-imf-evas.pc" ;;
32499 "ecore-ipc.pc") CONFIG_FILES="$CONFIG_FILES ecore-ipc.pc" ;;
32500 "ecore-x.pc") CONFIG_FILES="$CONFIG_FILES ecore-x.pc" ;;
32501 "ecore-input.pc") CONFIG_FILES="$CONFIG_FILES ecore-input.pc" ;;
32502 "ecore-input-evas.pc") CONFIG_FILES="$CONFIG_FILES ecore-input-evas.pc" ;;
32503 "ecore-win32.pc") CONFIG_FILES="$CONFIG_FILES ecore-win32.pc" ;;
32504 "ecore-sdl.pc") CONFIG_FILES="$CONFIG_FILES ecore-sdl.pc" ;;
32505 "ecore-cocoa.pc") CONFIG_FILES="$CONFIG_FILES ecore-cocoa.pc" ;;
32506 "ecore-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES ecore-psl1ght.pc" ;;
32507 "ecore-wince.pc") CONFIG_FILES="$CONFIG_FILES ecore-wince.pc" ;;
32508 "ecore-wayland.pc") CONFIG_FILES="$CONFIG_FILES ecore-wayland.pc" ;;
32509 "ecore.pc") CONFIG_FILES="$CONFIG_FILES ecore.pc" ;;
32510 "doc/ecore.dox") CONFIG_FILES="$CONFIG_FILES doc/ecore.dox" ;;
32511 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
32512 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
32513 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
32514 "src/util/Makefile") CONFIG_FILES="$CONFIG_FILES src/util/Makefile" ;;
32515 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
32516 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
32517 "src/lib/ecore/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore/Makefile" ;;
32518 "src/lib/ecore_con/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_con/Makefile" ;;
32519 "src/lib/ecore_config/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_config/Makefile" ;;
32520 "src/lib/ecore_directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_directfb/Makefile" ;;
32521 "src/lib/ecore_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_evas/Makefile" ;;
32522 "src/lib/ecore_fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_fb/Makefile" ;;
32523 "src/lib/ecore_file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_file/Makefile" ;;
32524 "src/lib/ecore_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_cocoa/Makefile" ;;
32525 "src/lib/ecore_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_sdl/Makefile" ;;
32526 "src/lib/ecore_psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_psl1ght/Makefile" ;;
32527 "src/lib/ecore_imf/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf/Makefile" ;;
32528 "src/lib/ecore_imf_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_imf_evas/Makefile" ;;
32529 "src/lib/ecore_input/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input/Makefile" ;;
32530 "src/lib/ecore_input_evas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_input_evas/Makefile" ;;
32531 "src/lib/ecore_ipc/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_ipc/Makefile" ;;
32532 "src/lib/ecore_win32/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_win32/Makefile" ;;
32533 "src/lib/ecore_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_wince/Makefile" ;;
32534 "src/lib/ecore_x/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/Makefile" ;;
32535 "src/lib/ecore_x/xlib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xlib/Makefile" ;;
32536 "src/lib/ecore_x/xcb/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_x/xcb/Makefile" ;;
32537 "src/lib/ecore_wayland/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/ecore_wayland/Makefile" ;;
32538 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
32539 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
32540 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
32541 "src/modules/immodules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/Makefile" ;;
32542 "src/modules/immodules/xim/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/xim/Makefile" ;;
32543 "src/modules/immodules/scim/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/immodules/scim/Makefile" ;;
32544 "ecore.spec") CONFIG_FILES="$CONFIG_FILES ecore.spec" ;;
32545 "$po_makefile_in") CONFIG_FILES="$CONFIG_FILES $po_makefile_in" ;;
32546
32547 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
32548 esac
32549done
32550
32551
32552# If the user did not use the arguments to specify the items to instantiate,
32553# then the envvar interface is used. Set only those that are not.
32554# We use the long form for the default assignment because of an extremely
32555# bizarre bug on SunOS 4.1.3.
32556if $ac_need_defaults; then
32557 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
32558 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
32559 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
32560fi
32561
32562# Have a temporary directory for convenience. Make it in the build tree
32563# simply because there is no reason against having it here, and in addition,
32564# creating and moving files from /tmp can sometimes cause problems.
32565# Hook for its removal unless debugging.
32566# Note that there is a small window in which the directory will not be cleaned:
32567# after its creation but before its name has been assigned to `$tmp'.
32568$debug ||
32569{
32570 tmp=
32571 trap 'exit_status=$?
32572 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
32573' 0
32574 trap 'as_fn_exit 1' 1 2 13 15
32575}
32576# Create a (secure) tmp directory for tmp files.
32577
32578{
32579 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32580 test -n "$tmp" && test -d "$tmp"
32581} ||
32582{
32583 tmp=./conf$$-$RANDOM
32584 (umask 077 && mkdir "$tmp")
32585} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
32586
32587# Set up the scripts for CONFIG_FILES section.
32588# No need to generate them if there are no CONFIG_FILES.
32589# This happens for instance with `./config.status config.h'.
32590if test -n "$CONFIG_FILES"; then
32591
32592
32593ac_cr=`echo X | tr X '\015'`
32594# On cygwin, bash can eat \r inside `` if the user requested igncr.
32595# But we know of no other shell where ac_cr would be empty at this
32596# point, so we can use a bashism as a fallback.
32597if test "x$ac_cr" = x; then
32598 eval ac_cr=\$\'\\r\'
32599fi
32600ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32601if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32602 ac_cs_awk_cr='\\r'
32603else
32604 ac_cs_awk_cr=$ac_cr
32605fi
32606
32607echo 'BEGIN {' >"$tmp/subs1.awk" &&
32608_ACEOF
32609
32610
32611{
32612 echo "cat >conf$$subs.awk <<_ACEOF" &&
32613 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32614 echo "_ACEOF"
32615} >conf$$subs.sh ||
32616 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32617ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32618ac_delim='%!_!# '
32619for ac_last_try in false false false false false :; do
32620 . ./conf$$subs.sh ||
32621 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32622
32623 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
32624 if test $ac_delim_n = $ac_delim_num; then
32625 break
32626 elif $ac_last_try; then
32627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
32628 else
32629 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32630 fi
32631done
32632rm -f conf$$subs.sh
32633
32634cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32635cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
32636_ACEOF
32637sed -n '
32638h
32639s/^/S["/; s/!.*/"]=/
32640p
32641g
32642s/^[^!]*!//
32643:repl
32644t repl
32645s/'"$ac_delim"'$//
32646t delim
32647:nl
32648h
32649s/\(.\{148\}\)..*/\1/
32650t more1
32651s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
32652p
32653n
32654b repl
32655:more1
32656s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32657p
32658g
32659s/.\{148\}//
32660t nl
32661:delim
32662h
32663s/\(.\{148\}\)..*/\1/
32664t more2
32665s/["\\]/\\&/g; s/^/"/; s/$/"/
32666p
32667b
32668:more2
32669s/["\\]/\\&/g; s/^/"/; s/$/"\\/
32670p
32671g
32672s/.\{148\}//
32673t delim
32674' <conf$$subs.awk | sed '
32675/^[^""]/{
32676 N
32677 s/\n//
32678}
32679' >>$CONFIG_STATUS || ac_write_fail=1
32680rm -f conf$$subs.awk
32681cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32682_ACAWK
32683cat >>"\$tmp/subs1.awk" <<_ACAWK &&
32684 for (key in S) S_is_set[key] = 1
32685 FS = ""
32686
32687}
32688{
32689 line = $ 0
32690 nfields = split(line, field, "@")
32691 substed = 0
32692 len = length(field[1])
32693 for (i = 2; i < nfields; i++) {
32694 key = field[i]
32695 keylen = length(key)
32696 if (S_is_set[key]) {
32697 value = S[key]
32698 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32699 len += length(value) + length(field[++i])
32700 substed = 1
32701 } else
32702 len += 1 + keylen
32703 }
32704
32705 print line
32706}
32707
32708_ACAWK
32709_ACEOF
32710cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32711if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32712 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
32713else
32714 cat
32715fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
32716 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
32717_ACEOF
32718
32719# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32720# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
32721# trailing colons and then remove the whole line if VPATH becomes empty
32722# (actually we leave an empty line to preserve line numbers).
32723if test "x$srcdir" = x.; then
32724 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32725h
32726s///
32727s/^/:/
32728s/[ ]*$/:/
32729s/:\$(srcdir):/:/g
32730s/:\${srcdir}:/:/g
32731s/:@srcdir@:/:/g
32732s/^:*//
32733s/:*$//
32734x
32735s/\(=[ ]*\).*/\1/
32736G
32737s/\n//
32738s/^[^=]*=[ ]*$//
32739}'
32740fi
32741
32742cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32743fi # test -n "$CONFIG_FILES"
32744
32745# Set up the scripts for CONFIG_HEADERS section.
32746# No need to generate them if there are no CONFIG_HEADERS.
32747# This happens for instance with `./config.status Makefile'.
32748if test -n "$CONFIG_HEADERS"; then
32749cat >"$tmp/defines.awk" <<\_ACAWK ||
32750BEGIN {
32751_ACEOF
32752
32753# Transform confdefs.h into an awk script `defines.awk', embedded as
32754# here-document in config.status, that substitutes the proper values into
32755# config.h.in to produce config.h.
32756
32757# Create a delimiter string that does not exist in confdefs.h, to ease
32758# handling of long lines.
32759ac_delim='%!_!# '
32760for ac_last_try in false false :; do
32761 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
32762 if test -z "$ac_t"; then
32763 break
32764 elif $ac_last_try; then
32765 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
32766 else
32767 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
32768 fi
32769done
32770
32771# For the awk script, D is an array of macro values keyed by name,
32772# likewise P contains macro parameters if any. Preserve backslash
32773# newline sequences.
32774
32775ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32776sed -n '
32777s/.\{148\}/&'"$ac_delim"'/g
32778t rset
32779:rset
32780s/^[ ]*#[ ]*define[ ][ ]*/ /
32781t def
32782d
32783:def
32784s/\\$//
32785t bsnl
32786s/["\\]/\\&/g
32787s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32788D["\1"]=" \3"/p
32789s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
32790d
32791:bsnl
32792s/["\\]/\\&/g
32793s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
32794D["\1"]=" \3\\\\\\n"\\/p
32795t cont
32796s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
32797t cont
32798d
32799:cont
32800n
32801s/.\{148\}/&'"$ac_delim"'/g
32802t clear
32803:clear
32804s/\\$//
32805t bsnlc
32806s/["\\]/\\&/g; s/^/"/; s/$/"/p
32807d
32808:bsnlc
32809s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
32810b cont
32811' <confdefs.h | sed '
32812s/'"$ac_delim"'/"\\\
32813"/g' >>$CONFIG_STATUS || ac_write_fail=1
32814
32815cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32816 for (key in D) D_is_set[key] = 1
32817 FS = ""
32818}
32819/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32820 line = \$ 0
32821 split(line, arg, " ")
32822 if (arg[1] == "#") {
32823 defundef = arg[2]
32824 mac1 = arg[3]
32825 } else {
32826 defundef = substr(arg[1], 2)
32827 mac1 = arg[2]
32828 }
32829 split(mac1, mac2, "(") #)
32830 macro = mac2[1]
32831 prefix = substr(line, 1, index(line, defundef) - 1)
32832 if (D_is_set[macro]) {
32833 # Preserve the white space surrounding the "#".
32834 print prefix "define", macro P[macro] D[macro]
32835 next
32836 } else {
32837 # Replace #undef with comments. This is necessary, for example,
32838 # in the case of _POSIX_SOURCE, which is predefined and required
32839 # on some systems where configure will not decide to define it.
32840 if (defundef == "undef") {
32841 print "/*", prefix defundef, macro, "*/"
32842 next
32843 }
32844 }
32845}
32846{ print }
32847_ACAWK
32848_ACEOF
32849cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32850 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
32851fi # test -n "$CONFIG_HEADERS"
32852
32853
32854eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32855shift
32856for ac_tag
32857do
32858 case $ac_tag in
32859 :[FHLC]) ac_mode=$ac_tag; continue;;
32860 esac
32861 case $ac_mode$ac_tag in
32862 :[FHL]*:*);;
32863 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
32864 :[FH]-) ac_tag=-:-;;
32865 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
32866 esac
32867 ac_save_IFS=$IFS
32868 IFS=:
32869 set x $ac_tag
32870 IFS=$ac_save_IFS
32871 shift
32872 ac_file=$1
32873 shift
32874
32875 case $ac_mode in
32876 :L) ac_source=$1;;
32877 :[FH])
32878 ac_file_inputs=
32879 for ac_f
32880 do
32881 case $ac_f in
32882 -) ac_f="$tmp/stdin";;
32883 *) # Look for the file first in the build tree, then in the source tree
32884 # (if the path is not absolute). The absolute path cannot be DOS-style,
32885 # because $ac_f cannot contain `:'.
32886 test -f "$ac_f" ||
32887 case $ac_f in
32888 [\\/$]*) false;;
32889 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
32890 esac ||
32891 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
32892 esac
32893 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32894 as_fn_append ac_file_inputs " '$ac_f'"
32895 done
32896
32897 # Let's still pretend it is `configure' which instantiates (i.e., don't
32898 # use $as_me), people would be surprised to read:
32899 # /* config.h. Generated by config.status. */
32900 configure_input='Generated from '`
32901 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32902 `' by configure.'
32903 if test x"$ac_file" != x-; then
32904 configure_input="$ac_file. $configure_input"
32905 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32906$as_echo "$as_me: creating $ac_file" >&6;}
32907 fi
32908 # Neutralize special characters interpreted by sed in replacement strings.
32909 case $configure_input in #(
32910 *\&* | *\|* | *\\* )
32911 ac_sed_conf_input=`$as_echo "$configure_input" |
32912 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32913 *) ac_sed_conf_input=$configure_input;;
32914 esac
32915
32916 case $ac_tag in
32917 *:-:* | *:-) cat >"$tmp/stdin" \
32918 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
32919 esac
32920 ;;
32921 esac
32922
32923 ac_dir=`$as_dirname -- "$ac_file" ||
32924$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32925 X"$ac_file" : 'X\(//\)[^/]' \| \
32926 X"$ac_file" : 'X\(//\)$' \| \
32927 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32928$as_echo X"$ac_file" |
32929 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32930 s//\1/
32931 q
32932 }
32933 /^X\(\/\/\)[^/].*/{
32934 s//\1/
32935 q
32936 }
32937 /^X\(\/\/\)$/{
32938 s//\1/
32939 q
32940 }
32941 /^X\(\/\).*/{
32942 s//\1/
32943 q
32944 }
32945 s/.*/./; q'`
32946 as_dir="$ac_dir"; as_fn_mkdir_p
32947 ac_builddir=.
32948
32949case "$ac_dir" in
32950.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
32951*)
32952 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
32953 # A ".." for each directory in $ac_dir_suffix.
32954 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
32955 case $ac_top_builddir_sub in
32956 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
32957 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
32958 esac ;;
32959esac
32960ac_abs_top_builddir=$ac_pwd
32961ac_abs_builddir=$ac_pwd$ac_dir_suffix
32962# for backward compatibility:
32963ac_top_builddir=$ac_top_build_prefix
32964
32965case $srcdir in
32966 .) # We are building in place.
32967 ac_srcdir=.
32968 ac_top_srcdir=$ac_top_builddir_sub
32969 ac_abs_top_srcdir=$ac_pwd ;;
32970 [\\/]* | ?:[\\/]* ) # Absolute name.
32971 ac_srcdir=$srcdir$ac_dir_suffix;
32972 ac_top_srcdir=$srcdir
32973 ac_abs_top_srcdir=$srcdir ;;
32974 *) # Relative name.
32975 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
32976 ac_top_srcdir=$ac_top_build_prefix$srcdir
32977 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
32978esac
32979ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
32980
32981
32982 case $ac_mode in
32983 :F)
32984 #
32985 # CONFIG_FILE
32986 #
32987
32988 case $INSTALL in
32989 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
32990 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
32991 esac
32992 ac_MKDIR_P=$MKDIR_P
32993 case $MKDIR_P in
32994 [\\/$]* | ?:[\\/]* ) ;;
32995 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
32996 esac
32997_ACEOF
32998
32999cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33000# If the template does not know about datarootdir, expand it.
33001# FIXME: This hack should be removed a few years after 2.60.
33002ac_datarootdir_hack=; ac_datarootdir_seen=
33003ac_sed_dataroot='
33004/datarootdir/ {
33005 p
33006 q
33007}
33008/@datadir@/p
33009/@docdir@/p
33010/@infodir@/p
33011/@localedir@/p
33012/@mandir@/p'
33013case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33014*datarootdir*) ac_datarootdir_seen=yes;;
33015*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33017$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33018_ACEOF
33019cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33020 ac_datarootdir_hack='
33021 s&@datadir@&$datadir&g
33022 s&@docdir@&$docdir&g
33023 s&@infodir@&$infodir&g
33024 s&@localedir@&$localedir&g
33025 s&@mandir@&$mandir&g
33026 s&\\\${datarootdir}&$datarootdir&g' ;;
33027esac
33028_ACEOF
33029
33030# Neutralize VPATH when `$srcdir' = `.'.
33031# Shell code in configure.ac might set extrasub.
33032# FIXME: do we really want to maintain this feature?
33033cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33034ac_sed_extra="$ac_vpsub
33035$extrasub
33036_ACEOF
33037cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33038:t
33039/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
33040s|@configure_input@|$ac_sed_conf_input|;t t
33041s&@top_builddir@&$ac_top_builddir_sub&;t t
33042s&@top_build_prefix@&$ac_top_build_prefix&;t t
33043s&@srcdir@&$ac_srcdir&;t t
33044s&@abs_srcdir@&$ac_abs_srcdir&;t t
33045s&@top_srcdir@&$ac_top_srcdir&;t t
33046s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
33047s&@builddir@&$ac_builddir&;t t
33048s&@abs_builddir@&$ac_abs_builddir&;t t
33049s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
33050s&@INSTALL@&$ac_INSTALL&;t t
33051s&@MKDIR_P@&$ac_MKDIR_P&;t t
33052$ac_datarootdir_hack
33053"
33054eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
33055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33056
33057test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33058 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
33059 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
33060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33061which seems to be undefined. Please make sure it is defined" >&5
33062$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33063which seems to be undefined. Please make sure it is defined" >&2;}
33064
33065 rm -f "$tmp/stdin"
33066 case $ac_file in
33067 -) cat "$tmp/out" && rm -f "$tmp/out";;
33068 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
33069 esac \
33070 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33071 ;;
33072 :H)
33073 #
33074 # CONFIG_HEADER
33075 #
33076 if test x"$ac_file" != x-; then
33077 {
33078 $as_echo "/* $configure_input */" \
33079 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
33080 } >"$tmp/config.h" \
33081 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33082 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
33083 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33084$as_echo "$as_me: $ac_file is unchanged" >&6;}
33085 else
33086 rm -f "$ac_file"
33087 mv "$tmp/config.h" "$ac_file" \
33088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33089 fi
33090 else
33091 $as_echo "/* $configure_input */" \
33092 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
33093 || as_fn_error $? "could not create -" "$LINENO" 5
33094 fi
33095# Compute "$ac_file"'s index in $config_headers.
33096_am_arg="$ac_file"
33097_am_stamp_count=1
33098for _am_header in $config_headers :; do
33099 case $_am_header in
33100 $_am_arg | $_am_arg:* )
33101 break ;;
33102 * )
33103 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
33104 esac
33105done
33106echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33107$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33108 X"$_am_arg" : 'X\(//\)[^/]' \| \
33109 X"$_am_arg" : 'X\(//\)$' \| \
33110 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33111$as_echo X"$_am_arg" |
33112 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33113 s//\1/
33114 q
33115 }
33116 /^X\(\/\/\)[^/].*/{
33117 s//\1/
33118 q
33119 }
33120 /^X\(\/\/\)$/{
33121 s//\1/
33122 q
33123 }
33124 /^X\(\/\).*/{
33125 s//\1/
33126 q
33127 }
33128 s/.*/./; q'`/stamp-h$_am_stamp_count
33129 ;;
33130
33131 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33132$as_echo "$as_me: executing $ac_file commands" >&6;}
33133 ;;
33134 esac
33135
33136
33137 case $ac_file$ac_mode in
33138 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
33139 # Autoconf 2.62 quotes --file arguments for eval, but not when files
33140 # are listed without --file. Let's play safe and only enable the eval
33141 # if we detect the quoting.
33142 case $CONFIG_FILES in
33143 *\'*) eval set x "$CONFIG_FILES" ;;
33144 *) set x $CONFIG_FILES ;;
33145 esac
33146 shift
33147 for mf
33148 do
33149 # Strip MF so we end up with the name of the file.
33150 mf=`echo "$mf" | sed -e 's/:.*$//'`
33151 # Check whether this is an Automake generated Makefile or not.
33152 # We used to match only the files named `Makefile.in', but
33153 # some people rename them; so instead we look at the file content.
33154 # Grep'ing the first line is not enough: some people post-process
33155 # each Makefile.in and add a new line on top of each file to say so.
33156 # Grep'ing the whole file is not good either: AIX grep has a line
33157 # limit of 2048, but all sed's we know have understand at least 4000.
33158 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
33159 dirpart=`$as_dirname -- "$mf" ||
33160$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33161 X"$mf" : 'X\(//\)[^/]' \| \
33162 X"$mf" : 'X\(//\)$' \| \
33163 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33164$as_echo X"$mf" |
33165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33166 s//\1/
33167 q
33168 }
33169 /^X\(\/\/\)[^/].*/{
33170 s//\1/
33171 q
33172 }
33173 /^X\(\/\/\)$/{
33174 s//\1/
33175 q
33176 }
33177 /^X\(\/\).*/{
33178 s//\1/
33179 q
33180 }
33181 s/.*/./; q'`
33182 else
33183 continue
33184 fi
33185 # Extract the definition of DEPDIR, am__include, and am__quote
33186 # from the Makefile without running `make'.
33187 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
33188 test -z "$DEPDIR" && continue
33189 am__include=`sed -n 's/^am__include = //p' < "$mf"`
33190 test -z "am__include" && continue
33191 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
33192 # When using ansi2knr, U may be empty or an underscore; expand it
33193 U=`sed -n 's/^U = //p' < "$mf"`
33194 # Find all dependency output files, they are included files with
33195 # $(DEPDIR) in their names. We invoke sed twice because it is the
33196 # simplest approach to changing $(DEPDIR) to its actual value in the
33197 # expansion.
33198 for file in `sed -n "
33199 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33200 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
33201 # Make sure the directory exists.
33202 test -f "$dirpart/$file" && continue
33203 fdir=`$as_dirname -- "$file" ||
33204$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33205 X"$file" : 'X\(//\)[^/]' \| \
33206 X"$file" : 'X\(//\)$' \| \
33207 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33208$as_echo X"$file" |
33209 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33210 s//\1/
33211 q
33212 }
33213 /^X\(\/\/\)[^/].*/{
33214 s//\1/
33215 q
33216 }
33217 /^X\(\/\/\)$/{
33218 s//\1/
33219 q
33220 }
33221 /^X\(\/\).*/{
33222 s//\1/
33223 q
33224 }
33225 s/.*/./; q'`
33226 as_dir=$dirpart/$fdir; as_fn_mkdir_p
33227 # echo "creating $dirpart/$file"
33228 echo '# dummy' > "$dirpart/$file"
33229 done
33230 done
33231}
33232 ;;
33233 "libtool":C)
33234
33235 # See if we are running on zsh, and set the options which allow our
33236 # commands through without removal of \ escapes.
33237 if test -n "${ZSH_VERSION+set}" ; then
33238 setopt NO_GLOB_SUBST
33239 fi
33240
33241 cfgfile="${ofile}T"
33242 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33243 $RM "$cfgfile"
33244
33245 cat <<_LT_EOF >> "$cfgfile"
33246#! $SHELL
33247
33248# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33249# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33250# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33251# NOTE: Changes made to this file will be lost: look at ltmain.sh.
33252#
33253# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33254# 2006, 2007, 2008 Free Software Foundation, Inc.
33255# Written by Gordon Matzigkeit, 1996
33256#
33257# This file is part of GNU Libtool.
33258#
33259# GNU Libtool is free software; you can redistribute it and/or
33260# modify it under the terms of the GNU General Public License as
33261# published by the Free Software Foundation; either version 2 of
33262# the License, or (at your option) any later version.
33263#
33264# As a special exception to the GNU General Public License,
33265# if you distribute this file as part of a program or library that
33266# is built using GNU Libtool, you may include this file under the
33267# same distribution terms that you use for the rest of that program.
33268#
33269# GNU Libtool is distributed in the hope that it will be useful,
33270# but WITHOUT ANY WARRANTY; without even the implied warranty of
33271# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33272# GNU General Public License for more details.
33273#
33274# You should have received a copy of the GNU General Public License
33275# along with GNU Libtool; see the file COPYING. If not, a copy
33276# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33277# obtained by writing to the Free Software Foundation, Inc.,
33278# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33279
33280
33281# The names of the tagged configurations supported by this script.
33282available_tags="CXX "
33283
33284# ### BEGIN LIBTOOL CONFIG
33285
33286# Assembler program.
33287AS=$AS
33288
33289# DLL creation program.
33290DLLTOOL=$DLLTOOL
33291
33292# Object dumper program.
33293OBJDUMP=$OBJDUMP
33294
33295# Which release of libtool.m4 was used?
33296macro_version=$macro_version
33297macro_revision=$macro_revision
33298
33299# Whether or not to build shared libraries.
33300build_libtool_libs=$enable_shared
33301
33302# Whether or not to build static libraries.
33303build_old_libs=$enable_static
33304
33305# What type of objects to build.
33306pic_mode=$pic_mode
33307
33308# Whether or not to optimize for fast installation.
33309fast_install=$enable_fast_install
33310
33311# The host system.
33312host_alias=$host_alias
33313host=$host
33314host_os=$host_os
33315
33316# The build system.
33317build_alias=$build_alias
33318build=$build
33319build_os=$build_os
33320
33321# A sed program that does not truncate output.
33322SED=$lt_SED
33323
33324# Sed that helps us avoid accidentally triggering echo(1) options like -n.
33325Xsed="\$SED -e 1s/^X//"
33326
33327# A grep program that handles long lines.
33328GREP=$lt_GREP
33329
33330# An ERE matcher.
33331EGREP=$lt_EGREP
33332
33333# A literal string matcher.
33334FGREP=$lt_FGREP
33335
33336# A BSD- or MS-compatible name lister.
33337NM=$lt_NM
33338
33339# Whether we need soft or hard links.
33340LN_S=$lt_LN_S
33341
33342# What is the maximum length of a command?
33343max_cmd_len=$max_cmd_len
33344
33345# Object file suffix (normally "o").
33346objext=$ac_objext
33347
33348# Executable file suffix (normally "").
33349exeext=$exeext
33350
33351# whether the shell understands "unset".
33352lt_unset=$lt_unset
33353
33354# turn spaces into newlines.
33355SP2NL=$lt_lt_SP2NL
33356
33357# turn newlines into spaces.
33358NL2SP=$lt_lt_NL2SP
33359
33360# How to create reloadable object files.
33361reload_flag=$lt_reload_flag
33362reload_cmds=$lt_reload_cmds
33363
33364# Method to check whether dependent libraries are shared objects.
33365deplibs_check_method=$lt_deplibs_check_method
33366
33367# Command to use when deplibs_check_method == "file_magic".
33368file_magic_cmd=$lt_file_magic_cmd
33369
33370# The archiver.
33371AR=$lt_AR
33372AR_FLAGS=$lt_AR_FLAGS
33373
33374# A symbol stripping program.
33375STRIP=$lt_STRIP
33376
33377# Commands used to install an old-style archive.
33378RANLIB=$lt_RANLIB
33379old_postinstall_cmds=$lt_old_postinstall_cmds
33380old_postuninstall_cmds=$lt_old_postuninstall_cmds
33381
33382# A C compiler.
33383LTCC=$lt_CC
33384
33385# LTCC compiler flags.
33386LTCFLAGS=$lt_CFLAGS
33387
33388# Take the output of nm and produce a listing of raw symbols and C names.
33389global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33390
33391# Transform the output of nm in a proper C declaration.
33392global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33393
33394# Transform the output of nm in a C name address pair.
33395global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33396
33397# Transform the output of nm in a C name address pair when lib prefix is needed.
33398global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33399
33400# The name of the directory that contains temporary libtool files.
33401objdir=$objdir
33402
33403# Shell to use when invoking shell scripts.
33404SHELL=$lt_SHELL
33405
33406# An echo program that does not interpret backslashes.
33407ECHO=$lt_ECHO
33408
33409# Used to examine libraries when file_magic_cmd begins with "file".
33410MAGIC_CMD=$MAGIC_CMD
33411
33412# Must we lock files when doing compilation?
33413need_locks=$lt_need_locks
33414
33415# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33416DSYMUTIL=$lt_DSYMUTIL
33417
33418# Tool to change global to local symbols on Mac OS X.
33419NMEDIT=$lt_NMEDIT
33420
33421# Tool to manipulate fat objects and archives on Mac OS X.
33422LIPO=$lt_LIPO
33423
33424# ldd/readelf like tool for Mach-O binaries on Mac OS X.
33425OTOOL=$lt_OTOOL
33426
33427# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33428OTOOL64=$lt_OTOOL64
33429
33430# Old archive suffix (normally "a").
33431libext=$libext
33432
33433# Shared library suffix (normally ".so").
33434shrext_cmds=$lt_shrext_cmds
33435
33436# The commands to extract the exported symbol list from a shared archive.
33437extract_expsyms_cmds=$lt_extract_expsyms_cmds
33438
33439# Variables whose values should be saved in libtool wrapper scripts and
33440# restored at link time.
33441variables_saved_for_relink=$lt_variables_saved_for_relink
33442
33443# Do we need the "lib" prefix for modules?
33444need_lib_prefix=$need_lib_prefix
33445
33446# Do we need a version for libraries?
33447need_version=$need_version
33448
33449# Library versioning type.
33450version_type=$version_type
33451
33452# Shared library runtime path variable.
33453runpath_var=$runpath_var
33454
33455# Shared library path variable.
33456shlibpath_var=$shlibpath_var
33457
33458# Is shlibpath searched before the hard-coded library search path?
33459shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33460
33461# Format of library name prefix.
33462libname_spec=$lt_libname_spec
33463
33464# List of archive names. First name is the real one, the rest are links.
33465# The last name is the one that the linker finds with -lNAME
33466library_names_spec=$lt_library_names_spec
33467
33468# The coded name of the library, if different from the real name.
33469soname_spec=$lt_soname_spec
33470
33471# Command to use after installation of a shared archive.
33472postinstall_cmds=$lt_postinstall_cmds
33473
33474# Command to use after uninstallation of a shared archive.
33475postuninstall_cmds=$lt_postuninstall_cmds
33476
33477# Commands used to finish a libtool library installation in a directory.
33478finish_cmds=$lt_finish_cmds
33479
33480# As "finish_cmds", except a single script fragment to be evaled but
33481# not shown.
33482finish_eval=$lt_finish_eval
33483
33484# Whether we should hardcode library paths into libraries.
33485hardcode_into_libs=$hardcode_into_libs
33486
33487# Compile-time system search path for libraries.
33488sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33489
33490# Run-time system search path for libraries.
33491sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33492
33493# Whether dlopen is supported.
33494dlopen_support=$enable_dlopen
33495
33496# Whether dlopen of programs is supported.
33497dlopen_self=$enable_dlopen_self
33498
33499# Whether dlopen of statically linked programs is supported.
33500dlopen_self_static=$enable_dlopen_self_static
33501
33502# Commands to strip libraries.
33503old_striplib=$lt_old_striplib
33504striplib=$lt_striplib
33505
33506
33507# The linker used to build libraries.
33508LD=$lt_LD
33509
33510# Commands used to build an old-style archive.
33511old_archive_cmds=$lt_old_archive_cmds
33512
33513# A language specific compiler.
33514CC=$lt_compiler
33515
33516# Is the compiler the GNU compiler?
33517with_gcc=$GCC
33518
33519# Compiler flag to turn off builtin functions.
33520no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33521
33522# How to pass a linker flag through the compiler.
33523wl=$lt_lt_prog_compiler_wl
33524
33525# Additional compiler flags for building library objects.
33526pic_flag=$lt_lt_prog_compiler_pic
33527
33528# Compiler flag to prevent dynamic linking.
33529link_static_flag=$lt_lt_prog_compiler_static
33530
33531# Does compiler simultaneously support -c and -o options?
33532compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33533
33534# Whether or not to add -lc for building shared libraries.
33535build_libtool_need_lc=$archive_cmds_need_lc
33536
33537# Whether or not to disallow shared libs when runtime libs are static.
33538allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33539
33540# Compiler flag to allow reflexive dlopens.
33541export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33542
33543# Compiler flag to generate shared objects directly from archives.
33544whole_archive_flag_spec=$lt_whole_archive_flag_spec
33545
33546# Whether the compiler copes with passing no objects directly.
33547compiler_needs_object=$lt_compiler_needs_object
33548
33549# Create an old-style archive from a shared archive.
33550old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33551
33552# Create a temporary old-style archive to link instead of a shared archive.
33553old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33554
33555# Commands used to build a shared archive.
33556archive_cmds=$lt_archive_cmds
33557archive_expsym_cmds=$lt_archive_expsym_cmds
33558
33559# Commands used to build a loadable module if different from building
33560# a shared archive.
33561module_cmds=$lt_module_cmds
33562module_expsym_cmds=$lt_module_expsym_cmds
33563
33564# Whether we are building with GNU ld or not.
33565with_gnu_ld=$lt_with_gnu_ld
33566
33567# Flag that allows shared libraries with undefined symbols to be built.
33568allow_undefined_flag=$lt_allow_undefined_flag
33569
33570# Flag that enforces no undefined symbols.
33571no_undefined_flag=$lt_no_undefined_flag
33572
33573# Flag to hardcode \$libdir into a binary during linking.
33574# This must work even if \$libdir does not exist
33575hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33576
33577# If ld is used when linking, flag to hardcode \$libdir into a binary
33578# during linking. This must work even if \$libdir does not exist.
33579hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33580
33581# Whether we need a single "-rpath" flag with a separated argument.
33582hardcode_libdir_separator=$lt_hardcode_libdir_separator
33583
33584# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33585# DIR into the resulting binary.
33586hardcode_direct=$hardcode_direct
33587
33588# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33589# DIR into the resulting binary and the resulting library dependency is
33590# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33591# library is relocated.
33592hardcode_direct_absolute=$hardcode_direct_absolute
33593
33594# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33595# into the resulting binary.
33596hardcode_minus_L=$hardcode_minus_L
33597
33598# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33599# into the resulting binary.
33600hardcode_shlibpath_var=$hardcode_shlibpath_var
33601
33602# Set to "yes" if building a shared library automatically hardcodes DIR
33603# into the library and all subsequent libraries and executables linked
33604# against it.
33605hardcode_automatic=$hardcode_automatic
33606
33607# Set to yes if linker adds runtime paths of dependent libraries
33608# to runtime path list.
33609inherit_rpath=$inherit_rpath
33610
33611# Whether libtool must link a program against all its dependency libraries.
33612link_all_deplibs=$link_all_deplibs
33613
33614# Fix the shell variable \$srcfile for the compiler.
33615fix_srcfile_path=$lt_fix_srcfile_path
33616
33617# Set to "yes" if exported symbols are required.
33618always_export_symbols=$always_export_symbols
33619
33620# The commands to list exported symbols.
33621export_symbols_cmds=$lt_export_symbols_cmds
33622
33623# Symbols that should not be listed in the preloaded symbols.
33624exclude_expsyms=$lt_exclude_expsyms
33625
33626# Symbols that must always be exported.
33627include_expsyms=$lt_include_expsyms
33628
33629# Commands necessary for linking programs (against libraries) with templates.
33630prelink_cmds=$lt_prelink_cmds
33631
33632# Specify filename containing input files.
33633file_list_spec=$lt_file_list_spec
33634
33635# How to hardcode a shared library path into an executable.
33636hardcode_action=$hardcode_action
33637
33638# The directories searched by this compiler when creating a shared library.
33639compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33640
33641# Dependencies to place before and after the objects being linked to
33642# create a shared library.
33643predep_objects=$lt_predep_objects
33644postdep_objects=$lt_postdep_objects
33645predeps=$lt_predeps
33646postdeps=$lt_postdeps
33647
33648# The library search path used internally by the compiler when linking
33649# a shared library.
33650compiler_lib_search_path=$lt_compiler_lib_search_path
33651
33652# ### END LIBTOOL CONFIG
33653
33654_LT_EOF
33655
33656 case $host_os in
33657 aix3*)
33658 cat <<\_LT_EOF >> "$cfgfile"
33659# AIX sometimes has problems with the GCC collect2 program. For some
33660# reason, if we set the COLLECT_NAMES environment variable, the problems
33661# vanish in a puff of smoke.
33662if test "X${COLLECT_NAMES+set}" != Xset; then
33663 COLLECT_NAMES=
33664 export COLLECT_NAMES
33665fi
33666_LT_EOF
33667 ;;
33668 esac
33669
33670
33671ltmain="$ac_aux_dir/ltmain.sh"
33672
33673
33674 # We use sed instead of cat because bash on DJGPP gets confused if
33675 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33676 # text mode, it properly converts lines to CR/LF. This bash problem
33677 # is reportedly fixed, but why not run on old versions too?
33678 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33679 || (rm -f "$cfgfile"; exit 1)
33680
33681 case $xsi_shell in
33682 yes)
33683 cat << \_LT_EOF >> "$cfgfile"
33684
33685# func_dirname file append nondir_replacement
33686# Compute the dirname of FILE. If nonempty, add APPEND to the result,
33687# otherwise set result to NONDIR_REPLACEMENT.
33688func_dirname ()
33689{
33690 case ${1} in
33691 */*) func_dirname_result="${1%/*}${2}" ;;
33692 * ) func_dirname_result="${3}" ;;
33693 esac
33694}
33695
33696# func_basename file
33697func_basename ()
33698{
33699 func_basename_result="${1##*/}"
33700}
33701
33702# func_dirname_and_basename file append nondir_replacement
33703# perform func_basename and func_dirname in a single function
33704# call:
33705# dirname: Compute the dirname of FILE. If nonempty,
33706# add APPEND to the result, otherwise set result
33707# to NONDIR_REPLACEMENT.
33708# value returned in "$func_dirname_result"
33709# basename: Compute filename of FILE.
33710# value retuned in "$func_basename_result"
33711# Implementation must be kept synchronized with func_dirname
33712# and func_basename. For efficiency, we do not delegate to
33713# those functions but instead duplicate the functionality here.
33714func_dirname_and_basename ()
33715{
33716 case ${1} in
33717 */*) func_dirname_result="${1%/*}${2}" ;;
33718 * ) func_dirname_result="${3}" ;;
33719 esac
33720 func_basename_result="${1##*/}"
33721}
33722
33723# func_stripname prefix suffix name
33724# strip PREFIX and SUFFIX off of NAME.
33725# PREFIX and SUFFIX must not contain globbing or regex special
33726# characters, hashes, percent signs, but SUFFIX may contain a leading
33727# dot (in which case that matches only a dot).
33728func_stripname ()
33729{
33730 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33731 # positional parameters, so assign one to ordinary parameter first.
33732 func_stripname_result=${3}
33733 func_stripname_result=${func_stripname_result#"${1}"}
33734 func_stripname_result=${func_stripname_result%"${2}"}
33735}
33736
33737# func_opt_split
33738func_opt_split ()
33739{
33740 func_opt_split_opt=${1%%=*}
33741 func_opt_split_arg=${1#*=}
33742}
33743
33744# func_lo2o object
33745func_lo2o ()
33746{
33747 case ${1} in
33748 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
33749 *) func_lo2o_result=${1} ;;
33750 esac
33751}
33752
33753# func_xform libobj-or-source
33754func_xform ()
33755{
33756 func_xform_result=${1%.*}.lo
33757}
33758
33759# func_arith arithmetic-term...
33760func_arith ()
33761{
33762 func_arith_result=$(( $* ))
33763}
33764
33765# func_len string
33766# STRING may not start with a hyphen.
33767func_len ()
33768{
33769 func_len_result=${#1}
33770}
33771
33772_LT_EOF
33773 ;;
33774 *) # Bourne compatible functions.
33775 cat << \_LT_EOF >> "$cfgfile"
33776
33777# func_dirname file append nondir_replacement
33778# Compute the dirname of FILE. If nonempty, add APPEND to the result,
33779# otherwise set result to NONDIR_REPLACEMENT.
33780func_dirname ()
33781{
33782 # Extract subdirectory from the argument.
33783 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
33784 if test "X$func_dirname_result" = "X${1}"; then
33785 func_dirname_result="${3}"
33786 else
33787 func_dirname_result="$func_dirname_result${2}"
33788 fi
33789}
33790
33791# func_basename file
33792func_basename ()
33793{
33794 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
33795}
33796
33797
33798# func_stripname prefix suffix name
33799# strip PREFIX and SUFFIX off of NAME.
33800# PREFIX and SUFFIX must not contain globbing or regex special
33801# characters, hashes, percent signs, but SUFFIX may contain a leading
33802# dot (in which case that matches only a dot).
33803# func_strip_suffix prefix name
33804func_stripname ()
33805{
33806 case ${2} in
33807 .*) func_stripname_result=`$ECHO "X${3}" \
33808 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
33809 *) func_stripname_result=`$ECHO "X${3}" \
33810 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
33811 esac
33812}
33813
33814# sed scripts:
33815my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
33816my_sed_long_arg='1s/^-[^=]*=//'
33817
33818# func_opt_split
33819func_opt_split ()
33820{
33821 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
33822 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
33823}
33824
33825# func_lo2o object
33826func_lo2o ()
33827{
33828 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
33829}
33830
33831# func_xform libobj-or-source
33832func_xform ()
33833{
33834 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
33835}
33836
33837# func_arith arithmetic-term...
33838func_arith ()
33839{
33840 func_arith_result=`expr "$@"`
33841}
33842
33843# func_len string
33844# STRING may not start with a hyphen.
33845func_len ()
33846{
33847 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33848}
33849
33850_LT_EOF
33851esac
33852
33853case $lt_shell_append in
33854 yes)
33855 cat << \_LT_EOF >> "$cfgfile"
33856
33857# func_append var value
33858# Append VALUE to the end of shell variable VAR.
33859func_append ()
33860{
33861 eval "$1+=\$2"
33862}
33863_LT_EOF
33864 ;;
33865 *)
33866 cat << \_LT_EOF >> "$cfgfile"
33867
33868# func_append var value
33869# Append VALUE to the end of shell variable VAR.
33870func_append ()
33871{
33872 eval "$1=\$$1\$2"
33873}
33874
33875_LT_EOF
33876 ;;
33877 esac
33878
33879
33880 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33881 || (rm -f "$cfgfile"; exit 1)
33882
33883 mv -f "$cfgfile" "$ofile" ||
33884 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33885 chmod +x "$ofile"
33886
33887
33888 cat <<_LT_EOF >> "$ofile"
33889
33890# ### BEGIN LIBTOOL TAG CONFIG: CXX
33891
33892# The linker used to build libraries.
33893LD=$lt_LD_CXX
33894
33895# Commands used to build an old-style archive.
33896old_archive_cmds=$lt_old_archive_cmds_CXX
33897
33898# A language specific compiler.
33899CC=$lt_compiler_CXX
33900
33901# Is the compiler the GNU compiler?
33902with_gcc=$GCC_CXX
33903
33904# Compiler flag to turn off builtin functions.
33905no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
33906
33907# How to pass a linker flag through the compiler.
33908wl=$lt_lt_prog_compiler_wl_CXX
33909
33910# Additional compiler flags for building library objects.
33911pic_flag=$lt_lt_prog_compiler_pic_CXX
33912
33913# Compiler flag to prevent dynamic linking.
33914link_static_flag=$lt_lt_prog_compiler_static_CXX
33915
33916# Does compiler simultaneously support -c and -o options?
33917compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
33918
33919# Whether or not to add -lc for building shared libraries.
33920build_libtool_need_lc=$archive_cmds_need_lc_CXX
33921
33922# Whether or not to disallow shared libs when runtime libs are static.
33923allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
33924
33925# Compiler flag to allow reflexive dlopens.
33926export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
33927
33928# Compiler flag to generate shared objects directly from archives.
33929whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
33930
33931# Whether the compiler copes with passing no objects directly.
33932compiler_needs_object=$lt_compiler_needs_object_CXX
33933
33934# Create an old-style archive from a shared archive.
33935old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
33936
33937# Create a temporary old-style archive to link instead of a shared archive.
33938old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
33939
33940# Commands used to build a shared archive.
33941archive_cmds=$lt_archive_cmds_CXX
33942archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
33943
33944# Commands used to build a loadable module if different from building
33945# a shared archive.
33946module_cmds=$lt_module_cmds_CXX
33947module_expsym_cmds=$lt_module_expsym_cmds_CXX
33948
33949# Whether we are building with GNU ld or not.
33950with_gnu_ld=$lt_with_gnu_ld_CXX
33951
33952# Flag that allows shared libraries with undefined symbols to be built.
33953allow_undefined_flag=$lt_allow_undefined_flag_CXX
33954
33955# Flag that enforces no undefined symbols.
33956no_undefined_flag=$lt_no_undefined_flag_CXX
33957
33958# Flag to hardcode \$libdir into a binary during linking.
33959# This must work even if \$libdir does not exist
33960hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
33961
33962# If ld is used when linking, flag to hardcode \$libdir into a binary
33963# during linking. This must work even if \$libdir does not exist.
33964hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
33965
33966# Whether we need a single "-rpath" flag with a separated argument.
33967hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
33968
33969# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33970# DIR into the resulting binary.
33971hardcode_direct=$hardcode_direct_CXX
33972
33973# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33974# DIR into the resulting binary and the resulting library dependency is
33975# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33976# library is relocated.
33977hardcode_direct_absolute=$hardcode_direct_absolute_CXX
33978
33979# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33980# into the resulting binary.
33981hardcode_minus_L=$hardcode_minus_L_CXX
33982
33983# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33984# into the resulting binary.
33985hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
33986
33987# Set to "yes" if building a shared library automatically hardcodes DIR
33988# into the library and all subsequent libraries and executables linked
33989# against it.
33990hardcode_automatic=$hardcode_automatic_CXX
33991
33992# Set to yes if linker adds runtime paths of dependent libraries
33993# to runtime path list.
33994inherit_rpath=$inherit_rpath_CXX
33995
33996# Whether libtool must link a program against all its dependency libraries.
33997link_all_deplibs=$link_all_deplibs_CXX
33998
33999# Fix the shell variable \$srcfile for the compiler.
34000fix_srcfile_path=$lt_fix_srcfile_path_CXX
34001
34002# Set to "yes" if exported symbols are required.
34003always_export_symbols=$always_export_symbols_CXX
34004
34005# The commands to list exported symbols.
34006export_symbols_cmds=$lt_export_symbols_cmds_CXX
34007
34008# Symbols that should not be listed in the preloaded symbols.
34009exclude_expsyms=$lt_exclude_expsyms_CXX
34010
34011# Symbols that must always be exported.
34012include_expsyms=$lt_include_expsyms_CXX
34013
34014# Commands necessary for linking programs (against libraries) with templates.
34015prelink_cmds=$lt_prelink_cmds_CXX
34016
34017# Specify filename containing input files.
34018file_list_spec=$lt_file_list_spec_CXX
34019
34020# How to hardcode a shared library path into an executable.
34021hardcode_action=$hardcode_action_CXX
34022
34023# The directories searched by this compiler when creating a shared library.
34024compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
34025
34026# Dependencies to place before and after the objects being linked to
34027# create a shared library.
34028predep_objects=$lt_predep_objects_CXX
34029postdep_objects=$lt_postdep_objects_CXX
34030predeps=$lt_predeps_CXX
34031postdeps=$lt_postdeps_CXX
34032
34033# The library search path used internally by the compiler when linking
34034# a shared library.
34035compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
34036
34037# ### END LIBTOOL TAG CONFIG: CXX
34038_LT_EOF
34039
34040 ;;
34041 "po-directories":C)
34042 for ac_file in $CONFIG_FILES; do
34043 # Support "outfile[:infile[:infile...]]"
34044 case "$ac_file" in
34045 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
34046 esac
34047 # PO directories have a Makefile.in generated from Makefile.in.in.
34048 case "$ac_file" in */Makefile.in)
34049 # Adjust a relative srcdir.
34050 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
34051 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
34052 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
34053 # In autoconf-2.13 it is called $ac_given_srcdir.
34054 # In autoconf-2.50 it is called $srcdir.
34055 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
34056 case "$ac_given_srcdir" in
34057 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
34058 /*) top_srcdir="$ac_given_srcdir" ;;
34059 *) top_srcdir="$ac_dots$ac_given_srcdir" ;;
34060 esac
34061 # Treat a directory as a PO directory if and only if it has a
34062 # POTFILES.in file. This allows packages to have multiple PO
34063 # directories under different names or in different locations.
34064 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
34065 rm -f "$ac_dir/POTFILES"
34066 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
34067 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
34068 POMAKEFILEDEPS="POTFILES.in"
34069 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
34070 # on $ac_dir but don't depend on user-specified configuration
34071 # parameters.
34072 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
34073 # The LINGUAS file contains the set of available languages.
34074 if test -n "$OBSOLETE_ALL_LINGUAS"; then
34075 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
34076 fi
34077 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
34078 # Hide the ALL_LINGUAS assigment from automake < 1.5.
34079 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
34080 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
34081 else
34082 # The set of available languages was given in configure.in.
34083 # Hide the ALL_LINGUAS assigment from automake < 1.5.
34084 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
34085 fi
34086 # Compute POFILES
34087 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
34088 # Compute UPDATEPOFILES
34089 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
34090 # Compute DUMMYPOFILES
34091 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
34092 # Compute GMOFILES
34093 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
34094 case "$ac_given_srcdir" in
34095 .) srcdirpre= ;;
34096 *) srcdirpre='$(srcdir)/' ;;
34097 esac
34098 POFILES=
34099 UPDATEPOFILES=
34100 DUMMYPOFILES=
34101 GMOFILES=
34102 for lang in $ALL_LINGUAS; do
34103 POFILES="$POFILES $srcdirpre$lang.po"
34104 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
34105 DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
34106 GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
34107 done
34108 # CATALOGS depends on both $ac_dir and the user's LINGUAS
34109 # environment variable.
34110 INST_LINGUAS=
34111 if test -n "$ALL_LINGUAS"; then
34112 for presentlang in $ALL_LINGUAS; do
34113 useit=no
34114 if test "%UNSET%" != "$LINGUAS"; then
34115 desiredlanguages="$LINGUAS"
34116 else
34117 desiredlanguages="$ALL_LINGUAS"
34118 fi
34119 for desiredlang in $desiredlanguages; do
34120 # Use the presentlang catalog if desiredlang is
34121 # a. equal to presentlang, or
34122 # b. a variant of presentlang (because in this case,
34123 # presentlang can be used as a fallback for messages
34124 # which are not translated in the desiredlang catalog).
34125 case "$desiredlang" in
34126 "$presentlang"*) useit=yes;;
34127 esac
34128 done
34129 if test $useit = yes; then
34130 INST_LINGUAS="$INST_LINGUAS $presentlang"
34131 fi
34132 done
34133 fi
34134 CATALOGS=
34135 if test -n "$INST_LINGUAS"; then
34136 for lang in $INST_LINGUAS; do
34137 CATALOGS="$CATALOGS $lang.gmo"
34138 done
34139 fi
34140 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
34141 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"
34142 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
34143 if test -f "$f"; then
34144 case "$f" in
34145 *.orig | *.bak | *~) ;;
34146 *) cat "$f" >> "$ac_dir/Makefile" ;;
34147 esac
34148 fi
34149 done
34150 fi
34151 ;;
34152 esac
34153 done ;;
34154
34155 esac
34156done # for ac_tag
34157
34158
34159as_fn_exit 0
34160_ACEOF
34161ac_clean_files=$ac_clean_files_save
34162
34163test $ac_write_fail = 0 ||
34164 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
34165
34166
34167# configure is writing to config.log, and then calls config.status.
34168# config.status does its own redirection, appending to config.log.
34169# Unfortunately, on DOS this fails, as config.log is still kept open
34170# by configure, so config.status won't be able to write to it; its
34171# output is simply discarded. So we exec the FD to /dev/null,
34172# effectively closing config.log, so it can be properly (re)opened and
34173# appended to by config.status. When coming back to configure, we
34174# need to make the FD available again.
34175if test "$no_create" != yes; then
34176 ac_cs_success=:
34177 ac_config_status_args=
34178 test "$silent" = yes &&
34179 ac_config_status_args="$ac_config_status_args --quiet"
34180 exec 5>/dev/null
34181 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
34182 exec 5>>config.log
34183 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34184 # would make configure fail if this is the last instruction.
34185 $ac_cs_success || as_fn_exit 1
34186fi
34187if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
34188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34189$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
34190fi
34191
34192
34193echo
34194echo "$PACKAGE $VERSION"
34195echo
34196echo "Optional Modules:"
34197echo
34198echo " Core:"
34199echo
34200echo " Ecore........................: always"
34201echo " Thread support.............: $have_threads"
34202echo " Thread safety..............: $want_thread_safety"
34203echo " GLib support...............: $have_glib"
34204echo " Always integrate GLib......: $want_glib_integration_always"
34205echo " Use g_main_loop............: $want_g_main_loop"
34206echo " Gathering memory statistic.: $have_mallinfo"
34207echo " Gathering timer allocation.: $want_ecore_timer_dump"
34208echo " Ecore_Con....................: $have_ecore_con"
34209if test "x$have_ecore_con" = "xyes" ; then
34210 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
34211if test "x$have_gnutls" = "xyes" ; then
34212 echo " (disabled)"
34213else
34214 echo
34215fi
34216 echo " IPv6.......................: $have_ipv6"
34217 echo " GnuTLS.....................: $have_gnutls"
34218 echo " CURL.......................: $have_curl"
34219 echo " Local Sockets..............: $want_ecore_con_local_sockets"
34220if test "x$want_ecore_con_local_sockets" = "xyes" ; then
34221 echo " Abstract Sockets.........: $want_ecore_con_abstract_sockets"
34222fi
34223 echo " c-ares.....................: $have_cares"
34224fi
34225echo " Ecore_Ipc....................: $have_ecore_ipc"
34226if test "x$have_ecore_ipc" = "xyes" ; then
34227 echo $ECHO_N " OpenSSL....................: $have_openssl $ECHO_C"
34228if test "x$have_gnutls" = "xyes" ; then
34229 echo " (disabled)"
34230else
34231 echo
34232fi
34233 echo " GnuTLS.....................: $have_gnutls"
34234fi
34235echo " Ecore_File...................: $have_ecore_file"
34236if test "x$have_ecore_file" = "xyes" ; then
34237 echo " Inotify....................: $have_inotify"
34238 echo " Windows notification.......: $have_notify_win32"
34239 echo " Poll.......................: $have_poll"
34240 echo " CURL.......................: $have_curl"
34241fi
34242#echo " Ecore_Config.................: $have_ecore_config (deprecated)"
34243echo " Ecore_IMF....................: $have_ecore_imf"
34244echo " XIM........................: $have_ecore_imf_xim"
34245echo " SCIM.......................: $have_ecore_imf_scim"
34246echo " Ecore_IMF_Evas...............: $have_ecore_imf_evas"
34247echo " Ecore_Input..................: $have_ecore_input"
34248echo " Ecore_Input_Evas.............: $have_ecore_input_evas"
34249
34250echo
34251echo " Graphic systems:"
34252echo
34253
34254if test "x$have_ecore_x" = "xyes" ; then
34255 if test "x$have_ecore_x_xcb" = "xyes" ; then
34256 echo " Ecore_X (XCB backend)........: $have_ecore_x_xcb"
34257 echo " Xprint.....................: $have_ecore_x_xcb_xprint"
34258 echo " Xinerama...................: $have_ecore_x_xcb_xinerama"
34259 echo " Xrandr.....................: $have_ecore_x_xcb_randr"
34260 echo " Xscreensaver...............: $have_ecore_x_xcb_screensaver"
34261 echo " Xshape.....................: $have_ecore_x_xcb_shape"
34262 echo " Xgesture...................: $have_ecore_x_xcb_gesture"
34263 echo " Xsync......................: $have_ecore_x_xcb_sync"
34264 echo " Xrender....................: $have_ecore_x_xcb_render"
34265 echo " Xcomposite.................: $have_ecore_x_xcb_composite"
34266 echo " Xfixes.....................: $have_ecore_x_xcb_xfixes"
34267 echo " Xdamage....................: $have_ecore_x_xcb_damage"
34268 echo " Xdpms......................: $have_ecore_x_xcb_dpms"
34269 echo " Xtest......................: $have_ecore_x_xcb_xtest"
34270 else
34271 echo " Ecore_X (Xlib backend).......: $have_ecore_x"
34272 echo " Xcursor....................: $use_Xcursor"
34273 echo " Xkb........................: $use_xkb"
34274 echo " Xprint.....................: $use_xprint"
34275 echo " Xinerama...................: $use_xinerama"
34276 echo " Xrandr.....................: $use_xrandr"
34277 echo " Xgesture...................: $use_xgesture"
34278 echo " Xscreensaver...............: $use_xss"
34279 echo " Xrender....................: $use_xrender"
34280 echo " Xcomposite.................: $use_xcomposite"
34281 echo " Xfixes.....................: $use_xfixes"
34282 echo " Xdamage....................: $use_xdamage"
34283 echo " Xdpms......................: $use_xdpms"
34284 echo " Xtest......................: $use_xtest"
34285 echo " XIM........................: $want_xim"
34286 echo " Xi2........................: $use_xi2"
34287 fi
34288else
34289 echo " Ecore_X......................: $have_ecore_x"
34290fi
34291echo " Ecore_Win32..................: $have_ecore_win32"
34292echo " Ecore_Cocoa..................: $have_ecore_cocoa"
34293echo " Ecore_SDL....................: $have_ecore_sdl"
34294echo " Ecore_FB.....................: $have_ecore_fb"
34295if test "x${have_ecore_fb}" = "xyes" ; then
34296 echo " Touchscreen................: $have_tslib"
34297fi
34298echo " Ecore_DirectFB...............: $have_ecore_directfb"
34299echo " Ecore_WinCE..................: $have_ecore_wince"
34300echo " Ecore_PSL1GHT................: $have_ecore_psl1ght"
34301echo " Ecore_Wayland................: $have_ecore_wayland"
34302
34303echo
34304echo " Ecore Evas:"
34305echo
34306
34307echo " Ecore_Evas...................: $have_ecore_evas"
34308if test "x${have_ecore_evas}" = "xyes" ; then
34309 echo " Software Memory Buffer.....: $have_ecore_evas_software_buffer"
34310 if test "x${have_ecore_evas_software_x11}" = "xyes" ; then
34311 echo " Software X11...............: $have_ecore_evas_software_x11 (Xlib=${have_ecore_evas_software_xlib}) (XCB=${have_ecore_evas_software_xcb})"
34312 else
34313 echo " Software X11...............: $have_ecore_evas_software_x11"
34314 fi
34315 if test "x${have_ecore_evas_opengl_x11}" = "xyes" ; then
34316 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11 (Xlib=${have_ecore_evas_opengl_xlib}) (XCB=${have_ecore_evas_opengl_xcb})"
34317 else
34318 echo " OpenGL X11.................: $have_ecore_evas_opengl_x11"
34319 fi
34320 echo " Software GDI...............: $have_ecore_evas_software_gdi"
34321 echo " Software DirectDraw........: $have_ecore_evas_software_ddraw"
34322 echo " Direct3D...................: $have_ecore_evas_direct3d"
34323 echo " OpenGL Glew................: $have_ecore_evas_opengl_glew"
34324 echo " Software SDL...............: $have_ecore_evas_software_sdl"
34325 echo " OpenGL SDL.................: $have_ecore_evas_opengl_sdl"
34326 echo " OpenGL Cocoa...............: $have_ecore_evas_opengl_cocoa"
34327 echo " DirectFB...................: $have_ecore_evas_directfb"
34328 echo " PSL1GHT....................: $have_ecore_evas_psl1ght"
34329 echo " Software Framebuffer.......: $have_ecore_evas_fb"
34330 echo " Software 8bit grayscale XCB: $have_ecore_evas_software_8_x11"
34331 echo " Software 16bit X11.........: $have_ecore_evas_software_16_x11"
34332 echo " Software 16bit DirectDraw..: $have_ecore_evas_software_16_ddraw"
34333 echo " Software 16bit WinCE.......: $have_ecore_evas_software_16_wince"
34334 echo " Sing.Proc. Windowing System: $have_ecore_evas_ews"
34335 echo " Wayland Shm................: $have_ecore_evas_wayland_shm"
34336 echo " Wayland Egl................: $have_ecore_evas_wayland_egl"
34337 echo " Extn (Plug/socket Extn)....: $have_ecore_evas_extn"
34338fi
34339echo
34340echo " Tests................: ${enable_tests}"
34341echo " Maximum log level....: ${with_max_log_level}"
34342echo "Documentation..........: ${build_doc}"
34343echo
34344echo "Compilation............: make (or gmake)"
34345echo " CPPFLAGS.............: $CPPFLAGS"
34346echo " CFLAGS...............: $CFLAGS"
34347echo " CXXFLAGS.............: $CXXFLAGS"
34348echo " LDFLAGS..............: $LDFLAGS"
34349echo
34350echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
34351echo " prefix...............: $prefix"
34352echo