aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/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/evas/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/evas/configure')
-rwxr-xr-xlibraries/evas/configure36059
1 files changed, 0 insertions, 36059 deletions
diff --git a/libraries/evas/configure b/libraries/evas/configure
deleted file mode 100755
index f2e24f4..0000000
--- a/libraries/evas/configure
+++ /dev/null
@@ -1,36059 +0,0 @@
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67 for evas 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='evas'
703PACKAGE_TARNAME='evas'
704PACKAGE_VERSION='1.2.0-alpha'
705PACKAGE_STRING='evas 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
746ac_subst_vars='am__EXEEXT_FALSE
747am__EXEEXT_TRUE
748LTLIBOBJS
749LIBOBJS
750requirement_evas
751pthread_libs
752pthread_cflags
753altivec_cflags
754EVAS_LIBS
755EVAS_CFLAGS
756EFL_ENABLE_COVERAGE_FALSE
757EFL_ENABLE_COVERAGE_TRUE
758EFL_COVERAGE_LIBS
759EFL_COVERAGE_CFLAGS
760have_lcov
761EFL_ENABLE_TESTS_FALSE
762EFL_ENABLE_TESTS_TRUE
763CHECK_LIBS
764CHECK_CFLAGS
765BUILD_EXAMPLES_FALSE
766BUILD_EXAMPLES_TRUE
767edje_cc
768EDJE_LIBS
769EDJE_CFLAGS
770ECORE_EVAS_LIBS
771ECORE_EVAS_CFLAGS
772INSTALL_EXAMPLES_FALSE
773INSTALL_EXAMPLES_TRUE
774VALGRIND_LIBS
775VALGRIND_CFLAGS
776METRIC_CACHE_FALSE
777METRIC_CACHE_TRUE
778WORD_CACHE_FALSE
779WORD_CACHE_TRUE
780EVAS_MAGIC_DEBUG_FALSE
781EVAS_MAGIC_DEBUG_TRUE
782EVAS_SSE3_CFLAGS
783XEXT_LIBS
784XEXT_CFLAGS
785EVAS_STATIC_BUILD_GENERIC_FALSE
786EVAS_STATIC_BUILD_GENERIC_TRUE
787BUILD_LOADER_GENERIC_FALSE
788BUILD_LOADER_GENERIC_TRUE
789evas_image_loader_generic_libs
790evas_image_loader_generic_cflags
791EVAS_STATIC_BUILD_PSD_FALSE
792EVAS_STATIC_BUILD_PSD_TRUE
793BUILD_LOADER_PSD_FALSE
794BUILD_LOADER_PSD_TRUE
795evas_image_loader_psd_libs
796evas_image_loader_psd_cflags
797EVAS_STATIC_BUILD_ICO_FALSE
798EVAS_STATIC_BUILD_ICO_TRUE
799BUILD_LOADER_ICO_FALSE
800BUILD_LOADER_ICO_TRUE
801evas_image_loader_ico_libs
802evas_image_loader_ico_cflags
803EVAS_STATIC_BUILD_WBMP_FALSE
804EVAS_STATIC_BUILD_WBMP_TRUE
805BUILD_LOADER_WBMP_FALSE
806BUILD_LOADER_WBMP_TRUE
807evas_image_loader_wbmp_libs
808evas_image_loader_wbmp_cflags
809EVAS_STATIC_BUILD_TGA_FALSE
810EVAS_STATIC_BUILD_TGA_TRUE
811BUILD_LOADER_TGA_FALSE
812BUILD_LOADER_TGA_TRUE
813evas_image_loader_tga_libs
814evas_image_loader_tga_cflags
815EVAS_STATIC_BUILD_BMP_FALSE
816EVAS_STATIC_BUILD_BMP_TRUE
817BUILD_LOADER_BMP_FALSE
818BUILD_LOADER_BMP_TRUE
819evas_image_loader_bmp_libs
820evas_image_loader_bmp_cflags
821EVAS_STATIC_BUILD_XPM_FALSE
822EVAS_STATIC_BUILD_XPM_TRUE
823BUILD_LOADER_XPM_FALSE
824BUILD_LOADER_XPM_TRUE
825evas_image_loader_xpm_libs
826evas_image_loader_xpm_cflags
827EVAS_STATIC_BUILD_TIFF_FALSE
828EVAS_STATIC_BUILD_TIFF_TRUE
829BUILD_LOADER_TIFF_FALSE
830BUILD_LOADER_TIFF_TRUE
831evas_image_loader_tiff_libs
832evas_image_loader_tiff_cflags
833EVAS_STATIC_BUILD_SVG_FALSE
834EVAS_STATIC_BUILD_SVG_TRUE
835BUILD_LOADER_SVG_FALSE
836BUILD_LOADER_SVG_TRUE
837evas_image_loader_svg_libs
838evas_image_loader_svg_cflags
839SVG_LIBS
840SVG_CFLAGS
841EVAS_STATIC_BUILD_PNG_FALSE
842EVAS_STATIC_BUILD_PNG_TRUE
843BUILD_LOADER_PNG_FALSE
844BUILD_LOADER_PNG_TRUE
845evas_image_loader_png_libs
846evas_image_loader_png_cflags
847PNG_LIBS
848PNG_CFLAGS
849EVAS_STATIC_BUILD_PMAPS_FALSE
850EVAS_STATIC_BUILD_PMAPS_TRUE
851BUILD_LOADER_PMAPS_FALSE
852BUILD_LOADER_PMAPS_TRUE
853evas_image_loader_pmaps_libs
854evas_image_loader_pmaps_cflags
855BUILD_SAVER_JPEG_FALSE
856BUILD_SAVER_JPEG_TRUE
857EVAS_STATIC_BUILD_JPEG_FALSE
858EVAS_STATIC_BUILD_JPEG_TRUE
859BUILD_LOADER_JPEG_FALSE
860BUILD_LOADER_JPEG_TRUE
861evas_image_loader_jpeg_libs
862evas_image_loader_jpeg_cflags
863EVAS_STATIC_BUILD_GIF_FALSE
864EVAS_STATIC_BUILD_GIF_TRUE
865BUILD_LOADER_GIF_FALSE
866BUILD_LOADER_GIF_TRUE
867evas_image_loader_gif_libs
868evas_image_loader_gif_cflags
869EVAS_STATIC_BUILD_EET_FALSE
870EVAS_STATIC_BUILD_EET_TRUE
871BUILD_LOADER_EET_FALSE
872BUILD_LOADER_EET_TRUE
873evas_image_loader_eet_libs
874evas_image_loader_eet_cflags
875EET_LIBS
876EET_CFLAGS
877EVAS_STATIC_BUILD_EDB_FALSE
878EVAS_STATIC_BUILD_EDB_TRUE
879BUILD_LOADER_EDB_FALSE
880BUILD_LOADER_EDB_TRUE
881evas_image_loader_edb_libs
882evas_image_loader_edb_cflags
883EDB_LIBS
884EDB_CFLAGS
885EVAS_STATIC_BUILD_SOFTWARE_8_FALSE
886EVAS_STATIC_BUILD_SOFTWARE_8_TRUE
887BUILD_ENGINE_SOFTWARE_8_FALSE
888BUILD_ENGINE_SOFTWARE_8_TRUE
889EVAS_STATIC_BUILD_SOFTWARE_16_FALSE
890EVAS_STATIC_BUILD_SOFTWARE_16_TRUE
891BUILD_ENGINE_SOFTWARE_16_FALSE
892BUILD_ENGINE_SOFTWARE_16_TRUE
893EVAS_STATIC_BUILD_GL_COMMON_FALSE
894EVAS_STATIC_BUILD_GL_COMMON_TRUE
895BUILD_ENGINE_GL_COMMON_FALSE
896BUILD_ENGINE_GL_COMMON_TRUE
897evas_engine_gl_common_libs
898have_evas_engine_gl_x11
899EVAS_STATIC_BUILD_GL_X11_FALSE
900EVAS_STATIC_BUILD_GL_X11_TRUE
901BUILD_ENGINE_GL_X11_FALSE
902BUILD_ENGINE_GL_X11_TRUE
903have_evas_engine_gl_xlib
904EVAS_STATIC_BUILD_GL_XLIB_FALSE
905EVAS_STATIC_BUILD_GL_XLIB_TRUE
906BUILD_ENGINE_GL_XLIB_FALSE
907BUILD_ENGINE_GL_XLIB_TRUE
908evas_engine_gl_xlib_libs
909evas_engine_gl_xlib_cflags
910have_evas_engine_gl_xcb
911EVAS_STATIC_BUILD_GL_XCB_FALSE
912EVAS_STATIC_BUILD_GL_XCB_TRUE
913BUILD_ENGINE_GL_XCB_FALSE
914BUILD_ENGINE_GL_XCB_TRUE
915evas_engine_gl_xcb_libs
916evas_engine_gl_xcb_cflags
917XCB_GL_LIBS
918XCB_GL_CFLAGS
919have_evas_engine_software_x11
920EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE
921EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE
922BUILD_ENGINE_SOFTWARE_X11_FALSE
923BUILD_ENGINE_SOFTWARE_X11_TRUE
924have_evas_engine_software_xlib
925have_evas_engine_software_xcb
926EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE
927EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE
928BUILD_ENGINE_SOFTWARE_XLIB_FALSE
929BUILD_ENGINE_SOFTWARE_XLIB_TRUE
930evas_engine_software_xlib_libs
931evas_engine_software_xlib_cflags
932EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE
933EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE
934BUILD_ENGINE_SOFTWARE_XCB_FALSE
935BUILD_ENGINE_SOFTWARE_XCB_TRUE
936evas_engine_software_xcb_libs
937evas_engine_software_xcb_cflags
938EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE
939EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE
940EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE
941EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE
942BUILD_ENGINE_WAYLAND_EGL_FALSE
943BUILD_ENGINE_WAYLAND_EGL_TRUE
944evas_engine_wayland_egl_libs
945evas_engine_wayland_egl_cflags
946WAYLAND_EGL_LIBS
947WAYLAND_EGL_CFLAGS
948EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE
949EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE
950BUILD_ENGINE_WAYLAND_SHM_FALSE
951BUILD_ENGINE_WAYLAND_SHM_TRUE
952evas_engine_wayland_shm_libs
953evas_engine_wayland_shm_cflags
954EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE
955EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE
956BUILD_ENGINE_SOFTWARE_16_SDL_FALSE
957BUILD_ENGINE_SOFTWARE_16_SDL_TRUE
958evas_engine_software_16_sdl_libs
959evas_engine_software_16_sdl_cflags
960EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE
961EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE
962BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE
963BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE
964evas_engine_software_16_wince_libs
965evas_engine_software_16_wince_cflags
966EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE
967EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE
968BUILD_ENGINE_SOFTWARE_16_DDRAW_FALSE
969BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE
970evas_engine_software_16_ddraw_libs
971evas_engine_software_16_ddraw_cflags
972EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE
973EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE
974BUILD_ENGINE_SOFTWARE_16_X11_FALSE
975BUILD_ENGINE_SOFTWARE_16_X11_TRUE
976evas_engine_software_16_x11_libs
977evas_engine_software_16_x11_cflags
978X_EXTRA_LIBS
979X_LIBS
980X_PRE_LIBS
981X_CFLAGS
982XMKMF
983EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE
984EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE
985BUILD_ENGINE_SOFTWARE_8_X11_FALSE
986BUILD_ENGINE_SOFTWARE_8_X11_TRUE
987evas_engine_software_8_x11_libs
988evas_engine_software_8_x11_cflags
989XCB_LIBS
990XCB_CFLAGS
991EVAS_STATIC_BUILD_DIRECTFB_FALSE
992EVAS_STATIC_BUILD_DIRECTFB_TRUE
993BUILD_ENGINE_DIRECTFB_FALSE
994BUILD_ENGINE_DIRECTFB_TRUE
995evas_engine_directfb_libs
996evas_engine_directfb_cflags
997DIRECTFB_LIBS
998DIRECTFB_CFLAGS
999EVAS_STATIC_BUILD_FB_FALSE
1000EVAS_STATIC_BUILD_FB_TRUE
1001BUILD_ENGINE_FB_FALSE
1002BUILD_ENGINE_FB_TRUE
1003evas_engine_fb_libs
1004evas_engine_fb_cflags
1005EVAS_STATIC_BUILD_GL_COCOA_FALSE
1006EVAS_STATIC_BUILD_GL_COCOA_TRUE
1007BUILD_ENGINE_GL_COCOA_FALSE
1008BUILD_ENGINE_GL_COCOA_TRUE
1009evas_engine_gl_cocoa_libs
1010evas_engine_gl_cocoa_cflags
1011GL_EET_LIBS
1012GL_EET_CFLAGS
1013EVAS_STATIC_BUILD_GL_SDL_FALSE
1014EVAS_STATIC_BUILD_GL_SDL_TRUE
1015BUILD_ENGINE_GL_SDL_FALSE
1016BUILD_ENGINE_GL_SDL_TRUE
1017evas_engine_gl_sdl_libs
1018evas_engine_gl_sdl_cflags
1019SDL_LIBS
1020SDL_CFLAGS
1021EVAS_STATIC_BUILD_PSL1GHT_FALSE
1022EVAS_STATIC_BUILD_PSL1GHT_TRUE
1023BUILD_ENGINE_PSL1GHT_FALSE
1024BUILD_ENGINE_PSL1GHT_TRUE
1025evas_engine_psl1ght_libs
1026evas_engine_psl1ght_cflags
1027EVAS_STATIC_BUILD_DIRECT3D_FALSE
1028EVAS_STATIC_BUILD_DIRECT3D_TRUE
1029BUILD_ENGINE_DIRECT3D_FALSE
1030BUILD_ENGINE_DIRECT3D_TRUE
1031evas_engine_direct3d_libs
1032evas_engine_direct3d_cflags
1033EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE
1034EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE
1035BUILD_ENGINE_SOFTWARE_DDRAW_FALSE
1036BUILD_ENGINE_SOFTWARE_DDRAW_TRUE
1037evas_engine_software_ddraw_libs
1038evas_engine_software_ddraw_cflags
1039EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE
1040EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE
1041BUILD_ENGINE_SOFTWARE_GDI_FALSE
1042BUILD_ENGINE_SOFTWARE_GDI_TRUE
1043evas_engine_software_gdi_libs
1044evas_engine_software_gdi_cflags
1045EVAS_STATIC_BUILD_BUFFER_FALSE
1046EVAS_STATIC_BUILD_BUFFER_TRUE
1047BUILD_ENGINE_BUFFER_FALSE
1048BUILD_ENGINE_BUFFER_TRUE
1049evas_engine_buffer_libs
1050evas_engine_buffer_cflags
1051EVAS_CSERVE_FALSE
1052EVAS_CSERVE_TRUE
1053SHM_OPEN_LINK
1054dlopen_libs
1055EFL_FNMATCH_LIBS
1056ALLOCA
1057lt_enable_auto_import
1058PIXMAN_LIBS
1059PIXMAN_CFLAGS
1060HARFBUZZ_LIBS
1061HARFBUZZ_CFLAGS
1062FRIBIDI_LIBS
1063FRIBIDI_CFLAGS
1064LINEBREAK_LIBS
1065LINEBREAK_CFLAGS
1066EVAS_USE_LINEBREAK_FALSE
1067EVAS_USE_LINEBREAK_TRUE
1068FONTCONFIG_LIBS
1069FONTCONFIG_CFLAGS
1070FREETYPE_LIBS
1071FREETYPE_CFLAGS
1072EINA_LIBS
1073EINA_CFLAGS
1074EVAS_HAVE_EXOTIC_FALSE
1075EVAS_HAVE_EXOTIC_TRUE
1076EXOTIC_LIBS
1077EXOTIC_CFLAGS
1078EVIL_LIBS
1079EVIL_CFLAGS
1080EFL_BUILD_DOC_FALSE
1081EFL_BUILD_DOC_TRUE
1082efl_doxygen
1083efl_have_doxygen
1084pkgconfig_requires_private
1085PKG_CONFIG_LIBDIR
1086PKG_CONFIG_PATH
1087PKG_CONFIG
1088CXXCPP
1089am__fastdepCXX_FALSE
1090am__fastdepCXX_TRUE
1091CXXDEPMODE
1092ac_ct_CXX
1093CXXFLAGS
1094CXX
1095am__fastdepOBJC_FALSE
1096am__fastdepOBJC_TRUE
1097OBJCDEPMODE
1098ac_ct_OBJC
1099OBJCFLAGS
1100OBJC
1101MODULE_ARCH
1102VMAJ
1103release_info
1104version_info
1105OTOOL64
1106OTOOL
1107LIPO
1108NMEDIT
1109DSYMUTIL
1110lt_ECHO
1111RANLIB
1112AR
1113LN_S
1114NM
1115ac_ct_DUMPBIN
1116DUMPBIN
1117LD
1118FGREP
1119SED
1120LIBTOOL
1121OBJDUMP
1122DLLTOOL
1123AS
1124host_os
1125host_vendor
1126host_cpu
1127host
1128build_os
1129build_vendor
1130build_cpu
1131build
1132EGREP
1133GREP
1134CPP
1135am__fastdepCC_FALSE
1136am__fastdepCC_TRUE
1137CCDEPMODE
1138AMDEPBACKSLASH
1139AMDEP_FALSE
1140AMDEP_TRUE
1141am__quote
1142am__include
1143DEPDIR
1144OBJEXT
1145EXEEXT
1146ac_ct_CC
1147CPPFLAGS
1148LDFLAGS
1149CFLAGS
1150CC
1151AM_BACKSLASH
1152AM_DEFAULT_VERBOSITY
1153am__untar
1154am__tar
1155AMTAR
1156am__leading_dot
1157SET_MAKE
1158AWK
1159mkdir_p
1160MKDIR_P
1161INSTALL_STRIP_PROGRAM
1162STRIP
1163install_sh
1164MAKEINFO
1165AUTOHEADER
1166AUTOMAKE
1167AUTOCONF
1168ACLOCAL
1169VERSION
1170PACKAGE
1171CYGPATH_W
1172am__isrc
1173INSTALL_DATA
1174INSTALL_SCRIPT
1175INSTALL_PROGRAM
1176target_alias
1177host_alias
1178build_alias
1179LIBS
1180ECHO_T
1181ECHO_N
1182ECHO_C
1183DEFS
1184mandir
1185localedir
1186libdir
1187psdir
1188pdfdir
1189dvidir
1190htmldir
1191infodir
1192docdir
1193oldincludedir
1194includedir
1195localstatedir
1196sharedstatedir
1197sysconfdir
1198datadir
1199datarootdir
1200libexecdir
1201sbindir
1202bindir
1203program_transform_name
1204prefix
1205exec_prefix
1206PACKAGE_URL
1207PACKAGE_BUGREPORT
1208PACKAGE_STRING
1209PACKAGE_VERSION
1210PACKAGE_TARNAME
1211PACKAGE_NAME
1212PATH_SEPARATOR
1213SHELL'
1214ac_subst_files=''
1215ac_user_opts='
1216enable_option_checking
1217enable_silent_rules
1218enable_dependency_tracking
1219enable_shared
1220enable_static
1221with_pic
1222enable_fast_install
1223with_gnu_ld
1224enable_libtool_lock
1225enable_strict
1226enable_simple_x11
1227enable_doc
1228with_doxygen
1229enable_fontconfig
1230enable_liblinebreak
1231enable_fribidi
1232enable_harfbuzz
1233enable_pixman
1234enable_pixman_font
1235enable_pixman_rect
1236enable_pixman_line
1237enable_pixman_poly
1238enable_pixman_image
1239enable_pixman_image_scale_sample
1240enable_tile_rotate
1241enable_evas_cserve
1242enable_gl_flavor_gles
1243enable_gles_variety_sgx
1244enable_gles_variety_s3c6410
1245enable_buffer
1246enable_software_gdi
1247enable_software_ddraw
1248enable_direct3d
1249enable_psl1ght
1250enable_gl_sdl
1251enable_gl_cocoa
1252enable_fb
1253enable_directfb
1254enable_software_8_x11
1255enable_software_16_x11
1256with_x
1257enable_software_16_ddraw
1258enable_software_16_wince
1259enable_software_16_sdl
1260enable_wayland_shm
1261enable_wayland_egl
1262enable_sdl_primitive
1263enable_static_software_generic
1264enable_software_xcb
1265enable_software_xlib
1266enable_gl_xcb
1267enable_gl_xlib
1268enable_static_software_16
1269enable_static_software_8
1270enable_image_loader_edb
1271enable_image_loader_eet
1272enable_font_loader_eet
1273enable_image_loader_gif
1274enable_image_loader_jpeg
1275enable_image_loader_pmaps
1276enable_image_loader_png
1277enable_image_loader_svg
1278enable_image_loader_tiff
1279enable_image_loader_xpm
1280enable_image_loader_bmp
1281enable_image_loader_tga
1282enable_image_loader_wbmp
1283enable_image_loader_ico
1284enable_image_loader_psd
1285enable_image_loader_generic
1286enable_pthreads
1287enable_pipe_render
1288enable_async_render
1289enable_async_events
1290enable_async_preload
1291enable_cpu_mmx
1292enable_cpu_sse
1293enable_cpu_sse3
1294enable_cpu_altivec
1295enable_cpu_neon
1296enable_cpu_c
1297enable_evas_magic_debug
1298enable_word_cache
1299enable_metric_cache
1300enable_scale_sample
1301enable_scale_smooth
1302enable_convert_yuv
1303enable_small_dither_mask
1304enable_line_dither_mask
1305enable_no_dither_mask
1306enable_convert_8_rgb_332
1307enable_convert_8_rgb_666
1308enable_convert_8_rgb_232
1309enable_convert_8_rgb_222
1310enable_convert_8_rgb_221
1311enable_convert_8_rgb_121
1312enable_convert_8_rgb_111
1313enable_convert_16_rgb_565
1314enable_convert_16_bgr_565
1315enable_convert_16_rgb_555
1316enable_convert_16_rgb_444
1317enable_convert_16_rgb_ipq
1318enable_convert_16_rgb_rot_0
1319enable_convert_16_rgb_rot_180
1320enable_convert_16_rgb_rot_270
1321enable_convert_16_rgb_rot_90
1322enable_convert_24_rgb_888
1323enable_convert_24_bgr_888
1324enable_convert_32_rgb_8888
1325enable_convert_32_rgbx_8888
1326enable_convert_32_bgr_8888
1327enable_convert_32_bgrx_8888
1328enable_convert_24_rgb_ezx
1329enable_convert_32_rgb_ezx
1330enable_convert_32_rgb_rot_0
1331enable_convert_32_rgb_rot_180
1332enable_convert_32_rgb_rot_270
1333enable_convert_32_rgb_rot_90
1334enable_convert_8_gry_1
1335enable_convert_8_gry_16
1336enable_convert_8_grayscale_64
1337enable_valgrind
1338enable_install_examples
1339enable_build_examples
1340enable_tests
1341enable_coverage
1342'
1343 ac_precious_vars='build_alias
1344host_alias
1345target_alias
1346CC
1347CFLAGS
1348LDFLAGS
1349LIBS
1350CPPFLAGS
1351CPP
1352OBJC
1353OBJCFLAGS
1354CXX
1355CXXFLAGS
1356CCC
1357CXXCPP
1358PKG_CONFIG
1359PKG_CONFIG_PATH
1360PKG_CONFIG_LIBDIR
1361EVIL_CFLAGS
1362EVIL_LIBS
1363EXOTIC_CFLAGS
1364EXOTIC_LIBS
1365EINA_CFLAGS
1366EINA_LIBS
1367FREETYPE_CFLAGS
1368FREETYPE_LIBS
1369FONTCONFIG_CFLAGS
1370FONTCONFIG_LIBS
1371FRIBIDI_CFLAGS
1372FRIBIDI_LIBS
1373HARFBUZZ_CFLAGS
1374HARFBUZZ_LIBS
1375PIXMAN_CFLAGS
1376PIXMAN_LIBS
1377SDL_CFLAGS
1378SDL_LIBS
1379GL_EET_CFLAGS
1380GL_EET_LIBS
1381DIRECTFB_CFLAGS
1382DIRECTFB_LIBS
1383XCB_CFLAGS
1384XCB_LIBS
1385XMKMF
1386WAYLAND_EGL_CFLAGS
1387WAYLAND_EGL_LIBS
1388XCB_GL_CFLAGS
1389XCB_GL_LIBS
1390EDB_CFLAGS
1391EDB_LIBS
1392EET_CFLAGS
1393EET_LIBS
1394PNG_CFLAGS
1395PNG_LIBS
1396SVG_CFLAGS
1397SVG_LIBS
1398XEXT_CFLAGS
1399XEXT_LIBS
1400VALGRIND_CFLAGS
1401VALGRIND_LIBS
1402ECORE_EVAS_CFLAGS
1403ECORE_EVAS_LIBS
1404EDJE_CFLAGS
1405EDJE_LIBS
1406CHECK_CFLAGS
1407CHECK_LIBS'
1408
1409
1410# Initialize some variables set by options.
1411ac_init_help=
1412ac_init_version=false
1413ac_unrecognized_opts=
1414ac_unrecognized_sep=
1415# The variables have the same names as the options, with
1416# dashes changed to underlines.
1417cache_file=/dev/null
1418exec_prefix=NONE
1419no_create=
1420no_recursion=
1421prefix=NONE
1422program_prefix=NONE
1423program_suffix=NONE
1424program_transform_name=s,x,x,
1425silent=
1426site=
1427srcdir=
1428verbose=
1429x_includes=NONE
1430x_libraries=NONE
1431
1432# Installation directory options.
1433# These are left unexpanded so users can "make install exec_prefix=/foo"
1434# and all the variables that are supposed to be based on exec_prefix
1435# by default will actually change.
1436# Use braces instead of parens because sh, perl, etc. also accept them.
1437# (The list follows the same order as the GNU Coding Standards.)
1438bindir='${exec_prefix}/bin'
1439sbindir='${exec_prefix}/sbin'
1440libexecdir='${exec_prefix}/libexec'
1441datarootdir='${prefix}/share'
1442datadir='${datarootdir}'
1443sysconfdir='${prefix}/etc'
1444sharedstatedir='${prefix}/com'
1445localstatedir='${prefix}/var'
1446includedir='${prefix}/include'
1447oldincludedir='/usr/include'
1448docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1449infodir='${datarootdir}/info'
1450htmldir='${docdir}'
1451dvidir='${docdir}'
1452pdfdir='${docdir}'
1453psdir='${docdir}'
1454libdir='${exec_prefix}/lib'
1455localedir='${datarootdir}/locale'
1456mandir='${datarootdir}/man'
1457
1458ac_prev=
1459ac_dashdash=
1460for ac_option
1461do
1462 # If the previous option needs an argument, assign it.
1463 if test -n "$ac_prev"; then
1464 eval $ac_prev=\$ac_option
1465 ac_prev=
1466 continue
1467 fi
1468
1469 case $ac_option in
1470 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1471 *=) ac_optarg= ;;
1472 *) ac_optarg=yes ;;
1473 esac
1474
1475 # Accept the important Cygnus configure options, so we can diagnose typos.
1476
1477 case $ac_dashdash$ac_option in
1478 --)
1479 ac_dashdash=yes ;;
1480
1481 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1482 ac_prev=bindir ;;
1483 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1484 bindir=$ac_optarg ;;
1485
1486 -build | --build | --buil | --bui | --bu)
1487 ac_prev=build_alias ;;
1488 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1489 build_alias=$ac_optarg ;;
1490
1491 -cache-file | --cache-file | --cache-fil | --cache-fi \
1492 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1493 ac_prev=cache_file ;;
1494 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1495 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1496 cache_file=$ac_optarg ;;
1497
1498 --config-cache | -C)
1499 cache_file=config.cache ;;
1500
1501 -datadir | --datadir | --datadi | --datad)
1502 ac_prev=datadir ;;
1503 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1504 datadir=$ac_optarg ;;
1505
1506 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1507 | --dataroo | --dataro | --datar)
1508 ac_prev=datarootdir ;;
1509 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1510 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1511 datarootdir=$ac_optarg ;;
1512
1513 -disable-* | --disable-*)
1514 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1515 # Reject names that are not valid shell variable names.
1516 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1517 as_fn_error $? "invalid feature name: $ac_useropt"
1518 ac_useropt_orig=$ac_useropt
1519 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1520 case $ac_user_opts in
1521 *"
1522"enable_$ac_useropt"
1523"*) ;;
1524 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1525 ac_unrecognized_sep=', ';;
1526 esac
1527 eval enable_$ac_useropt=no ;;
1528
1529 -docdir | --docdir | --docdi | --doc | --do)
1530 ac_prev=docdir ;;
1531 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1532 docdir=$ac_optarg ;;
1533
1534 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1535 ac_prev=dvidir ;;
1536 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1537 dvidir=$ac_optarg ;;
1538
1539 -enable-* | --enable-*)
1540 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1541 # Reject names that are not valid shell variable names.
1542 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1543 as_fn_error $? "invalid feature name: $ac_useropt"
1544 ac_useropt_orig=$ac_useropt
1545 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1546 case $ac_user_opts in
1547 *"
1548"enable_$ac_useropt"
1549"*) ;;
1550 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1551 ac_unrecognized_sep=', ';;
1552 esac
1553 eval enable_$ac_useropt=\$ac_optarg ;;
1554
1555 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1556 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1557 | --exec | --exe | --ex)
1558 ac_prev=exec_prefix ;;
1559 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1560 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1561 | --exec=* | --exe=* | --ex=*)
1562 exec_prefix=$ac_optarg ;;
1563
1564 -gas | --gas | --ga | --g)
1565 # Obsolete; use --with-gas.
1566 with_gas=yes ;;
1567
1568 -help | --help | --hel | --he | -h)
1569 ac_init_help=long ;;
1570 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1571 ac_init_help=recursive ;;
1572 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1573 ac_init_help=short ;;
1574
1575 -host | --host | --hos | --ho)
1576 ac_prev=host_alias ;;
1577 -host=* | --host=* | --hos=* | --ho=*)
1578 host_alias=$ac_optarg ;;
1579
1580 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1581 ac_prev=htmldir ;;
1582 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1583 | --ht=*)
1584 htmldir=$ac_optarg ;;
1585
1586 -includedir | --includedir | --includedi | --included | --include \
1587 | --includ | --inclu | --incl | --inc)
1588 ac_prev=includedir ;;
1589 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1590 | --includ=* | --inclu=* | --incl=* | --inc=*)
1591 includedir=$ac_optarg ;;
1592
1593 -infodir | --infodir | --infodi | --infod | --info | --inf)
1594 ac_prev=infodir ;;
1595 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1596 infodir=$ac_optarg ;;
1597
1598 -libdir | --libdir | --libdi | --libd)
1599 ac_prev=libdir ;;
1600 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1601 libdir=$ac_optarg ;;
1602
1603 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1604 | --libexe | --libex | --libe)
1605 ac_prev=libexecdir ;;
1606 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1607 | --libexe=* | --libex=* | --libe=*)
1608 libexecdir=$ac_optarg ;;
1609
1610 -localedir | --localedir | --localedi | --localed | --locale)
1611 ac_prev=localedir ;;
1612 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1613 localedir=$ac_optarg ;;
1614
1615 -localstatedir | --localstatedir | --localstatedi | --localstated \
1616 | --localstate | --localstat | --localsta | --localst | --locals)
1617 ac_prev=localstatedir ;;
1618 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1619 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1620 localstatedir=$ac_optarg ;;
1621
1622 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1623 ac_prev=mandir ;;
1624 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1625 mandir=$ac_optarg ;;
1626
1627 -nfp | --nfp | --nf)
1628 # Obsolete; use --without-fp.
1629 with_fp=no ;;
1630
1631 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1632 | --no-cr | --no-c | -n)
1633 no_create=yes ;;
1634
1635 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1636 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1637 no_recursion=yes ;;
1638
1639 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1640 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1641 | --oldin | --oldi | --old | --ol | --o)
1642 ac_prev=oldincludedir ;;
1643 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1644 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1645 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1646 oldincludedir=$ac_optarg ;;
1647
1648 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1649 ac_prev=prefix ;;
1650 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1651 prefix=$ac_optarg ;;
1652
1653 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1654 | --program-pre | --program-pr | --program-p)
1655 ac_prev=program_prefix ;;
1656 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1657 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1658 program_prefix=$ac_optarg ;;
1659
1660 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1661 | --program-suf | --program-su | --program-s)
1662 ac_prev=program_suffix ;;
1663 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1664 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1665 program_suffix=$ac_optarg ;;
1666
1667 -program-transform-name | --program-transform-name \
1668 | --program-transform-nam | --program-transform-na \
1669 | --program-transform-n | --program-transform- \
1670 | --program-transform | --program-transfor \
1671 | --program-transfo | --program-transf \
1672 | --program-trans | --program-tran \
1673 | --progr-tra | --program-tr | --program-t)
1674 ac_prev=program_transform_name ;;
1675 -program-transform-name=* | --program-transform-name=* \
1676 | --program-transform-nam=* | --program-transform-na=* \
1677 | --program-transform-n=* | --program-transform-=* \
1678 | --program-transform=* | --program-transfor=* \
1679 | --program-transfo=* | --program-transf=* \
1680 | --program-trans=* | --program-tran=* \
1681 | --progr-tra=* | --program-tr=* | --program-t=*)
1682 program_transform_name=$ac_optarg ;;
1683
1684 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1685 ac_prev=pdfdir ;;
1686 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1687 pdfdir=$ac_optarg ;;
1688
1689 -psdir | --psdir | --psdi | --psd | --ps)
1690 ac_prev=psdir ;;
1691 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1692 psdir=$ac_optarg ;;
1693
1694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1695 | -silent | --silent | --silen | --sile | --sil)
1696 silent=yes ;;
1697
1698 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1699 ac_prev=sbindir ;;
1700 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1701 | --sbi=* | --sb=*)
1702 sbindir=$ac_optarg ;;
1703
1704 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1705 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1706 | --sharedst | --shareds | --shared | --share | --shar \
1707 | --sha | --sh)
1708 ac_prev=sharedstatedir ;;
1709 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1710 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1711 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1712 | --sha=* | --sh=*)
1713 sharedstatedir=$ac_optarg ;;
1714
1715 -site | --site | --sit)
1716 ac_prev=site ;;
1717 -site=* | --site=* | --sit=*)
1718 site=$ac_optarg ;;
1719
1720 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1721 ac_prev=srcdir ;;
1722 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1723 srcdir=$ac_optarg ;;
1724
1725 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1726 | --syscon | --sysco | --sysc | --sys | --sy)
1727 ac_prev=sysconfdir ;;
1728 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1729 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1730 sysconfdir=$ac_optarg ;;
1731
1732 -target | --target | --targe | --targ | --tar | --ta | --t)
1733 ac_prev=target_alias ;;
1734 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1735 target_alias=$ac_optarg ;;
1736
1737 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1738 verbose=yes ;;
1739
1740 -version | --version | --versio | --versi | --vers | -V)
1741 ac_init_version=: ;;
1742
1743 -with-* | --with-*)
1744 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1745 # Reject names that are not valid shell variable names.
1746 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1747 as_fn_error $? "invalid package name: $ac_useropt"
1748 ac_useropt_orig=$ac_useropt
1749 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1750 case $ac_user_opts in
1751 *"
1752"with_$ac_useropt"
1753"*) ;;
1754 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1755 ac_unrecognized_sep=', ';;
1756 esac
1757 eval with_$ac_useropt=\$ac_optarg ;;
1758
1759 -without-* | --without-*)
1760 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1761 # Reject names that are not valid shell variable names.
1762 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1763 as_fn_error $? "invalid package name: $ac_useropt"
1764 ac_useropt_orig=$ac_useropt
1765 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1766 case $ac_user_opts in
1767 *"
1768"with_$ac_useropt"
1769"*) ;;
1770 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1771 ac_unrecognized_sep=', ';;
1772 esac
1773 eval with_$ac_useropt=no ;;
1774
1775 --x)
1776 # Obsolete; use --with-x.
1777 with_x=yes ;;
1778
1779 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1780 | --x-incl | --x-inc | --x-in | --x-i)
1781 ac_prev=x_includes ;;
1782 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1783 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1784 x_includes=$ac_optarg ;;
1785
1786 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1787 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1788 ac_prev=x_libraries ;;
1789 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1790 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1791 x_libraries=$ac_optarg ;;
1792
1793 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1794Try \`$0 --help' for more information"
1795 ;;
1796
1797 *=*)
1798 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1799 # Reject names that are not valid shell variable names.
1800 case $ac_envvar in #(
1801 '' | [0-9]* | *[!_$as_cr_alnum]* )
1802 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1803 esac
1804 eval $ac_envvar=\$ac_optarg
1805 export $ac_envvar ;;
1806
1807 *)
1808 # FIXME: should be removed in autoconf 3.0.
1809 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1810 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1811 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1812 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1813 ;;
1814
1815 esac
1816done
1817
1818if test -n "$ac_prev"; then
1819 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1820 as_fn_error $? "missing argument to $ac_option"
1821fi
1822
1823if test -n "$ac_unrecognized_opts"; then
1824 case $enable_option_checking in
1825 no) ;;
1826 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1827 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1828 esac
1829fi
1830
1831# Check all directory arguments for consistency.
1832for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1833 datadir sysconfdir sharedstatedir localstatedir includedir \
1834 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1835 libdir localedir mandir
1836do
1837 eval ac_val=\$$ac_var
1838 # Remove trailing slashes.
1839 case $ac_val in
1840 */ )
1841 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1842 eval $ac_var=\$ac_val;;
1843 esac
1844 # Be sure to have absolute directory names.
1845 case $ac_val in
1846 [\\/$]* | ?:[\\/]* ) continue;;
1847 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1848 esac
1849 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1850done
1851
1852# There might be people who depend on the old broken behavior: `$host'
1853# used to hold the argument of --host etc.
1854# FIXME: To remove some day.
1855build=$build_alias
1856host=$host_alias
1857target=$target_alias
1858
1859# FIXME: To remove some day.
1860if test "x$host_alias" != x; then
1861 if test "x$build_alias" = x; then
1862 cross_compiling=maybe
1863 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1864 If a cross compiler is detected then cross compile mode will be used" >&2
1865 elif test "x$build_alias" != "x$host_alias"; then
1866 cross_compiling=yes
1867 fi
1868fi
1869
1870ac_tool_prefix=
1871test -n "$host_alias" && ac_tool_prefix=$host_alias-
1872
1873test "$silent" = yes && exec 6>/dev/null
1874
1875
1876ac_pwd=`pwd` && test -n "$ac_pwd" &&
1877ac_ls_di=`ls -di .` &&
1878ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1879 as_fn_error $? "working directory cannot be determined"
1880test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1881 as_fn_error $? "pwd does not report name of working directory"
1882
1883
1884# Find the source files, if location was not specified.
1885if test -z "$srcdir"; then
1886 ac_srcdir_defaulted=yes
1887 # Try the directory containing this script, then the parent directory.
1888 ac_confdir=`$as_dirname -- "$as_myself" ||
1889$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1890 X"$as_myself" : 'X\(//\)[^/]' \| \
1891 X"$as_myself" : 'X\(//\)$' \| \
1892 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1893$as_echo X"$as_myself" |
1894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1895 s//\1/
1896 q
1897 }
1898 /^X\(\/\/\)[^/].*/{
1899 s//\1/
1900 q
1901 }
1902 /^X\(\/\/\)$/{
1903 s//\1/
1904 q
1905 }
1906 /^X\(\/\).*/{
1907 s//\1/
1908 q
1909 }
1910 s/.*/./; q'`
1911 srcdir=$ac_confdir
1912 if test ! -r "$srcdir/$ac_unique_file"; then
1913 srcdir=..
1914 fi
1915else
1916 ac_srcdir_defaulted=no
1917fi
1918if test ! -r "$srcdir/$ac_unique_file"; then
1919 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1920 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1921fi
1922ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1923ac_abs_confdir=`(
1924 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1925 pwd)`
1926# When building in place, set srcdir=.
1927if test "$ac_abs_confdir" = "$ac_pwd"; then
1928 srcdir=.
1929fi
1930# Remove unnecessary trailing slashes from srcdir.
1931# Double slashes in file names in object file debugging info
1932# mess up M-x gdb in Emacs.
1933case $srcdir in
1934*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1935esac
1936for ac_var in $ac_precious_vars; do
1937 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1938 eval ac_env_${ac_var}_value=\$${ac_var}
1939 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1940 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1941done
1942
1943#
1944# Report the --help message.
1945#
1946if test "$ac_init_help" = "long"; then
1947 # Omit some internal or obsolete options to make the list less imposing.
1948 # This message is too long to be a string in the A/UX 3.1 sh.
1949 cat <<_ACEOF
1950\`configure' configures evas 1.2.0-alpha to adapt to many kinds of systems.
1951
1952Usage: $0 [OPTION]... [VAR=VALUE]...
1953
1954To assign environment variables (e.g., CC, CFLAGS...), specify them as
1955VAR=VALUE. See below for descriptions of some of the useful variables.
1956
1957Defaults for the options are specified in brackets.
1958
1959Configuration:
1960 -h, --help display this help and exit
1961 --help=short display options specific to this package
1962 --help=recursive display the short help of all the included packages
1963 -V, --version display version information and exit
1964 -q, --quiet, --silent do not print \`checking ...' messages
1965 --cache-file=FILE cache test results in FILE [disabled]
1966 -C, --config-cache alias for \`--cache-file=config.cache'
1967 -n, --no-create do not create output files
1968 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1969
1970Installation directories:
1971 --prefix=PREFIX install architecture-independent files in PREFIX
1972 [$ac_default_prefix]
1973 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1974 [PREFIX]
1975
1976By default, \`make install' will install all the files in
1977\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1978an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1979for instance \`--prefix=\$HOME'.
1980
1981For better control, use the options below.
1982
1983Fine tuning of the installation directories:
1984 --bindir=DIR user executables [EPREFIX/bin]
1985 --sbindir=DIR system admin executables [EPREFIX/sbin]
1986 --libexecdir=DIR program executables [EPREFIX/libexec]
1987 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1988 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1989 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1990 --libdir=DIR object code libraries [EPREFIX/lib]
1991 --includedir=DIR C header files [PREFIX/include]
1992 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1993 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1994 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1995 --infodir=DIR info documentation [DATAROOTDIR/info]
1996 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1997 --mandir=DIR man documentation [DATAROOTDIR/man]
1998 --docdir=DIR documentation root [DATAROOTDIR/doc/evas]
1999 --htmldir=DIR html documentation [DOCDIR]
2000 --dvidir=DIR dvi documentation [DOCDIR]
2001 --pdfdir=DIR pdf documentation [DOCDIR]
2002 --psdir=DIR ps documentation [DOCDIR]
2003_ACEOF
2004
2005 cat <<\_ACEOF
2006
2007Program names:
2008 --program-prefix=PREFIX prepend PREFIX to installed program names
2009 --program-suffix=SUFFIX append SUFFIX to installed program names
2010 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
2011
2012X features:
2013 --x-includes=DIR X include files are in DIR
2014 --x-libraries=DIR X library files are in DIR
2015
2016System types:
2017 --build=BUILD configure for building on BUILD [guessed]
2018 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2019_ACEOF
2020fi
2021
2022if test -n "$ac_init_help"; then
2023 case $ac_init_help in
2024 short | recursive ) echo "Configuration of evas 1.2.0-alpha:";;
2025 esac
2026 cat <<\_ACEOF
2027
2028Optional Features:
2029 --disable-option-checking ignore unrecognized --enable/--with options
2030 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2031 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2032 --enable-silent-rules less verbose build output (undo: `make V=1')
2033 --disable-silent-rules verbose build output (undo: `make V=0')
2034 --disable-dependency-tracking speeds up one-time build
2035 --enable-dependency-tracking do not reject slow dependency extractors
2036 --enable-shared[=PKGS] build shared libraries [default=yes]
2037 --enable-static[=PKGS] build static libraries [default=yes]
2038 --enable-fast-install[=PKGS]
2039 optimize for fast installation [default=yes]
2040 --disable-libtool-lock avoid locking (might break parallel builds)
2041 --enable-strict enable strict checking mode. [default==disabled]
2042 --enable-simple-x11 enable simple x11 linking
2043 --disable-doc Disable documentation build [default=enabled]
2044 --disable-fontconfig disable fontconfig for finding fonts.
2045 [default=enabled]
2046 --disable-liblinebreak disable linking against liblinebreak.
2047 [default=enabled]
2048 --disable-fribidi disable bidirectional text support.
2049 [default=enabled]
2050 --disable-harfbuzz disable complex text shaping and layouting support.
2051 [default=enabled]
2052 --enable-pixman enable pixman for software rendering.
2053 [default=enabled]
2054 --enable-pixman-font Allow pixman to render fonts
2055 --enable-pixman-rect Allow pixman to render rects
2056 --enable-pixman-line Allow pixman to render lines
2057 --enable-pixman-poly Allow pixman to render polys
2058 --enable-pixman-image Allow pixman to render images
2059 --enable-pixman-image-scale-sample
2060 Allow pixman to render sampled scaled images
2061 --enable-tile-rotate Enable tiled rotate algorithm
2062 --disable-evas-cserve disable shared cache server support.
2063 [default=enabled]
2064 --enable-gl-flavor-gles enable gles flavor of gl instead of standard
2065 --enable-gles-variety-sgx
2066 GLES variety SGX 3D unit
2067 --enable-gles-variety-s3c6410
2068 GLES variety s3c6410 3D unit
2069 --enable-buffer enable Buffer rendering backend
2070 --enable-software-gdi enable Software GDI rendering backend
2071 --enable-software-ddraw enable Software DirectDraw rendering backend
2072 --enable-direct3d enable Direct3D rendering backend
2073 --enable-psl1ght enable PSL1GHT rendering backend
2074 --enable-gl-sdl enable OpenGL SDL rendering backend
2075 --enable-gl-cocoa enable OpenGL Cocoa rendering backend
2076 --enable-fb enable Framebuffer rendering backend
2077 --enable-directfb enable DirectFB rendering backend
2078 --enable-software-8-x11 enable Software X11 8 bits grayscale rendering
2079 backend
2080 --enable-software-16-x11
2081 enable Software X11 16 bits rendering backend
2082 --enable-software-16-ddraw
2083 enable Software DirectDraw 16 bits rendering backend
2084 --enable-software-16-wince
2085 enable Software Windows CE 16 bits rendering backend
2086 --enable-software-16-sdl
2087 enable Software SDL 16 bits rendering backend
2088 --enable-wayland-shm enable Wayland Shm rendering backend
2089 --enable-wayland-egl enable Wayland Egl rendering backend
2090 --enable-sdl-primitive
2091 --enable-static-software-generic
2092 Build software generic engine as part of libevas
2093 --enable-software-xcb enable Software XCB Engine. [default=disabled]
2094 --enable-software-xcb enable Software XCB rendering backend
2095 --enable-software-xlib enable Software Xlib rendering backend
2096 --enable-gl-xcb enable OpenGL XCB Engine. [default=disabled]
2097 --enable-gl-xcb enable OpenGL XCB rendering backend
2098 --enable-gl-xlib enable OpenGL XLib rendering backend
2099 --enable-static-software-16
2100 Build software 16 engine as part of libevas
2101 --enable-static-software-8
2102 Build software 8 engine as part of libevas
2103 --enable-image-loader-edb
2104 enable Edb image loader
2105 --enable-image-loader-eet
2106 enable Eet image loader
2107 --disable-font-loader-eet
2108 disable EET font loader. [[default=enabled]]
2109 --enable-image-loader-gif
2110 enable Gif image loader
2111 --enable-image-loader-jpeg
2112 enable Jpeg image loader
2113 --enable-image-loader-pmaps
2114 enable PMAPS image loader
2115 --enable-image-loader-png
2116 enable PNG image loader
2117 --enable-image-loader-svg
2118 enable SVG image loader
2119 --enable-image-loader-tiff
2120 enable Tiff image loader
2121 --enable-image-loader-xpm
2122 enable XPM image loader
2123 --enable-image-loader-bmp
2124 enable BMP image loader
2125 --enable-image-loader-tga
2126 enable TGA image loader
2127 --enable-image-loader-wbmp
2128 enable WBMP image loader
2129 --enable-image-loader-ico
2130 enable ICO image loader
2131 --enable-image-loader-psd
2132 enable PSD image loader
2133 --enable-image-loader-generic
2134 enable GENERIC image loader
2135 --enable-pthreads enable threaded rendering
2136 --enable-pipe-render enable threaded pipe rendering support
2137 --enable-async-render enable asynchronously threaded pipe rendering
2138 support
2139 --enable-async-events enable async events support
2140 --enable-async-preload enable async image preloading support
2141 --enable-cpu-mmx enable mmx code
2142 --enable-cpu-sse enable sse code
2143 --enable-cpu-sse3 enable sse3 code
2144 --enable-cpu-altivec enable altivec code
2145 --enable-cpu-neon build neon code, the code will be checked at run
2146 time to see if the CPU supports it
2147 --enable-cpu-c enable C code
2148 --disable-evas-magic-debug
2149 disable MAGIC_DEBUG check when people pass in wrong
2150 object type. [[default=enabled]]
2151 --enable-word-cache Enable experimental word caching to speed up
2152 rendering [[default=disabled]]
2153 --enable-metric-cache Enable experimental metric caching to speed up
2154 rendering [[default=disabled]]
2155 --disable-scale-sample disable sampling scaler code [default=enabled]
2156 --disable-scale-smooth disable smooth scaler code [default=enabled]
2157 --enable-convert-yuv enable yuv converter code
2158 --enable-small-dither-mask
2159 enable small dither mask [default=disabled]
2160 --enable-line-dither-mask
2161 enable line dither mask [default=disabled]
2162 --enable-no-dither-mask enable conversion to 16bpp without dither mask
2163 [default=disabled]
2164 --disable-convert-8-rgb-332
2165 disable the 8bpp RGB 332 converter code
2166 --disable-convert-8-rgb-666
2167 disable the 8bpp RGB 666 converter code
2168 --disable-convert-8-rgb-232
2169 disable the 8bpp RGB 232 converter code
2170 --disable-convert-8-rgb-222
2171 disable the 8bpp RGB 222 converter code
2172 --disable-convert-8-rgb-221
2173 disable the 8bpp RGB 221 converter code
2174 --disable-convert-8-rgb-121
2175 disable the 8bpp RGB 121 converter code
2176 --disable-convert-8-rgb-111
2177 disable the 8bpp RGB 111 converter code
2178 --disable-convert-16-rgb-565
2179 disable the 16bpp RGB 565 converter code
2180 --disable-convert-16-bgr-565
2181 disable the 16bpp BGR 565 converter code
2182 --disable-convert-16-rgb-555
2183 disable the 16bpp RGB 555 converter code
2184 --disable-convert-16-rgb-444
2185 disable the 16bpp RGB 444 converter code
2186 --disable-convert-16-rgb-ipq
2187 disable 16bpp 565 (444 ipaq) converter code
2188 --disable-convert-16-rgb-rot-0
2189 disable the 16bpp RGB rotation 0 converter code
2190 --disable-convert-16-rgb-rot-180
2191 disable the 16bpp RGB rotation 180 converter code
2192 --disable-convert-16-rgb-rot-270
2193 disable the 16bpp RGB rotation 270 converter code
2194 --disable-convert-16-rgb-rot-90
2195 disable the 16bpp RGB rotation 90 converter code
2196 --disable-convert-24-rgb-888
2197 disable the 24bpp RGB 888 converter code
2198 --disable-convert-24-bgr-888
2199 disable the 24bpp BGR 888 converter code
2200 --disable-convert-32-rgb-8888
2201 disable the 32bpp RGB 8888 converter code
2202 --disable-convert-32-rgbx-8888
2203 disable the 32bpp RGBX 8888 converter code
2204 --disable-convert-32-bgr-8888
2205 disable the 32bpp BGR 8888 converter code
2206 --disable-convert-32-bgrx-8888
2207 disable the 32bpp BGRX 8888 converter code
2208 --disable-convert-24-rgb-ezx
2209 disable 24bpp 666 (666 ezx) converter code
2210 --disable-convert-32-rgb-ezx
2211 disable 32bpp 666 (666 ezx) converter code
2212 --disable-convert-32-rgb-rot-0
2213 disable the 32bpp RGB rotation 0 converter code
2214 --disable-convert-32-rgb-rot-180
2215 disable the 32bpp RGB rotation 180 converter code
2216 --disable-convert-32-rgb-rot-270
2217 disable the 32bpp RGB rotation 270 converter code
2218 --disable-convert-32-rgb-rot-90
2219 disable the 32bpp RGB rotation 90 converter code
2220 --disable-convert-8-gry-1
2221 disable the 8bpp GRY 1 converter code
2222 --disable-convert-8-gry-16
2223 disable the 8bpp GRY 16 converter code
2224 --disable-convert-8-grayscale-64
2225 disable 8bpp grayscale 64-palette converter code
2226 --enable-valgrind enable valgrind fixes to stop false reports
2227 --disable-install-examples
2228 disable installing examples (compiled or just
2229 source). [default==enabled]
2230 --enable-build-examples enable building examples (this requires extra
2231 denpendencies. if you don't have them installed yet,
2232 don't build with this option or it will fail. build
2233 again when you have it, overriding the previous
2234 installation). [default==disabled]
2235 --enable-tests enable tests [default=disabled]
2236 --enable-coverage enable coverage profiling instrumentation
2237 [default=disabled]
2238
2239Optional Packages:
2240 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2241 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2242 --with-pic try to use only PIC/non-PIC objects [default=use
2243 both]
2244 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
2245 --with-doxygen=FILE doxygen program to use [default=doxygen]
2246 --with-x use the X Window System
2247
2248Some influential environment variables:
2249 CC C compiler command
2250 CFLAGS C compiler flags
2251 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2252 nonstandard directory <lib dir>
2253 LIBS libraries to pass to the linker, e.g. -l<library>
2254 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2255 you have headers in a nonstandard directory <include dir>
2256 CPP C preprocessor
2257 OBJC Objective C compiler command
2258 OBJCFLAGS Objective C compiler flags
2259 CXX C++ compiler command
2260 CXXFLAGS C++ compiler flags
2261 CXXCPP C++ preprocessor
2262 PKG_CONFIG path to pkg-config utility
2263 PKG_CONFIG_PATH
2264 directories to add to pkg-config's search path
2265 PKG_CONFIG_LIBDIR
2266 path overriding pkg-config's built-in search path
2267 EVIL_CFLAGS C compiler flags for EVIL, overriding pkg-config
2268 EVIL_LIBS linker flags for EVIL, overriding pkg-config
2269 EXOTIC_CFLAGS
2270 C compiler flags for EXOTIC, overriding pkg-config
2271 EXOTIC_LIBS linker flags for EXOTIC, overriding pkg-config
2272 EINA_CFLAGS C compiler flags for EINA, overriding pkg-config
2273 EINA_LIBS linker flags for EINA, overriding pkg-config
2274 FREETYPE_CFLAGS
2275 C compiler flags for FREETYPE, overriding pkg-config
2276 FREETYPE_LIBS
2277 linker flags for FREETYPE, overriding pkg-config
2278 FONTCONFIG_CFLAGS
2279 C compiler flags for FONTCONFIG, overriding pkg-config
2280 FONTCONFIG_LIBS
2281 linker flags for FONTCONFIG, overriding pkg-config
2282 FRIBIDI_CFLAGS
2283 C compiler flags for FRIBIDI, overriding pkg-config
2284 FRIBIDI_LIBS
2285 linker flags for FRIBIDI, overriding pkg-config
2286 HARFBUZZ_CFLAGS
2287 C compiler flags for HARFBUZZ, overriding pkg-config
2288 HARFBUZZ_LIBS
2289 linker flags for HARFBUZZ, overriding pkg-config
2290 PIXMAN_CFLAGS
2291 C compiler flags for PIXMAN, overriding pkg-config
2292 PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config
2293 SDL_CFLAGS C compiler flags for SDL, overriding pkg-config
2294 SDL_LIBS linker flags for SDL, overriding pkg-config
2295 GL_EET_CFLAGS
2296 C compiler flags for GL_EET, overriding pkg-config
2297 GL_EET_LIBS linker flags for GL_EET, overriding pkg-config
2298 DIRECTFB_CFLAGS
2299 C compiler flags for DIRECTFB, overriding pkg-config
2300 DIRECTFB_LIBS
2301 linker flags for DIRECTFB, overriding pkg-config
2302 XCB_CFLAGS C compiler flags for XCB, overriding pkg-config
2303 XCB_LIBS linker flags for XCB, overriding pkg-config
2304 XMKMF Path to xmkmf, Makefile generator for X Window System
2305 WAYLAND_EGL_CFLAGS
2306 C compiler flags for WAYLAND_EGL, overriding pkg-config
2307 WAYLAND_EGL_LIBS
2308 linker flags for WAYLAND_EGL, overriding pkg-config
2309 XCB_GL_CFLAGS
2310 C compiler flags for XCB_GL, overriding pkg-config
2311 XCB_GL_LIBS linker flags for XCB_GL, overriding pkg-config
2312 EDB_CFLAGS C compiler flags for EDB, overriding pkg-config
2313 EDB_LIBS linker flags for EDB, overriding pkg-config
2314 EET_CFLAGS C compiler flags for EET, overriding pkg-config
2315 EET_LIBS linker flags for EET, overriding pkg-config
2316 PNG_CFLAGS C compiler flags for PNG, overriding pkg-config
2317 PNG_LIBS linker flags for PNG, overriding pkg-config
2318 SVG_CFLAGS C compiler flags for SVG, overriding pkg-config
2319 SVG_LIBS linker flags for SVG, overriding pkg-config
2320 XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
2321 XEXT_LIBS linker flags for XEXT, overriding pkg-config
2322 VALGRIND_CFLAGS
2323 C compiler flags for VALGRIND, overriding pkg-config
2324 VALGRIND_LIBS
2325 linker flags for VALGRIND, overriding pkg-config
2326 ECORE_EVAS_CFLAGS
2327 C compiler flags for ECORE_EVAS, overriding pkg-config
2328 ECORE_EVAS_LIBS
2329 linker flags for ECORE_EVAS, overriding pkg-config
2330 EDJE_CFLAGS C compiler flags for EDJE, overriding pkg-config
2331 EDJE_LIBS linker flags for EDJE, overriding pkg-config
2332 CHECK_CFLAGS
2333 C compiler flags for CHECK, overriding pkg-config
2334 CHECK_LIBS linker flags for CHECK, overriding pkg-config
2335
2336Use these variables to override the choices made by `configure' or to help
2337it to find libraries and programs with nonstandard names/locations.
2338
2339Report bugs to <enlightenment-devel@lists.sourceforge.net>.
2340_ACEOF
2341ac_status=$?
2342fi
2343
2344if test "$ac_init_help" = "recursive"; then
2345 # If there are subdirs, report their specific --help.
2346 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2347 test -d "$ac_dir" ||
2348 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2349 continue
2350 ac_builddir=.
2351
2352case "$ac_dir" in
2353.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2354*)
2355 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2356 # A ".." for each directory in $ac_dir_suffix.
2357 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2358 case $ac_top_builddir_sub in
2359 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2360 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2361 esac ;;
2362esac
2363ac_abs_top_builddir=$ac_pwd
2364ac_abs_builddir=$ac_pwd$ac_dir_suffix
2365# for backward compatibility:
2366ac_top_builddir=$ac_top_build_prefix
2367
2368case $srcdir in
2369 .) # We are building in place.
2370 ac_srcdir=.
2371 ac_top_srcdir=$ac_top_builddir_sub
2372 ac_abs_top_srcdir=$ac_pwd ;;
2373 [\\/]* | ?:[\\/]* ) # Absolute name.
2374 ac_srcdir=$srcdir$ac_dir_suffix;
2375 ac_top_srcdir=$srcdir
2376 ac_abs_top_srcdir=$srcdir ;;
2377 *) # Relative name.
2378 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2379 ac_top_srcdir=$ac_top_build_prefix$srcdir
2380 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2381esac
2382ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2383
2384 cd "$ac_dir" || { ac_status=$?; continue; }
2385 # Check for guested configure.
2386 if test -f "$ac_srcdir/configure.gnu"; then
2387 echo &&
2388 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2389 elif test -f "$ac_srcdir/configure"; then
2390 echo &&
2391 $SHELL "$ac_srcdir/configure" --help=recursive
2392 else
2393 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2394 fi || ac_status=$?
2395 cd "$ac_pwd" || { ac_status=$?; break; }
2396 done
2397fi
2398
2399test -n "$ac_init_help" && exit $ac_status
2400if $ac_init_version; then
2401 cat <<\_ACEOF
2402evas configure 1.2.0-alpha
2403generated by GNU Autoconf 2.67
2404
2405Copyright (C) 2010 Free Software Foundation, Inc.
2406This configure script is free software; the Free Software Foundation
2407gives unlimited permission to copy, distribute and modify it.
2408_ACEOF
2409 exit
2410fi
2411
2412## ------------------------ ##
2413## Autoconf initialization. ##
2414## ------------------------ ##
2415
2416# ac_fn_c_try_compile LINENO
2417# --------------------------
2418# Try to compile conftest.$ac_ext, and return whether this succeeded.
2419ac_fn_c_try_compile ()
2420{
2421 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2422 rm -f conftest.$ac_objext
2423 if { { ac_try="$ac_compile"
2424case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2427esac
2428eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429$as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_compile") 2>conftest.err
2431 ac_status=$?
2432 if test -s conftest.err; then
2433 grep -v '^ *+' conftest.err >conftest.er1
2434 cat conftest.er1 >&5
2435 mv -f conftest.er1 conftest.err
2436 fi
2437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2438 test $ac_status = 0; } && {
2439 test -z "$ac_c_werror_flag" ||
2440 test ! -s conftest.err
2441 } && test -s conftest.$ac_objext; then :
2442 ac_retval=0
2443else
2444 $as_echo "$as_me: failed program was:" >&5
2445sed 's/^/| /' conftest.$ac_ext >&5
2446
2447 ac_retval=1
2448fi
2449 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2450 as_fn_set_status $ac_retval
2451
2452} # ac_fn_c_try_compile
2453
2454# ac_fn_c_try_cpp LINENO
2455# ----------------------
2456# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2457ac_fn_c_try_cpp ()
2458{
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 if { { ac_try="$ac_cpp conftest.$ac_ext"
2461case "(($ac_try" in
2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463 *) ac_try_echo=$ac_try;;
2464esac
2465eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2466$as_echo "$ac_try_echo"; } >&5
2467 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2468 ac_status=$?
2469 if test -s conftest.err; then
2470 grep -v '^ *+' conftest.err >conftest.er1
2471 cat conftest.er1 >&5
2472 mv -f conftest.er1 conftest.err
2473 fi
2474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2475 test $ac_status = 0; } > conftest.i && {
2476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2477 test ! -s conftest.err
2478 }; then :
2479 ac_retval=0
2480else
2481 $as_echo "$as_me: failed program was:" >&5
2482sed 's/^/| /' conftest.$ac_ext >&5
2483
2484 ac_retval=1
2485fi
2486 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2487 as_fn_set_status $ac_retval
2488
2489} # ac_fn_c_try_cpp
2490
2491# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2492# -------------------------------------------------------
2493# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2494# the include files in INCLUDES and setting the cache variable VAR
2495# accordingly.
2496ac_fn_c_check_header_mongrel ()
2497{
2498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2499 if eval "test \"\${$3+set}\"" = set; then :
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2501$as_echo_n "checking for $2... " >&6; }
2502if eval "test \"\${$3+set}\"" = set; then :
2503 $as_echo_n "(cached) " >&6
2504fi
2505eval ac_res=\$$3
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2507$as_echo "$ac_res" >&6; }
2508else
2509 # Is the header compilable?
2510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2511$as_echo_n "checking $2 usability... " >&6; }
2512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2513/* end confdefs.h. */
2514$4
2515#include <$2>
2516_ACEOF
2517if ac_fn_c_try_compile "$LINENO"; then :
2518 ac_header_compiler=yes
2519else
2520 ac_header_compiler=no
2521fi
2522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2524$as_echo "$ac_header_compiler" >&6; }
2525
2526# Is the header present?
2527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2528$as_echo_n "checking $2 presence... " >&6; }
2529cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530/* end confdefs.h. */
2531#include <$2>
2532_ACEOF
2533if ac_fn_c_try_cpp "$LINENO"; then :
2534 ac_header_preproc=yes
2535else
2536 ac_header_preproc=no
2537fi
2538rm -f conftest.err conftest.i conftest.$ac_ext
2539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2540$as_echo "$ac_header_preproc" >&6; }
2541
2542# So? What about this header?
2543case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2544 yes:no: )
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2546$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2548$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2549 ;;
2550 no:yes:* )
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2552$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2554$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2556$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2558$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2560$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2561( $as_echo "## -------------------------------------------------------- ##
2562## Report this to enlightenment-devel@lists.sourceforge.net ##
2563## -------------------------------------------------------- ##"
2564 ) | sed "s/^/$as_me: WARNING: /" >&2
2565 ;;
2566esac
2567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2568$as_echo_n "checking for $2... " >&6; }
2569if eval "test \"\${$3+set}\"" = set; then :
2570 $as_echo_n "(cached) " >&6
2571else
2572 eval "$3=\$ac_header_compiler"
2573fi
2574eval ac_res=\$$3
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2576$as_echo "$ac_res" >&6; }
2577fi
2578 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2579
2580} # ac_fn_c_check_header_mongrel
2581
2582# ac_fn_c_try_run LINENO
2583# ----------------------
2584# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2585# that executables *can* be run.
2586ac_fn_c_try_run ()
2587{
2588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2589 if { { ac_try="$ac_link"
2590case "(($ac_try" in
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2593esac
2594eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2595$as_echo "$ac_try_echo"; } >&5
2596 (eval "$ac_link") 2>&5
2597 ac_status=$?
2598 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2599 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2600 { { case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603esac
2604eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2605$as_echo "$ac_try_echo"; } >&5
2606 (eval "$ac_try") 2>&5
2607 ac_status=$?
2608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2609 test $ac_status = 0; }; }; then :
2610 ac_retval=0
2611else
2612 $as_echo "$as_me: program exited with status $ac_status" >&5
2613 $as_echo "$as_me: failed program was:" >&5
2614sed 's/^/| /' conftest.$ac_ext >&5
2615
2616 ac_retval=$ac_status
2617fi
2618 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2619 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2620 as_fn_set_status $ac_retval
2621
2622} # ac_fn_c_try_run
2623
2624# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2625# -------------------------------------------------------
2626# Tests whether HEADER exists and can be compiled using the include files in
2627# INCLUDES, setting the cache variable VAR accordingly.
2628ac_fn_c_check_header_compile ()
2629{
2630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2632$as_echo_n "checking for $2... " >&6; }
2633if eval "test \"\${$3+set}\"" = set; then :
2634 $as_echo_n "(cached) " >&6
2635else
2636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2637/* end confdefs.h. */
2638$4
2639#include <$2>
2640_ACEOF
2641if ac_fn_c_try_compile "$LINENO"; then :
2642 eval "$3=yes"
2643else
2644 eval "$3=no"
2645fi
2646rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2647fi
2648eval ac_res=\$$3
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2650$as_echo "$ac_res" >&6; }
2651 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2652
2653} # ac_fn_c_check_header_compile
2654
2655# ac_fn_c_try_link LINENO
2656# -----------------------
2657# Try to link conftest.$ac_ext, and return whether this succeeded.
2658ac_fn_c_try_link ()
2659{
2660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2661 rm -f conftest.$ac_objext conftest$ac_exeext
2662 if { { ac_try="$ac_link"
2663case "(($ac_try" in
2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2666esac
2667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2668$as_echo "$ac_try_echo"; } >&5
2669 (eval "$ac_link") 2>conftest.err
2670 ac_status=$?
2671 if test -s conftest.err; then
2672 grep -v '^ *+' conftest.err >conftest.er1
2673 cat conftest.er1 >&5
2674 mv -f conftest.er1 conftest.err
2675 fi
2676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2677 test $ac_status = 0; } && {
2678 test -z "$ac_c_werror_flag" ||
2679 test ! -s conftest.err
2680 } && test -s conftest$ac_exeext && {
2681 test "$cross_compiling" = yes ||
2682 $as_test_x conftest$ac_exeext
2683 }; then :
2684 ac_retval=0
2685else
2686 $as_echo "$as_me: failed program was:" >&5
2687sed 's/^/| /' conftest.$ac_ext >&5
2688
2689 ac_retval=1
2690fi
2691 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2692 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2693 # interfere with the next link command; also delete a directory that is
2694 # left behind by Apple's compiler. We do this before executing the actions.
2695 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2696 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2697 as_fn_set_status $ac_retval
2698
2699} # ac_fn_c_try_link
2700
2701# ac_fn_c_check_func LINENO FUNC VAR
2702# ----------------------------------
2703# Tests whether FUNC exists, setting the cache variable VAR accordingly
2704ac_fn_c_check_func ()
2705{
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2708$as_echo_n "checking for $2... " >&6; }
2709if eval "test \"\${$3+set}\"" = set; then :
2710 $as_echo_n "(cached) " >&6
2711else
2712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2713/* end confdefs.h. */
2714/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2716#define $2 innocuous_$2
2717
2718/* System header to define __stub macros and hopefully few prototypes,
2719 which can conflict with char $2 (); below.
2720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2721 <limits.h> exists even on freestanding compilers. */
2722
2723#ifdef __STDC__
2724# include <limits.h>
2725#else
2726# include <assert.h>
2727#endif
2728
2729#undef $2
2730
2731/* Override any GCC internal prototype to avoid an error.
2732 Use char because int might match the return type of a GCC
2733 builtin and then its argument prototype would still apply. */
2734#ifdef __cplusplus
2735extern "C"
2736#endif
2737char $2 ();
2738/* The GNU C library defines this for functions which it implements
2739 to always fail with ENOSYS. Some functions are actually named
2740 something starting with __ and the normal name is an alias. */
2741#if defined __stub_$2 || defined __stub___$2
2742choke me
2743#endif
2744
2745int
2746main ()
2747{
2748return $2 ();
2749 ;
2750 return 0;
2751}
2752_ACEOF
2753if ac_fn_c_try_link "$LINENO"; then :
2754 eval "$3=yes"
2755else
2756 eval "$3=no"
2757fi
2758rm -f core conftest.err conftest.$ac_objext \
2759 conftest$ac_exeext conftest.$ac_ext
2760fi
2761eval ac_res=\$$3
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2763$as_echo "$ac_res" >&6; }
2764 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2765
2766} # ac_fn_c_check_func
2767
2768# ac_fn_objc_try_compile LINENO
2769# -----------------------------
2770# Try to compile conftest.$ac_ext, and return whether this succeeded.
2771ac_fn_objc_try_compile ()
2772{
2773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2774 rm -f conftest.$ac_objext
2775 if { { ac_try="$ac_compile"
2776case "(($ac_try" in
2777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2778 *) ac_try_echo=$ac_try;;
2779esac
2780eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2781$as_echo "$ac_try_echo"; } >&5
2782 (eval "$ac_compile") 2>conftest.err
2783 ac_status=$?
2784 if test -s conftest.err; then
2785 grep -v '^ *+' conftest.err >conftest.er1
2786 cat conftest.er1 >&5
2787 mv -f conftest.er1 conftest.err
2788 fi
2789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2790 test $ac_status = 0; } && {
2791 test -z "$ac_objc_werror_flag" ||
2792 test ! -s conftest.err
2793 } && test -s conftest.$ac_objext; then :
2794 ac_retval=0
2795else
2796 $as_echo "$as_me: failed program was:" >&5
2797sed 's/^/| /' conftest.$ac_ext >&5
2798
2799 ac_retval=1
2800fi
2801 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2802 as_fn_set_status $ac_retval
2803
2804} # ac_fn_objc_try_compile
2805
2806# ac_fn_objc_try_link LINENO
2807# --------------------------
2808# Try to link conftest.$ac_ext, and return whether this succeeded.
2809ac_fn_objc_try_link ()
2810{
2811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2812 rm -f conftest.$ac_objext conftest$ac_exeext
2813 if { { ac_try="$ac_link"
2814case "(($ac_try" in
2815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2816 *) ac_try_echo=$ac_try;;
2817esac
2818eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2819$as_echo "$ac_try_echo"; } >&5
2820 (eval "$ac_link") 2>conftest.err
2821 ac_status=$?
2822 if test -s conftest.err; then
2823 grep -v '^ *+' conftest.err >conftest.er1
2824 cat conftest.er1 >&5
2825 mv -f conftest.er1 conftest.err
2826 fi
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; } && {
2829 test -z "$ac_objc_werror_flag" ||
2830 test ! -s conftest.err
2831 } && test -s conftest$ac_exeext && {
2832 test "$cross_compiling" = yes ||
2833 $as_test_x conftest$ac_exeext
2834 }; then :
2835 ac_retval=0
2836else
2837 $as_echo "$as_me: failed program was:" >&5
2838sed 's/^/| /' conftest.$ac_ext >&5
2839
2840 ac_retval=1
2841fi
2842 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2843 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2844 # interfere with the next link command; also delete a directory that is
2845 # left behind by Apple's compiler. We do this before executing the actions.
2846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2847 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2848 as_fn_set_status $ac_retval
2849
2850} # ac_fn_objc_try_link
2851
2852# ac_fn_cxx_try_compile LINENO
2853# ----------------------------
2854# Try to compile conftest.$ac_ext, and return whether this succeeded.
2855ac_fn_cxx_try_compile ()
2856{
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 rm -f conftest.$ac_objext
2859 if { { ac_try="$ac_compile"
2860case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2863esac
2864eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865$as_echo "$ac_try_echo"; } >&5
2866 (eval "$ac_compile") 2>conftest.err
2867 ac_status=$?
2868 if test -s conftest.err; then
2869 grep -v '^ *+' conftest.err >conftest.er1
2870 cat conftest.er1 >&5
2871 mv -f conftest.er1 conftest.err
2872 fi
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; } && {
2875 test -z "$ac_cxx_werror_flag" ||
2876 test ! -s conftest.err
2877 } && test -s conftest.$ac_objext; then :
2878 ac_retval=0
2879else
2880 $as_echo "$as_me: failed program was:" >&5
2881sed 's/^/| /' conftest.$ac_ext >&5
2882
2883 ac_retval=1
2884fi
2885 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2886 as_fn_set_status $ac_retval
2887
2888} # ac_fn_cxx_try_compile
2889
2890# ac_fn_cxx_try_cpp LINENO
2891# ------------------------
2892# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2893ac_fn_cxx_try_cpp ()
2894{
2895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2896 if { { ac_try="$ac_cpp conftest.$ac_ext"
2897case "(($ac_try" in
2898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2899 *) ac_try_echo=$ac_try;;
2900esac
2901eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2902$as_echo "$ac_try_echo"; } >&5
2903 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2904 ac_status=$?
2905 if test -s conftest.err; then
2906 grep -v '^ *+' conftest.err >conftest.er1
2907 cat conftest.er1 >&5
2908 mv -f conftest.er1 conftest.err
2909 fi
2910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2911 test $ac_status = 0; } > conftest.i && {
2912 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2913 test ! -s conftest.err
2914 }; then :
2915 ac_retval=0
2916else
2917 $as_echo "$as_me: failed program was:" >&5
2918sed 's/^/| /' conftest.$ac_ext >&5
2919
2920 ac_retval=1
2921fi
2922 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2923 as_fn_set_status $ac_retval
2924
2925} # ac_fn_cxx_try_cpp
2926
2927# ac_fn_cxx_try_link LINENO
2928# -------------------------
2929# Try to link conftest.$ac_ext, and return whether this succeeded.
2930ac_fn_cxx_try_link ()
2931{
2932 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2933 rm -f conftest.$ac_objext conftest$ac_exeext
2934 if { { ac_try="$ac_link"
2935case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938esac
2939eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940$as_echo "$ac_try_echo"; } >&5
2941 (eval "$ac_link") 2>conftest.err
2942 ac_status=$?
2943 if test -s conftest.err; then
2944 grep -v '^ *+' conftest.err >conftest.er1
2945 cat conftest.er1 >&5
2946 mv -f conftest.er1 conftest.err
2947 fi
2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2949 test $ac_status = 0; } && {
2950 test -z "$ac_cxx_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest$ac_exeext && {
2953 test "$cross_compiling" = yes ||
2954 $as_test_x conftest$ac_exeext
2955 }; then :
2956 ac_retval=0
2957else
2958 $as_echo "$as_me: failed program was:" >&5
2959sed 's/^/| /' conftest.$ac_ext >&5
2960
2961 ac_retval=1
2962fi
2963 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2964 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2965 # interfere with the next link command; also delete a directory that is
2966 # left behind by Apple's compiler. We do this before executing the actions.
2967 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2968 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2969 as_fn_set_status $ac_retval
2970
2971} # ac_fn_cxx_try_link
2972
2973# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2974# --------------------------------------------
2975# Tries to find the compile-time value of EXPR in a program that includes
2976# INCLUDES, setting VAR accordingly. Returns whether the value could be
2977# computed
2978ac_fn_c_compute_int ()
2979{
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 if test "$cross_compiling" = yes; then
2982 # Depending upon the size, compute the lo and hi bounds.
2983cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2984/* end confdefs.h. */
2985$4
2986int
2987main ()
2988{
2989static int test_array [1 - 2 * !(($2) >= 0)];
2990test_array [0] = 0
2991
2992 ;
2993 return 0;
2994}
2995_ACEOF
2996if ac_fn_c_try_compile "$LINENO"; then :
2997 ac_lo=0 ac_mid=0
2998 while :; do
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000/* end confdefs.h. */
3001$4
3002int
3003main ()
3004{
3005static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3006test_array [0] = 0
3007
3008 ;
3009 return 0;
3010}
3011_ACEOF
3012if ac_fn_c_try_compile "$LINENO"; then :
3013 ac_hi=$ac_mid; break
3014else
3015 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
3016 if test $ac_lo -le $ac_mid; then
3017 ac_lo= ac_hi=
3018 break
3019 fi
3020 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
3021fi
3022rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3023 done
3024else
3025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3026/* end confdefs.h. */
3027$4
3028int
3029main ()
3030{
3031static int test_array [1 - 2 * !(($2) < 0)];
3032test_array [0] = 0
3033
3034 ;
3035 return 0;
3036}
3037_ACEOF
3038if ac_fn_c_try_compile "$LINENO"; then :
3039 ac_hi=-1 ac_mid=-1
3040 while :; do
3041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3042/* end confdefs.h. */
3043$4
3044int
3045main ()
3046{
3047static int test_array [1 - 2 * !(($2) >= $ac_mid)];
3048test_array [0] = 0
3049
3050 ;
3051 return 0;
3052}
3053_ACEOF
3054if ac_fn_c_try_compile "$LINENO"; then :
3055 ac_lo=$ac_mid; break
3056else
3057 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
3058 if test $ac_mid -le $ac_hi; then
3059 ac_lo= ac_hi=
3060 break
3061 fi
3062 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
3063fi
3064rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3065 done
3066else
3067 ac_lo= ac_hi=
3068fi
3069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3070fi
3071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072# Binary search between lo and hi bounds.
3073while test "x$ac_lo" != "x$ac_hi"; do
3074 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
3075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3076/* end confdefs.h. */
3077$4
3078int
3079main ()
3080{
3081static int test_array [1 - 2 * !(($2) <= $ac_mid)];
3082test_array [0] = 0
3083
3084 ;
3085 return 0;
3086}
3087_ACEOF
3088if ac_fn_c_try_compile "$LINENO"; then :
3089 ac_hi=$ac_mid
3090else
3091 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
3092fi
3093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3094done
3095case $ac_lo in #((
3096?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
3097'') ac_retval=1 ;;
3098esac
3099 else
3100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3101/* end confdefs.h. */
3102$4
3103static long int longval () { return $2; }
3104static unsigned long int ulongval () { return $2; }
3105#include <stdio.h>
3106#include <stdlib.h>
3107int
3108main ()
3109{
3110
3111 FILE *f = fopen ("conftest.val", "w");
3112 if (! f)
3113 return 1;
3114 if (($2) < 0)
3115 {
3116 long int i = longval ();
3117 if (i != ($2))
3118 return 1;
3119 fprintf (f, "%ld", i);
3120 }
3121 else
3122 {
3123 unsigned long int i = ulongval ();
3124 if (i != ($2))
3125 return 1;
3126 fprintf (f, "%lu", i);
3127 }
3128 /* Do not output a trailing newline, as this causes \r\n confusion
3129 on some platforms. */
3130 return ferror (f) || fclose (f) != 0;
3131
3132 ;
3133 return 0;
3134}
3135_ACEOF
3136if ac_fn_c_try_run "$LINENO"; then :
3137 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
3138else
3139 ac_retval=1
3140fi
3141rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3142 conftest.$ac_objext conftest.beam conftest.$ac_ext
3143rm -f conftest.val
3144
3145 fi
3146 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3147 as_fn_set_status $ac_retval
3148
3149} # ac_fn_c_compute_int
3150
3151# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3152# -------------------------------------------
3153# Tests whether TYPE exists after having included INCLUDES, setting cache
3154# variable VAR accordingly.
3155ac_fn_c_check_type ()
3156{
3157 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3159$as_echo_n "checking for $2... " >&6; }
3160if eval "test \"\${$3+set}\"" = set; then :
3161 $as_echo_n "(cached) " >&6
3162else
3163 eval "$3=no"
3164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3165/* end confdefs.h. */
3166$4
3167int
3168main ()
3169{
3170if (sizeof ($2))
3171 return 0;
3172 ;
3173 return 0;
3174}
3175_ACEOF
3176if ac_fn_c_try_compile "$LINENO"; then :
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178/* end confdefs.h. */
3179$4
3180int
3181main ()
3182{
3183if (sizeof (($2)))
3184 return 0;
3185 ;
3186 return 0;
3187}
3188_ACEOF
3189if ac_fn_c_try_compile "$LINENO"; then :
3190
3191else
3192 eval "$3=yes"
3193fi
3194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195fi
3196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3197fi
3198eval ac_res=\$$3
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3200$as_echo "$ac_res" >&6; }
3201 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3202
3203} # ac_fn_c_check_type
3204
3205# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
3206# ---------------------------------------------
3207# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
3208# accordingly.
3209ac_fn_c_check_decl ()
3210{
3211 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3212 as_decl_name=`echo $2|sed 's/ *(.*//'`
3213 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
3215$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
3216if eval "test \"\${$3+set}\"" = set; then :
3217 $as_echo_n "(cached) " >&6
3218else
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220/* end confdefs.h. */
3221$4
3222int
3223main ()
3224{
3225#ifndef $as_decl_name
3226#ifdef __cplusplus
3227 (void) $as_decl_use;
3228#else
3229 (void) $as_decl_name;
3230#endif
3231#endif
3232
3233 ;
3234 return 0;
3235}
3236_ACEOF
3237if ac_fn_c_try_compile "$LINENO"; then :
3238 eval "$3=yes"
3239else
3240 eval "$3=no"
3241fi
3242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3243fi
3244eval ac_res=\$$3
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3246$as_echo "$ac_res" >&6; }
3247 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
3248
3249} # ac_fn_c_check_decl
3250cat >config.log <<_ACEOF
3251This file contains any messages produced by compilers while
3252running configure, to aid debugging if configure makes a mistake.
3253
3254It was created by evas $as_me 1.2.0-alpha, which was
3255generated by GNU Autoconf 2.67. Invocation command line was
3256
3257 $ $0 $@
3258
3259_ACEOF
3260exec 5>>config.log
3261{
3262cat <<_ASUNAME
3263## --------- ##
3264## Platform. ##
3265## --------- ##
3266
3267hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3268uname -m = `(uname -m) 2>/dev/null || echo unknown`
3269uname -r = `(uname -r) 2>/dev/null || echo unknown`
3270uname -s = `(uname -s) 2>/dev/null || echo unknown`
3271uname -v = `(uname -v) 2>/dev/null || echo unknown`
3272
3273/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3274/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3275
3276/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3277/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3278/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3279/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3280/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3281/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3282/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3283
3284_ASUNAME
3285
3286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287for as_dir in $PATH
3288do
3289 IFS=$as_save_IFS
3290 test -z "$as_dir" && as_dir=.
3291 $as_echo "PATH: $as_dir"
3292 done
3293IFS=$as_save_IFS
3294
3295} >&5
3296
3297cat >&5 <<_ACEOF
3298
3299
3300## ----------- ##
3301## Core tests. ##
3302## ----------- ##
3303
3304_ACEOF
3305
3306
3307# Keep a trace of the command line.
3308# Strip out --no-create and --no-recursion so they do not pile up.
3309# Strip out --silent because we don't want to record it for future runs.
3310# Also quote any args containing shell meta-characters.
3311# Make two passes to allow for proper duplicate-argument suppression.
3312ac_configure_args=
3313ac_configure_args0=
3314ac_configure_args1=
3315ac_must_keep_next=false
3316for ac_pass in 1 2
3317do
3318 for ac_arg
3319 do
3320 case $ac_arg in
3321 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3323 | -silent | --silent | --silen | --sile | --sil)
3324 continue ;;
3325 *\'*)
3326 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3327 esac
3328 case $ac_pass in
3329 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3330 2)
3331 as_fn_append ac_configure_args1 " '$ac_arg'"
3332 if test $ac_must_keep_next = true; then
3333 ac_must_keep_next=false # Got value, back to normal.
3334 else
3335 case $ac_arg in
3336 *=* | --config-cache | -C | -disable-* | --disable-* \
3337 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3338 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3339 | -with-* | --with-* | -without-* | --without-* | --x)
3340 case "$ac_configure_args0 " in
3341 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3342 esac
3343 ;;
3344 -* ) ac_must_keep_next=true ;;
3345 esac
3346 fi
3347 as_fn_append ac_configure_args " '$ac_arg'"
3348 ;;
3349 esac
3350 done
3351done
3352{ ac_configure_args0=; unset ac_configure_args0;}
3353{ ac_configure_args1=; unset ac_configure_args1;}
3354
3355# When interrupted or exit'd, cleanup temporary files, and complete
3356# config.log. We remove comments because anyway the quotes in there
3357# would cause problems or look ugly.
3358# WARNING: Use '\'' to represent an apostrophe within the trap.
3359# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3360trap 'exit_status=$?
3361 # Save into config.log some information that might help in debugging.
3362 {
3363 echo
3364
3365 $as_echo "## ---------------- ##
3366## Cache variables. ##
3367## ---------------- ##"
3368 echo
3369 # The following way of writing the cache mishandles newlines in values,
3370(
3371 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3372 eval ac_val=\$$ac_var
3373 case $ac_val in #(
3374 *${as_nl}*)
3375 case $ac_var in #(
3376 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3377$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3378 esac
3379 case $ac_var in #(
3380 _ | IFS | as_nl) ;; #(
3381 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3382 *) { eval $ac_var=; unset $ac_var;} ;;
3383 esac ;;
3384 esac
3385 done
3386 (set) 2>&1 |
3387 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3388 *${as_nl}ac_space=\ *)
3389 sed -n \
3390 "s/'\''/'\''\\\\'\'''\''/g;
3391 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3392 ;; #(
3393 *)
3394 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3395 ;;
3396 esac |
3397 sort
3398)
3399 echo
3400
3401 $as_echo "## ----------------- ##
3402## Output variables. ##
3403## ----------------- ##"
3404 echo
3405 for ac_var in $ac_subst_vars
3406 do
3407 eval ac_val=\$$ac_var
3408 case $ac_val in
3409 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3410 esac
3411 $as_echo "$ac_var='\''$ac_val'\''"
3412 done | sort
3413 echo
3414
3415 if test -n "$ac_subst_files"; then
3416 $as_echo "## ------------------- ##
3417## File substitutions. ##
3418## ------------------- ##"
3419 echo
3420 for ac_var in $ac_subst_files
3421 do
3422 eval ac_val=\$$ac_var
3423 case $ac_val in
3424 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3425 esac
3426 $as_echo "$ac_var='\''$ac_val'\''"
3427 done | sort
3428 echo
3429 fi
3430
3431 if test -s confdefs.h; then
3432 $as_echo "## ----------- ##
3433## confdefs.h. ##
3434## ----------- ##"
3435 echo
3436 cat confdefs.h
3437 echo
3438 fi
3439 test "$ac_signal" != 0 &&
3440 $as_echo "$as_me: caught signal $ac_signal"
3441 $as_echo "$as_me: exit $exit_status"
3442 } >&5
3443 rm -f core *.core core.conftest.* &&
3444 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3445 exit $exit_status
3446' 0
3447for ac_signal in 1 2 13 15; do
3448 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3449done
3450ac_signal=0
3451
3452# confdefs.h avoids OS command line length limits that DEFS can exceed.
3453rm -f -r conftest* confdefs.h
3454
3455$as_echo "/* confdefs.h */" > confdefs.h
3456
3457# Predefined preprocessor variables.
3458
3459cat >>confdefs.h <<_ACEOF
3460#define PACKAGE_NAME "$PACKAGE_NAME"
3461_ACEOF
3462
3463cat >>confdefs.h <<_ACEOF
3464#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3465_ACEOF
3466
3467cat >>confdefs.h <<_ACEOF
3468#define PACKAGE_VERSION "$PACKAGE_VERSION"
3469_ACEOF
3470
3471cat >>confdefs.h <<_ACEOF
3472#define PACKAGE_STRING "$PACKAGE_STRING"
3473_ACEOF
3474
3475cat >>confdefs.h <<_ACEOF
3476#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3477_ACEOF
3478
3479cat >>confdefs.h <<_ACEOF
3480#define PACKAGE_URL "$PACKAGE_URL"
3481_ACEOF
3482
3483
3484# Let the site file select an alternate cache file if it wants to.
3485# Prefer an explicitly selected file to automatically selected ones.
3486ac_site_file1=NONE
3487ac_site_file2=NONE
3488if test -n "$CONFIG_SITE"; then
3489 # We do not want a PATH search for config.site.
3490 case $CONFIG_SITE in #((
3491 -*) ac_site_file1=./$CONFIG_SITE;;
3492 */*) ac_site_file1=$CONFIG_SITE;;
3493 *) ac_site_file1=./$CONFIG_SITE;;
3494 esac
3495elif test "x$prefix" != xNONE; then
3496 ac_site_file1=$prefix/share/config.site
3497 ac_site_file2=$prefix/etc/config.site
3498else
3499 ac_site_file1=$ac_default_prefix/share/config.site
3500 ac_site_file2=$ac_default_prefix/etc/config.site
3501fi
3502for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3503do
3504 test "x$ac_site_file" = xNONE && continue
3505 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3507$as_echo "$as_me: loading site script $ac_site_file" >&6;}
3508 sed 's/^/| /' "$ac_site_file" >&5
3509 . "$ac_site_file" \
3510 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3512as_fn_error $? "failed to load site script $ac_site_file
3513See \`config.log' for more details" "$LINENO" 5 ; }
3514 fi
3515done
3516
3517if test -r "$cache_file"; then
3518 # Some versions of bash will fail to source /dev/null (special files
3519 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3520 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3521 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3522$as_echo "$as_me: loading cache $cache_file" >&6;}
3523 case $cache_file in
3524 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3525 *) . "./$cache_file";;
3526 esac
3527 fi
3528else
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3530$as_echo "$as_me: creating cache $cache_file" >&6;}
3531 >$cache_file
3532fi
3533
3534# Check that the precious variables saved in the cache have kept the same
3535# value.
3536ac_cache_corrupted=false
3537for ac_var in $ac_precious_vars; do
3538 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3539 eval ac_new_set=\$ac_env_${ac_var}_set
3540 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3541 eval ac_new_val=\$ac_env_${ac_var}_value
3542 case $ac_old_set,$ac_new_set in
3543 set,)
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3545$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3546 ac_cache_corrupted=: ;;
3547 ,set)
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3549$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3550 ac_cache_corrupted=: ;;
3551 ,);;
3552 *)
3553 if test "x$ac_old_val" != "x$ac_new_val"; then
3554 # differences in whitespace do not lead to failure.
3555 ac_old_val_w=`echo x $ac_old_val`
3556 ac_new_val_w=`echo x $ac_new_val`
3557 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3559$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3560 ac_cache_corrupted=:
3561 else
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3563$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3564 eval $ac_var=\$ac_old_val
3565 fi
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3567$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3569$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3570 fi;;
3571 esac
3572 # Pass precious variables to config.status.
3573 if test "$ac_new_set" = set; then
3574 case $ac_new_val in
3575 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3576 *) ac_arg=$ac_var=$ac_new_val ;;
3577 esac
3578 case " $ac_configure_args " in
3579 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3580 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3581 esac
3582 fi
3583done
3584if $ac_cache_corrupted; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3588$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3589 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3590fi
3591## -------------------- ##
3592## Main body of script. ##
3593## -------------------- ##
3594
3595ac_ext=c
3596ac_cpp='$CPP $CPPFLAGS'
3597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3599ac_compiler_gnu=$ac_cv_c_compiler_gnu
3600
3601
3602
3603
3604
3605
3606ac_config_headers="$ac_config_headers config.h"
3607
3608
3609
3610
3611am__api_version='1.11'
3612
3613ac_aux_dir=
3614for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3615 if test -f "$ac_dir/install-sh"; then
3616 ac_aux_dir=$ac_dir
3617 ac_install_sh="$ac_aux_dir/install-sh -c"
3618 break
3619 elif test -f "$ac_dir/install.sh"; then
3620 ac_aux_dir=$ac_dir
3621 ac_install_sh="$ac_aux_dir/install.sh -c"
3622 break
3623 elif test -f "$ac_dir/shtool"; then
3624 ac_aux_dir=$ac_dir
3625 ac_install_sh="$ac_aux_dir/shtool install -c"
3626 break
3627 fi
3628done
3629if test -z "$ac_aux_dir"; then
3630 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3631fi
3632
3633# These three variables are undocumented and unsupported,
3634# and are intended to be withdrawn in a future Autoconf release.
3635# They can cause serious problems if a builder's source tree is in a directory
3636# whose full name contains unusual characters.
3637ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3638ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3639ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3640
3641
3642# Find a good install program. We prefer a C program (faster),
3643# so one script is as good as another. But avoid the broken or
3644# incompatible versions:
3645# SysV /etc/install, /usr/sbin/install
3646# SunOS /usr/etc/install
3647# IRIX /sbin/install
3648# AIX /bin/install
3649# AmigaOS /C/install, which installs bootblocks on floppy discs
3650# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3651# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3652# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3653# OS/2's system install, which has a completely different semantic
3654# ./install, which can be erroneously created by make from ./install.sh.
3655# Reject install programs that cannot install multiple files.
3656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3657$as_echo_n "checking for a BSD-compatible install... " >&6; }
3658if test -z "$INSTALL"; then
3659if test "${ac_cv_path_install+set}" = set; then :
3660 $as_echo_n "(cached) " >&6
3661else
3662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3663for as_dir in $PATH
3664do
3665 IFS=$as_save_IFS
3666 test -z "$as_dir" && as_dir=.
3667 # Account for people who put trailing slashes in PATH elements.
3668case $as_dir/ in #((
3669 ./ | .// | /[cC]/* | \
3670 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3671 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3672 /usr/ucb/* ) ;;
3673 *)
3674 # OSF1 and SCO ODT 3.0 have their own names for install.
3675 # Don't use installbsd from OSF since it installs stuff as root
3676 # by default.
3677 for ac_prog in ginstall scoinst install; do
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3680 if test $ac_prog = install &&
3681 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3682 # AIX install. It has an incompatible calling convention.
3683 :
3684 elif test $ac_prog = install &&
3685 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3686 # program-specific install script used by HP pwplus--don't use.
3687 :
3688 else
3689 rm -rf conftest.one conftest.two conftest.dir
3690 echo one > conftest.one
3691 echo two > conftest.two
3692 mkdir conftest.dir
3693 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3694 test -s conftest.one && test -s conftest.two &&
3695 test -s conftest.dir/conftest.one &&
3696 test -s conftest.dir/conftest.two
3697 then
3698 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3699 break 3
3700 fi
3701 fi
3702 fi
3703 done
3704 done
3705 ;;
3706esac
3707
3708 done
3709IFS=$as_save_IFS
3710
3711rm -rf conftest.one conftest.two conftest.dir
3712
3713fi
3714 if test "${ac_cv_path_install+set}" = set; then
3715 INSTALL=$ac_cv_path_install
3716 else
3717 # As a last resort, use the slow shell script. Don't cache a
3718 # value for INSTALL within a source directory, because that will
3719 # break other packages using the cache if that directory is
3720 # removed, or if the value is a relative name.
3721 INSTALL=$ac_install_sh
3722 fi
3723fi
3724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3725$as_echo "$INSTALL" >&6; }
3726
3727# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3728# It thinks the first close brace ends the variable substitution.
3729test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3730
3731test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3732
3733test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3734
3735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3736$as_echo_n "checking whether build environment is sane... " >&6; }
3737# Just in case
3738sleep 1
3739echo timestamp > conftest.file
3740# Reject unsafe characters in $srcdir or the absolute working directory
3741# name. Accept space and tab only in the latter.
3742am_lf='
3743'
3744case `pwd` in
3745 *[\\\"\#\$\&\'\`$am_lf]*)
3746 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
3747esac
3748case $srcdir in
3749 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3750 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
3751esac
3752
3753# Do `set' in a subshell so we don't clobber the current shell's
3754# arguments. Must try -L first in case configure is actually a
3755# symlink; some systems play weird games with the mod time of symlinks
3756# (eg FreeBSD returns the mod time of the symlink's containing
3757# directory).
3758if (
3759 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3760 if test "$*" = "X"; then
3761 # -L didn't work.
3762 set X `ls -t "$srcdir/configure" conftest.file`
3763 fi
3764 rm -f conftest.file
3765 if test "$*" != "X $srcdir/configure conftest.file" \
3766 && test "$*" != "X conftest.file $srcdir/configure"; then
3767
3768 # If neither matched, then we have a broken ls. This can happen
3769 # if, for instance, CONFIG_SHELL is bash and it inherits a
3770 # broken ls alias from the environment. This has actually
3771 # happened. Such a system could not be considered "sane".
3772 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3773alias in your environment" "$LINENO" 5
3774 fi
3775
3776 test "$2" = conftest.file
3777 )
3778then
3779 # Ok.
3780 :
3781else
3782 as_fn_error $? "newly created file is older than distributed files!
3783Check your system clock" "$LINENO" 5
3784fi
3785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3786$as_echo "yes" >&6; }
3787test "$program_prefix" != NONE &&
3788 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3789# Use a double $ so make ignores it.
3790test "$program_suffix" != NONE &&
3791 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3792# Double any \ or $.
3793# By default was `s,x,x', remove it if useless.
3794ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3795program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3796
3797# expand $ac_aux_dir to an absolute path
3798am_aux_dir=`cd $ac_aux_dir && pwd`
3799
3800if test x"${MISSING+set}" != xset; then
3801 case $am_aux_dir in
3802 *\ * | *\ *)
3803 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3804 *)
3805 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3806 esac
3807fi
3808# Use eval to expand $SHELL
3809if eval "$MISSING --run true"; then
3810 am_missing_run="$MISSING --run "
3811else
3812 am_missing_run=
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3814$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3815fi
3816
3817if test x"${install_sh}" != xset; then
3818 case $am_aux_dir in
3819 *\ * | *\ *)
3820 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3821 *)
3822 install_sh="\${SHELL} $am_aux_dir/install-sh"
3823 esac
3824fi
3825
3826# Installed binaries are usually stripped using `strip' when the user
3827# run `make install-strip'. However `strip' might not be the right
3828# tool to use in cross-compilation environments, therefore Automake
3829# will honor the `STRIP' environment variable to overrule this program.
3830if test "$cross_compiling" != no; then
3831 if test -n "$ac_tool_prefix"; then
3832 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3833set dummy ${ac_tool_prefix}strip; ac_word=$2
3834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835$as_echo_n "checking for $ac_word... " >&6; }
3836if test "${ac_cv_prog_STRIP+set}" = set; then :
3837 $as_echo_n "(cached) " >&6
3838else
3839 if test -n "$STRIP"; then
3840 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3841else
3842as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3843for as_dir in $PATH
3844do
3845 IFS=$as_save_IFS
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3851 break 2
3852 fi
3853done
3854 done
3855IFS=$as_save_IFS
3856
3857fi
3858fi
3859STRIP=$ac_cv_prog_STRIP
3860if test -n "$STRIP"; then
3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3862$as_echo "$STRIP" >&6; }
3863else
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3865$as_echo "no" >&6; }
3866fi
3867
3868
3869fi
3870if test -z "$ac_cv_prog_STRIP"; then
3871 ac_ct_STRIP=$STRIP
3872 # Extract the first word of "strip", so it can be a program name with args.
3873set dummy strip; ac_word=$2
3874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3875$as_echo_n "checking for $ac_word... " >&6; }
3876if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3877 $as_echo_n "(cached) " >&6
3878else
3879 if test -n "$ac_ct_STRIP"; then
3880 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3881else
3882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883for as_dir in $PATH
3884do
3885 IFS=$as_save_IFS
3886 test -z "$as_dir" && as_dir=.
3887 for ac_exec_ext in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3889 ac_cv_prog_ac_ct_STRIP="strip"
3890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 break 2
3892 fi
3893done
3894 done
3895IFS=$as_save_IFS
3896
3897fi
3898fi
3899ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3900if test -n "$ac_ct_STRIP"; then
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3902$as_echo "$ac_ct_STRIP" >&6; }
3903else
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3905$as_echo "no" >&6; }
3906fi
3907
3908 if test "x$ac_ct_STRIP" = x; then
3909 STRIP=":"
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912yes:)
3913{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915ac_tool_warned=yes ;;
3916esac
3917 STRIP=$ac_ct_STRIP
3918 fi
3919else
3920 STRIP="$ac_cv_prog_STRIP"
3921fi
3922
3923fi
3924INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3925
3926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3927$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3928if test -z "$MKDIR_P"; then
3929 if test "${ac_cv_path_mkdir+set}" = set; then :
3930 $as_echo_n "(cached) " >&6
3931else
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3934do
3935 IFS=$as_save_IFS
3936 test -z "$as_dir" && as_dir=.
3937 for ac_prog in mkdir gmkdir; do
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3940 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3941 'mkdir (GNU coreutils) '* | \
3942 'mkdir (coreutils) '* | \
3943 'mkdir (fileutils) '4.1*)
3944 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3945 break 3;;
3946 esac
3947 done
3948 done
3949 done
3950IFS=$as_save_IFS
3951
3952fi
3953
3954 test -d ./--version && rmdir ./--version
3955 if test "${ac_cv_path_mkdir+set}" = set; then
3956 MKDIR_P="$ac_cv_path_mkdir -p"
3957 else
3958 # As a last resort, use the slow shell script. Don't cache a
3959 # value for MKDIR_P within a source directory, because that will
3960 # break other packages using the cache if that directory is
3961 # removed, or if the value is a relative name.
3962 MKDIR_P="$ac_install_sh -d"
3963 fi
3964fi
3965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3966$as_echo "$MKDIR_P" >&6; }
3967
3968mkdir_p="$MKDIR_P"
3969case $mkdir_p in
3970 [\\/$]* | ?:[\\/]*) ;;
3971 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3972esac
3973
3974for ac_prog in gawk mawk nawk awk
3975do
3976 # Extract the first word of "$ac_prog", so it can be a program name with args.
3977set dummy $ac_prog; ac_word=$2
3978{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3979$as_echo_n "checking for $ac_word... " >&6; }
3980if test "${ac_cv_prog_AWK+set}" = set; then :
3981 $as_echo_n "(cached) " >&6
3982else
3983 if test -n "$AWK"; then
3984 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3985else
3986as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987for as_dir in $PATH
3988do
3989 IFS=$as_save_IFS
3990 test -z "$as_dir" && as_dir=.
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3993 ac_cv_prog_AWK="$ac_prog"
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3995 break 2
3996 fi
3997done
3998 done
3999IFS=$as_save_IFS
4000
4001fi
4002fi
4003AWK=$ac_cv_prog_AWK
4004if test -n "$AWK"; then
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4006$as_echo "$AWK" >&6; }
4007else
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4009$as_echo "no" >&6; }
4010fi
4011
4012
4013 test -n "$AWK" && break
4014done
4015
4016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4017$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4018set x ${MAKE-make}
4019ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4020if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
4021 $as_echo_n "(cached) " >&6
4022else
4023 cat >conftest.make <<\_ACEOF
4024SHELL = /bin/sh
4025all:
4026 @echo '@@@%%%=$(MAKE)=@@@%%%'
4027_ACEOF
4028# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4029case `${MAKE-make} -f conftest.make 2>/dev/null` in
4030 *@@@%%%=?*=@@@%%%*)
4031 eval ac_cv_prog_make_${ac_make}_set=yes;;
4032 *)
4033 eval ac_cv_prog_make_${ac_make}_set=no;;
4034esac
4035rm -f conftest.make
4036fi
4037if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4039$as_echo "yes" >&6; }
4040 SET_MAKE=
4041else
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4043$as_echo "no" >&6; }
4044 SET_MAKE="MAKE=${MAKE-make}"
4045fi
4046
4047rm -rf .tst 2>/dev/null
4048mkdir .tst 2>/dev/null
4049if test -d .tst; then
4050 am__leading_dot=.
4051else
4052 am__leading_dot=_
4053fi
4054rmdir .tst 2>/dev/null
4055
4056if test "`cd $srcdir && pwd`" != "`pwd`"; then
4057 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4058 # is not polluted with repeated "-I."
4059 am__isrc=' -I$(srcdir)'
4060 # test to see if srcdir already configured
4061 if test -f $srcdir/config.status; then
4062 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4063 fi
4064fi
4065
4066# test whether we have cygpath
4067if test -z "$CYGPATH_W"; then
4068 if (cygpath --version) >/dev/null 2>/dev/null; then
4069 CYGPATH_W='cygpath -w'
4070 else
4071 CYGPATH_W=echo
4072 fi
4073fi
4074
4075
4076# Define the identity of the package.
4077 PACKAGE='evas'
4078 VERSION='1.2.0-alpha'
4079
4080
4081cat >>confdefs.h <<_ACEOF
4082#define PACKAGE "$PACKAGE"
4083_ACEOF
4084
4085
4086cat >>confdefs.h <<_ACEOF
4087#define VERSION "$VERSION"
4088_ACEOF
4089
4090# Some tools Automake needs.
4091
4092ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
4093
4094
4095AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
4096
4097
4098AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
4099
4100
4101AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
4102
4103
4104MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
4105
4106# We need awk for the "check" target. The system "awk" is bad on
4107# some platforms.
4108# Always define AMTAR for backward compatibility.
4109
4110AMTAR=${AMTAR-"${am_missing_run}tar"}
4111
4112am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
4113
4114
4115
4116
4117
4118# Check whether --enable-silent-rules was given.
4119if test "${enable_silent_rules+set}" = set; then :
4120 enableval=$enable_silent_rules;
4121fi
4122
4123case $enable_silent_rules in
4124yes) AM_DEFAULT_VERBOSITY=0;;
4125no) AM_DEFAULT_VERBOSITY=1;;
4126*) AM_DEFAULT_VERBOSITY=0;;
4127esac
4128AM_BACKSLASH='\'
4129
4130
4131DEPDIR="${am__leading_dot}deps"
4132
4133ac_config_commands="$ac_config_commands depfiles"
4134
4135
4136am_make=${MAKE-make}
4137cat > confinc << 'END'
4138am__doit:
4139 @echo this is the am__doit target
4140.PHONY: am__doit
4141END
4142# If we don't find an include directive, just comment out the code.
4143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4144$as_echo_n "checking for style of include used by $am_make... " >&6; }
4145am__include="#"
4146am__quote=
4147_am_result=none
4148# First try GNU make style include.
4149echo "include confinc" > confmf
4150# Ignore all kinds of additional output from `make'.
4151case `$am_make -s -f confmf 2> /dev/null` in #(
4152*the\ am__doit\ target*)
4153 am__include=include
4154 am__quote=
4155 _am_result=GNU
4156 ;;
4157esac
4158# Now try BSD make style include.
4159if test "$am__include" = "#"; then
4160 echo '.include "confinc"' > confmf
4161 case `$am_make -s -f confmf 2> /dev/null` in #(
4162 *the\ am__doit\ target*)
4163 am__include=.include
4164 am__quote="\""
4165 _am_result=BSD
4166 ;;
4167 esac
4168fi
4169
4170
4171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4172$as_echo "$_am_result" >&6; }
4173rm -f confinc confmf
4174
4175# Check whether --enable-dependency-tracking was given.
4176if test "${enable_dependency_tracking+set}" = set; then :
4177 enableval=$enable_dependency_tracking;
4178fi
4179
4180if test "x$enable_dependency_tracking" != xno; then
4181 am_depcomp="$ac_aux_dir/depcomp"
4182 AMDEPBACKSLASH='\'
4183fi
4184 if test "x$enable_dependency_tracking" != xno; then
4185 AMDEP_TRUE=
4186 AMDEP_FALSE='#'
4187else
4188 AMDEP_TRUE='#'
4189 AMDEP_FALSE=
4190fi
4191
4192
4193ac_ext=c
4194ac_cpp='$CPP $CPPFLAGS'
4195ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4196ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197ac_compiler_gnu=$ac_cv_c_compiler_gnu
4198if test -n "$ac_tool_prefix"; then
4199 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4200set dummy ${ac_tool_prefix}gcc; ac_word=$2
4201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4202$as_echo_n "checking for $ac_word... " >&6; }
4203if test "${ac_cv_prog_CC+set}" = set; then :
4204 $as_echo_n "(cached) " >&6
4205else
4206 if test -n "$CC"; then
4207 ac_cv_prog_CC="$CC" # Let the user override the test.
4208else
4209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4210for as_dir in $PATH
4211do
4212 IFS=$as_save_IFS
4213 test -z "$as_dir" && as_dir=.
4214 for ac_exec_ext in '' $ac_executable_extensions; do
4215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4216 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 break 2
4219 fi
4220done
4221 done
4222IFS=$as_save_IFS
4223
4224fi
4225fi
4226CC=$ac_cv_prog_CC
4227if test -n "$CC"; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4229$as_echo "$CC" >&6; }
4230else
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232$as_echo "no" >&6; }
4233fi
4234
4235
4236fi
4237if test -z "$ac_cv_prog_CC"; then
4238 ac_ct_CC=$CC
4239 # Extract the first word of "gcc", so it can be a program name with args.
4240set dummy gcc; ac_word=$2
4241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242$as_echo_n "checking for $ac_word... " >&6; }
4243if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4245else
4246 if test -n "$ac_ct_CC"; then
4247 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4248else
4249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4250for as_dir in $PATH
4251do
4252 IFS=$as_save_IFS
4253 test -z "$as_dir" && as_dir=.
4254 for ac_exec_ext in '' $ac_executable_extensions; do
4255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4256 ac_cv_prog_ac_ct_CC="gcc"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 break 2
4259 fi
4260done
4261 done
4262IFS=$as_save_IFS
4263
4264fi
4265fi
4266ac_ct_CC=$ac_cv_prog_ac_ct_CC
4267if test -n "$ac_ct_CC"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4269$as_echo "$ac_ct_CC" >&6; }
4270else
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272$as_echo "no" >&6; }
4273fi
4274
4275 if test "x$ac_ct_CC" = x; then
4276 CC=""
4277 else
4278 case $cross_compiling:$ac_tool_warned in
4279yes:)
4280{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4281$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4282ac_tool_warned=yes ;;
4283esac
4284 CC=$ac_ct_CC
4285 fi
4286else
4287 CC="$ac_cv_prog_CC"
4288fi
4289
4290if test -z "$CC"; then
4291 if test -n "$ac_tool_prefix"; then
4292 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4293set dummy ${ac_tool_prefix}cc; ac_word=$2
4294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4295$as_echo_n "checking for $ac_word... " >&6; }
4296if test "${ac_cv_prog_CC+set}" = set; then :
4297 $as_echo_n "(cached) " >&6
4298else
4299 if test -n "$CC"; then
4300 ac_cv_prog_CC="$CC" # Let the user override the test.
4301else
4302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303for as_dir in $PATH
4304do
4305 IFS=$as_save_IFS
4306 test -z "$as_dir" && as_dir=.
4307 for ac_exec_ext in '' $ac_executable_extensions; do
4308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4309 ac_cv_prog_CC="${ac_tool_prefix}cc"
4310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 break 2
4312 fi
4313done
4314 done
4315IFS=$as_save_IFS
4316
4317fi
4318fi
4319CC=$ac_cv_prog_CC
4320if test -n "$CC"; then
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4322$as_echo "$CC" >&6; }
4323else
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325$as_echo "no" >&6; }
4326fi
4327
4328
4329 fi
4330fi
4331if test -z "$CC"; then
4332 # Extract the first word of "cc", so it can be a program name with args.
4333set dummy cc; ac_word=$2
4334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335$as_echo_n "checking for $ac_word... " >&6; }
4336if test "${ac_cv_prog_CC+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4338else
4339 if test -n "$CC"; then
4340 ac_cv_prog_CC="$CC" # Let the user override the test.
4341else
4342 ac_prog_rejected=no
4343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344for as_dir in $PATH
4345do
4346 IFS=$as_save_IFS
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4350 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4351 ac_prog_rejected=yes
4352 continue
4353 fi
4354 ac_cv_prog_CC="cc"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 break 2
4357 fi
4358done
4359 done
4360IFS=$as_save_IFS
4361
4362if test $ac_prog_rejected = yes; then
4363 # We found a bogon in the path, so make sure we never use it.
4364 set dummy $ac_cv_prog_CC
4365 shift
4366 if test $# != 0; then
4367 # We chose a different compiler from the bogus one.
4368 # However, it has the same basename, so the bogon will be chosen
4369 # first if we set CC to just the basename; use the full file name.
4370 shift
4371 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4372 fi
4373fi
4374fi
4375fi
4376CC=$ac_cv_prog_CC
4377if test -n "$CC"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4379$as_echo "$CC" >&6; }
4380else
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382$as_echo "no" >&6; }
4383fi
4384
4385
4386fi
4387if test -z "$CC"; then
4388 if test -n "$ac_tool_prefix"; then
4389 for ac_prog in cl.exe
4390 do
4391 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4392set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4394$as_echo_n "checking for $ac_word... " >&6; }
4395if test "${ac_cv_prog_CC+set}" = set; then :
4396 $as_echo_n "(cached) " >&6
4397else
4398 if test -n "$CC"; then
4399 ac_cv_prog_CC="$CC" # Let the user override the test.
4400else
4401as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4402for as_dir in $PATH
4403do
4404 IFS=$as_save_IFS
4405 test -z "$as_dir" && as_dir=.
4406 for ac_exec_ext in '' $ac_executable_extensions; do
4407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4408 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4410 break 2
4411 fi
4412done
4413 done
4414IFS=$as_save_IFS
4415
4416fi
4417fi
4418CC=$ac_cv_prog_CC
4419if test -n "$CC"; then
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4421$as_echo "$CC" >&6; }
4422else
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4424$as_echo "no" >&6; }
4425fi
4426
4427
4428 test -n "$CC" && break
4429 done
4430fi
4431if test -z "$CC"; then
4432 ac_ct_CC=$CC
4433 for ac_prog in cl.exe
4434do
4435 # Extract the first word of "$ac_prog", so it can be a program name with args.
4436set dummy $ac_prog; ac_word=$2
4437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438$as_echo_n "checking for $ac_word... " >&6; }
4439if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4441else
4442 if test -n "$ac_ct_CC"; then
4443 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4444else
4445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446for as_dir in $PATH
4447do
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_ac_ct_CC="$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4455 fi
4456done
4457 done
4458IFS=$as_save_IFS
4459
4460fi
4461fi
4462ac_ct_CC=$ac_cv_prog_ac_ct_CC
4463if test -n "$ac_ct_CC"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4465$as_echo "$ac_ct_CC" >&6; }
4466else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468$as_echo "no" >&6; }
4469fi
4470
4471
4472 test -n "$ac_ct_CC" && break
4473done
4474
4475 if test "x$ac_ct_CC" = x; then
4476 CC=""
4477 else
4478 case $cross_compiling:$ac_tool_warned in
4479yes:)
4480{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4481$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4482ac_tool_warned=yes ;;
4483esac
4484 CC=$ac_ct_CC
4485 fi
4486fi
4487
4488fi
4489
4490
4491test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4492$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4493as_fn_error $? "no acceptable C compiler found in \$PATH
4494See \`config.log' for more details" "$LINENO" 5 ; }
4495
4496# Provide some information about the compiler.
4497$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4498set X $ac_compile
4499ac_compiler=$2
4500for ac_option in --version -v -V -qversion; do
4501 { { ac_try="$ac_compiler $ac_option >&5"
4502case "(($ac_try" in
4503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4504 *) ac_try_echo=$ac_try;;
4505esac
4506eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4507$as_echo "$ac_try_echo"; } >&5
4508 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4509 ac_status=$?
4510 if test -s conftest.err; then
4511 sed '10a\
4512... rest of stderr output deleted ...
4513 10q' conftest.err >conftest.er1
4514 cat conftest.er1 >&5
4515 fi
4516 rm -f conftest.er1 conftest.err
4517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4518 test $ac_status = 0; }
4519done
4520
4521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4522/* end confdefs.h. */
4523
4524int
4525main ()
4526{
4527
4528 ;
4529 return 0;
4530}
4531_ACEOF
4532ac_clean_files_save=$ac_clean_files
4533ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4534# Try to create an executable without -o first, disregard a.out.
4535# It will help us diagnose broken compilers, and finding out an intuition
4536# of exeext.
4537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4538$as_echo_n "checking whether the C compiler works... " >&6; }
4539ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4540
4541# The possible output files:
4542ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4543
4544ac_rmfiles=
4545for ac_file in $ac_files
4546do
4547 case $ac_file in
4548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4549 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4550 esac
4551done
4552rm -f $ac_rmfiles
4553
4554if { { ac_try="$ac_link_default"
4555case "(($ac_try" in
4556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4557 *) ac_try_echo=$ac_try;;
4558esac
4559eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4560$as_echo "$ac_try_echo"; } >&5
4561 (eval "$ac_link_default") 2>&5
4562 ac_status=$?
4563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4564 test $ac_status = 0; }; then :
4565 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4566# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4567# in a Makefile. We should not override ac_cv_exeext if it was cached,
4568# so that the user can short-circuit this test for compilers unknown to
4569# Autoconf.
4570for ac_file in $ac_files ''
4571do
4572 test -f "$ac_file" || continue
4573 case $ac_file in
4574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4575 ;;
4576 [ab].out )
4577 # We found the default executable, but exeext='' is most
4578 # certainly right.
4579 break;;
4580 *.* )
4581 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4582 then :; else
4583 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4584 fi
4585 # We set ac_cv_exeext here because the later test for it is not
4586 # safe: cross compilers may not add the suffix if given an `-o'
4587 # argument, so we may need to know it at that point already.
4588 # Even if this section looks crufty: it has the advantage of
4589 # actually working.
4590 break;;
4591 * )
4592 break;;
4593 esac
4594done
4595test "$ac_cv_exeext" = no && ac_cv_exeext=
4596
4597else
4598 ac_file=''
4599fi
4600if test -z "$ac_file"; then :
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602$as_echo "no" >&6; }
4603$as_echo "$as_me: failed program was:" >&5
4604sed 's/^/| /' conftest.$ac_ext >&5
4605
4606{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4607$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4608as_fn_error 77 "C compiler cannot create executables
4609See \`config.log' for more details" "$LINENO" 5 ; }
4610else
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4612$as_echo "yes" >&6; }
4613fi
4614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4615$as_echo_n "checking for C compiler default output file name... " >&6; }
4616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4617$as_echo "$ac_file" >&6; }
4618ac_exeext=$ac_cv_exeext
4619
4620rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4621ac_clean_files=$ac_clean_files_save
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4623$as_echo_n "checking for suffix of executables... " >&6; }
4624if { { ac_try="$ac_link"
4625case "(($ac_try" in
4626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4627 *) ac_try_echo=$ac_try;;
4628esac
4629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4630$as_echo "$ac_try_echo"; } >&5
4631 (eval "$ac_link") 2>&5
4632 ac_status=$?
4633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4634 test $ac_status = 0; }; then :
4635 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4636# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4637# work properly (i.e., refer to `conftest.exe'), while it won't with
4638# `rm'.
4639for ac_file in conftest.exe conftest conftest.*; do
4640 test -f "$ac_file" || continue
4641 case $ac_file in
4642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4643 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4644 break;;
4645 * ) break;;
4646 esac
4647done
4648else
4649 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4651as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4652See \`config.log' for more details" "$LINENO" 5 ; }
4653fi
4654rm -f conftest conftest$ac_cv_exeext
4655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4656$as_echo "$ac_cv_exeext" >&6; }
4657
4658rm -f conftest.$ac_ext
4659EXEEXT=$ac_cv_exeext
4660ac_exeext=$EXEEXT
4661cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662/* end confdefs.h. */
4663#include <stdio.h>
4664int
4665main ()
4666{
4667FILE *f = fopen ("conftest.out", "w");
4668 return ferror (f) || fclose (f) != 0;
4669
4670 ;
4671 return 0;
4672}
4673_ACEOF
4674ac_clean_files="$ac_clean_files conftest.out"
4675# Check that the compiler produces executables we can run. If not, either
4676# the compiler is broken, or we cross compile.
4677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4678$as_echo_n "checking whether we are cross compiling... " >&6; }
4679if test "$cross_compiling" != yes; then
4680 { { ac_try="$ac_link"
4681case "(($ac_try" in
4682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4683 *) ac_try_echo=$ac_try;;
4684esac
4685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4686$as_echo "$ac_try_echo"; } >&5
4687 (eval "$ac_link") 2>&5
4688 ac_status=$?
4689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4690 test $ac_status = 0; }
4691 if { ac_try='./conftest$ac_cv_exeext'
4692 { { case "(($ac_try" in
4693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4694 *) ac_try_echo=$ac_try;;
4695esac
4696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4697$as_echo "$ac_try_echo"; } >&5
4698 (eval "$ac_try") 2>&5
4699 ac_status=$?
4700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4701 test $ac_status = 0; }; }; then
4702 cross_compiling=no
4703 else
4704 if test "$cross_compiling" = maybe; then
4705 cross_compiling=yes
4706 else
4707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4709as_fn_error $? "cannot run C compiled programs.
4710If you meant to cross compile, use \`--host'.
4711See \`config.log' for more details" "$LINENO" 5 ; }
4712 fi
4713 fi
4714fi
4715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4716$as_echo "$cross_compiling" >&6; }
4717
4718rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4719ac_clean_files=$ac_clean_files_save
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4721$as_echo_n "checking for suffix of object files... " >&6; }
4722if test "${ac_cv_objext+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4724else
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726/* end confdefs.h. */
4727
4728int
4729main ()
4730{
4731
4732 ;
4733 return 0;
4734}
4735_ACEOF
4736rm -f conftest.o conftest.obj
4737if { { ac_try="$ac_compile"
4738case "(($ac_try" in
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4741esac
4742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4743$as_echo "$ac_try_echo"; } >&5
4744 (eval "$ac_compile") 2>&5
4745 ac_status=$?
4746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4747 test $ac_status = 0; }; then :
4748 for ac_file in conftest.o conftest.obj conftest.*; do
4749 test -f "$ac_file" || continue;
4750 case $ac_file in
4751 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4752 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4753 break;;
4754 esac
4755done
4756else
4757 $as_echo "$as_me: failed program was:" >&5
4758sed 's/^/| /' conftest.$ac_ext >&5
4759
4760{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4762as_fn_error $? "cannot compute suffix of object files: cannot compile
4763See \`config.log' for more details" "$LINENO" 5 ; }
4764fi
4765rm -f conftest.$ac_cv_objext conftest.$ac_ext
4766fi
4767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4768$as_echo "$ac_cv_objext" >&6; }
4769OBJEXT=$ac_cv_objext
4770ac_objext=$OBJEXT
4771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4772$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4773if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4775else
4776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4777/* end confdefs.h. */
4778
4779int
4780main ()
4781{
4782#ifndef __GNUC__
4783 choke me
4784#endif
4785
4786 ;
4787 return 0;
4788}
4789_ACEOF
4790if ac_fn_c_try_compile "$LINENO"; then :
4791 ac_compiler_gnu=yes
4792else
4793 ac_compiler_gnu=no
4794fi
4795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796ac_cv_c_compiler_gnu=$ac_compiler_gnu
4797
4798fi
4799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4800$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4801if test $ac_compiler_gnu = yes; then
4802 GCC=yes
4803else
4804 GCC=
4805fi
4806ac_test_CFLAGS=${CFLAGS+set}
4807ac_save_CFLAGS=$CFLAGS
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4809$as_echo_n "checking whether $CC accepts -g... " >&6; }
4810if test "${ac_cv_prog_cc_g+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812else
4813 ac_save_c_werror_flag=$ac_c_werror_flag
4814 ac_c_werror_flag=yes
4815 ac_cv_prog_cc_g=no
4816 CFLAGS="-g"
4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4818/* end confdefs.h. */
4819
4820int
4821main ()
4822{
4823
4824 ;
4825 return 0;
4826}
4827_ACEOF
4828if ac_fn_c_try_compile "$LINENO"; then :
4829 ac_cv_prog_cc_g=yes
4830else
4831 CFLAGS=""
4832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4833/* end confdefs.h. */
4834
4835int
4836main ()
4837{
4838
4839 ;
4840 return 0;
4841}
4842_ACEOF
4843if ac_fn_c_try_compile "$LINENO"; then :
4844
4845else
4846 ac_c_werror_flag=$ac_save_c_werror_flag
4847 CFLAGS="-g"
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849/* end confdefs.h. */
4850
4851int
4852main ()
4853{
4854
4855 ;
4856 return 0;
4857}
4858_ACEOF
4859if ac_fn_c_try_compile "$LINENO"; then :
4860 ac_cv_prog_cc_g=yes
4861fi
4862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4863fi
4864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4865fi
4866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4867 ac_c_werror_flag=$ac_save_c_werror_flag
4868fi
4869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4870$as_echo "$ac_cv_prog_cc_g" >&6; }
4871if test "$ac_test_CFLAGS" = set; then
4872 CFLAGS=$ac_save_CFLAGS
4873elif test $ac_cv_prog_cc_g = yes; then
4874 if test "$GCC" = yes; then
4875 CFLAGS="-g -O2"
4876 else
4877 CFLAGS="-g"
4878 fi
4879else
4880 if test "$GCC" = yes; then
4881 CFLAGS="-O2"
4882 else
4883 CFLAGS=
4884 fi
4885fi
4886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4887$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4888if test "${ac_cv_prog_cc_c89+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890else
4891 ac_cv_prog_cc_c89=no
4892ac_save_CC=$CC
4893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4894/* end confdefs.h. */
4895#include <stdarg.h>
4896#include <stdio.h>
4897#include <sys/types.h>
4898#include <sys/stat.h>
4899/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4900struct buf { int x; };
4901FILE * (*rcsopen) (struct buf *, struct stat *, int);
4902static char *e (p, i)
4903 char **p;
4904 int i;
4905{
4906 return p[i];
4907}
4908static char *f (char * (*g) (char **, int), char **p, ...)
4909{
4910 char *s;
4911 va_list v;
4912 va_start (v,p);
4913 s = g (p, va_arg (v,int));
4914 va_end (v);
4915 return s;
4916}
4917
4918/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4919 function prototypes and stuff, but not '\xHH' hex character constants.
4920 These don't provoke an error unfortunately, instead are silently treated
4921 as 'x'. The following induces an error, until -std is added to get
4922 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4923 array size at least. It's necessary to write '\x00'==0 to get something
4924 that's true only with -std. */
4925int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4926
4927/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4928 inside strings and character constants. */
4929#define FOO(x) 'x'
4930int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4931
4932int test (int i, double x);
4933struct s1 {int (*f) (int a);};
4934struct s2 {int (*f) (double a);};
4935int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4936int argc;
4937char **argv;
4938int
4939main ()
4940{
4941return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4942 ;
4943 return 0;
4944}
4945_ACEOF
4946for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4947 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4948do
4949 CC="$ac_save_CC $ac_arg"
4950 if ac_fn_c_try_compile "$LINENO"; then :
4951 ac_cv_prog_cc_c89=$ac_arg
4952fi
4953rm -f core conftest.err conftest.$ac_objext
4954 test "x$ac_cv_prog_cc_c89" != "xno" && break
4955done
4956rm -f conftest.$ac_ext
4957CC=$ac_save_CC
4958
4959fi
4960# AC_CACHE_VAL
4961case "x$ac_cv_prog_cc_c89" in
4962 x)
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4964$as_echo "none needed" >&6; } ;;
4965 xno)
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4967$as_echo "unsupported" >&6; } ;;
4968 *)
4969 CC="$CC $ac_cv_prog_cc_c89"
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4971$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4972esac
4973if test "x$ac_cv_prog_cc_c89" != xno; then :
4974
4975fi
4976
4977ac_ext=c
4978ac_cpp='$CPP $CPPFLAGS'
4979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981ac_compiler_gnu=$ac_cv_c_compiler_gnu
4982
4983depcc="$CC" am_compiler_list=
4984
4985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4986$as_echo_n "checking dependency style of $depcc... " >&6; }
4987if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989else
4990 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4991 # We make a subdir and do the tests there. Otherwise we can end up
4992 # making bogus files that we don't know about and never remove. For
4993 # instance it was reported that on HP-UX the gcc test will end up
4994 # making a dummy file named `D' -- because `-MD' means `put the output
4995 # in D'.
4996 mkdir conftest.dir
4997 # Copy depcomp to subdir because otherwise we won't find it if we're
4998 # using a relative directory.
4999 cp "$am_depcomp" conftest.dir
5000 cd conftest.dir
5001 # We will build objects and dependencies in a subdirectory because
5002 # it helps to detect inapplicable dependency modes. For instance
5003 # both Tru64's cc and ICC support -MD to output dependencies as a
5004 # side effect of compilation, but ICC will put the dependencies in
5005 # the current directory while Tru64 will put them in the object
5006 # directory.
5007 mkdir sub
5008
5009 am_cv_CC_dependencies_compiler_type=none
5010 if test "$am_compiler_list" = ""; then
5011 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5012 fi
5013 am__universal=false
5014 case " $depcc " in #(
5015 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5016 esac
5017
5018 for depmode in $am_compiler_list; do
5019 # Setup a source with many dependencies, because some compilers
5020 # like to wrap large dependency lists on column 80 (with \), and
5021 # we should not choose a depcomp mode which is confused by this.
5022 #
5023 # We need to recreate these files for each test, as the compiler may
5024 # overwrite some of them when testing with obscure command lines.
5025 # This happens at least with the AIX C compiler.
5026 : > sub/conftest.c
5027 for i in 1 2 3 4 5 6; do
5028 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5029 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5030 # Solaris 8's {/usr,}/bin/sh.
5031 touch sub/conftst$i.h
5032 done
5033 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5034
5035 # We check with `-c' and `-o' for the sake of the "dashmstdout"
5036 # mode. It turns out that the SunPro C++ compiler does not properly
5037 # handle `-M -o', and we need to detect this. Also, some Intel
5038 # versions had trouble with output in subdirs
5039 am__obj=sub/conftest.${OBJEXT-o}
5040 am__minus_obj="-o $am__obj"
5041 case $depmode in
5042 gcc)
5043 # This depmode causes a compiler race in universal mode.
5044 test "$am__universal" = false || continue
5045 ;;
5046 nosideeffect)
5047 # after this tag, mechanisms are not by side-effect, so they'll
5048 # only be used when explicitly requested
5049 if test "x$enable_dependency_tracking" = xyes; then
5050 continue
5051 else
5052 break
5053 fi
5054 ;;
5055 msvisualcpp | msvcmsys)
5056 # This compiler won't grok `-c -o', but also, the minuso test has
5057 # not run yet. These depmodes are late enough in the game, and
5058 # so weak that their functioning should not be impacted.
5059 am__obj=conftest.${OBJEXT-o}
5060 am__minus_obj=
5061 ;;
5062 none) break ;;
5063 esac
5064 if depmode=$depmode \
5065 source=sub/conftest.c object=$am__obj \
5066 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5067 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5068 >/dev/null 2>conftest.err &&
5069 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5070 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5071 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5072 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5073 # icc doesn't choke on unknown options, it will just issue warnings
5074 # or remarks (even with -Werror). So we grep stderr for any message
5075 # that says an option was ignored or not supported.
5076 # When given -MP, icc 7.0 and 7.1 complain thusly:
5077 # icc: Command line warning: ignoring option '-M'; no argument required
5078 # The diagnosis changed in icc 8.0:
5079 # icc: Command line remark: option '-MP' not supported
5080 if (grep 'ignoring option' conftest.err ||
5081 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5082 am_cv_CC_dependencies_compiler_type=$depmode
5083 break
5084 fi
5085 fi
5086 done
5087
5088 cd ..
5089 rm -rf conftest.dir
5090else
5091 am_cv_CC_dependencies_compiler_type=none
5092fi
5093
5094fi
5095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5096$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5097CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5098
5099 if
5100 test "x$enable_dependency_tracking" != xno \
5101 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5102 am__fastdepCC_TRUE=
5103 am__fastdepCC_FALSE='#'
5104else
5105 am__fastdepCC_TRUE='#'
5106 am__fastdepCC_FALSE=
5107fi
5108
5109
5110
5111ac_ext=c
5112ac_cpp='$CPP $CPPFLAGS'
5113ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115ac_compiler_gnu=$ac_cv_c_compiler_gnu
5116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5117$as_echo_n "checking how to run the C preprocessor... " >&6; }
5118# On Suns, sometimes $CPP names a directory.
5119if test -n "$CPP" && test -d "$CPP"; then
5120 CPP=
5121fi
5122if test -z "$CPP"; then
5123 if test "${ac_cv_prog_CPP+set}" = set; then :
5124 $as_echo_n "(cached) " >&6
5125else
5126 # Double quotes because CPP needs to be expanded
5127 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5128 do
5129 ac_preproc_ok=false
5130for ac_c_preproc_warn_flag in '' yes
5131do
5132 # Use a header file that comes with gcc, so configuring glibc
5133 # with a fresh cross-compiler works.
5134 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5135 # <limits.h> exists even on freestanding compilers.
5136 # On the NeXT, cc -E runs the code through the compiler's parser,
5137 # not just through cpp. "Syntax error" is here to catch this case.
5138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5139/* end confdefs.h. */
5140#ifdef __STDC__
5141# include <limits.h>
5142#else
5143# include <assert.h>
5144#endif
5145 Syntax error
5146_ACEOF
5147if ac_fn_c_try_cpp "$LINENO"; then :
5148
5149else
5150 # Broken: fails on valid input.
5151continue
5152fi
5153rm -f conftest.err conftest.i conftest.$ac_ext
5154
5155 # OK, works on sane cases. Now check whether nonexistent headers
5156 # can be detected and how.
5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158/* end confdefs.h. */
5159#include <ac_nonexistent.h>
5160_ACEOF
5161if ac_fn_c_try_cpp "$LINENO"; then :
5162 # Broken: success on invalid input.
5163continue
5164else
5165 # Passes both tests.
5166ac_preproc_ok=:
5167break
5168fi
5169rm -f conftest.err conftest.i conftest.$ac_ext
5170
5171done
5172# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5173rm -f conftest.i conftest.err conftest.$ac_ext
5174if $ac_preproc_ok; then :
5175 break
5176fi
5177
5178 done
5179 ac_cv_prog_CPP=$CPP
5180
5181fi
5182 CPP=$ac_cv_prog_CPP
5183else
5184 ac_cv_prog_CPP=$CPP
5185fi
5186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5187$as_echo "$CPP" >&6; }
5188ac_preproc_ok=false
5189for ac_c_preproc_warn_flag in '' yes
5190do
5191 # Use a header file that comes with gcc, so configuring glibc
5192 # with a fresh cross-compiler works.
5193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5194 # <limits.h> exists even on freestanding compilers.
5195 # On the NeXT, cc -E runs the code through the compiler's parser,
5196 # not just through cpp. "Syntax error" is here to catch this case.
5197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5198/* end confdefs.h. */
5199#ifdef __STDC__
5200# include <limits.h>
5201#else
5202# include <assert.h>
5203#endif
5204 Syntax error
5205_ACEOF
5206if ac_fn_c_try_cpp "$LINENO"; then :
5207
5208else
5209 # Broken: fails on valid input.
5210continue
5211fi
5212rm -f conftest.err conftest.i conftest.$ac_ext
5213
5214 # OK, works on sane cases. Now check whether nonexistent headers
5215 # can be detected and how.
5216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5217/* end confdefs.h. */
5218#include <ac_nonexistent.h>
5219_ACEOF
5220if ac_fn_c_try_cpp "$LINENO"; then :
5221 # Broken: success on invalid input.
5222continue
5223else
5224 # Passes both tests.
5225ac_preproc_ok=:
5226break
5227fi
5228rm -f conftest.err conftest.i conftest.$ac_ext
5229
5230done
5231# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5232rm -f conftest.i conftest.err conftest.$ac_ext
5233if $ac_preproc_ok; then :
5234
5235else
5236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5238as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5239See \`config.log' for more details" "$LINENO" 5 ; }
5240fi
5241
5242ac_ext=c
5243ac_cpp='$CPP $CPPFLAGS'
5244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5246ac_compiler_gnu=$ac_cv_c_compiler_gnu
5247
5248
5249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5250$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5251if test "${ac_cv_path_GREP+set}" = set; then :
5252 $as_echo_n "(cached) " >&6
5253else
5254 if test -z "$GREP"; then
5255 ac_path_GREP_found=false
5256 # Loop through the user's path and test for each of PROGNAME-LIST
5257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5258for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5259do
5260 IFS=$as_save_IFS
5261 test -z "$as_dir" && as_dir=.
5262 for ac_prog in grep ggrep; do
5263 for ac_exec_ext in '' $ac_executable_extensions; do
5264 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5265 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5266# Check for GNU ac_path_GREP and select it if it is found.
5267 # Check for GNU $ac_path_GREP
5268case `"$ac_path_GREP" --version 2>&1` in
5269*GNU*)
5270 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5271*)
5272 ac_count=0
5273 $as_echo_n 0123456789 >"conftest.in"
5274 while :
5275 do
5276 cat "conftest.in" "conftest.in" >"conftest.tmp"
5277 mv "conftest.tmp" "conftest.in"
5278 cp "conftest.in" "conftest.nl"
5279 $as_echo 'GREP' >> "conftest.nl"
5280 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5281 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5282 as_fn_arith $ac_count + 1 && ac_count=$as_val
5283 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5284 # Best one so far, save it but keep looking for a better one
5285 ac_cv_path_GREP="$ac_path_GREP"
5286 ac_path_GREP_max=$ac_count
5287 fi
5288 # 10*(2^10) chars as input seems more than enough
5289 test $ac_count -gt 10 && break
5290 done
5291 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5292esac
5293
5294 $ac_path_GREP_found && break 3
5295 done
5296 done
5297 done
5298IFS=$as_save_IFS
5299 if test -z "$ac_cv_path_GREP"; then
5300 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5301 fi
5302else
5303 ac_cv_path_GREP=$GREP
5304fi
5305
5306fi
5307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5308$as_echo "$ac_cv_path_GREP" >&6; }
5309 GREP="$ac_cv_path_GREP"
5310
5311
5312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5313$as_echo_n "checking for egrep... " >&6; }
5314if test "${ac_cv_path_EGREP+set}" = set; then :
5315 $as_echo_n "(cached) " >&6
5316else
5317 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5318 then ac_cv_path_EGREP="$GREP -E"
5319 else
5320 if test -z "$EGREP"; then
5321 ac_path_EGREP_found=false
5322 # Loop through the user's path and test for each of PROGNAME-LIST
5323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5325do
5326 IFS=$as_save_IFS
5327 test -z "$as_dir" && as_dir=.
5328 for ac_prog in egrep; do
5329 for ac_exec_ext in '' $ac_executable_extensions; do
5330 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5331 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5332# Check for GNU ac_path_EGREP and select it if it is found.
5333 # Check for GNU $ac_path_EGREP
5334case `"$ac_path_EGREP" --version 2>&1` in
5335*GNU*)
5336 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5337*)
5338 ac_count=0
5339 $as_echo_n 0123456789 >"conftest.in"
5340 while :
5341 do
5342 cat "conftest.in" "conftest.in" >"conftest.tmp"
5343 mv "conftest.tmp" "conftest.in"
5344 cp "conftest.in" "conftest.nl"
5345 $as_echo 'EGREP' >> "conftest.nl"
5346 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5347 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5348 as_fn_arith $ac_count + 1 && ac_count=$as_val
5349 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5350 # Best one so far, save it but keep looking for a better one
5351 ac_cv_path_EGREP="$ac_path_EGREP"
5352 ac_path_EGREP_max=$ac_count
5353 fi
5354 # 10*(2^10) chars as input seems more than enough
5355 test $ac_count -gt 10 && break
5356 done
5357 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5358esac
5359
5360 $ac_path_EGREP_found && break 3
5361 done
5362 done
5363 done
5364IFS=$as_save_IFS
5365 if test -z "$ac_cv_path_EGREP"; then
5366 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5367 fi
5368else
5369 ac_cv_path_EGREP=$EGREP
5370fi
5371
5372 fi
5373fi
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5375$as_echo "$ac_cv_path_EGREP" >&6; }
5376 EGREP="$ac_cv_path_EGREP"
5377
5378
5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5380$as_echo_n "checking for ANSI C header files... " >&6; }
5381if test "${ac_cv_header_stdc+set}" = set; then :
5382 $as_echo_n "(cached) " >&6
5383else
5384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5385/* end confdefs.h. */
5386#include <stdlib.h>
5387#include <stdarg.h>
5388#include <string.h>
5389#include <float.h>
5390
5391int
5392main ()
5393{
5394
5395 ;
5396 return 0;
5397}
5398_ACEOF
5399if ac_fn_c_try_compile "$LINENO"; then :
5400 ac_cv_header_stdc=yes
5401else
5402 ac_cv_header_stdc=no
5403fi
5404rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5405
5406if test $ac_cv_header_stdc = yes; then
5407 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409/* end confdefs.h. */
5410#include <string.h>
5411
5412_ACEOF
5413if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5414 $EGREP "memchr" >/dev/null 2>&1; then :
5415
5416else
5417 ac_cv_header_stdc=no
5418fi
5419rm -f conftest*
5420
5421fi
5422
5423if test $ac_cv_header_stdc = yes; then
5424 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426/* end confdefs.h. */
5427#include <stdlib.h>
5428
5429_ACEOF
5430if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5431 $EGREP "free" >/dev/null 2>&1; then :
5432
5433else
5434 ac_cv_header_stdc=no
5435fi
5436rm -f conftest*
5437
5438fi
5439
5440if test $ac_cv_header_stdc = yes; then
5441 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5442 if test "$cross_compiling" = yes; then :
5443 :
5444else
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446/* end confdefs.h. */
5447#include <ctype.h>
5448#include <stdlib.h>
5449#if ((' ' & 0x0FF) == 0x020)
5450# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5451# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5452#else
5453# define ISLOWER(c) \
5454 (('a' <= (c) && (c) <= 'i') \
5455 || ('j' <= (c) && (c) <= 'r') \
5456 || ('s' <= (c) && (c) <= 'z'))
5457# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5458#endif
5459
5460#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5461int
5462main ()
5463{
5464 int i;
5465 for (i = 0; i < 256; i++)
5466 if (XOR (islower (i), ISLOWER (i))
5467 || toupper (i) != TOUPPER (i))
5468 return 2;
5469 return 0;
5470}
5471_ACEOF
5472if ac_fn_c_try_run "$LINENO"; then :
5473
5474else
5475 ac_cv_header_stdc=no
5476fi
5477rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5478 conftest.$ac_objext conftest.beam conftest.$ac_ext
5479fi
5480
5481fi
5482fi
5483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5484$as_echo "$ac_cv_header_stdc" >&6; }
5485if test $ac_cv_header_stdc = yes; then
5486
5487$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5488
5489fi
5490
5491# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5492for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5493 inttypes.h stdint.h unistd.h
5494do :
5495 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5496ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5497"
5498if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5499 cat >>confdefs.h <<_ACEOF
5500#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5501_ACEOF
5502
5503fi
5504
5505done
5506
5507
5508
5509 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5510if test "x$ac_cv_header_minix_config_h" = x""yes; then :
5511 MINIX=yes
5512else
5513 MINIX=
5514fi
5515
5516
5517 if test "$MINIX" = yes; then
5518
5519$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5520
5521
5522$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5523
5524
5525$as_echo "#define _MINIX 1" >>confdefs.h
5526
5527 fi
5528
5529
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5531$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5532if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
5533 $as_echo_n "(cached) " >&6
5534else
5535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5536/* end confdefs.h. */
5537
5538# define __EXTENSIONS__ 1
5539 $ac_includes_default
5540int
5541main ()
5542{
5543
5544 ;
5545 return 0;
5546}
5547_ACEOF
5548if ac_fn_c_try_compile "$LINENO"; then :
5549 ac_cv_safe_to_define___extensions__=yes
5550else
5551 ac_cv_safe_to_define___extensions__=no
5552fi
5553rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5554fi
5555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5556$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5557 test $ac_cv_safe_to_define___extensions__ = yes &&
5558 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5559
5560 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5561
5562 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5563
5564 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5565
5566 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5567
5568
5569
5570
5571# Make sure we can run config.sub.
5572$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5573 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5574
5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5576$as_echo_n "checking build system type... " >&6; }
5577if test "${ac_cv_build+set}" = set; then :
5578 $as_echo_n "(cached) " >&6
5579else
5580 ac_build_alias=$build_alias
5581test "x$ac_build_alias" = x &&
5582 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5583test "x$ac_build_alias" = x &&
5584 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5585ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5586 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5587
5588fi
5589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5590$as_echo "$ac_cv_build" >&6; }
5591case $ac_cv_build in
5592*-*-*) ;;
5593*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
5594esac
5595build=$ac_cv_build
5596ac_save_IFS=$IFS; IFS='-'
5597set x $ac_cv_build
5598shift
5599build_cpu=$1
5600build_vendor=$2
5601shift; shift
5602# Remember, the first character of IFS is used to create $*,
5603# except with old shells:
5604build_os=$*
5605IFS=$ac_save_IFS
5606case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5607
5608
5609{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5610$as_echo_n "checking host system type... " >&6; }
5611if test "${ac_cv_host+set}" = set; then :
5612 $as_echo_n "(cached) " >&6
5613else
5614 if test "x$host_alias" = x; then
5615 ac_cv_host=$ac_cv_build
5616else
5617 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5618 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5619fi
5620
5621fi
5622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5623$as_echo "$ac_cv_host" >&6; }
5624case $ac_cv_host in
5625*-*-*) ;;
5626*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
5627esac
5628host=$ac_cv_host
5629ac_save_IFS=$IFS; IFS='-'
5630set x $ac_cv_host
5631shift
5632host_cpu=$1
5633host_vendor=$2
5634shift; shift
5635# Remember, the first character of IFS is used to create $*,
5636# except with old shells:
5637host_os=$*
5638IFS=$ac_save_IFS
5639case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5640
5641
5642enable_win32_dll=yes
5643
5644case $host in
5645*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
5646 if test -n "$ac_tool_prefix"; then
5647 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5648set dummy ${ac_tool_prefix}as; ac_word=$2
5649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650$as_echo_n "checking for $ac_word... " >&6; }
5651if test "${ac_cv_prog_AS+set}" = set; then :
5652 $as_echo_n "(cached) " >&6
5653else
5654 if test -n "$AS"; then
5655 ac_cv_prog_AS="$AS" # Let the user override the test.
5656else
5657as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658for as_dir in $PATH
5659do
5660 IFS=$as_save_IFS
5661 test -z "$as_dir" && as_dir=.
5662 for ac_exec_ext in '' $ac_executable_extensions; do
5663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5664 ac_cv_prog_AS="${ac_tool_prefix}as"
5665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 break 2
5667 fi
5668done
5669 done
5670IFS=$as_save_IFS
5671
5672fi
5673fi
5674AS=$ac_cv_prog_AS
5675if test -n "$AS"; then
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5677$as_echo "$AS" >&6; }
5678else
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5680$as_echo "no" >&6; }
5681fi
5682
5683
5684fi
5685if test -z "$ac_cv_prog_AS"; then
5686 ac_ct_AS=$AS
5687 # Extract the first word of "as", so it can be a program name with args.
5688set dummy as; ac_word=$2
5689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690$as_echo_n "checking for $ac_word... " >&6; }
5691if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5692 $as_echo_n "(cached) " >&6
5693else
5694 if test -n "$ac_ct_AS"; then
5695 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5696else
5697as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698for as_dir in $PATH
5699do
5700 IFS=$as_save_IFS
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5704 ac_cv_prog_ac_ct_AS="as"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 break 2
5707 fi
5708done
5709 done
5710IFS=$as_save_IFS
5711
5712fi
5713fi
5714ac_ct_AS=$ac_cv_prog_ac_ct_AS
5715if test -n "$ac_ct_AS"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5717$as_echo "$ac_ct_AS" >&6; }
5718else
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720$as_echo "no" >&6; }
5721fi
5722
5723 if test "x$ac_ct_AS" = x; then
5724 AS="false"
5725 else
5726 case $cross_compiling:$ac_tool_warned in
5727yes:)
5728{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5729$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5730ac_tool_warned=yes ;;
5731esac
5732 AS=$ac_ct_AS
5733 fi
5734else
5735 AS="$ac_cv_prog_AS"
5736fi
5737
5738 if test -n "$ac_tool_prefix"; then
5739 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5740set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742$as_echo_n "checking for $ac_word... " >&6; }
5743if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745else
5746 if test -n "$DLLTOOL"; then
5747 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5748else
5749as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750for as_dir in $PATH
5751do
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5759 fi
5760done
5761 done
5762IFS=$as_save_IFS
5763
5764fi
5765fi
5766DLLTOOL=$ac_cv_prog_DLLTOOL
5767if test -n "$DLLTOOL"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5769$as_echo "$DLLTOOL" >&6; }
5770else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772$as_echo "no" >&6; }
5773fi
5774
5775
5776fi
5777if test -z "$ac_cv_prog_DLLTOOL"; then
5778 ac_ct_DLLTOOL=$DLLTOOL
5779 # Extract the first word of "dlltool", so it can be a program name with args.
5780set dummy dlltool; ac_word=$2
5781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782$as_echo_n "checking for $ac_word... " >&6; }
5783if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
5784 $as_echo_n "(cached) " >&6
5785else
5786 if test -n "$ac_ct_DLLTOOL"; then
5787 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5788else
5789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790for as_dir in $PATH
5791do
5792 IFS=$as_save_IFS
5793 test -z "$as_dir" && as_dir=.
5794 for ac_exec_ext in '' $ac_executable_extensions; do
5795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5796 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 break 2
5799 fi
5800done
5801 done
5802IFS=$as_save_IFS
5803
5804fi
5805fi
5806ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5807if test -n "$ac_ct_DLLTOOL"; then
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5809$as_echo "$ac_ct_DLLTOOL" >&6; }
5810else
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812$as_echo "no" >&6; }
5813fi
5814
5815 if test "x$ac_ct_DLLTOOL" = x; then
5816 DLLTOOL="false"
5817 else
5818 case $cross_compiling:$ac_tool_warned in
5819yes:)
5820{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5821$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5822ac_tool_warned=yes ;;
5823esac
5824 DLLTOOL=$ac_ct_DLLTOOL
5825 fi
5826else
5827 DLLTOOL="$ac_cv_prog_DLLTOOL"
5828fi
5829
5830 if test -n "$ac_tool_prefix"; then
5831 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5832set dummy ${ac_tool_prefix}objdump; ac_word=$2
5833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5834$as_echo_n "checking for $ac_word... " >&6; }
5835if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5837else
5838 if test -n "$OBJDUMP"; then
5839 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5840else
5841as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5842for as_dir in $PATH
5843do
5844 IFS=$as_save_IFS
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5848 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5850 break 2
5851 fi
5852done
5853 done
5854IFS=$as_save_IFS
5855
5856fi
5857fi
5858OBJDUMP=$ac_cv_prog_OBJDUMP
5859if test -n "$OBJDUMP"; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5861$as_echo "$OBJDUMP" >&6; }
5862else
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5864$as_echo "no" >&6; }
5865fi
5866
5867
5868fi
5869if test -z "$ac_cv_prog_OBJDUMP"; then
5870 ac_ct_OBJDUMP=$OBJDUMP
5871 # Extract the first word of "objdump", so it can be a program name with args.
5872set dummy objdump; ac_word=$2
5873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5874$as_echo_n "checking for $ac_word... " >&6; }
5875if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5876 $as_echo_n "(cached) " >&6
5877else
5878 if test -n "$ac_ct_OBJDUMP"; then
5879 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5880else
5881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5882for as_dir in $PATH
5883do
5884 IFS=$as_save_IFS
5885 test -z "$as_dir" && as_dir=.
5886 for ac_exec_ext in '' $ac_executable_extensions; do
5887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5888 ac_cv_prog_ac_ct_OBJDUMP="objdump"
5889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5890 break 2
5891 fi
5892done
5893 done
5894IFS=$as_save_IFS
5895
5896fi
5897fi
5898ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5899if test -n "$ac_ct_OBJDUMP"; then
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5901$as_echo "$ac_ct_OBJDUMP" >&6; }
5902else
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5904$as_echo "no" >&6; }
5905fi
5906
5907 if test "x$ac_ct_OBJDUMP" = x; then
5908 OBJDUMP="false"
5909 else
5910 case $cross_compiling:$ac_tool_warned in
5911yes:)
5912{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5913$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5914ac_tool_warned=yes ;;
5915esac
5916 OBJDUMP=$ac_ct_OBJDUMP
5917 fi
5918else
5919 OBJDUMP="$ac_cv_prog_OBJDUMP"
5920fi
5921
5922 ;;
5923esac
5924
5925test -z "$AS" && AS=as
5926
5927
5928
5929
5930
5931test -z "$DLLTOOL" && DLLTOOL=dlltool
5932
5933
5934
5935
5936
5937test -z "$OBJDUMP" && OBJDUMP=objdump
5938
5939
5940
5941
5942
5943
5944
5945case `pwd` in
5946 *\ * | *\ *)
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5948$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5949esac
5950
5951
5952
5953macro_version='2.2.6b'
5954macro_revision='1.3017'
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968ltmain="$ac_aux_dir/ltmain.sh"
5969
5970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5971$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5972if test "${ac_cv_path_SED+set}" = set; then :
5973 $as_echo_n "(cached) " >&6
5974else
5975 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5976 for ac_i in 1 2 3 4 5 6 7; do
5977 ac_script="$ac_script$as_nl$ac_script"
5978 done
5979 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5980 { ac_script=; unset ac_script;}
5981 if test -z "$SED"; then
5982 ac_path_SED_found=false
5983 # Loop through the user's path and test for each of PROGNAME-LIST
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985for as_dir in $PATH
5986do
5987 IFS=$as_save_IFS
5988 test -z "$as_dir" && as_dir=.
5989 for ac_prog in sed gsed; do
5990 for ac_exec_ext in '' $ac_executable_extensions; do
5991 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5992 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5993# Check for GNU ac_path_SED and select it if it is found.
5994 # Check for GNU $ac_path_SED
5995case `"$ac_path_SED" --version 2>&1` in
5996*GNU*)
5997 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5998*)
5999 ac_count=0
6000 $as_echo_n 0123456789 >"conftest.in"
6001 while :
6002 do
6003 cat "conftest.in" "conftest.in" >"conftest.tmp"
6004 mv "conftest.tmp" "conftest.in"
6005 cp "conftest.in" "conftest.nl"
6006 $as_echo '' >> "conftest.nl"
6007 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6008 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6009 as_fn_arith $ac_count + 1 && ac_count=$as_val
6010 if test $ac_count -gt ${ac_path_SED_max-0}; then
6011 # Best one so far, save it but keep looking for a better one
6012 ac_cv_path_SED="$ac_path_SED"
6013 ac_path_SED_max=$ac_count
6014 fi
6015 # 10*(2^10) chars as input seems more than enough
6016 test $ac_count -gt 10 && break
6017 done
6018 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6019esac
6020
6021 $ac_path_SED_found && break 3
6022 done
6023 done
6024 done
6025IFS=$as_save_IFS
6026 if test -z "$ac_cv_path_SED"; then
6027 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6028 fi
6029else
6030 ac_cv_path_SED=$SED
6031fi
6032
6033fi
6034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6035$as_echo "$ac_cv_path_SED" >&6; }
6036 SED="$ac_cv_path_SED"
6037 rm -f conftest.sed
6038
6039test -z "$SED" && SED=sed
6040Xsed="$SED -e 1s/^X//"
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6053$as_echo_n "checking for fgrep... " >&6; }
6054if test "${ac_cv_path_FGREP+set}" = set; then :
6055 $as_echo_n "(cached) " >&6
6056else
6057 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6058 then ac_cv_path_FGREP="$GREP -F"
6059 else
6060 if test -z "$FGREP"; then
6061 ac_path_FGREP_found=false
6062 # Loop through the user's path and test for each of PROGNAME-LIST
6063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6064for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6065do
6066 IFS=$as_save_IFS
6067 test -z "$as_dir" && as_dir=.
6068 for ac_prog in fgrep; do
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6071 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
6072# Check for GNU ac_path_FGREP and select it if it is found.
6073 # Check for GNU $ac_path_FGREP
6074case `"$ac_path_FGREP" --version 2>&1` in
6075*GNU*)
6076 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6077*)
6078 ac_count=0
6079 $as_echo_n 0123456789 >"conftest.in"
6080 while :
6081 do
6082 cat "conftest.in" "conftest.in" >"conftest.tmp"
6083 mv "conftest.tmp" "conftest.in"
6084 cp "conftest.in" "conftest.nl"
6085 $as_echo 'FGREP' >> "conftest.nl"
6086 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6087 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6088 as_fn_arith $ac_count + 1 && ac_count=$as_val
6089 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6090 # Best one so far, save it but keep looking for a better one
6091 ac_cv_path_FGREP="$ac_path_FGREP"
6092 ac_path_FGREP_max=$ac_count
6093 fi
6094 # 10*(2^10) chars as input seems more than enough
6095 test $ac_count -gt 10 && break
6096 done
6097 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6098esac
6099
6100 $ac_path_FGREP_found && break 3
6101 done
6102 done
6103 done
6104IFS=$as_save_IFS
6105 if test -z "$ac_cv_path_FGREP"; then
6106 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6107 fi
6108else
6109 ac_cv_path_FGREP=$FGREP
6110fi
6111
6112 fi
6113fi
6114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6115$as_echo "$ac_cv_path_FGREP" >&6; }
6116 FGREP="$ac_cv_path_FGREP"
6117
6118
6119test -z "$GREP" && GREP=grep
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139# Check whether --with-gnu-ld was given.
6140if test "${with_gnu_ld+set}" = set; then :
6141 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6142else
6143 with_gnu_ld=no
6144fi
6145
6146ac_prog=ld
6147if test "$GCC" = yes; then
6148 # Check if gcc -print-prog-name=ld gives a path.
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6150$as_echo_n "checking for ld used by $CC... " >&6; }
6151 case $host in
6152 *-*-mingw*)
6153 # gcc leaves a trailing carriage return which upsets mingw
6154 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6155 *)
6156 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6157 esac
6158 case $ac_prog in
6159 # Accept absolute paths.
6160 [\\/]* | ?:[\\/]*)
6161 re_direlt='/[^/][^/]*/\.\./'
6162 # Canonicalize the pathname of ld
6163 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6164 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6165 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6166 done
6167 test -z "$LD" && LD="$ac_prog"
6168 ;;
6169 "")
6170 # If it fails, then pretend we aren't using GCC.
6171 ac_prog=ld
6172 ;;
6173 *)
6174 # If it is relative, then search for the first ld in PATH.
6175 with_gnu_ld=unknown
6176 ;;
6177 esac
6178elif test "$with_gnu_ld" = yes; then
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6180$as_echo_n "checking for GNU ld... " >&6; }
6181else
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6183$as_echo_n "checking for non-GNU ld... " >&6; }
6184fi
6185if test "${lt_cv_path_LD+set}" = set; then :
6186 $as_echo_n "(cached) " >&6
6187else
6188 if test -z "$LD"; then
6189 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6190 for ac_dir in $PATH; do
6191 IFS="$lt_save_ifs"
6192 test -z "$ac_dir" && ac_dir=.
6193 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6194 lt_cv_path_LD="$ac_dir/$ac_prog"
6195 # Check to see if the program is GNU ld. I'd rather use --version,
6196 # but apparently some variants of GNU ld only accept -v.
6197 # Break only if it was the GNU/non-GNU ld that we prefer.
6198 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6199 *GNU* | *'with BFD'*)
6200 test "$with_gnu_ld" != no && break
6201 ;;
6202 *)
6203 test "$with_gnu_ld" != yes && break
6204 ;;
6205 esac
6206 fi
6207 done
6208 IFS="$lt_save_ifs"
6209else
6210 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6211fi
6212fi
6213
6214LD="$lt_cv_path_LD"
6215if test -n "$LD"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6217$as_echo "$LD" >&6; }
6218else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220$as_echo "no" >&6; }
6221fi
6222test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6224$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6225if test "${lt_cv_prog_gnu_ld+set}" = set; then :
6226 $as_echo_n "(cached) " >&6
6227else
6228 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6229case `$LD -v 2>&1 </dev/null` in
6230*GNU* | *'with BFD'*)
6231 lt_cv_prog_gnu_ld=yes
6232 ;;
6233*)
6234 lt_cv_prog_gnu_ld=no
6235 ;;
6236esac
6237fi
6238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6239$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6240with_gnu_ld=$lt_cv_prog_gnu_ld
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6251$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6252if test "${lt_cv_path_NM+set}" = set; then :
6253 $as_echo_n "(cached) " >&6
6254else
6255 if test -n "$NM"; then
6256 # Let the user override the test.
6257 lt_cv_path_NM="$NM"
6258else
6259 lt_nm_to_check="${ac_tool_prefix}nm"
6260 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6261 lt_nm_to_check="$lt_nm_to_check nm"
6262 fi
6263 for lt_tmp_nm in $lt_nm_to_check; do
6264 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6265 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6266 IFS="$lt_save_ifs"
6267 test -z "$ac_dir" && ac_dir=.
6268 tmp_nm="$ac_dir/$lt_tmp_nm"
6269 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6270 # Check to see if the nm accepts a BSD-compat flag.
6271 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6272 # nm: unknown option "B" ignored
6273 # Tru64's nm complains that /dev/null is an invalid object file
6274 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6275 */dev/null* | *'Invalid file or object type'*)
6276 lt_cv_path_NM="$tmp_nm -B"
6277 break
6278 ;;
6279 *)
6280 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6281 */dev/null*)
6282 lt_cv_path_NM="$tmp_nm -p"
6283 break
6284 ;;
6285 *)
6286 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6287 continue # so that we can try to find one that supports BSD flags
6288 ;;
6289 esac
6290 ;;
6291 esac
6292 fi
6293 done
6294 IFS="$lt_save_ifs"
6295 done
6296 : ${lt_cv_path_NM=no}
6297fi
6298fi
6299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6300$as_echo "$lt_cv_path_NM" >&6; }
6301if test "$lt_cv_path_NM" != "no"; then
6302 NM="$lt_cv_path_NM"
6303else
6304 # Didn't find any BSD compatible name lister, look for dumpbin.
6305 if test -n "$ac_tool_prefix"; then
6306 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6307 do
6308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6309set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6311$as_echo_n "checking for $ac_word... " >&6; }
6312if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
6313 $as_echo_n "(cached) " >&6
6314else
6315 if test -n "$DUMPBIN"; then
6316 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6317else
6318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319for as_dir in $PATH
6320do
6321 IFS=$as_save_IFS
6322 test -z "$as_dir" && as_dir=.
6323 for ac_exec_ext in '' $ac_executable_extensions; do
6324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6325 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6327 break 2
6328 fi
6329done
6330 done
6331IFS=$as_save_IFS
6332
6333fi
6334fi
6335DUMPBIN=$ac_cv_prog_DUMPBIN
6336if test -n "$DUMPBIN"; then
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6338$as_echo "$DUMPBIN" >&6; }
6339else
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6341$as_echo "no" >&6; }
6342fi
6343
6344
6345 test -n "$DUMPBIN" && break
6346 done
6347fi
6348if test -z "$DUMPBIN"; then
6349 ac_ct_DUMPBIN=$DUMPBIN
6350 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
6351do
6352 # Extract the first word of "$ac_prog", so it can be a program name with args.
6353set dummy $ac_prog; ac_word=$2
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6355$as_echo_n "checking for $ac_word... " >&6; }
6356if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
6357 $as_echo_n "(cached) " >&6
6358else
6359 if test -n "$ac_ct_DUMPBIN"; then
6360 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6361else
6362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6363for as_dir in $PATH
6364do
6365 IFS=$as_save_IFS
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6369 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371 break 2
6372 fi
6373done
6374 done
6375IFS=$as_save_IFS
6376
6377fi
6378fi
6379ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6380if test -n "$ac_ct_DUMPBIN"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6382$as_echo "$ac_ct_DUMPBIN" >&6; }
6383else
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6385$as_echo "no" >&6; }
6386fi
6387
6388
6389 test -n "$ac_ct_DUMPBIN" && break
6390done
6391
6392 if test "x$ac_ct_DUMPBIN" = x; then
6393 DUMPBIN=":"
6394 else
6395 case $cross_compiling:$ac_tool_warned in
6396yes:)
6397{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6398$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6399ac_tool_warned=yes ;;
6400esac
6401 DUMPBIN=$ac_ct_DUMPBIN
6402 fi
6403fi
6404
6405
6406 if test "$DUMPBIN" != ":"; then
6407 NM="$DUMPBIN"
6408 fi
6409fi
6410test -z "$NM" && NM=nm
6411
6412
6413
6414
6415
6416
6417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6418$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6419if test "${lt_cv_nm_interface+set}" = set; then :
6420 $as_echo_n "(cached) " >&6
6421else
6422 lt_cv_nm_interface="BSD nm"
6423 echo "int some_variable = 0;" > conftest.$ac_ext
6424 (eval echo "\"\$as_me:6424: $ac_compile\"" >&5)
6425 (eval "$ac_compile" 2>conftest.err)
6426 cat conftest.err >&5
6427 (eval echo "\"\$as_me:6427: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6428 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6429 cat conftest.err >&5
6430 (eval echo "\"\$as_me:6430: output\"" >&5)
6431 cat conftest.out >&5
6432 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6433 lt_cv_nm_interface="MS dumpbin"
6434 fi
6435 rm -f conftest*
6436fi
6437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6438$as_echo "$lt_cv_nm_interface" >&6; }
6439
6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6441$as_echo_n "checking whether ln -s works... " >&6; }
6442LN_S=$as_ln_s
6443if test "$LN_S" = "ln -s"; then
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6445$as_echo "yes" >&6; }
6446else
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6448$as_echo "no, using $LN_S" >&6; }
6449fi
6450
6451# find the maximum length of command line arguments
6452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6453$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6454if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6455 $as_echo_n "(cached) " >&6
6456else
6457 i=0
6458 teststring="ABCD"
6459
6460 case $build_os in
6461 msdosdjgpp*)
6462 # On DJGPP, this test can blow up pretty badly due to problems in libc
6463 # (any single argument exceeding 2000 bytes causes a buffer overrun
6464 # during glob expansion). Even if it were fixed, the result of this
6465 # check would be larger than it should be.
6466 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6467 ;;
6468
6469 gnu*)
6470 # Under GNU Hurd, this test is not required because there is
6471 # no limit to the length of command line arguments.
6472 # Libtool will interpret -1 as no limit whatsoever
6473 lt_cv_sys_max_cmd_len=-1;
6474 ;;
6475
6476 cygwin* | mingw* | cegcc*)
6477 # On Win9x/ME, this test blows up -- it succeeds, but takes
6478 # about 5 minutes as the teststring grows exponentially.
6479 # Worse, since 9x/ME are not pre-emptively multitasking,
6480 # you end up with a "frozen" computer, even though with patience
6481 # the test eventually succeeds (with a max line length of 256k).
6482 # Instead, let's just punt: use the minimum linelength reported by
6483 # all of the supported platforms: 8192 (on NT/2K/XP).
6484 lt_cv_sys_max_cmd_len=8192;
6485 ;;
6486
6487 amigaos*)
6488 # On AmigaOS with pdksh, this test takes hours, literally.
6489 # So we just punt and use a minimum line length of 8192.
6490 lt_cv_sys_max_cmd_len=8192;
6491 ;;
6492
6493 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6494 # This has been around since 386BSD, at least. Likely further.
6495 if test -x /sbin/sysctl; then
6496 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6497 elif test -x /usr/sbin/sysctl; then
6498 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6499 else
6500 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6501 fi
6502 # And add a safety zone
6503 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6504 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6505 ;;
6506
6507 interix*)
6508 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6509 lt_cv_sys_max_cmd_len=196608
6510 ;;
6511
6512 osf*)
6513 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6514 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6515 # nice to cause kernel panics so lets avoid the loop below.
6516 # First set a reasonable default.
6517 lt_cv_sys_max_cmd_len=16384
6518 #
6519 if test -x /sbin/sysconfig; then
6520 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6521 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6522 esac
6523 fi
6524 ;;
6525 sco3.2v5*)
6526 lt_cv_sys_max_cmd_len=102400
6527 ;;
6528 sysv5* | sco5v6* | sysv4.2uw2*)
6529 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6530 if test -n "$kargmax"; then
6531 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6532 else
6533 lt_cv_sys_max_cmd_len=32768
6534 fi
6535 ;;
6536 *)
6537 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6538 if test -n "$lt_cv_sys_max_cmd_len"; then
6539 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6540 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6541 else
6542 # Make teststring a little bigger before we do anything with it.
6543 # a 1K string should be a reasonable start.
6544 for i in 1 2 3 4 5 6 7 8 ; do
6545 teststring=$teststring$teststring
6546 done
6547 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6548 # If test is not a shell built-in, we'll probably end up computing a
6549 # maximum length that is only half of the actual maximum length, but
6550 # we can't tell.
6551 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
6552 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
6553 test $i != 17 # 1/2 MB should be enough
6554 do
6555 i=`expr $i + 1`
6556 teststring=$teststring$teststring
6557 done
6558 # Only check the string length outside the loop.
6559 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6560 teststring=
6561 # Add a significant safety factor because C++ compilers can tack on
6562 # massive amounts of additional arguments before passing them to the
6563 # linker. It appears as though 1/2 is a usable value.
6564 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6565 fi
6566 ;;
6567 esac
6568
6569fi
6570
6571if test -n $lt_cv_sys_max_cmd_len ; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6573$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6574else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6576$as_echo "none" >&6; }
6577fi
6578max_cmd_len=$lt_cv_sys_max_cmd_len
6579
6580
6581
6582
6583
6584
6585: ${CP="cp -f"}
6586: ${MV="mv -f"}
6587: ${RM="rm -f"}
6588
6589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6590$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6591# Try some XSI features
6592xsi_shell=no
6593( _lt_dummy="a/b/c"
6594 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6595 = c,a/b,, \
6596 && eval 'test $(( 1 + 1 )) -eq 2 \
6597 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6598 && xsi_shell=yes
6599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6600$as_echo "$xsi_shell" >&6; }
6601
6602
6603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6604$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6605lt_shell_append=no
6606( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6607 >/dev/null 2>&1 \
6608 && lt_shell_append=yes
6609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6610$as_echo "$lt_shell_append" >&6; }
6611
6612
6613if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6614 lt_unset=unset
6615else
6616 lt_unset=false
6617fi
6618
6619
6620
6621
6622
6623# test EBCDIC or ASCII
6624case `echo X|tr X '\101'` in
6625 A) # ASCII based system
6626 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6627 lt_SP2NL='tr \040 \012'
6628 lt_NL2SP='tr \015\012 \040\040'
6629 ;;
6630 *) # EBCDIC based system
6631 lt_SP2NL='tr \100 \n'
6632 lt_NL2SP='tr \r\n \100\100'
6633 ;;
6634esac
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6645$as_echo_n "checking for $LD option to reload object files... " >&6; }
6646if test "${lt_cv_ld_reload_flag+set}" = set; then :
6647 $as_echo_n "(cached) " >&6
6648else
6649 lt_cv_ld_reload_flag='-r'
6650fi
6651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6652$as_echo "$lt_cv_ld_reload_flag" >&6; }
6653reload_flag=$lt_cv_ld_reload_flag
6654case $reload_flag in
6655"" | " "*) ;;
6656*) reload_flag=" $reload_flag" ;;
6657esac
6658reload_cmds='$LD$reload_flag -o $output$reload_objs'
6659case $host_os in
6660 darwin*)
6661 if test "$GCC" = yes; then
6662 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6663 else
6664 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6665 fi
6666 ;;
6667esac
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6679set dummy ${ac_tool_prefix}objdump; ac_word=$2
6680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6681$as_echo_n "checking for $ac_word... " >&6; }
6682if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6683 $as_echo_n "(cached) " >&6
6684else
6685 if test -n "$OBJDUMP"; then
6686 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6687else
6688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689for as_dir in $PATH
6690do
6691 IFS=$as_save_IFS
6692 test -z "$as_dir" && as_dir=.
6693 for ac_exec_ext in '' $ac_executable_extensions; do
6694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6695 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6697 break 2
6698 fi
6699done
6700 done
6701IFS=$as_save_IFS
6702
6703fi
6704fi
6705OBJDUMP=$ac_cv_prog_OBJDUMP
6706if test -n "$OBJDUMP"; then
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6708$as_echo "$OBJDUMP" >&6; }
6709else
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6711$as_echo "no" >&6; }
6712fi
6713
6714
6715fi
6716if test -z "$ac_cv_prog_OBJDUMP"; then
6717 ac_ct_OBJDUMP=$OBJDUMP
6718 # Extract the first word of "objdump", so it can be a program name with args.
6719set dummy objdump; ac_word=$2
6720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6721$as_echo_n "checking for $ac_word... " >&6; }
6722if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6723 $as_echo_n "(cached) " >&6
6724else
6725 if test -n "$ac_ct_OBJDUMP"; then
6726 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6727else
6728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729for as_dir in $PATH
6730do
6731 IFS=$as_save_IFS
6732 test -z "$as_dir" && as_dir=.
6733 for ac_exec_ext in '' $ac_executable_extensions; do
6734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6735 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737 break 2
6738 fi
6739done
6740 done
6741IFS=$as_save_IFS
6742
6743fi
6744fi
6745ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6746if test -n "$ac_ct_OBJDUMP"; then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6748$as_echo "$ac_ct_OBJDUMP" >&6; }
6749else
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6751$as_echo "no" >&6; }
6752fi
6753
6754 if test "x$ac_ct_OBJDUMP" = x; then
6755 OBJDUMP="false"
6756 else
6757 case $cross_compiling:$ac_tool_warned in
6758yes:)
6759{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6760$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6761ac_tool_warned=yes ;;
6762esac
6763 OBJDUMP=$ac_ct_OBJDUMP
6764 fi
6765else
6766 OBJDUMP="$ac_cv_prog_OBJDUMP"
6767fi
6768
6769test -z "$OBJDUMP" && OBJDUMP=objdump
6770
6771
6772
6773
6774
6775
6776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6777$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6778if test "${lt_cv_deplibs_check_method+set}" = set; then :
6779 $as_echo_n "(cached) " >&6
6780else
6781 lt_cv_file_magic_cmd='$MAGIC_CMD'
6782lt_cv_file_magic_test_file=
6783lt_cv_deplibs_check_method='unknown'
6784# Need to set the preceding variable on all platforms that support
6785# interlibrary dependencies.
6786# 'none' -- dependencies not supported.
6787# `unknown' -- same as none, but documents that we really don't know.
6788# 'pass_all' -- all dependencies passed with no checks.
6789# 'test_compile' -- check by making test program.
6790# 'file_magic [[regex]]' -- check by looking for files in library path
6791# which responds to the $file_magic_cmd with a given extended regex.
6792# If you have `file' or equivalent on your system and you're not sure
6793# whether `pass_all' will *always* work, you probably want this one.
6794
6795case $host_os in
6796aix[4-9]*)
6797 lt_cv_deplibs_check_method=pass_all
6798 ;;
6799
6800beos*)
6801 lt_cv_deplibs_check_method=pass_all
6802 ;;
6803
6804bsdi[45]*)
6805 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6806 lt_cv_file_magic_cmd='/usr/bin/file -L'
6807 lt_cv_file_magic_test_file=/shlib/libc.so
6808 ;;
6809
6810cygwin*)
6811 # func_win32_libid is a shell function defined in ltmain.sh
6812 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6813 lt_cv_file_magic_cmd='func_win32_libid'
6814 ;;
6815
6816mingw* | pw32*)
6817 # Base MSYS/MinGW do not provide the 'file' command needed by
6818 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6819 # unless we find 'file', for example because we are cross-compiling.
6820 if ( file / ) >/dev/null 2>&1; then
6821 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6822 lt_cv_file_magic_cmd='func_win32_libid'
6823 else
6824 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6825 lt_cv_file_magic_cmd='$OBJDUMP -f'
6826 fi
6827 ;;
6828
6829cegcc)
6830 # use the weaker test based on 'objdump'. See mingw*.
6831 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6832 lt_cv_file_magic_cmd='$OBJDUMP -f'
6833 ;;
6834
6835darwin* | rhapsody*)
6836 lt_cv_deplibs_check_method=pass_all
6837 ;;
6838
6839freebsd* | dragonfly*)
6840 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6841 case $host_cpu in
6842 i*86 )
6843 # Not sure whether the presence of OpenBSD here was a mistake.
6844 # Let's accept both of them until this is cleared up.
6845 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6846 lt_cv_file_magic_cmd=/usr/bin/file
6847 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6848 ;;
6849 esac
6850 else
6851 lt_cv_deplibs_check_method=pass_all
6852 fi
6853 ;;
6854
6855gnu*)
6856 lt_cv_deplibs_check_method=pass_all
6857 ;;
6858
6859hpux10.20* | hpux11*)
6860 lt_cv_file_magic_cmd=/usr/bin/file
6861 case $host_cpu in
6862 ia64*)
6863 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6864 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6865 ;;
6866 hppa*64*)
6867 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]'
6868 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6869 ;;
6870 *)
6871 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6872 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6873 ;;
6874 esac
6875 ;;
6876
6877interix[3-9]*)
6878 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6879 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6880 ;;
6881
6882irix5* | irix6* | nonstopux*)
6883 case $LD in
6884 *-32|*"-32 ") libmagic=32-bit;;
6885 *-n32|*"-n32 ") libmagic=N32;;
6886 *-64|*"-64 ") libmagic=64-bit;;
6887 *) libmagic=never-match;;
6888 esac
6889 lt_cv_deplibs_check_method=pass_all
6890 ;;
6891
6892# This must be Linux ELF.
6893linux* | k*bsd*-gnu | kopensolaris*-gnu)
6894 lt_cv_deplibs_check_method=pass_all
6895 ;;
6896
6897netbsd* | netbsdelf*-gnu)
6898 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6899 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6900 else
6901 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6902 fi
6903 ;;
6904
6905newos6*)
6906 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6907 lt_cv_file_magic_cmd=/usr/bin/file
6908 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6909 ;;
6910
6911*nto* | *qnx*)
6912 lt_cv_deplibs_check_method=pass_all
6913 ;;
6914
6915openbsd*)
6916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6917 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6918 else
6919 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6920 fi
6921 ;;
6922
6923osf3* | osf4* | osf5*)
6924 lt_cv_deplibs_check_method=pass_all
6925 ;;
6926
6927rdos*)
6928 lt_cv_deplibs_check_method=pass_all
6929 ;;
6930
6931solaris*)
6932 lt_cv_deplibs_check_method=pass_all
6933 ;;
6934
6935sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6936 lt_cv_deplibs_check_method=pass_all
6937 ;;
6938
6939sysv4 | sysv4.3*)
6940 case $host_vendor in
6941 motorola)
6942 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]'
6943 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6944 ;;
6945 ncr)
6946 lt_cv_deplibs_check_method=pass_all
6947 ;;
6948 sequent)
6949 lt_cv_file_magic_cmd='/bin/file'
6950 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6951 ;;
6952 sni)
6953 lt_cv_file_magic_cmd='/bin/file'
6954 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6955 lt_cv_file_magic_test_file=/lib/libc.so
6956 ;;
6957 siemens)
6958 lt_cv_deplibs_check_method=pass_all
6959 ;;
6960 pc)
6961 lt_cv_deplibs_check_method=pass_all
6962 ;;
6963 esac
6964 ;;
6965
6966tpf*)
6967 lt_cv_deplibs_check_method=pass_all
6968 ;;
6969esac
6970
6971fi
6972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6973$as_echo "$lt_cv_deplibs_check_method" >&6; }
6974file_magic_cmd=$lt_cv_file_magic_cmd
6975deplibs_check_method=$lt_cv_deplibs_check_method
6976test -z "$deplibs_check_method" && deplibs_check_method=unknown
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989if test -n "$ac_tool_prefix"; then
6990 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6991set dummy ${ac_tool_prefix}ar; ac_word=$2
6992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993$as_echo_n "checking for $ac_word... " >&6; }
6994if test "${ac_cv_prog_AR+set}" = set; then :
6995 $as_echo_n "(cached) " >&6
6996else
6997 if test -n "$AR"; then
6998 ac_cv_prog_AR="$AR" # Let the user override the test.
6999else
7000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7001for as_dir in $PATH
7002do
7003 IFS=$as_save_IFS
7004 test -z "$as_dir" && as_dir=.
7005 for ac_exec_ext in '' $ac_executable_extensions; do
7006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7007 ac_cv_prog_AR="${ac_tool_prefix}ar"
7008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7009 break 2
7010 fi
7011done
7012 done
7013IFS=$as_save_IFS
7014
7015fi
7016fi
7017AR=$ac_cv_prog_AR
7018if test -n "$AR"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7020$as_echo "$AR" >&6; }
7021else
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023$as_echo "no" >&6; }
7024fi
7025
7026
7027fi
7028if test -z "$ac_cv_prog_AR"; then
7029 ac_ct_AR=$AR
7030 # Extract the first word of "ar", so it can be a program name with args.
7031set dummy ar; ac_word=$2
7032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7033$as_echo_n "checking for $ac_word... " >&6; }
7034if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
7035 $as_echo_n "(cached) " >&6
7036else
7037 if test -n "$ac_ct_AR"; then
7038 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7039else
7040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041for as_dir in $PATH
7042do
7043 IFS=$as_save_IFS
7044 test -z "$as_dir" && as_dir=.
7045 for ac_exec_ext in '' $ac_executable_extensions; do
7046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7047 ac_cv_prog_ac_ct_AR="ar"
7048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049 break 2
7050 fi
7051done
7052 done
7053IFS=$as_save_IFS
7054
7055fi
7056fi
7057ac_ct_AR=$ac_cv_prog_ac_ct_AR
7058if test -n "$ac_ct_AR"; then
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7060$as_echo "$ac_ct_AR" >&6; }
7061else
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7063$as_echo "no" >&6; }
7064fi
7065
7066 if test "x$ac_ct_AR" = x; then
7067 AR="false"
7068 else
7069 case $cross_compiling:$ac_tool_warned in
7070yes:)
7071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7073ac_tool_warned=yes ;;
7074esac
7075 AR=$ac_ct_AR
7076 fi
7077else
7078 AR="$ac_cv_prog_AR"
7079fi
7080
7081test -z "$AR" && AR=ar
7082test -z "$AR_FLAGS" && AR_FLAGS=cru
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094if test -n "$ac_tool_prefix"; then
7095 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7096set dummy ${ac_tool_prefix}strip; ac_word=$2
7097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7098$as_echo_n "checking for $ac_word... " >&6; }
7099if test "${ac_cv_prog_STRIP+set}" = set; then :
7100 $as_echo_n "(cached) " >&6
7101else
7102 if test -n "$STRIP"; then
7103 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7104else
7105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106for as_dir in $PATH
7107do
7108 IFS=$as_save_IFS
7109 test -z "$as_dir" && as_dir=.
7110 for ac_exec_ext in '' $ac_executable_extensions; do
7111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7112 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 break 2
7115 fi
7116done
7117 done
7118IFS=$as_save_IFS
7119
7120fi
7121fi
7122STRIP=$ac_cv_prog_STRIP
7123if test -n "$STRIP"; then
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7125$as_echo "$STRIP" >&6; }
7126else
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7128$as_echo "no" >&6; }
7129fi
7130
7131
7132fi
7133if test -z "$ac_cv_prog_STRIP"; then
7134 ac_ct_STRIP=$STRIP
7135 # Extract the first word of "strip", so it can be a program name with args.
7136set dummy strip; ac_word=$2
7137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7138$as_echo_n "checking for $ac_word... " >&6; }
7139if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
7140 $as_echo_n "(cached) " >&6
7141else
7142 if test -n "$ac_ct_STRIP"; then
7143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7144else
7145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7146for as_dir in $PATH
7147do
7148 IFS=$as_save_IFS
7149 test -z "$as_dir" && as_dir=.
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7152 ac_cv_prog_ac_ct_STRIP="strip"
7153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 break 2
7155 fi
7156done
7157 done
7158IFS=$as_save_IFS
7159
7160fi
7161fi
7162ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7163if test -n "$ac_ct_STRIP"; then
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7165$as_echo "$ac_ct_STRIP" >&6; }
7166else
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168$as_echo "no" >&6; }
7169fi
7170
7171 if test "x$ac_ct_STRIP" = x; then
7172 STRIP=":"
7173 else
7174 case $cross_compiling:$ac_tool_warned in
7175yes:)
7176{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7177$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7178ac_tool_warned=yes ;;
7179esac
7180 STRIP=$ac_ct_STRIP
7181 fi
7182else
7183 STRIP="$ac_cv_prog_STRIP"
7184fi
7185
7186test -z "$STRIP" && STRIP=:
7187
7188
7189
7190
7191
7192
7193if test -n "$ac_tool_prefix"; then
7194 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7195set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7196{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7197$as_echo_n "checking for $ac_word... " >&6; }
7198if test "${ac_cv_prog_RANLIB+set}" = set; then :
7199 $as_echo_n "(cached) " >&6
7200else
7201 if test -n "$RANLIB"; then
7202 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7203else
7204as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7205for as_dir in $PATH
7206do
7207 IFS=$as_save_IFS
7208 test -z "$as_dir" && as_dir=.
7209 for ac_exec_ext in '' $ac_executable_extensions; do
7210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7211 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7213 break 2
7214 fi
7215done
7216 done
7217IFS=$as_save_IFS
7218
7219fi
7220fi
7221RANLIB=$ac_cv_prog_RANLIB
7222if test -n "$RANLIB"; then
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7224$as_echo "$RANLIB" >&6; }
7225else
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7227$as_echo "no" >&6; }
7228fi
7229
7230
7231fi
7232if test -z "$ac_cv_prog_RANLIB"; then
7233 ac_ct_RANLIB=$RANLIB
7234 # Extract the first word of "ranlib", so it can be a program name with args.
7235set dummy ranlib; ac_word=$2
7236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237$as_echo_n "checking for $ac_word... " >&6; }
7238if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
7239 $as_echo_n "(cached) " >&6
7240else
7241 if test -n "$ac_ct_RANLIB"; then
7242 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7243else
7244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7245for as_dir in $PATH
7246do
7247 IFS=$as_save_IFS
7248 test -z "$as_dir" && as_dir=.
7249 for ac_exec_ext in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 ac_cv_prog_ac_ct_RANLIB="ranlib"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253 break 2
7254 fi
7255done
7256 done
7257IFS=$as_save_IFS
7258
7259fi
7260fi
7261ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7262if test -n "$ac_ct_RANLIB"; then
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7264$as_echo "$ac_ct_RANLIB" >&6; }
7265else
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267$as_echo "no" >&6; }
7268fi
7269
7270 if test "x$ac_ct_RANLIB" = x; then
7271 RANLIB=":"
7272 else
7273 case $cross_compiling:$ac_tool_warned in
7274yes:)
7275{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7276$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7277ac_tool_warned=yes ;;
7278esac
7279 RANLIB=$ac_ct_RANLIB
7280 fi
7281else
7282 RANLIB="$ac_cv_prog_RANLIB"
7283fi
7284
7285test -z "$RANLIB" && RANLIB=:
7286
7287
7288
7289
7290
7291
7292# Determine commands to create old-style static archives.
7293old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7294old_postinstall_cmds='chmod 644 $oldlib'
7295old_postuninstall_cmds=
7296
7297if test -n "$RANLIB"; then
7298 case $host_os in
7299 openbsd*)
7300 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7301 ;;
7302 *)
7303 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7304 ;;
7305 esac
7306 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7307fi
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342# If no C compiler was specified, use CC.
7343LTCC=${LTCC-"$CC"}
7344
7345# If no C compiler flags were specified, use CFLAGS.
7346LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7347
7348# Allow CC to be a program name with arguments.
7349compiler=$CC
7350
7351
7352# Check for command to grab the raw symbol name followed by C symbol from nm.
7353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7354$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7355if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
7356 $as_echo_n "(cached) " >&6
7357else
7358
7359# These are sane defaults that work on at least a few old systems.
7360# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7361
7362# Character class describing NM global symbol codes.
7363symcode='[BCDEGRST]'
7364
7365# Regexp to match symbols that can be accessed directly from C.
7366sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7367
7368# Define system-specific variables.
7369case $host_os in
7370aix*)
7371 symcode='[BCDT]'
7372 ;;
7373cygwin* | mingw* | pw32* | cegcc*)
7374 symcode='[ABCDGISTW]'
7375 ;;
7376hpux*)
7377 if test "$host_cpu" = ia64; then
7378 symcode='[ABCDEGRST]'
7379 fi
7380 ;;
7381irix* | nonstopux*)
7382 symcode='[BCDEGRST]'
7383 ;;
7384osf*)
7385 symcode='[BCDEGQRST]'
7386 ;;
7387solaris*)
7388 symcode='[BDRT]'
7389 ;;
7390sco3.2v5*)
7391 symcode='[DT]'
7392 ;;
7393sysv4.2uw2*)
7394 symcode='[DT]'
7395 ;;
7396sysv5* | sco5v6* | unixware* | OpenUNIX*)
7397 symcode='[ABDT]'
7398 ;;
7399sysv4)
7400 symcode='[DFNSTU]'
7401 ;;
7402esac
7403
7404# If we're using GNU nm, then use its standard symbol codes.
7405case `$NM -V 2>&1` in
7406*GNU* | *'with BFD'*)
7407 symcode='[ABCDGIRSTW]' ;;
7408esac
7409
7410# Transform an extracted symbol line into a proper C declaration.
7411# Some systems (esp. on ia64) link data and code symbols differently,
7412# so use this general approach.
7413lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7414
7415# Transform an extracted symbol line into symbol name and symbol address
7416lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7417lt_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'"
7418
7419# Handle CRLF in mingw tool chain
7420opt_cr=
7421case $build_os in
7422mingw*)
7423 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7424 ;;
7425esac
7426
7427# Try without a prefix underscore, then with it.
7428for ac_symprfx in "" "_"; do
7429
7430 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7431 symxfrm="\\1 $ac_symprfx\\2 \\2"
7432
7433 # Write the raw and C identifiers.
7434 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7435 # Fake it for dumpbin and say T for any non-static function
7436 # and D for any global variable.
7437 # Also find C++ and __fastcall symbols from MSVC++,
7438 # which start with @ or ?.
7439 lt_cv_sys_global_symbol_pipe="$AWK '"\
7440" {last_section=section; section=\$ 3};"\
7441" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7442" \$ 0!~/External *\|/{next};"\
7443" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7444" {if(hide[section]) next};"\
7445" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7446" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7447" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7448" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7449" ' prfx=^$ac_symprfx"
7450 else
7451 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7452 fi
7453
7454 # Check to see that the pipe works correctly.
7455 pipe_works=no
7456
7457 rm -f conftest*
7458 cat > conftest.$ac_ext <<_LT_EOF
7459#ifdef __cplusplus
7460extern "C" {
7461#endif
7462char nm_test_var;
7463void nm_test_func(void);
7464void nm_test_func(void){}
7465#ifdef __cplusplus
7466}
7467#endif
7468int main(){nm_test_var='a';nm_test_func();return(0);}
7469_LT_EOF
7470
7471 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7472 (eval $ac_compile) 2>&5
7473 ac_status=$?
7474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7475 test $ac_status = 0; }; then
7476 # Now try to grab the symbols.
7477 nlist=conftest.nm
7478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
7479 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
7480 ac_status=$?
7481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7482 test $ac_status = 0; } && test -s "$nlist"; then
7483 # Try sorting and uniquifying the output.
7484 if sort "$nlist" | uniq > "$nlist"T; then
7485 mv -f "$nlist"T "$nlist"
7486 else
7487 rm -f "$nlist"T
7488 fi
7489
7490 # Make sure that we snagged all the symbols we need.
7491 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7492 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7493 cat <<_LT_EOF > conftest.$ac_ext
7494#ifdef __cplusplus
7495extern "C" {
7496#endif
7497
7498_LT_EOF
7499 # Now generate the symbol file.
7500 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7501
7502 cat <<_LT_EOF >> conftest.$ac_ext
7503
7504/* The mapping between symbol names and symbols. */
7505const struct {
7506 const char *name;
7507 void *address;
7508}
7509lt__PROGRAM__LTX_preloaded_symbols[] =
7510{
7511 { "@PROGRAM@", (void *) 0 },
7512_LT_EOF
7513 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7514 cat <<\_LT_EOF >> conftest.$ac_ext
7515 {0, (void *) 0}
7516};
7517
7518/* This works around a problem in FreeBSD linker */
7519#ifdef FREEBSD_WORKAROUND
7520static const void *lt_preloaded_setup() {
7521 return lt__PROGRAM__LTX_preloaded_symbols;
7522}
7523#endif
7524
7525#ifdef __cplusplus
7526}
7527#endif
7528_LT_EOF
7529 # Now try linking the two files.
7530 mv conftest.$ac_objext conftstm.$ac_objext
7531 lt_save_LIBS="$LIBS"
7532 lt_save_CFLAGS="$CFLAGS"
7533 LIBS="conftstm.$ac_objext"
7534 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7535 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7536 (eval $ac_link) 2>&5
7537 ac_status=$?
7538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7539 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7540 pipe_works=yes
7541 fi
7542 LIBS="$lt_save_LIBS"
7543 CFLAGS="$lt_save_CFLAGS"
7544 else
7545 echo "cannot find nm_test_func in $nlist" >&5
7546 fi
7547 else
7548 echo "cannot find nm_test_var in $nlist" >&5
7549 fi
7550 else
7551 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7552 fi
7553 else
7554 echo "$progname: failed program was:" >&5
7555 cat conftest.$ac_ext >&5
7556 fi
7557 rm -rf conftest* conftst*
7558
7559 # Do not use the global_symbol_pipe unless it works.
7560 if test "$pipe_works" = yes; then
7561 break
7562 else
7563 lt_cv_sys_global_symbol_pipe=
7564 fi
7565done
7566
7567fi
7568
7569if test -z "$lt_cv_sys_global_symbol_pipe"; then
7570 lt_cv_sys_global_symbol_to_cdecl=
7571fi
7572if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7574$as_echo "failed" >&6; }
7575else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7577$as_echo "ok" >&6; }
7578fi
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601# Check whether --enable-libtool-lock was given.
7602if test "${enable_libtool_lock+set}" = set; then :
7603 enableval=$enable_libtool_lock;
7604fi
7605
7606test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7607
7608# Some flags need to be propagated to the compiler or linker for good
7609# libtool support.
7610case $host in
7611ia64-*-hpux*)
7612 # Find out which ABI we are using.
7613 echo 'int i;' > conftest.$ac_ext
7614 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7615 (eval $ac_compile) 2>&5
7616 ac_status=$?
7617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7618 test $ac_status = 0; }; then
7619 case `/usr/bin/file conftest.$ac_objext` in
7620 *ELF-32*)
7621 HPUX_IA64_MODE="32"
7622 ;;
7623 *ELF-64*)
7624 HPUX_IA64_MODE="64"
7625 ;;
7626 esac
7627 fi
7628 rm -rf conftest*
7629 ;;
7630*-*-irix6*)
7631 # Find out which ABI we are using.
7632 echo '#line 7632 "configure"' > conftest.$ac_ext
7633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7634 (eval $ac_compile) 2>&5
7635 ac_status=$?
7636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7637 test $ac_status = 0; }; then
7638 if test "$lt_cv_prog_gnu_ld" = yes; then
7639 case `/usr/bin/file conftest.$ac_objext` in
7640 *32-bit*)
7641 LD="${LD-ld} -melf32bsmip"
7642 ;;
7643 *N32*)
7644 LD="${LD-ld} -melf32bmipn32"
7645 ;;
7646 *64-bit*)
7647 LD="${LD-ld} -melf64bmip"
7648 ;;
7649 esac
7650 else
7651 case `/usr/bin/file conftest.$ac_objext` in
7652 *32-bit*)
7653 LD="${LD-ld} -32"
7654 ;;
7655 *N32*)
7656 LD="${LD-ld} -n32"
7657 ;;
7658 *64-bit*)
7659 LD="${LD-ld} -64"
7660 ;;
7661 esac
7662 fi
7663 fi
7664 rm -rf conftest*
7665 ;;
7666
7667x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7668s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7669 # Find out which ABI we are using.
7670 echo 'int i;' > conftest.$ac_ext
7671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7672 (eval $ac_compile) 2>&5
7673 ac_status=$?
7674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7675 test $ac_status = 0; }; then
7676 case `/usr/bin/file conftest.o` in
7677 *32-bit*)
7678 case $host in
7679 x86_64-*kfreebsd*-gnu)
7680 LD="${LD-ld} -m elf_i386_fbsd"
7681 ;;
7682 x86_64-*linux*)
7683 LD="${LD-ld} -m elf_i386"
7684 ;;
7685 ppc64-*linux*|powerpc64-*linux*)
7686 LD="${LD-ld} -m elf32ppclinux"
7687 ;;
7688 s390x-*linux*)
7689 LD="${LD-ld} -m elf_s390"
7690 ;;
7691 sparc64-*linux*)
7692 LD="${LD-ld} -m elf32_sparc"
7693 ;;
7694 esac
7695 ;;
7696 *64-bit*)
7697 case $host in
7698 x86_64-*kfreebsd*-gnu)
7699 LD="${LD-ld} -m elf_x86_64_fbsd"
7700 ;;
7701 x86_64-*linux*)
7702 LD="${LD-ld} -m elf_x86_64"
7703 ;;
7704 ppc*-*linux*|powerpc*-*linux*)
7705 LD="${LD-ld} -m elf64ppc"
7706 ;;
7707 s390*-*linux*|s390*-*tpf*)
7708 LD="${LD-ld} -m elf64_s390"
7709 ;;
7710 sparc*-*linux*)
7711 LD="${LD-ld} -m elf64_sparc"
7712 ;;
7713 esac
7714 ;;
7715 esac
7716 fi
7717 rm -rf conftest*
7718 ;;
7719
7720*-*-sco3.2v5*)
7721 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7722 SAVE_CFLAGS="$CFLAGS"
7723 CFLAGS="$CFLAGS -belf"
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7725$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7726if test "${lt_cv_cc_needs_belf+set}" = set; then :
7727 $as_echo_n "(cached) " >&6
7728else
7729 ac_ext=c
7730ac_cpp='$CPP $CPPFLAGS'
7731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7733ac_compiler_gnu=$ac_cv_c_compiler_gnu
7734
7735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7736/* end confdefs.h. */
7737
7738int
7739main ()
7740{
7741
7742 ;
7743 return 0;
7744}
7745_ACEOF
7746if ac_fn_c_try_link "$LINENO"; then :
7747 lt_cv_cc_needs_belf=yes
7748else
7749 lt_cv_cc_needs_belf=no
7750fi
7751rm -f core conftest.err conftest.$ac_objext \
7752 conftest$ac_exeext conftest.$ac_ext
7753 ac_ext=c
7754ac_cpp='$CPP $CPPFLAGS'
7755ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7756ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7757ac_compiler_gnu=$ac_cv_c_compiler_gnu
7758
7759fi
7760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7761$as_echo "$lt_cv_cc_needs_belf" >&6; }
7762 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7763 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7764 CFLAGS="$SAVE_CFLAGS"
7765 fi
7766 ;;
7767sparc*-*solaris*)
7768 # Find out which ABI we are using.
7769 echo 'int i;' > conftest.$ac_ext
7770 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7771 (eval $ac_compile) 2>&5
7772 ac_status=$?
7773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7774 test $ac_status = 0; }; then
7775 case `/usr/bin/file conftest.o` in
7776 *64-bit*)
7777 case $lt_cv_prog_gnu_ld in
7778 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7779 *)
7780 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7781 LD="${LD-ld} -64"
7782 fi
7783 ;;
7784 esac
7785 ;;
7786 esac
7787 fi
7788 rm -rf conftest*
7789 ;;
7790esac
7791
7792need_locks="$enable_libtool_lock"
7793
7794
7795 case $host_os in
7796 rhapsody* | darwin*)
7797 if test -n "$ac_tool_prefix"; then
7798 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7799set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7801$as_echo_n "checking for $ac_word... " >&6; }
7802if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7803 $as_echo_n "(cached) " >&6
7804else
7805 if test -n "$DSYMUTIL"; then
7806 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7807else
7808as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7809for as_dir in $PATH
7810do
7811 IFS=$as_save_IFS
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7815 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7817 break 2
7818 fi
7819done
7820 done
7821IFS=$as_save_IFS
7822
7823fi
7824fi
7825DSYMUTIL=$ac_cv_prog_DSYMUTIL
7826if test -n "$DSYMUTIL"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7828$as_echo "$DSYMUTIL" >&6; }
7829else
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7831$as_echo "no" >&6; }
7832fi
7833
7834
7835fi
7836if test -z "$ac_cv_prog_DSYMUTIL"; then
7837 ac_ct_DSYMUTIL=$DSYMUTIL
7838 # Extract the first word of "dsymutil", so it can be a program name with args.
7839set dummy dsymutil; ac_word=$2
7840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7841$as_echo_n "checking for $ac_word... " >&6; }
7842if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7843 $as_echo_n "(cached) " >&6
7844else
7845 if test -n "$ac_ct_DSYMUTIL"; then
7846 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7847else
7848as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849for as_dir in $PATH
7850do
7851 IFS=$as_save_IFS
7852 test -z "$as_dir" && as_dir=.
7853 for ac_exec_ext in '' $ac_executable_extensions; do
7854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7855 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7857 break 2
7858 fi
7859done
7860 done
7861IFS=$as_save_IFS
7862
7863fi
7864fi
7865ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7866if test -n "$ac_ct_DSYMUTIL"; then
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7868$as_echo "$ac_ct_DSYMUTIL" >&6; }
7869else
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7871$as_echo "no" >&6; }
7872fi
7873
7874 if test "x$ac_ct_DSYMUTIL" = x; then
7875 DSYMUTIL=":"
7876 else
7877 case $cross_compiling:$ac_tool_warned in
7878yes:)
7879{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7880$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7881ac_tool_warned=yes ;;
7882esac
7883 DSYMUTIL=$ac_ct_DSYMUTIL
7884 fi
7885else
7886 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7887fi
7888
7889 if test -n "$ac_tool_prefix"; then
7890 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7891set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7893$as_echo_n "checking for $ac_word... " >&6; }
7894if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7895 $as_echo_n "(cached) " >&6
7896else
7897 if test -n "$NMEDIT"; then
7898 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7899else
7900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7901for as_dir in $PATH
7902do
7903 IFS=$as_save_IFS
7904 test -z "$as_dir" && as_dir=.
7905 for ac_exec_ext in '' $ac_executable_extensions; do
7906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7907 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 break 2
7910 fi
7911done
7912 done
7913IFS=$as_save_IFS
7914
7915fi
7916fi
7917NMEDIT=$ac_cv_prog_NMEDIT
7918if test -n "$NMEDIT"; then
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7920$as_echo "$NMEDIT" >&6; }
7921else
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7923$as_echo "no" >&6; }
7924fi
7925
7926
7927fi
7928if test -z "$ac_cv_prog_NMEDIT"; then
7929 ac_ct_NMEDIT=$NMEDIT
7930 # Extract the first word of "nmedit", so it can be a program name with args.
7931set dummy nmedit; ac_word=$2
7932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7933$as_echo_n "checking for $ac_word... " >&6; }
7934if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7935 $as_echo_n "(cached) " >&6
7936else
7937 if test -n "$ac_ct_NMEDIT"; then
7938 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7939else
7940as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7941for as_dir in $PATH
7942do
7943 IFS=$as_save_IFS
7944 test -z "$as_dir" && as_dir=.
7945 for ac_exec_ext in '' $ac_executable_extensions; do
7946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7947 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7949 break 2
7950 fi
7951done
7952 done
7953IFS=$as_save_IFS
7954
7955fi
7956fi
7957ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7958if test -n "$ac_ct_NMEDIT"; then
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7960$as_echo "$ac_ct_NMEDIT" >&6; }
7961else
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7963$as_echo "no" >&6; }
7964fi
7965
7966 if test "x$ac_ct_NMEDIT" = x; then
7967 NMEDIT=":"
7968 else
7969 case $cross_compiling:$ac_tool_warned in
7970yes:)
7971{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7972$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7973ac_tool_warned=yes ;;
7974esac
7975 NMEDIT=$ac_ct_NMEDIT
7976 fi
7977else
7978 NMEDIT="$ac_cv_prog_NMEDIT"
7979fi
7980
7981 if test -n "$ac_tool_prefix"; then
7982 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7983set dummy ${ac_tool_prefix}lipo; ac_word=$2
7984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7985$as_echo_n "checking for $ac_word... " >&6; }
7986if test "${ac_cv_prog_LIPO+set}" = set; then :
7987 $as_echo_n "(cached) " >&6
7988else
7989 if test -n "$LIPO"; then
7990 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7991else
7992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7993for as_dir in $PATH
7994do
7995 IFS=$as_save_IFS
7996 test -z "$as_dir" && as_dir=.
7997 for ac_exec_ext in '' $ac_executable_extensions; do
7998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7999 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8001 break 2
8002 fi
8003done
8004 done
8005IFS=$as_save_IFS
8006
8007fi
8008fi
8009LIPO=$ac_cv_prog_LIPO
8010if test -n "$LIPO"; then
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8012$as_echo "$LIPO" >&6; }
8013else
8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8015$as_echo "no" >&6; }
8016fi
8017
8018
8019fi
8020if test -z "$ac_cv_prog_LIPO"; then
8021 ac_ct_LIPO=$LIPO
8022 # Extract the first word of "lipo", so it can be a program name with args.
8023set dummy lipo; ac_word=$2
8024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8025$as_echo_n "checking for $ac_word... " >&6; }
8026if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
8027 $as_echo_n "(cached) " >&6
8028else
8029 if test -n "$ac_ct_LIPO"; then
8030 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8031else
8032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8033for as_dir in $PATH
8034do
8035 IFS=$as_save_IFS
8036 test -z "$as_dir" && as_dir=.
8037 for ac_exec_ext in '' $ac_executable_extensions; do
8038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8039 ac_cv_prog_ac_ct_LIPO="lipo"
8040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8041 break 2
8042 fi
8043done
8044 done
8045IFS=$as_save_IFS
8046
8047fi
8048fi
8049ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8050if test -n "$ac_ct_LIPO"; then
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8052$as_echo "$ac_ct_LIPO" >&6; }
8053else
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8055$as_echo "no" >&6; }
8056fi
8057
8058 if test "x$ac_ct_LIPO" = x; then
8059 LIPO=":"
8060 else
8061 case $cross_compiling:$ac_tool_warned in
8062yes:)
8063{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8064$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8065ac_tool_warned=yes ;;
8066esac
8067 LIPO=$ac_ct_LIPO
8068 fi
8069else
8070 LIPO="$ac_cv_prog_LIPO"
8071fi
8072
8073 if test -n "$ac_tool_prefix"; then
8074 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8075set dummy ${ac_tool_prefix}otool; ac_word=$2
8076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8077$as_echo_n "checking for $ac_word... " >&6; }
8078if test "${ac_cv_prog_OTOOL+set}" = set; then :
8079 $as_echo_n "(cached) " >&6
8080else
8081 if test -n "$OTOOL"; then
8082 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8083else
8084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8085for as_dir in $PATH
8086do
8087 IFS=$as_save_IFS
8088 test -z "$as_dir" && as_dir=.
8089 for ac_exec_ext in '' $ac_executable_extensions; do
8090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8091 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8093 break 2
8094 fi
8095done
8096 done
8097IFS=$as_save_IFS
8098
8099fi
8100fi
8101OTOOL=$ac_cv_prog_OTOOL
8102if test -n "$OTOOL"; then
8103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8104$as_echo "$OTOOL" >&6; }
8105else
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8107$as_echo "no" >&6; }
8108fi
8109
8110
8111fi
8112if test -z "$ac_cv_prog_OTOOL"; then
8113 ac_ct_OTOOL=$OTOOL
8114 # Extract the first word of "otool", so it can be a program name with args.
8115set dummy otool; ac_word=$2
8116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117$as_echo_n "checking for $ac_word... " >&6; }
8118if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
8119 $as_echo_n "(cached) " >&6
8120else
8121 if test -n "$ac_ct_OTOOL"; then
8122 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8123else
8124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8125for as_dir in $PATH
8126do
8127 IFS=$as_save_IFS
8128 test -z "$as_dir" && as_dir=.
8129 for ac_exec_ext in '' $ac_executable_extensions; do
8130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8131 ac_cv_prog_ac_ct_OTOOL="otool"
8132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8133 break 2
8134 fi
8135done
8136 done
8137IFS=$as_save_IFS
8138
8139fi
8140fi
8141ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8142if test -n "$ac_ct_OTOOL"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8144$as_echo "$ac_ct_OTOOL" >&6; }
8145else
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147$as_echo "no" >&6; }
8148fi
8149
8150 if test "x$ac_ct_OTOOL" = x; then
8151 OTOOL=":"
8152 else
8153 case $cross_compiling:$ac_tool_warned in
8154yes:)
8155{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8156$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8157ac_tool_warned=yes ;;
8158esac
8159 OTOOL=$ac_ct_OTOOL
8160 fi
8161else
8162 OTOOL="$ac_cv_prog_OTOOL"
8163fi
8164
8165 if test -n "$ac_tool_prefix"; then
8166 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8167set dummy ${ac_tool_prefix}otool64; ac_word=$2
8168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8169$as_echo_n "checking for $ac_word... " >&6; }
8170if test "${ac_cv_prog_OTOOL64+set}" = set; then :
8171 $as_echo_n "(cached) " >&6
8172else
8173 if test -n "$OTOOL64"; then
8174 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8175else
8176as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8177for as_dir in $PATH
8178do
8179 IFS=$as_save_IFS
8180 test -z "$as_dir" && as_dir=.
8181 for ac_exec_ext in '' $ac_executable_extensions; do
8182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8183 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 break 2
8186 fi
8187done
8188 done
8189IFS=$as_save_IFS
8190
8191fi
8192fi
8193OTOOL64=$ac_cv_prog_OTOOL64
8194if test -n "$OTOOL64"; then
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8196$as_echo "$OTOOL64" >&6; }
8197else
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8199$as_echo "no" >&6; }
8200fi
8201
8202
8203fi
8204if test -z "$ac_cv_prog_OTOOL64"; then
8205 ac_ct_OTOOL64=$OTOOL64
8206 # Extract the first word of "otool64", so it can be a program name with args.
8207set dummy otool64; ac_word=$2
8208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8209$as_echo_n "checking for $ac_word... " >&6; }
8210if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
8211 $as_echo_n "(cached) " >&6
8212else
8213 if test -n "$ac_ct_OTOOL64"; then
8214 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8215else
8216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8217for as_dir in $PATH
8218do
8219 IFS=$as_save_IFS
8220 test -z "$as_dir" && as_dir=.
8221 for ac_exec_ext in '' $ac_executable_extensions; do
8222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8223 ac_cv_prog_ac_ct_OTOOL64="otool64"
8224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 break 2
8226 fi
8227done
8228 done
8229IFS=$as_save_IFS
8230
8231fi
8232fi
8233ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8234if test -n "$ac_ct_OTOOL64"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8236$as_echo "$ac_ct_OTOOL64" >&6; }
8237else
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239$as_echo "no" >&6; }
8240fi
8241
8242 if test "x$ac_ct_OTOOL64" = x; then
8243 OTOOL64=":"
8244 else
8245 case $cross_compiling:$ac_tool_warned in
8246yes:)
8247{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8248$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8249ac_tool_warned=yes ;;
8250esac
8251 OTOOL64=$ac_ct_OTOOL64
8252 fi
8253else
8254 OTOOL64="$ac_cv_prog_OTOOL64"
8255fi
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8284$as_echo_n "checking for -single_module linker flag... " >&6; }
8285if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
8286 $as_echo_n "(cached) " >&6
8287else
8288 lt_cv_apple_cc_single_mod=no
8289 if test -z "${LT_MULTI_MODULE}"; then
8290 # By default we will add the -single_module flag. You can override
8291 # by either setting the environment variable LT_MULTI_MODULE
8292 # non-empty at configure time, or by adding -multi_module to the
8293 # link flags.
8294 rm -rf libconftest.dylib*
8295 echo "int foo(void){return 1;}" > conftest.c
8296 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8297-dynamiclib -Wl,-single_module conftest.c" >&5
8298 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8299 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8300 _lt_result=$?
8301 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8302 lt_cv_apple_cc_single_mod=yes
8303 else
8304 cat conftest.err >&5
8305 fi
8306 rm -rf libconftest.dylib*
8307 rm -f conftest.*
8308 fi
8309fi
8310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8311$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8313$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8314if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
8315 $as_echo_n "(cached) " >&6
8316else
8317 lt_cv_ld_exported_symbols_list=no
8318 save_LDFLAGS=$LDFLAGS
8319 echo "_main" > conftest.sym
8320 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8322/* end confdefs.h. */
8323
8324int
8325main ()
8326{
8327
8328 ;
8329 return 0;
8330}
8331_ACEOF
8332if ac_fn_c_try_link "$LINENO"; then :
8333 lt_cv_ld_exported_symbols_list=yes
8334else
8335 lt_cv_ld_exported_symbols_list=no
8336fi
8337rm -f core conftest.err conftest.$ac_objext \
8338 conftest$ac_exeext conftest.$ac_ext
8339 LDFLAGS="$save_LDFLAGS"
8340
8341fi
8342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8343$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8344 case $host_os in
8345 rhapsody* | darwin1.[012])
8346 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8347 darwin1.*)
8348 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8349 darwin*) # darwin 5.x on
8350 # if running on 10.5 or later, the deployment target defaults
8351 # to the OS version, if on x86, and 10.4, the deployment
8352 # target defaults to 10.4. Don't you love it?
8353 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8354 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8355 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8356 10.[012]*)
8357 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8358 10.*)
8359 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8360 esac
8361 ;;
8362 esac
8363 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8364 _lt_dar_single_mod='$single_module'
8365 fi
8366 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8367 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8368 else
8369 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8370 fi
8371 if test "$DSYMUTIL" != ":"; then
8372 _lt_dsymutil='~$DSYMUTIL $lib || :'
8373 else
8374 _lt_dsymutil=
8375 fi
8376 ;;
8377 esac
8378
8379for ac_header in dlfcn.h
8380do :
8381 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8382"
8383if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8384 cat >>confdefs.h <<_ACEOF
8385#define HAVE_DLFCN_H 1
8386_ACEOF
8387
8388fi
8389
8390done
8391
8392
8393
8394# Set options
8395
8396
8397
8398 enable_dlopen=no
8399
8400
8401
8402 # Check whether --enable-shared was given.
8403if test "${enable_shared+set}" = set; then :
8404 enableval=$enable_shared; p=${PACKAGE-default}
8405 case $enableval in
8406 yes) enable_shared=yes ;;
8407 no) enable_shared=no ;;
8408 *)
8409 enable_shared=no
8410 # Look at the argument we got. We use all the common list separators.
8411 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8412 for pkg in $enableval; do
8413 IFS="$lt_save_ifs"
8414 if test "X$pkg" = "X$p"; then
8415 enable_shared=yes
8416 fi
8417 done
8418 IFS="$lt_save_ifs"
8419 ;;
8420 esac
8421else
8422 enable_shared=yes
8423fi
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433 # Check whether --enable-static was given.
8434if test "${enable_static+set}" = set; then :
8435 enableval=$enable_static; p=${PACKAGE-default}
8436 case $enableval in
8437 yes) enable_static=yes ;;
8438 no) enable_static=no ;;
8439 *)
8440 enable_static=no
8441 # Look at the argument we got. We use all the common list separators.
8442 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8443 for pkg in $enableval; do
8444 IFS="$lt_save_ifs"
8445 if test "X$pkg" = "X$p"; then
8446 enable_static=yes
8447 fi
8448 done
8449 IFS="$lt_save_ifs"
8450 ;;
8451 esac
8452else
8453 enable_static=yes
8454fi
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465# Check whether --with-pic was given.
8466if test "${with_pic+set}" = set; then :
8467 withval=$with_pic; pic_mode="$withval"
8468else
8469 pic_mode=default
8470fi
8471
8472
8473test -z "$pic_mode" && pic_mode=default
8474
8475
8476
8477
8478
8479
8480
8481 # Check whether --enable-fast-install was given.
8482if test "${enable_fast_install+set}" = set; then :
8483 enableval=$enable_fast_install; p=${PACKAGE-default}
8484 case $enableval in
8485 yes) enable_fast_install=yes ;;
8486 no) enable_fast_install=no ;;
8487 *)
8488 enable_fast_install=no
8489 # Look at the argument we got. We use all the common list separators.
8490 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8491 for pkg in $enableval; do
8492 IFS="$lt_save_ifs"
8493 if test "X$pkg" = "X$p"; then
8494 enable_fast_install=yes
8495 fi
8496 done
8497 IFS="$lt_save_ifs"
8498 ;;
8499 esac
8500else
8501 enable_fast_install=yes
8502fi
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514# This can be used to rebuild libtool when needed
8515LIBTOOL_DEPS="$ltmain"
8516
8517# Always use our own libtool.
8518LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544test -z "$LN_S" && LN_S="ln -s"
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559if test -n "${ZSH_VERSION+set}" ; then
8560 setopt NO_GLOB_SUBST
8561fi
8562
8563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8564$as_echo_n "checking for objdir... " >&6; }
8565if test "${lt_cv_objdir+set}" = set; then :
8566 $as_echo_n "(cached) " >&6
8567else
8568 rm -f .libs 2>/dev/null
8569mkdir .libs 2>/dev/null
8570if test -d .libs; then
8571 lt_cv_objdir=.libs
8572else
8573 # MS-DOS does not allow filenames that begin with a dot.
8574 lt_cv_objdir=_libs
8575fi
8576rmdir .libs 2>/dev/null
8577fi
8578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8579$as_echo "$lt_cv_objdir" >&6; }
8580objdir=$lt_cv_objdir
8581
8582
8583
8584
8585
8586cat >>confdefs.h <<_ACEOF
8587#define LT_OBJDIR "$lt_cv_objdir/"
8588_ACEOF
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606case $host_os in
8607aix3*)
8608 # AIX sometimes has problems with the GCC collect2 program. For some
8609 # reason, if we set the COLLECT_NAMES environment variable, the problems
8610 # vanish in a puff of smoke.
8611 if test "X${COLLECT_NAMES+set}" != Xset; then
8612 COLLECT_NAMES=
8613 export COLLECT_NAMES
8614 fi
8615 ;;
8616esac
8617
8618# Sed substitution that helps us do robust quoting. It backslashifies
8619# metacharacters that are still active within double-quoted strings.
8620sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8621
8622# Same as above, but do not quote variable references.
8623double_quote_subst='s/\(["`\\]\)/\\\1/g'
8624
8625# Sed substitution to delay expansion of an escaped shell variable in a
8626# double_quote_subst'ed string.
8627delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8628
8629# Sed substitution to delay expansion of an escaped single quote.
8630delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8631
8632# Sed substitution to avoid accidental globbing in evaled expressions
8633no_glob_subst='s/\*/\\\*/g'
8634
8635# Global variables:
8636ofile=libtool
8637can_build_shared=yes
8638
8639# All known linkers require a `.a' archive for static linking (except MSVC,
8640# which needs '.lib').
8641libext=a
8642
8643with_gnu_ld="$lt_cv_prog_gnu_ld"
8644
8645old_CC="$CC"
8646old_CFLAGS="$CFLAGS"
8647
8648# Set sane defaults for various variables
8649test -z "$CC" && CC=cc
8650test -z "$LTCC" && LTCC=$CC
8651test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8652test -z "$LD" && LD=ld
8653test -z "$ac_objext" && ac_objext=o
8654
8655for cc_temp in $compiler""; do
8656 case $cc_temp in
8657 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8658 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8659 \-*) ;;
8660 *) break;;
8661 esac
8662done
8663cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8664
8665
8666# Only perform the check for file, if the check method requires it
8667test -z "$MAGIC_CMD" && MAGIC_CMD=file
8668case $deplibs_check_method in
8669file_magic*)
8670 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8672$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8673if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8674 $as_echo_n "(cached) " >&6
8675else
8676 case $MAGIC_CMD in
8677[\\/*] | ?:[\\/]*)
8678 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8679 ;;
8680*)
8681 lt_save_MAGIC_CMD="$MAGIC_CMD"
8682 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8683 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8684 for ac_dir in $ac_dummy; do
8685 IFS="$lt_save_ifs"
8686 test -z "$ac_dir" && ac_dir=.
8687 if test -f $ac_dir/${ac_tool_prefix}file; then
8688 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8689 if test -n "$file_magic_test_file"; then
8690 case $deplibs_check_method in
8691 "file_magic "*)
8692 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8693 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8694 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8695 $EGREP "$file_magic_regex" > /dev/null; then
8696 :
8697 else
8698 cat <<_LT_EOF 1>&2
8699
8700*** Warning: the command libtool uses to detect shared libraries,
8701*** $file_magic_cmd, produces output that libtool cannot recognize.
8702*** The result is that libtool may fail to recognize shared libraries
8703*** as such. This will affect the creation of libtool libraries that
8704*** depend on shared libraries, but programs linked with such libtool
8705*** libraries will work regardless of this problem. Nevertheless, you
8706*** may want to report the problem to your system manager and/or to
8707*** bug-libtool@gnu.org
8708
8709_LT_EOF
8710 fi ;;
8711 esac
8712 fi
8713 break
8714 fi
8715 done
8716 IFS="$lt_save_ifs"
8717 MAGIC_CMD="$lt_save_MAGIC_CMD"
8718 ;;
8719esac
8720fi
8721
8722MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8723if test -n "$MAGIC_CMD"; then
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8725$as_echo "$MAGIC_CMD" >&6; }
8726else
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728$as_echo "no" >&6; }
8729fi
8730
8731
8732
8733
8734
8735if test -z "$lt_cv_path_MAGIC_CMD"; then
8736 if test -n "$ac_tool_prefix"; then
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8738$as_echo_n "checking for file... " >&6; }
8739if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8740 $as_echo_n "(cached) " >&6
8741else
8742 case $MAGIC_CMD in
8743[\\/*] | ?:[\\/]*)
8744 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8745 ;;
8746*)
8747 lt_save_MAGIC_CMD="$MAGIC_CMD"
8748 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8749 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8750 for ac_dir in $ac_dummy; do
8751 IFS="$lt_save_ifs"
8752 test -z "$ac_dir" && ac_dir=.
8753 if test -f $ac_dir/file; then
8754 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8755 if test -n "$file_magic_test_file"; then
8756 case $deplibs_check_method in
8757 "file_magic "*)
8758 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8759 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8760 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8761 $EGREP "$file_magic_regex" > /dev/null; then
8762 :
8763 else
8764 cat <<_LT_EOF 1>&2
8765
8766*** Warning: the command libtool uses to detect shared libraries,
8767*** $file_magic_cmd, produces output that libtool cannot recognize.
8768*** The result is that libtool may fail to recognize shared libraries
8769*** as such. This will affect the creation of libtool libraries that
8770*** depend on shared libraries, but programs linked with such libtool
8771*** libraries will work regardless of this problem. Nevertheless, you
8772*** may want to report the problem to your system manager and/or to
8773*** bug-libtool@gnu.org
8774
8775_LT_EOF
8776 fi ;;
8777 esac
8778 fi
8779 break
8780 fi
8781 done
8782 IFS="$lt_save_ifs"
8783 MAGIC_CMD="$lt_save_MAGIC_CMD"
8784 ;;
8785esac
8786fi
8787
8788MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8789if test -n "$MAGIC_CMD"; then
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8791$as_echo "$MAGIC_CMD" >&6; }
8792else
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8794$as_echo "no" >&6; }
8795fi
8796
8797
8798 else
8799 MAGIC_CMD=:
8800 fi
8801fi
8802
8803 fi
8804 ;;
8805esac
8806
8807# Use C for the default configuration in the libtool script
8808
8809lt_save_CC="$CC"
8810ac_ext=c
8811ac_cpp='$CPP $CPPFLAGS'
8812ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8813ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8814ac_compiler_gnu=$ac_cv_c_compiler_gnu
8815
8816
8817# Source file extension for C test sources.
8818ac_ext=c
8819
8820# Object file extension for compiled C test sources.
8821objext=o
8822objext=$objext
8823
8824# Code to be used in simple compile tests
8825lt_simple_compile_test_code="int some_variable = 0;"
8826
8827# Code to be used in simple link tests
8828lt_simple_link_test_code='int main(){return(0);}'
8829
8830
8831
8832
8833
8834
8835
8836# If no C compiler was specified, use CC.
8837LTCC=${LTCC-"$CC"}
8838
8839# If no C compiler flags were specified, use CFLAGS.
8840LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8841
8842# Allow CC to be a program name with arguments.
8843compiler=$CC
8844
8845# Save the default compiler, since it gets overwritten when the other
8846# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8847compiler_DEFAULT=$CC
8848
8849# save warnings/boilerplate of simple test code
8850ac_outfile=conftest.$ac_objext
8851echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8852eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8853_lt_compiler_boilerplate=`cat conftest.err`
8854$RM conftest*
8855
8856ac_outfile=conftest.$ac_objext
8857echo "$lt_simple_link_test_code" >conftest.$ac_ext
8858eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8859_lt_linker_boilerplate=`cat conftest.err`
8860$RM -r conftest*
8861
8862
8863## CAVEAT EMPTOR:
8864## There is no encapsulation within the following macros, do not change
8865## the running order or otherwise move them around unless you know exactly
8866## what you are doing...
8867if test -n "$compiler"; then
8868
8869lt_prog_compiler_no_builtin_flag=
8870
8871if test "$GCC" = yes; then
8872 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8873
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8875$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8876if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8877 $as_echo_n "(cached) " >&6
8878else
8879 lt_cv_prog_compiler_rtti_exceptions=no
8880 ac_outfile=conftest.$ac_objext
8881 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8882 lt_compiler_flag="-fno-rtti -fno-exceptions"
8883 # Insert the option either (1) after the last *FLAGS variable, or
8884 # (2) before a word containing "conftest.", or (3) at the end.
8885 # Note that $ac_compile itself does not contain backslashes and begins
8886 # with a dollar sign (not a hyphen), so the echo should work correctly.
8887 # The option is referenced via a variable to avoid confusing sed.
8888 lt_compile=`echo "$ac_compile" | $SED \
8889 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8890 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8891 -e 's:$: $lt_compiler_flag:'`
8892 (eval echo "\"\$as_me:8892: $lt_compile\"" >&5)
8893 (eval "$lt_compile" 2>conftest.err)
8894 ac_status=$?
8895 cat conftest.err >&5
8896 echo "$as_me:8896: \$? = $ac_status" >&5
8897 if (exit $ac_status) && test -s "$ac_outfile"; then
8898 # The compiler can only warn and ignore the option if not recognized
8899 # So say no if there are warnings other than the usual output.
8900 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_rtti_exceptions=yes
8904 fi
8905 fi
8906 $RM conftest*
8907
8908fi
8909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8910$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8911
8912if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8913 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8914else
8915 :
8916fi
8917
8918fi
8919
8920
8921
8922
8923
8924
8925 lt_prog_compiler_wl=
8926lt_prog_compiler_pic=
8927lt_prog_compiler_static=
8928
8929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8930$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8931
8932 if test "$GCC" = yes; then
8933 lt_prog_compiler_wl='-Wl,'
8934 lt_prog_compiler_static='-static'
8935
8936 case $host_os in
8937 aix*)
8938 # All AIX code is PIC.
8939 if test "$host_cpu" = ia64; then
8940 # AIX 5 now supports IA64 processor
8941 lt_prog_compiler_static='-Bstatic'
8942 fi
8943 ;;
8944
8945 amigaos*)
8946 case $host_cpu in
8947 powerpc)
8948 # see comment about AmigaOS4 .so support
8949 lt_prog_compiler_pic='-fPIC'
8950 ;;
8951 m68k)
8952 # FIXME: we need at least 68020 code to build shared libraries, but
8953 # adding the `-m68020' flag to GCC prevents building anything better,
8954 # like `-m68040'.
8955 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8956 ;;
8957 esac
8958 ;;
8959
8960 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8961 # PIC is the default for these OSes.
8962 ;;
8963
8964 mingw* | cygwin* | pw32* | os2* | cegcc*)
8965 # This hack is so that the source file can tell whether it is being
8966 # built for inclusion in a dll (and should export symbols for example).
8967 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8968 # (--disable-auto-import) libraries
8969 lt_prog_compiler_pic='-DDLL_EXPORT'
8970 ;;
8971
8972 darwin* | rhapsody*)
8973 # PIC is the default on this platform
8974 # Common symbols not allowed in MH_DYLIB files
8975 lt_prog_compiler_pic='-fno-common'
8976 ;;
8977
8978 hpux*)
8979 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8980 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8981 # sets the default TLS model and affects inlining.
8982 case $host_cpu in
8983 hppa*64*)
8984 # +Z the default
8985 ;;
8986 *)
8987 lt_prog_compiler_pic='-fPIC'
8988 ;;
8989 esac
8990 ;;
8991
8992 interix[3-9]*)
8993 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8994 # Instead, we relocate shared libraries at runtime.
8995 ;;
8996
8997 msdosdjgpp*)
8998 # Just because we use GCC doesn't mean we suddenly get shared libraries
8999 # on systems that don't support them.
9000 lt_prog_compiler_can_build_shared=no
9001 enable_shared=no
9002 ;;
9003
9004 *nto* | *qnx*)
9005 # QNX uses GNU C++, but need to define -shared option too, otherwise
9006 # it will coredump.
9007 lt_prog_compiler_pic='-fPIC -shared'
9008 ;;
9009
9010 sysv4*MP*)
9011 if test -d /usr/nec; then
9012 lt_prog_compiler_pic=-Kconform_pic
9013 fi
9014 ;;
9015
9016 *)
9017 lt_prog_compiler_pic='-fPIC'
9018 ;;
9019 esac
9020 else
9021 # PORTME Check for flag to pass linker flags through the system compiler.
9022 case $host_os in
9023 aix*)
9024 lt_prog_compiler_wl='-Wl,'
9025 if test "$host_cpu" = ia64; then
9026 # AIX 5 now supports IA64 processor
9027 lt_prog_compiler_static='-Bstatic'
9028 else
9029 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9030 fi
9031 ;;
9032
9033 mingw* | cygwin* | pw32* | os2* | cegcc*)
9034 # This hack is so that the source file can tell whether it is being
9035 # built for inclusion in a dll (and should export symbols for example).
9036 lt_prog_compiler_pic='-DDLL_EXPORT'
9037 ;;
9038
9039 hpux9* | hpux10* | hpux11*)
9040 lt_prog_compiler_wl='-Wl,'
9041 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9042 # not for PA HP-UX.
9043 case $host_cpu in
9044 hppa*64*|ia64*)
9045 # +Z the default
9046 ;;
9047 *)
9048 lt_prog_compiler_pic='+Z'
9049 ;;
9050 esac
9051 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9052 lt_prog_compiler_static='${wl}-a ${wl}archive'
9053 ;;
9054
9055 irix5* | irix6* | nonstopux*)
9056 lt_prog_compiler_wl='-Wl,'
9057 # PIC (with -KPIC) is the default.
9058 lt_prog_compiler_static='-non_shared'
9059 ;;
9060
9061 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9062 case $cc_basename in
9063 # old Intel for x86_64 which still supported -KPIC.
9064 ecc*)
9065 lt_prog_compiler_wl='-Wl,'
9066 lt_prog_compiler_pic='-KPIC'
9067 lt_prog_compiler_static='-static'
9068 ;;
9069 # icc used to be incompatible with GCC.
9070 # ICC 10 doesn't accept -KPIC any more.
9071 icc* | ifort*)
9072 lt_prog_compiler_wl='-Wl,'
9073 lt_prog_compiler_pic='-fPIC'
9074 lt_prog_compiler_static='-static'
9075 ;;
9076 # Lahey Fortran 8.1.
9077 lf95*)
9078 lt_prog_compiler_wl='-Wl,'
9079 lt_prog_compiler_pic='--shared'
9080 lt_prog_compiler_static='--static'
9081 ;;
9082 pgcc* | pgf77* | pgf90* | pgf95*)
9083 # Portland Group compilers (*not* the Pentium gcc compiler,
9084 # which looks to be a dead project)
9085 lt_prog_compiler_wl='-Wl,'
9086 lt_prog_compiler_pic='-fpic'
9087 lt_prog_compiler_static='-Bstatic'
9088 ;;
9089 ccc*)
9090 lt_prog_compiler_wl='-Wl,'
9091 # All Alpha code is PIC.
9092 lt_prog_compiler_static='-non_shared'
9093 ;;
9094 xl*)
9095 # IBM XL C 8.0/Fortran 10.1 on PPC
9096 lt_prog_compiler_wl='-Wl,'
9097 lt_prog_compiler_pic='-qpic'
9098 lt_prog_compiler_static='-qstaticlink'
9099 ;;
9100 *)
9101 case `$CC -V 2>&1 | sed 5q` in
9102 *Sun\ C*)
9103 # Sun C 5.9
9104 lt_prog_compiler_pic='-KPIC'
9105 lt_prog_compiler_static='-Bstatic'
9106 lt_prog_compiler_wl='-Wl,'
9107 ;;
9108 *Sun\ F*)
9109 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9110 lt_prog_compiler_pic='-KPIC'
9111 lt_prog_compiler_static='-Bstatic'
9112 lt_prog_compiler_wl=''
9113 ;;
9114 esac
9115 ;;
9116 esac
9117 ;;
9118
9119 newsos6)
9120 lt_prog_compiler_pic='-KPIC'
9121 lt_prog_compiler_static='-Bstatic'
9122 ;;
9123
9124 *nto* | *qnx*)
9125 # QNX uses GNU C++, but need to define -shared option too, otherwise
9126 # it will coredump.
9127 lt_prog_compiler_pic='-fPIC -shared'
9128 ;;
9129
9130 osf3* | osf4* | osf5*)
9131 lt_prog_compiler_wl='-Wl,'
9132 # All OSF/1 code is PIC.
9133 lt_prog_compiler_static='-non_shared'
9134 ;;
9135
9136 rdos*)
9137 lt_prog_compiler_static='-non_shared'
9138 ;;
9139
9140 solaris*)
9141 lt_prog_compiler_pic='-KPIC'
9142 lt_prog_compiler_static='-Bstatic'
9143 case $cc_basename in
9144 f77* | f90* | f95*)
9145 lt_prog_compiler_wl='-Qoption ld ';;
9146 *)
9147 lt_prog_compiler_wl='-Wl,';;
9148 esac
9149 ;;
9150
9151 sunos4*)
9152 lt_prog_compiler_wl='-Qoption ld '
9153 lt_prog_compiler_pic='-PIC'
9154 lt_prog_compiler_static='-Bstatic'
9155 ;;
9156
9157 sysv4 | sysv4.2uw2* | sysv4.3*)
9158 lt_prog_compiler_wl='-Wl,'
9159 lt_prog_compiler_pic='-KPIC'
9160 lt_prog_compiler_static='-Bstatic'
9161 ;;
9162
9163 sysv4*MP*)
9164 if test -d /usr/nec ;then
9165 lt_prog_compiler_pic='-Kconform_pic'
9166 lt_prog_compiler_static='-Bstatic'
9167 fi
9168 ;;
9169
9170 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9171 lt_prog_compiler_wl='-Wl,'
9172 lt_prog_compiler_pic='-KPIC'
9173 lt_prog_compiler_static='-Bstatic'
9174 ;;
9175
9176 unicos*)
9177 lt_prog_compiler_wl='-Wl,'
9178 lt_prog_compiler_can_build_shared=no
9179 ;;
9180
9181 uts4*)
9182 lt_prog_compiler_pic='-pic'
9183 lt_prog_compiler_static='-Bstatic'
9184 ;;
9185
9186 *)
9187 lt_prog_compiler_can_build_shared=no
9188 ;;
9189 esac
9190 fi
9191
9192case $host_os in
9193 # For platforms which do not support PIC, -DPIC is meaningless:
9194 *djgpp*)
9195 lt_prog_compiler_pic=
9196 ;;
9197 *)
9198 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9199 ;;
9200esac
9201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9202$as_echo "$lt_prog_compiler_pic" >&6; }
9203
9204
9205
9206
9207
9208
9209#
9210# Check to make sure the PIC flag actually works.
9211#
9212if test -n "$lt_prog_compiler_pic"; then
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9214$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9215if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9216 $as_echo_n "(cached) " >&6
9217else
9218 lt_cv_prog_compiler_pic_works=no
9219 ac_outfile=conftest.$ac_objext
9220 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9221 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9222 # Insert the option either (1) after the last *FLAGS variable, or
9223 # (2) before a word containing "conftest.", or (3) at the end.
9224 # Note that $ac_compile itself does not contain backslashes and begins
9225 # with a dollar sign (not a hyphen), so the echo should work correctly.
9226 # The option is referenced via a variable to avoid confusing sed.
9227 lt_compile=`echo "$ac_compile" | $SED \
9228 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9229 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9230 -e 's:$: $lt_compiler_flag:'`
9231 (eval echo "\"\$as_me:9231: $lt_compile\"" >&5)
9232 (eval "$lt_compile" 2>conftest.err)
9233 ac_status=$?
9234 cat conftest.err >&5
9235 echo "$as_me:9235: \$? = $ac_status" >&5
9236 if (exit $ac_status) && test -s "$ac_outfile"; then
9237 # The compiler can only warn and ignore the option if not recognized
9238 # So say no if there are warnings other than the usual output.
9239 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9240 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9241 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9242 lt_cv_prog_compiler_pic_works=yes
9243 fi
9244 fi
9245 $RM conftest*
9246
9247fi
9248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9249$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9250
9251if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9252 case $lt_prog_compiler_pic in
9253 "" | " "*) ;;
9254 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9255 esac
9256else
9257 lt_prog_compiler_pic=
9258 lt_prog_compiler_can_build_shared=no
9259fi
9260
9261fi
9262
9263
9264
9265
9266
9267
9268#
9269# Check to make sure the static flag actually works.
9270#
9271wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9273$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9274if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9275 $as_echo_n "(cached) " >&6
9276else
9277 lt_cv_prog_compiler_static_works=no
9278 save_LDFLAGS="$LDFLAGS"
9279 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9280 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9281 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9282 # The linker can only warn and ignore the option if not recognized
9283 # So say no if there are warnings
9284 if test -s conftest.err; then
9285 # Append any errors to the config.log.
9286 cat conftest.err 1>&5
9287 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9288 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9289 if diff conftest.exp conftest.er2 >/dev/null; then
9290 lt_cv_prog_compiler_static_works=yes
9291 fi
9292 else
9293 lt_cv_prog_compiler_static_works=yes
9294 fi
9295 fi
9296 $RM -r conftest*
9297 LDFLAGS="$save_LDFLAGS"
9298
9299fi
9300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9301$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9302
9303if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9304 :
9305else
9306 lt_prog_compiler_static=
9307fi
9308
9309
9310
9311
9312
9313
9314
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9316$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9317if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9318 $as_echo_n "(cached) " >&6
9319else
9320 lt_cv_prog_compiler_c_o=no
9321 $RM -r conftest 2>/dev/null
9322 mkdir conftest
9323 cd conftest
9324 mkdir out
9325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9326
9327 lt_compiler_flag="-o out/conftest2.$ac_objext"
9328 # Insert the option either (1) after the last *FLAGS variable, or
9329 # (2) before a word containing "conftest.", or (3) at the end.
9330 # Note that $ac_compile itself does not contain backslashes and begins
9331 # with a dollar sign (not a hyphen), so the echo should work correctly.
9332 lt_compile=`echo "$ac_compile" | $SED \
9333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9335 -e 's:$: $lt_compiler_flag:'`
9336 (eval echo "\"\$as_me:9336: $lt_compile\"" >&5)
9337 (eval "$lt_compile" 2>out/conftest.err)
9338 ac_status=$?
9339 cat out/conftest.err >&5
9340 echo "$as_me:9340: \$? = $ac_status" >&5
9341 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9342 then
9343 # The compiler can only warn and ignore the option if not recognized
9344 # So say no if there are warnings
9345 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9346 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9347 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9348 lt_cv_prog_compiler_c_o=yes
9349 fi
9350 fi
9351 chmod u+w . 2>&5
9352 $RM conftest*
9353 # SGI C++ compiler will create directory out/ii_files/ for
9354 # template instantiation
9355 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9356 $RM out/* && rmdir out
9357 cd ..
9358 $RM -r conftest
9359 $RM conftest*
9360
9361fi
9362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9363$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9364
9365
9366
9367
9368
9369
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9371$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9372if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9373 $as_echo_n "(cached) " >&6
9374else
9375 lt_cv_prog_compiler_c_o=no
9376 $RM -r conftest 2>/dev/null
9377 mkdir conftest
9378 cd conftest
9379 mkdir out
9380 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9381
9382 lt_compiler_flag="-o out/conftest2.$ac_objext"
9383 # Insert the option either (1) after the last *FLAGS variable, or
9384 # (2) before a word containing "conftest.", or (3) at the end.
9385 # Note that $ac_compile itself does not contain backslashes and begins
9386 # with a dollar sign (not a hyphen), so the echo should work correctly.
9387 lt_compile=`echo "$ac_compile" | $SED \
9388 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9389 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9390 -e 's:$: $lt_compiler_flag:'`
9391 (eval echo "\"\$as_me:9391: $lt_compile\"" >&5)
9392 (eval "$lt_compile" 2>out/conftest.err)
9393 ac_status=$?
9394 cat out/conftest.err >&5
9395 echo "$as_me:9395: \$? = $ac_status" >&5
9396 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9397 then
9398 # The compiler can only warn and ignore the option if not recognized
9399 # So say no if there are warnings
9400 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9401 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9402 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9403 lt_cv_prog_compiler_c_o=yes
9404 fi
9405 fi
9406 chmod u+w . 2>&5
9407 $RM conftest*
9408 # SGI C++ compiler will create directory out/ii_files/ for
9409 # template instantiation
9410 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9411 $RM out/* && rmdir out
9412 cd ..
9413 $RM -r conftest
9414 $RM conftest*
9415
9416fi
9417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9418$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9419
9420
9421
9422
9423hard_links="nottested"
9424if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9425 # do not overwrite the value of need_locks provided by the user
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9427$as_echo_n "checking if we can lock with hard links... " >&6; }
9428 hard_links=yes
9429 $RM conftest*
9430 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9431 touch conftest.a
9432 ln conftest.a conftest.b 2>&5 || hard_links=no
9433 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9435$as_echo "$hard_links" >&6; }
9436 if test "$hard_links" = no; then
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9438$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9439 need_locks=warn
9440 fi
9441else
9442 need_locks=no
9443fi
9444
9445
9446
9447
9448
9449
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9451$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9452
9453 runpath_var=
9454 allow_undefined_flag=
9455 always_export_symbols=no
9456 archive_cmds=
9457 archive_expsym_cmds=
9458 compiler_needs_object=no
9459 enable_shared_with_static_runtimes=no
9460 export_dynamic_flag_spec=
9461 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9462 hardcode_automatic=no
9463 hardcode_direct=no
9464 hardcode_direct_absolute=no
9465 hardcode_libdir_flag_spec=
9466 hardcode_libdir_flag_spec_ld=
9467 hardcode_libdir_separator=
9468 hardcode_minus_L=no
9469 hardcode_shlibpath_var=unsupported
9470 inherit_rpath=no
9471 link_all_deplibs=unknown
9472 module_cmds=
9473 module_expsym_cmds=
9474 old_archive_from_new_cmds=
9475 old_archive_from_expsyms_cmds=
9476 thread_safe_flag_spec=
9477 whole_archive_flag_spec=
9478 # include_expsyms should be a list of space-separated symbols to be *always*
9479 # included in the symbol list
9480 include_expsyms=
9481 # exclude_expsyms can be an extended regexp of symbols to exclude
9482 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9483 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9484 # as well as any symbol that contains `d'.
9485 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9486 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9487 # platforms (ab)use it in PIC code, but their linkers get confused if
9488 # the symbol is explicitly referenced. Since portable code cannot
9489 # rely on this symbol name, it's probably fine to never include it in
9490 # preloaded symbol tables.
9491 # Exclude shared library initialization/finalization symbols.
9492 extract_expsyms_cmds=
9493
9494 case $host_os in
9495 cygwin* | mingw* | pw32* | cegcc*)
9496 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9497 # When not using gcc, we currently assume that we are using
9498 # Microsoft Visual C++.
9499 if test "$GCC" != yes; then
9500 with_gnu_ld=no
9501 fi
9502 ;;
9503 interix*)
9504 # we just hope/assume this is gcc and not c89 (= MSVC++)
9505 with_gnu_ld=yes
9506 ;;
9507 openbsd*)
9508 with_gnu_ld=no
9509 ;;
9510 linux* | k*bsd*-gnu)
9511 link_all_deplibs=no
9512 ;;
9513 esac
9514
9515 ld_shlibs=yes
9516 if test "$with_gnu_ld" = yes; then
9517 # If archive_cmds runs LD, not CC, wlarc should be empty
9518 wlarc='${wl}'
9519
9520 # Set some defaults for GNU ld with shared library support. These
9521 # are reset later if shared libraries are not supported. Putting them
9522 # here allows them to be overridden if necessary.
9523 runpath_var=LD_RUN_PATH
9524 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9525 export_dynamic_flag_spec='${wl}--export-dynamic'
9526 # ancient GNU ld didn't support --whole-archive et. al.
9527 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9528 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9529 else
9530 whole_archive_flag_spec=
9531 fi
9532 supports_anon_versioning=no
9533 case `$LD -v 2>&1` in
9534 *GNU\ gold*) supports_anon_versioning=yes ;;
9535 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9536 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9537 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9538 *\ 2.11.*) ;; # other 2.11 versions
9539 *) supports_anon_versioning=yes ;;
9540 esac
9541
9542 # See if GNU ld supports shared libraries.
9543 case $host_os in
9544 aix[3-9]*)
9545 # On AIX/PPC, the GNU linker is very broken
9546 if test "$host_cpu" != ia64; then
9547 ld_shlibs=no
9548 cat <<_LT_EOF 1>&2
9549
9550*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9551*** to be unable to reliably create shared libraries on AIX.
9552*** Therefore, libtool is disabling shared libraries support. If you
9553*** really care for shared libraries, you may want to modify your PATH
9554*** so that a non-GNU linker is found, and then restart.
9555
9556_LT_EOF
9557 fi
9558 ;;
9559
9560 amigaos*)
9561 case $host_cpu in
9562 powerpc)
9563 # see comment about AmigaOS4 .so support
9564 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9565 archive_expsym_cmds=''
9566 ;;
9567 m68k)
9568 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)'
9569 hardcode_libdir_flag_spec='-L$libdir'
9570 hardcode_minus_L=yes
9571 ;;
9572 esac
9573 ;;
9574
9575 beos*)
9576 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9577 allow_undefined_flag=unsupported
9578 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9579 # support --undefined. This deserves some investigation. FIXME
9580 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9581 else
9582 ld_shlibs=no
9583 fi
9584 ;;
9585
9586 cygwin* | mingw* | pw32* | cegcc*)
9587 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9588 # as there is no search path for DLLs.
9589 hardcode_libdir_flag_spec='-L$libdir'
9590 allow_undefined_flag=unsupported
9591 always_export_symbols=no
9592 enable_shared_with_static_runtimes=yes
9593 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9594
9595 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9596 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9597 # If the export-symbols file already is a .def file (1st line
9598 # is EXPORTS), use it as is; otherwise, prepend...
9599 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9600 cp $export_symbols $output_objdir/$soname.def;
9601 else
9602 echo EXPORTS > $output_objdir/$soname.def;
9603 cat $export_symbols >> $output_objdir/$soname.def;
9604 fi~
9605 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9606 else
9607 ld_shlibs=no
9608 fi
9609 ;;
9610
9611 interix[3-9]*)
9612 hardcode_direct=no
9613 hardcode_shlibpath_var=no
9614 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9615 export_dynamic_flag_spec='${wl}-E'
9616 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9617 # Instead, shared libraries are loaded at an image base (0x10000000 by
9618 # default) and relocated if they conflict, which is a slow very memory
9619 # consuming and fragmenting process. To avoid this, we pick a random,
9620 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9621 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9622 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9623 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'
9624 ;;
9625
9626 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9627 tmp_diet=no
9628 if test "$host_os" = linux-dietlibc; then
9629 case $cc_basename in
9630 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9631 esac
9632 fi
9633 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9634 && test "$tmp_diet" = no
9635 then
9636 tmp_addflag=
9637 tmp_sharedflag='-shared'
9638 case $cc_basename,$host_cpu in
9639 pgcc*) # Portland Group C compiler
9640 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'
9641 tmp_addflag=' $pic_flag'
9642 ;;
9643 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9644 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'
9645 tmp_addflag=' $pic_flag -Mnomain' ;;
9646 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9647 tmp_addflag=' -i_dynamic' ;;
9648 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9649 tmp_addflag=' -i_dynamic -nofor_main' ;;
9650 ifc* | ifort*) # Intel Fortran compiler
9651 tmp_addflag=' -nofor_main' ;;
9652 lf95*) # Lahey Fortran 8.1
9653 whole_archive_flag_spec=
9654 tmp_sharedflag='--shared' ;;
9655 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9656 tmp_sharedflag='-qmkshrobj'
9657 tmp_addflag= ;;
9658 esac
9659 case `$CC -V 2>&1 | sed 5q` in
9660 *Sun\ C*) # Sun C 5.9
9661 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'
9662 compiler_needs_object=yes
9663 tmp_sharedflag='-G' ;;
9664 *Sun\ F*) # Sun Fortran 8.3
9665 tmp_sharedflag='-G' ;;
9666 esac
9667 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9668
9669 if test "x$supports_anon_versioning" = xyes; then
9670 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9671 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9672 echo "local: *; };" >> $output_objdir/$libname.ver~
9673 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9674 fi
9675
9676 case $cc_basename in
9677 xlf*)
9678 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9679 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9680 hardcode_libdir_flag_spec=
9681 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9682 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9683 if test "x$supports_anon_versioning" = xyes; then
9684 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9685 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9686 echo "local: *; };" >> $output_objdir/$libname.ver~
9687 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9688 fi
9689 ;;
9690 esac
9691 else
9692 ld_shlibs=no
9693 fi
9694 ;;
9695
9696 netbsd* | netbsdelf*-gnu)
9697 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9698 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9699 wlarc=
9700 else
9701 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9702 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9703 fi
9704 ;;
9705
9706 solaris*)
9707 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9708 ld_shlibs=no
9709 cat <<_LT_EOF 1>&2
9710
9711*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9712*** create shared libraries on Solaris systems. Therefore, libtool
9713*** is disabling shared libraries support. We urge you to upgrade GNU
9714*** binutils to release 2.9.1 or newer. Another option is to modify
9715*** your PATH or compiler configuration so that the native linker is
9716*** used, and then restart.
9717
9718_LT_EOF
9719 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9720 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9721 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9722 else
9723 ld_shlibs=no
9724 fi
9725 ;;
9726
9727 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9728 case `$LD -v 2>&1` in
9729 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9730 ld_shlibs=no
9731 cat <<_LT_EOF 1>&2
9732
9733*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9734*** reliably create shared libraries on SCO systems. Therefore, libtool
9735*** is disabling shared libraries support. We urge you to upgrade GNU
9736*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9737*** your PATH or compiler configuration so that the native linker is
9738*** used, and then restart.
9739
9740_LT_EOF
9741 ;;
9742 *)
9743 # For security reasons, it is highly recommended that you always
9744 # use absolute paths for naming shared libraries, and exclude the
9745 # DT_RUNPATH tag from executables and libraries. But doing so
9746 # requires that you compile everything twice, which is a pain.
9747 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9748 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9749 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9750 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9751 else
9752 ld_shlibs=no
9753 fi
9754 ;;
9755 esac
9756 ;;
9757
9758 sunos4*)
9759 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9760 wlarc=
9761 hardcode_direct=yes
9762 hardcode_shlibpath_var=no
9763 ;;
9764
9765 *)
9766 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9767 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9768 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9769 else
9770 ld_shlibs=no
9771 fi
9772 ;;
9773 esac
9774
9775 if test "$ld_shlibs" = no; then
9776 runpath_var=
9777 hardcode_libdir_flag_spec=
9778 export_dynamic_flag_spec=
9779 whole_archive_flag_spec=
9780 fi
9781 else
9782 # PORTME fill in a description of your system's linker (not GNU ld)
9783 case $host_os in
9784 aix3*)
9785 allow_undefined_flag=unsupported
9786 always_export_symbols=yes
9787 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'
9788 # Note: this linker hardcodes the directories in LIBPATH if there
9789 # are no directories specified by -L.
9790 hardcode_minus_L=yes
9791 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9792 # Neither direct hardcoding nor static linking is supported with a
9793 # broken collect2.
9794 hardcode_direct=unsupported
9795 fi
9796 ;;
9797
9798 aix[4-9]*)
9799 if test "$host_cpu" = ia64; then
9800 # On IA64, the linker does run time linking by default, so we don't
9801 # have to do anything special.
9802 aix_use_runtimelinking=no
9803 exp_sym_flag='-Bexport'
9804 no_entry_flag=""
9805 else
9806 # If we're using GNU nm, then we don't want the "-C" option.
9807 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9808 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9809 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'
9810 else
9811 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'
9812 fi
9813 aix_use_runtimelinking=no
9814
9815 # Test if we are trying to use run time linking or normal
9816 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9817 # need to do runtime linking.
9818 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9819 for ld_flag in $LDFLAGS; do
9820 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9821 aix_use_runtimelinking=yes
9822 break
9823 fi
9824 done
9825 ;;
9826 esac
9827
9828 exp_sym_flag='-bexport'
9829 no_entry_flag='-bnoentry'
9830 fi
9831
9832 # When large executables or shared objects are built, AIX ld can
9833 # have problems creating the table of contents. If linking a library
9834 # or program results in "error TOC overflow" add -mminimal-toc to
9835 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9836 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9837
9838 archive_cmds=''
9839 hardcode_direct=yes
9840 hardcode_direct_absolute=yes
9841 hardcode_libdir_separator=':'
9842 link_all_deplibs=yes
9843 file_list_spec='${wl}-f,'
9844
9845 if test "$GCC" = yes; then
9846 case $host_os in aix4.[012]|aix4.[012].*)
9847 # We only want to do this on AIX 4.2 and lower, the check
9848 # below for broken collect2 doesn't work under 4.3+
9849 collect2name=`${CC} -print-prog-name=collect2`
9850 if test -f "$collect2name" &&
9851 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9852 then
9853 # We have reworked collect2
9854 :
9855 else
9856 # We have old collect2
9857 hardcode_direct=unsupported
9858 # It fails to find uninstalled libraries when the uninstalled
9859 # path is not listed in the libpath. Setting hardcode_minus_L
9860 # to unsupported forces relinking
9861 hardcode_minus_L=yes
9862 hardcode_libdir_flag_spec='-L$libdir'
9863 hardcode_libdir_separator=
9864 fi
9865 ;;
9866 esac
9867 shared_flag='-shared'
9868 if test "$aix_use_runtimelinking" = yes; then
9869 shared_flag="$shared_flag "'${wl}-G'
9870 fi
9871 link_all_deplibs=no
9872 else
9873 # not using gcc
9874 if test "$host_cpu" = ia64; then
9875 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9876 # chokes on -Wl,-G. The following line is correct:
9877 shared_flag='-G'
9878 else
9879 if test "$aix_use_runtimelinking" = yes; then
9880 shared_flag='${wl}-G'
9881 else
9882 shared_flag='${wl}-bM:SRE'
9883 fi
9884 fi
9885 fi
9886
9887 export_dynamic_flag_spec='${wl}-bexpall'
9888 # It seems that -bexpall does not export symbols beginning with
9889 # underscore (_), so it is better to generate a list of symbols to export.
9890 always_export_symbols=yes
9891 if test "$aix_use_runtimelinking" = yes; then
9892 # Warning - without using the other runtime loading flags (-brtl),
9893 # -berok will link without error, but may produce a broken library.
9894 allow_undefined_flag='-berok'
9895 # Determine the default libpath from the value encoded in an
9896 # empty executable.
9897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9898/* end confdefs.h. */
9899
9900int
9901main ()
9902{
9903
9904 ;
9905 return 0;
9906}
9907_ACEOF
9908if ac_fn_c_try_link "$LINENO"; then :
9909
9910lt_aix_libpath_sed='
9911 /Import File Strings/,/^$/ {
9912 /^0/ {
9913 s/^0 *\(.*\)$/\1/
9914 p
9915 }
9916 }'
9917aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9918# Check for a 64-bit object if we didn't find anything.
9919if test -z "$aix_libpath"; then
9920 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9921fi
9922fi
9923rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9926
9927 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9928 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"
9929 else
9930 if test "$host_cpu" = ia64; then
9931 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9932 allow_undefined_flag="-z nodefs"
9933 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"
9934 else
9935 # Determine the default libpath from the value encoded in an
9936 # empty executable.
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938/* end confdefs.h. */
9939
9940int
9941main ()
9942{
9943
9944 ;
9945 return 0;
9946}
9947_ACEOF
9948if ac_fn_c_try_link "$LINENO"; then :
9949
9950lt_aix_libpath_sed='
9951 /Import File Strings/,/^$/ {
9952 /^0/ {
9953 s/^0 *\(.*\)$/\1/
9954 p
9955 }
9956 }'
9957aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9958# Check for a 64-bit object if we didn't find anything.
9959if test -z "$aix_libpath"; then
9960 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9961fi
9962fi
9963rm -f core conftest.err conftest.$ac_objext \
9964 conftest$ac_exeext conftest.$ac_ext
9965if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9966
9967 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9968 # Warning - without using the other run time loading flags,
9969 # -berok will link without error, but may produce a broken library.
9970 no_undefined_flag=' ${wl}-bernotok'
9971 allow_undefined_flag=' ${wl}-berok'
9972 # Exported symbols can be pulled into shared objects from archives
9973 whole_archive_flag_spec='$convenience'
9974 archive_cmds_need_lc=yes
9975 # This is similar to how AIX traditionally builds its shared libraries.
9976 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'
9977 fi
9978 fi
9979 ;;
9980
9981 amigaos*)
9982 case $host_cpu in
9983 powerpc)
9984 # see comment about AmigaOS4 .so support
9985 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9986 archive_expsym_cmds=''
9987 ;;
9988 m68k)
9989 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)'
9990 hardcode_libdir_flag_spec='-L$libdir'
9991 hardcode_minus_L=yes
9992 ;;
9993 esac
9994 ;;
9995
9996 bsdi[45]*)
9997 export_dynamic_flag_spec=-rdynamic
9998 ;;
9999
10000 cygwin* | mingw* | pw32* | cegcc*)
10001 # When not using gcc, we currently assume that we are using
10002 # Microsoft Visual C++.
10003 # hardcode_libdir_flag_spec is actually meaningless, as there is
10004 # no search path for DLLs.
10005 hardcode_libdir_flag_spec=' '
10006 allow_undefined_flag=unsupported
10007 # Tell ltmain to make .lib files, not .a files.
10008 libext=lib
10009 # Tell ltmain to make .dll files, not .so files.
10010 shrext_cmds=".dll"
10011 # FIXME: Setting linknames here is a bad hack.
10012 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
10013 # The linker will automatically build a .lib file if we build a DLL.
10014 old_archive_from_new_cmds='true'
10015 # FIXME: Should let the user specify the lib program.
10016 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10017 fix_srcfile_path='`cygpath -w "$srcfile"`'
10018 enable_shared_with_static_runtimes=yes
10019 ;;
10020
10021 darwin* | rhapsody*)
10022
10023
10024 archive_cmds_need_lc=no
10025 hardcode_direct=no
10026 hardcode_automatic=yes
10027 hardcode_shlibpath_var=unsupported
10028 whole_archive_flag_spec=''
10029 link_all_deplibs=yes
10030 allow_undefined_flag="$_lt_dar_allow_undefined"
10031 case $cc_basename in
10032 ifort*) _lt_dar_can_shared=yes ;;
10033 *) _lt_dar_can_shared=$GCC ;;
10034 esac
10035 if test "$_lt_dar_can_shared" = "yes"; then
10036 output_verbose_link_cmd=echo
10037 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10038 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10039 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}"
10040 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}"
10041
10042 else
10043 ld_shlibs=no
10044 fi
10045
10046 ;;
10047
10048 dgux*)
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_libdir_flag_spec='-L$libdir'
10051 hardcode_shlibpath_var=no
10052 ;;
10053
10054 freebsd1*)
10055 ld_shlibs=no
10056 ;;
10057
10058 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10059 # support. Future versions do this automatically, but an explicit c++rt0.o
10060 # does not break anything, and helps significantly (at the cost of a little
10061 # extra space).
10062 freebsd2.2*)
10063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10064 hardcode_libdir_flag_spec='-R$libdir'
10065 hardcode_direct=yes
10066 hardcode_shlibpath_var=no
10067 ;;
10068
10069 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10070 freebsd2*)
10071 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=yes
10073 hardcode_minus_L=yes
10074 hardcode_shlibpath_var=no
10075 ;;
10076
10077 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10078 freebsd* | dragonfly*)
10079 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10080 hardcode_libdir_flag_spec='-R$libdir'
10081 hardcode_direct=yes
10082 hardcode_shlibpath_var=no
10083 ;;
10084
10085 hpux9*)
10086 if test "$GCC" = yes; then
10087 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'
10088 else
10089 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'
10090 fi
10091 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10092 hardcode_libdir_separator=:
10093 hardcode_direct=yes
10094
10095 # hardcode_minus_L: Not really in the search PATH,
10096 # but as the default location of the library.
10097 hardcode_minus_L=yes
10098 export_dynamic_flag_spec='${wl}-E'
10099 ;;
10100
10101 hpux10*)
10102 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10103 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10106 fi
10107 if test "$with_gnu_ld" = no; then
10108 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10109 hardcode_libdir_flag_spec_ld='+b $libdir'
10110 hardcode_libdir_separator=:
10111 hardcode_direct=yes
10112 hardcode_direct_absolute=yes
10113 export_dynamic_flag_spec='${wl}-E'
10114 # hardcode_minus_L: Not really in the search PATH,
10115 # but as the default location of the library.
10116 hardcode_minus_L=yes
10117 fi
10118 ;;
10119
10120 hpux11*)
10121 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
10122 case $host_cpu in
10123 hppa*64*)
10124 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10125 ;;
10126 ia64*)
10127 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10128 ;;
10129 *)
10130 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10131 ;;
10132 esac
10133 else
10134 case $host_cpu in
10135 hppa*64*)
10136 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10137 ;;
10138 ia64*)
10139 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10140 ;;
10141 *)
10142 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10143 ;;
10144 esac
10145 fi
10146 if test "$with_gnu_ld" = no; then
10147 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10148 hardcode_libdir_separator=:
10149
10150 case $host_cpu in
10151 hppa*64*|ia64*)
10152 hardcode_direct=no
10153 hardcode_shlibpath_var=no
10154 ;;
10155 *)
10156 hardcode_direct=yes
10157 hardcode_direct_absolute=yes
10158 export_dynamic_flag_spec='${wl}-E'
10159
10160 # hardcode_minus_L: Not really in the search PATH,
10161 # but as the default location of the library.
10162 hardcode_minus_L=yes
10163 ;;
10164 esac
10165 fi
10166 ;;
10167
10168 irix5* | irix6* | nonstopux*)
10169 if test "$GCC" = yes; then
10170 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'
10171 # Try to use the -exported_symbol ld option, if it does not
10172 # work, assume that -exports_file does not work either and
10173 # implicitly export all symbols.
10174 save_LDFLAGS="$LDFLAGS"
10175 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10177/* end confdefs.h. */
10178int foo(void) {}
10179_ACEOF
10180if ac_fn_c_try_link "$LINENO"; then :
10181 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'
10182
10183fi
10184rm -f core conftest.err conftest.$ac_objext \
10185 conftest$ac_exeext conftest.$ac_ext
10186 LDFLAGS="$save_LDFLAGS"
10187 else
10188 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'
10189 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'
10190 fi
10191 archive_cmds_need_lc='no'
10192 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10193 hardcode_libdir_separator=:
10194 inherit_rpath=yes
10195 link_all_deplibs=yes
10196 ;;
10197
10198 netbsd* | netbsdelf*-gnu)
10199 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10200 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10201 else
10202 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10203 fi
10204 hardcode_libdir_flag_spec='-R$libdir'
10205 hardcode_direct=yes
10206 hardcode_shlibpath_var=no
10207 ;;
10208
10209 newsos6)
10210 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10211 hardcode_direct=yes
10212 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10213 hardcode_libdir_separator=:
10214 hardcode_shlibpath_var=no
10215 ;;
10216
10217 *nto* | *qnx*)
10218 ;;
10219
10220 openbsd*)
10221 if test -f /usr/libexec/ld.so; then
10222 hardcode_direct=yes
10223 hardcode_shlibpath_var=no
10224 hardcode_direct_absolute=yes
10225 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10226 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10227 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10228 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10229 export_dynamic_flag_spec='${wl}-E'
10230 else
10231 case $host_os in
10232 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10233 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10234 hardcode_libdir_flag_spec='-R$libdir'
10235 ;;
10236 *)
10237 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10238 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10239 ;;
10240 esac
10241 fi
10242 else
10243 ld_shlibs=no
10244 fi
10245 ;;
10246
10247 os2*)
10248 hardcode_libdir_flag_spec='-L$libdir'
10249 hardcode_minus_L=yes
10250 allow_undefined_flag=unsupported
10251 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'
10252 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10253 ;;
10254
10255 osf3*)
10256 if test "$GCC" = yes; then
10257 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10258 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'
10259 else
10260 allow_undefined_flag=' -expect_unresolved \*'
10261 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'
10262 fi
10263 archive_cmds_need_lc='no'
10264 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10265 hardcode_libdir_separator=:
10266 ;;
10267
10268 osf4* | osf5*) # as osf3* with the addition of -msym flag
10269 if test "$GCC" = yes; then
10270 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10271 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'
10272 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10273 else
10274 allow_undefined_flag=' -expect_unresolved \*'
10275 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'
10276 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~
10277 $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'
10278
10279 # Both c and cxx compiler support -rpath directly
10280 hardcode_libdir_flag_spec='-rpath $libdir'
10281 fi
10282 archive_cmds_need_lc='no'
10283 hardcode_libdir_separator=:
10284 ;;
10285
10286 solaris*)
10287 no_undefined_flag=' -z defs'
10288 if test "$GCC" = yes; then
10289 wlarc='${wl}'
10290 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10291 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10292 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10293 else
10294 case `$CC -V 2>&1` in
10295 *"Compilers 5.0"*)
10296 wlarc=''
10297 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10298 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10299 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10300 ;;
10301 *)
10302 wlarc='${wl}'
10303 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10304 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10305 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10306 ;;
10307 esac
10308 fi
10309 hardcode_libdir_flag_spec='-R$libdir'
10310 hardcode_shlibpath_var=no
10311 case $host_os in
10312 solaris2.[0-5] | solaris2.[0-5].*) ;;
10313 *)
10314 # The compiler driver will combine and reorder linker options,
10315 # but understands `-z linker_flag'. GCC discards it without `$wl',
10316 # but is careful enough not to reorder.
10317 # Supported since Solaris 2.6 (maybe 2.5.1?)
10318 if test "$GCC" = yes; then
10319 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10320 else
10321 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10322 fi
10323 ;;
10324 esac
10325 link_all_deplibs=yes
10326 ;;
10327
10328 sunos4*)
10329 if test "x$host_vendor" = xsequent; then
10330 # Use $CC to link under sequent, because it throws in some extra .o
10331 # files that make .init and .fini sections work.
10332 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10333 else
10334 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10335 fi
10336 hardcode_libdir_flag_spec='-L$libdir'
10337 hardcode_direct=yes
10338 hardcode_minus_L=yes
10339 hardcode_shlibpath_var=no
10340 ;;
10341
10342 sysv4)
10343 case $host_vendor in
10344 sni)
10345 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10346 hardcode_direct=yes # is this really true???
10347 ;;
10348 siemens)
10349 ## LD is ld it makes a PLAMLIB
10350 ## CC just makes a GrossModule.
10351 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10352 reload_cmds='$CC -r -o $output$reload_objs'
10353 hardcode_direct=no
10354 ;;
10355 motorola)
10356 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10357 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10358 ;;
10359 esac
10360 runpath_var='LD_RUN_PATH'
10361 hardcode_shlibpath_var=no
10362 ;;
10363
10364 sysv4.3*)
10365 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10366 hardcode_shlibpath_var=no
10367 export_dynamic_flag_spec='-Bexport'
10368 ;;
10369
10370 sysv4*MP*)
10371 if test -d /usr/nec; then
10372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10373 hardcode_shlibpath_var=no
10374 runpath_var=LD_RUN_PATH
10375 hardcode_runpath_var=yes
10376 ld_shlibs=yes
10377 fi
10378 ;;
10379
10380 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10381 no_undefined_flag='${wl}-z,text'
10382 archive_cmds_need_lc=no
10383 hardcode_shlibpath_var=no
10384 runpath_var='LD_RUN_PATH'
10385
10386 if test "$GCC" = yes; then
10387 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10388 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10389 else
10390 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10391 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10392 fi
10393 ;;
10394
10395 sysv5* | sco3.2v5* | sco5v6*)
10396 # Note: We can NOT use -z defs as we might desire, because we do not
10397 # link with -lc, and that would cause any symbols used from libc to
10398 # always be unresolved, which means just about no library would
10399 # ever link correctly. If we're not using GNU ld we use -z text
10400 # though, which does catch some bad symbols but isn't as heavy-handed
10401 # as -z defs.
10402 no_undefined_flag='${wl}-z,text'
10403 allow_undefined_flag='${wl}-z,nodefs'
10404 archive_cmds_need_lc=no
10405 hardcode_shlibpath_var=no
10406 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10407 hardcode_libdir_separator=':'
10408 link_all_deplibs=yes
10409 export_dynamic_flag_spec='${wl}-Bexport'
10410 runpath_var='LD_RUN_PATH'
10411
10412 if test "$GCC" = yes; then
10413 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10414 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10415 else
10416 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 fi
10419 ;;
10420
10421 uts4*)
10422 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10423 hardcode_libdir_flag_spec='-L$libdir'
10424 hardcode_shlibpath_var=no
10425 ;;
10426
10427 *)
10428 ld_shlibs=no
10429 ;;
10430 esac
10431
10432 if test x$host_vendor = xsni; then
10433 case $host in
10434 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10435 export_dynamic_flag_spec='${wl}-Blargedynsym'
10436 ;;
10437 esac
10438 fi
10439 fi
10440
10441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10442$as_echo "$ld_shlibs" >&6; }
10443test "$ld_shlibs" = no && can_build_shared=no
10444
10445with_gnu_ld=$with_gnu_ld
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461#
10462# Do we need to explicitly link libc?
10463#
10464case "x$archive_cmds_need_lc" in
10465x|xyes)
10466 # Assume -lc should be added
10467 archive_cmds_need_lc=yes
10468
10469 if test "$enable_shared" = yes && test "$GCC" = yes; then
10470 case $archive_cmds in
10471 *'~'*)
10472 # FIXME: we may have to deal with multi-command sequences.
10473 ;;
10474 '$CC '*)
10475 # Test whether the compiler implicitly links with -lc since on some
10476 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10477 # to ld, don't add -lc before -lgcc.
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10479$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10480 $RM conftest*
10481 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10482
10483 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10484 (eval $ac_compile) 2>&5
10485 ac_status=$?
10486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10487 test $ac_status = 0; } 2>conftest.err; then
10488 soname=conftest
10489 lib=conftest
10490 libobjs=conftest.$ac_objext
10491 deplibs=
10492 wl=$lt_prog_compiler_wl
10493 pic_flag=$lt_prog_compiler_pic
10494 compiler_flags=-v
10495 linker_flags=-v
10496 verstring=
10497 output_objdir=.
10498 libname=conftest
10499 lt_save_allow_undefined_flag=$allow_undefined_flag
10500 allow_undefined_flag=
10501 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10502 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10503 ac_status=$?
10504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10505 test $ac_status = 0; }
10506 then
10507 archive_cmds_need_lc=no
10508 else
10509 archive_cmds_need_lc=yes
10510 fi
10511 allow_undefined_flag=$lt_save_allow_undefined_flag
10512 else
10513 cat conftest.err 1>&5
10514 fi
10515 $RM conftest*
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10517$as_echo "$archive_cmds_need_lc" >&6; }
10518 ;;
10519 esac
10520 fi
10521 ;;
10522esac
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
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10681$as_echo_n "checking dynamic linker characteristics... " >&6; }
10682
10683if test "$GCC" = yes; then
10684 case $host_os in
10685 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10686 *) lt_awk_arg="/^libraries:/" ;;
10687 esac
10688 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10689 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10690 # if the path contains ";" then we assume it to be the separator
10691 # otherwise default to the standard path separator (i.e. ":") - it is
10692 # assumed that no part of a normal pathname contains ";" but that should
10693 # okay in the real world where ";" in dirpaths is itself problematic.
10694 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10695 else
10696 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10697 fi
10698 # Ok, now we have the path, separated by spaces, we can step through it
10699 # and add multilib dir if necessary.
10700 lt_tmp_lt_search_path_spec=
10701 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10702 for lt_sys_path in $lt_search_path_spec; do
10703 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10704 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10705 else
10706 test -d "$lt_sys_path" && \
10707 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10708 fi
10709 done
10710 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10711BEGIN {RS=" "; FS="/|\n";} {
10712 lt_foo="";
10713 lt_count=0;
10714 for (lt_i = NF; lt_i > 0; lt_i--) {
10715 if ($lt_i != "" && $lt_i != ".") {
10716 if ($lt_i == "..") {
10717 lt_count++;
10718 } else {
10719 if (lt_count == 0) {
10720 lt_foo="/" $lt_i lt_foo;
10721 } else {
10722 lt_count--;
10723 }
10724 }
10725 }
10726 }
10727 if (lt_foo != "") { lt_freq[lt_foo]++; }
10728 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10729}'`
10730 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10731else
10732 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10733fi
10734library_names_spec=
10735libname_spec='lib$name'
10736soname_spec=
10737shrext_cmds=".so"
10738postinstall_cmds=
10739postuninstall_cmds=
10740finish_cmds=
10741finish_eval=
10742shlibpath_var=
10743shlibpath_overrides_runpath=unknown
10744version_type=none
10745dynamic_linker="$host_os ld.so"
10746sys_lib_dlsearch_path_spec="/lib /usr/lib"
10747need_lib_prefix=unknown
10748hardcode_into_libs=no
10749
10750# when you set need_version to no, make sure it does not cause -set_version
10751# flags to be left without arguments
10752need_version=unknown
10753
10754case $host_os in
10755aix3*)
10756 version_type=linux
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10758 shlibpath_var=LIBPATH
10759
10760 # AIX 3 has no versioning support, so we append a major version to the name.
10761 soname_spec='${libname}${release}${shared_ext}$major'
10762 ;;
10763
10764aix[4-9]*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 hardcode_into_libs=yes
10769 if test "$host_cpu" = ia64; then
10770 # AIX 5 supports IA64
10771 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 else
10774 # With GCC up to 2.95.x, collect2 would create an import file
10775 # for dependence libraries. The import file would start with
10776 # the line `#! .'. This would cause the generated library to
10777 # depend on `.', always an invalid library. This was fixed in
10778 # development snapshots of GCC prior to 3.0.
10779 case $host_os in
10780 aix4 | aix4.[01] | aix4.[01].*)
10781 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10782 echo ' yes '
10783 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10784 :
10785 else
10786 can_build_shared=no
10787 fi
10788 ;;
10789 esac
10790 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10791 # soname into executable. Probably we can add versioning support to
10792 # collect2, so additional links can be useful in future.
10793 if test "$aix_use_runtimelinking" = yes; then
10794 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10795 # instead of lib<name>.a to let people know that these are not
10796 # typical AIX shared libraries.
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798 else
10799 # We preserve .a as extension for shared libraries through AIX4.2
10800 # and later when we are not doing run time linking.
10801 library_names_spec='${libname}${release}.a $libname.a'
10802 soname_spec='${libname}${release}${shared_ext}$major'
10803 fi
10804 shlibpath_var=LIBPATH
10805 fi
10806 ;;
10807
10808amigaos*)
10809 case $host_cpu in
10810 powerpc)
10811 # Since July 2007 AmigaOS4 officially supports .so libraries.
10812 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 ;;
10815 m68k)
10816 library_names_spec='$libname.ixlibrary $libname.a'
10817 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10818 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'
10819 ;;
10820 esac
10821 ;;
10822
10823beos*)
10824 library_names_spec='${libname}${shared_ext}'
10825 dynamic_linker="$host_os ld.so"
10826 shlibpath_var=LIBRARY_PATH
10827 ;;
10828
10829bsdi[45]*)
10830 version_type=linux
10831 need_version=no
10832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10833 soname_spec='${libname}${release}${shared_ext}$major'
10834 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10835 shlibpath_var=LD_LIBRARY_PATH
10836 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10837 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10838 # the default ld.so.conf also contains /usr/contrib/lib and
10839 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10840 # libtool to hard-code these into programs
10841 ;;
10842
10843cygwin* | mingw* | pw32* | cegcc*)
10844 version_type=windows
10845 shrext_cmds=".dll"
10846 need_version=no
10847 need_lib_prefix=no
10848
10849 case $GCC,$host_os in
10850 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10851 library_names_spec='$libname.dll.a'
10852 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10853 postinstall_cmds='base_file=`basename \${file}`~
10854 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10855 dldir=$destdir/`dirname \$dlpath`~
10856 test -d \$dldir || mkdir -p \$dldir~
10857 $install_prog $dir/$dlname \$dldir/$dlname~
10858 chmod a+x \$dldir/$dlname~
10859 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10860 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10861 fi'
10862 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10863 dlpath=$dir/\$dldll~
10864 $RM \$dlpath'
10865 shlibpath_overrides_runpath=yes
10866
10867 case $host_os in
10868 cygwin*)
10869 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10870 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10871 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10872 ;;
10873 mingw* | cegcc*)
10874 # MinGW DLLs use traditional 'lib' prefix
10875 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10876 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10877 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10878 # It is most probably a Windows format PATH printed by
10879 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10880 # path with ; separators, and with drive letters. We can handle the
10881 # drive letters (cygwin fileutils understands them), so leave them,
10882 # especially as we might pass files found there to a mingw objdump,
10883 # which wouldn't understand a cygwinified path. Ahh.
10884 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10885 else
10886 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10887 fi
10888 ;;
10889 pw32*)
10890 # pw32 DLLs use 'pw' prefix rather than 'lib'
10891 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10892 ;;
10893 esac
10894 ;;
10895
10896 *)
10897 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10898 ;;
10899 esac
10900 dynamic_linker='Win32 ld.exe'
10901 # FIXME: first we should search . and the directory the executable is in
10902 shlibpath_var=PATH
10903 ;;
10904
10905darwin* | rhapsody*)
10906 dynamic_linker="$host_os dyld"
10907 version_type=darwin
10908 need_lib_prefix=no
10909 need_version=no
10910 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10911 soname_spec='${libname}${release}${major}$shared_ext'
10912 shlibpath_overrides_runpath=yes
10913 shlibpath_var=DYLD_LIBRARY_PATH
10914 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10915
10916 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10917 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10918 ;;
10919
10920dgux*)
10921 version_type=linux
10922 need_lib_prefix=no
10923 need_version=no
10924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10925 soname_spec='${libname}${release}${shared_ext}$major'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 ;;
10928
10929freebsd1*)
10930 dynamic_linker=no
10931 ;;
10932
10933freebsd* | dragonfly*)
10934 # DragonFly does not have aout. When/if they implement a new
10935 # versioning mechanism, adjust this.
10936 if test -x /usr/bin/objformat; then
10937 objformat=`/usr/bin/objformat`
10938 else
10939 case $host_os in
10940 freebsd[123]*) objformat=aout ;;
10941 *) objformat=elf ;;
10942 esac
10943 fi
10944 version_type=freebsd-$objformat
10945 case $version_type in
10946 freebsd-elf*)
10947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10948 need_version=no
10949 need_lib_prefix=no
10950 ;;
10951 freebsd-*)
10952 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10953 need_version=yes
10954 ;;
10955 esac
10956 shlibpath_var=LD_LIBRARY_PATH
10957 case $host_os in
10958 freebsd2*)
10959 shlibpath_overrides_runpath=yes
10960 ;;
10961 freebsd3.[01]* | freebsdelf3.[01]*)
10962 shlibpath_overrides_runpath=yes
10963 hardcode_into_libs=yes
10964 ;;
10965 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10966 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10967 shlibpath_overrides_runpath=no
10968 hardcode_into_libs=yes
10969 ;;
10970 *) # from 4.6 on, and DragonFly
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10973 ;;
10974 esac
10975 ;;
10976
10977gnu*)
10978 version_type=linux
10979 need_lib_prefix=no
10980 need_version=no
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 hardcode_into_libs=yes
10985 ;;
10986
10987hpux9* | hpux10* | hpux11*)
10988 # Give a soname corresponding to the major version so that dld.sl refuses to
10989 # link against other versions.
10990 version_type=sunos
10991 need_lib_prefix=no
10992 need_version=no
10993 case $host_cpu in
10994 ia64*)
10995 shrext_cmds='.so'
10996 hardcode_into_libs=yes
10997 dynamic_linker="$host_os dld.so"
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11000 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11001 soname_spec='${libname}${release}${shared_ext}$major'
11002 if test "X$HPUX_IA64_MODE" = X32; then
11003 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11004 else
11005 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11006 fi
11007 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11008 ;;
11009 hppa*64*)
11010 shrext_cmds='.sl'
11011 hardcode_into_libs=yes
11012 dynamic_linker="$host_os dld.sl"
11013 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11014 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11016 soname_spec='${libname}${release}${shared_ext}$major'
11017 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11018 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11019 ;;
11020 *)
11021 shrext_cmds='.sl'
11022 dynamic_linker="$host_os dld.sl"
11023 shlibpath_var=SHLIB_PATH
11024 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 ;;
11028 esac
11029 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11030 postinstall_cmds='chmod 555 $lib'
11031 ;;
11032
11033interix[3-9]*)
11034 version_type=linux
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 shlibpath_overrides_runpath=no
11042 hardcode_into_libs=yes
11043 ;;
11044
11045irix5* | irix6* | nonstopux*)
11046 case $host_os in
11047 nonstopux*) version_type=nonstopux ;;
11048 *)
11049 if test "$lt_cv_prog_gnu_ld" = yes; then
11050 version_type=linux
11051 else
11052 version_type=irix
11053 fi ;;
11054 esac
11055 need_lib_prefix=no
11056 need_version=no
11057 soname_spec='${libname}${release}${shared_ext}$major'
11058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11059 case $host_os in
11060 irix5* | nonstopux*)
11061 libsuff= shlibsuff=
11062 ;;
11063 *)
11064 case $LD in # libtool.m4 will add one of these switches to LD
11065 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11066 libsuff= shlibsuff= libmagic=32-bit;;
11067 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11068 libsuff=32 shlibsuff=N32 libmagic=N32;;
11069 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11070 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11071 *) libsuff= shlibsuff= libmagic=never-match;;
11072 esac
11073 ;;
11074 esac
11075 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11076 shlibpath_overrides_runpath=no
11077 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11078 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11079 hardcode_into_libs=yes
11080 ;;
11081
11082# No shared lib support for Linux oldld, aout, or coff.
11083linux*oldld* | linux*aout* | linux*coff*)
11084 dynamic_linker=no
11085 ;;
11086
11087# This must be Linux ELF.
11088linux* | k*bsd*-gnu | kopensolaris*-gnu)
11089 version_type=linux
11090 need_lib_prefix=no
11091 need_version=no
11092 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11093 soname_spec='${libname}${release}${shared_ext}$major'
11094 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11095 shlibpath_var=LD_LIBRARY_PATH
11096 shlibpath_overrides_runpath=no
11097 # Some binutils ld are patched to set DT_RUNPATH
11098 save_LDFLAGS=$LDFLAGS
11099 save_libdir=$libdir
11100 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11101 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11103/* end confdefs.h. */
11104
11105int
11106main ()
11107{
11108
11109 ;
11110 return 0;
11111}
11112_ACEOF
11113if ac_fn_c_try_link "$LINENO"; then :
11114 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11115 shlibpath_overrides_runpath=yes
11116fi
11117fi
11118rm -f core conftest.err conftest.$ac_objext \
11119 conftest$ac_exeext conftest.$ac_ext
11120 LDFLAGS=$save_LDFLAGS
11121 libdir=$save_libdir
11122
11123 # This implies no fast_install, which is unacceptable.
11124 # Some rework will be needed to allow for fast_install
11125 # before this can be enabled.
11126 hardcode_into_libs=yes
11127
11128 # Append ld.so.conf contents to the search path
11129 if test -f /etc/ld.so.conf; then
11130 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' ' '`
11131 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11132 fi
11133
11134 # We used to test for /lib/ld.so.1 and disable shared libraries on
11135 # powerpc, because MkLinux only supported shared libraries with the
11136 # GNU dynamic linker. Since this was broken with cross compilers,
11137 # most powerpc-linux boxes support dynamic linking these days and
11138 # people can always --disable-shared, the test was removed, and we
11139 # assume the GNU/Linux dynamic linker is in use.
11140 dynamic_linker='GNU/Linux ld.so'
11141 ;;
11142
11143netbsdelf*-gnu)
11144 version_type=linux
11145 need_lib_prefix=no
11146 need_version=no
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11149 shlibpath_var=LD_LIBRARY_PATH
11150 shlibpath_overrides_runpath=no
11151 hardcode_into_libs=yes
11152 dynamic_linker='NetBSD ld.elf_so'
11153 ;;
11154
11155netbsd*)
11156 version_type=sunos
11157 need_lib_prefix=no
11158 need_version=no
11159 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11161 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11162 dynamic_linker='NetBSD (a.out) ld.so'
11163 else
11164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11165 soname_spec='${libname}${release}${shared_ext}$major'
11166 dynamic_linker='NetBSD ld.elf_so'
11167 fi
11168 shlibpath_var=LD_LIBRARY_PATH
11169 shlibpath_overrides_runpath=yes
11170 hardcode_into_libs=yes
11171 ;;
11172
11173newsos6)
11174 version_type=linux
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 shlibpath_var=LD_LIBRARY_PATH
11177 shlibpath_overrides_runpath=yes
11178 ;;
11179
11180*nto* | *qnx*)
11181 version_type=qnx
11182 need_lib_prefix=no
11183 need_version=no
11184 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11185 soname_spec='${libname}${release}${shared_ext}$major'
11186 shlibpath_var=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath=no
11188 hardcode_into_libs=yes
11189 dynamic_linker='ldqnx.so'
11190 ;;
11191
11192openbsd*)
11193 version_type=sunos
11194 sys_lib_dlsearch_path_spec="/usr/lib"
11195 need_lib_prefix=no
11196 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11197 case $host_os in
11198 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11199 *) need_version=no ;;
11200 esac
11201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11202 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11203 shlibpath_var=LD_LIBRARY_PATH
11204 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11205 case $host_os in
11206 openbsd2.[89] | openbsd2.[89].*)
11207 shlibpath_overrides_runpath=no
11208 ;;
11209 *)
11210 shlibpath_overrides_runpath=yes
11211 ;;
11212 esac
11213 else
11214 shlibpath_overrides_runpath=yes
11215 fi
11216 ;;
11217
11218os2*)
11219 libname_spec='$name'
11220 shrext_cmds=".dll"
11221 need_lib_prefix=no
11222 library_names_spec='$libname${shared_ext} $libname.a'
11223 dynamic_linker='OS/2 ld.exe'
11224 shlibpath_var=LIBPATH
11225 ;;
11226
11227osf3* | osf4* | osf5*)
11228 version_type=osf
11229 need_lib_prefix=no
11230 need_version=no
11231 soname_spec='${libname}${release}${shared_ext}$major'
11232 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11233 shlibpath_var=LD_LIBRARY_PATH
11234 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11235 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11236 ;;
11237
11238rdos*)
11239 dynamic_linker=no
11240 ;;
11241
11242solaris*)
11243 version_type=linux
11244 need_lib_prefix=no
11245 need_version=no
11246 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11247 soname_spec='${libname}${release}${shared_ext}$major'
11248 shlibpath_var=LD_LIBRARY_PATH
11249 shlibpath_overrides_runpath=yes
11250 hardcode_into_libs=yes
11251 # ldd complains unless libraries are executable
11252 postinstall_cmds='chmod +x $lib'
11253 ;;
11254
11255sunos4*)
11256 version_type=sunos
11257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11258 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11259 shlibpath_var=LD_LIBRARY_PATH
11260 shlibpath_overrides_runpath=yes
11261 if test "$with_gnu_ld" = yes; then
11262 need_lib_prefix=no
11263 fi
11264 need_version=yes
11265 ;;
11266
11267sysv4 | sysv4.3*)
11268 version_type=linux
11269 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11270 soname_spec='${libname}${release}${shared_ext}$major'
11271 shlibpath_var=LD_LIBRARY_PATH
11272 case $host_vendor in
11273 sni)
11274 shlibpath_overrides_runpath=no
11275 need_lib_prefix=no
11276 runpath_var=LD_RUN_PATH
11277 ;;
11278 siemens)
11279 need_lib_prefix=no
11280 ;;
11281 motorola)
11282 need_lib_prefix=no
11283 need_version=no
11284 shlibpath_overrides_runpath=no
11285 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11286 ;;
11287 esac
11288 ;;
11289
11290sysv4*MP*)
11291 if test -d /usr/nec ;then
11292 version_type=linux
11293 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11294 soname_spec='$libname${shared_ext}.$major'
11295 shlibpath_var=LD_LIBRARY_PATH
11296 fi
11297 ;;
11298
11299sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11300 version_type=freebsd-elf
11301 need_lib_prefix=no
11302 need_version=no
11303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11304 soname_spec='${libname}${release}${shared_ext}$major'
11305 shlibpath_var=LD_LIBRARY_PATH
11306 shlibpath_overrides_runpath=yes
11307 hardcode_into_libs=yes
11308 if test "$with_gnu_ld" = yes; then
11309 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11310 else
11311 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11312 case $host_os in
11313 sco3.2v5*)
11314 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11315 ;;
11316 esac
11317 fi
11318 sys_lib_dlsearch_path_spec='/usr/lib'
11319 ;;
11320
11321tpf*)
11322 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11323 version_type=linux
11324 need_lib_prefix=no
11325 need_version=no
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11327 shlibpath_var=LD_LIBRARY_PATH
11328 shlibpath_overrides_runpath=no
11329 hardcode_into_libs=yes
11330 ;;
11331
11332uts4*)
11333 version_type=linux
11334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11335 soname_spec='${libname}${release}${shared_ext}$major'
11336 shlibpath_var=LD_LIBRARY_PATH
11337 ;;
11338
11339*)
11340 dynamic_linker=no
11341 ;;
11342esac
11343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11344$as_echo "$dynamic_linker" >&6; }
11345test "$dynamic_linker" = no && can_build_shared=no
11346
11347variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11348if test "$GCC" = yes; then
11349 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11350fi
11351
11352if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11353 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11354fi
11355if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11356 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11357fi
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
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11446$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11447hardcode_action=
11448if test -n "$hardcode_libdir_flag_spec" ||
11449 test -n "$runpath_var" ||
11450 test "X$hardcode_automatic" = "Xyes" ; then
11451
11452 # We can hardcode non-existent directories.
11453 if test "$hardcode_direct" != no &&
11454 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11455 # have to relink, otherwise we might link with an installed library
11456 # when we should be linking with a yet-to-be-installed one
11457 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11458 test "$hardcode_minus_L" != no; then
11459 # Linking always hardcodes the temporary library directory.
11460 hardcode_action=relink
11461 else
11462 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11463 hardcode_action=immediate
11464 fi
11465else
11466 # We cannot hardcode anything, or else we can only hardcode existing
11467 # directories.
11468 hardcode_action=unsupported
11469fi
11470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11471$as_echo "$hardcode_action" >&6; }
11472
11473if test "$hardcode_action" = relink ||
11474 test "$inherit_rpath" = yes; then
11475 # Fast installation is not supported
11476 enable_fast_install=no
11477elif test "$shlibpath_overrides_runpath" = yes ||
11478 test "$enable_shared" = no; then
11479 # Fast installation is not necessary
11480 enable_fast_install=needless
11481fi
11482
11483
11484
11485
11486
11487
11488 if test "x$enable_dlopen" != xyes; then
11489 enable_dlopen=unknown
11490 enable_dlopen_self=unknown
11491 enable_dlopen_self_static=unknown
11492else
11493 lt_cv_dlopen=no
11494 lt_cv_dlopen_libs=
11495
11496 case $host_os in
11497 beos*)
11498 lt_cv_dlopen="load_add_on"
11499 lt_cv_dlopen_libs=
11500 lt_cv_dlopen_self=yes
11501 ;;
11502
11503 mingw* | pw32* | cegcc*)
11504 lt_cv_dlopen="LoadLibrary"
11505 lt_cv_dlopen_libs=
11506 ;;
11507
11508 cygwin*)
11509 lt_cv_dlopen="dlopen"
11510 lt_cv_dlopen_libs=
11511 ;;
11512
11513 darwin*)
11514 # if libdl is installed we need to link against it
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11516$as_echo_n "checking for dlopen in -ldl... " >&6; }
11517if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11518 $as_echo_n "(cached) " >&6
11519else
11520 ac_check_lib_save_LIBS=$LIBS
11521LIBS="-ldl $LIBS"
11522cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11523/* end confdefs.h. */
11524
11525/* Override any GCC internal prototype to avoid an error.
11526 Use char because int might match the return type of a GCC
11527 builtin and then its argument prototype would still apply. */
11528#ifdef __cplusplus
11529extern "C"
11530#endif
11531char dlopen ();
11532int
11533main ()
11534{
11535return dlopen ();
11536 ;
11537 return 0;
11538}
11539_ACEOF
11540if ac_fn_c_try_link "$LINENO"; then :
11541 ac_cv_lib_dl_dlopen=yes
11542else
11543 ac_cv_lib_dl_dlopen=no
11544fi
11545rm -f core conftest.err conftest.$ac_objext \
11546 conftest$ac_exeext conftest.$ac_ext
11547LIBS=$ac_check_lib_save_LIBS
11548fi
11549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11550$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11551if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11552 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11553else
11554
11555 lt_cv_dlopen="dyld"
11556 lt_cv_dlopen_libs=
11557 lt_cv_dlopen_self=yes
11558
11559fi
11560
11561 ;;
11562
11563 *)
11564 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11565if test "x$ac_cv_func_shl_load" = x""yes; then :
11566 lt_cv_dlopen="shl_load"
11567else
11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11569$as_echo_n "checking for shl_load in -ldld... " >&6; }
11570if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11571 $as_echo_n "(cached) " >&6
11572else
11573 ac_check_lib_save_LIBS=$LIBS
11574LIBS="-ldld $LIBS"
11575cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11576/* end confdefs.h. */
11577
11578/* Override any GCC internal prototype to avoid an error.
11579 Use char because int might match the return type of a GCC
11580 builtin and then its argument prototype would still apply. */
11581#ifdef __cplusplus
11582extern "C"
11583#endif
11584char shl_load ();
11585int
11586main ()
11587{
11588return shl_load ();
11589 ;
11590 return 0;
11591}
11592_ACEOF
11593if ac_fn_c_try_link "$LINENO"; then :
11594 ac_cv_lib_dld_shl_load=yes
11595else
11596 ac_cv_lib_dld_shl_load=no
11597fi
11598rm -f core conftest.err conftest.$ac_objext \
11599 conftest$ac_exeext conftest.$ac_ext
11600LIBS=$ac_check_lib_save_LIBS
11601fi
11602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11603$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11604if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11605 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11606else
11607 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11608if test "x$ac_cv_func_dlopen" = x""yes; then :
11609 lt_cv_dlopen="dlopen"
11610else
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11612$as_echo_n "checking for dlopen in -ldl... " >&6; }
11613if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615else
11616 ac_check_lib_save_LIBS=$LIBS
11617LIBS="-ldl $LIBS"
11618cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619/* end confdefs.h. */
11620
11621/* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624#ifdef __cplusplus
11625extern "C"
11626#endif
11627char dlopen ();
11628int
11629main ()
11630{
11631return dlopen ();
11632 ;
11633 return 0;
11634}
11635_ACEOF
11636if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_lib_dl_dlopen=yes
11638else
11639 ac_cv_lib_dl_dlopen=no
11640fi
11641rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643LIBS=$ac_check_lib_save_LIBS
11644fi
11645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11646$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11647if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11648 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11649else
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11651$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11652if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11653 $as_echo_n "(cached) " >&6
11654else
11655 ac_check_lib_save_LIBS=$LIBS
11656LIBS="-lsvld $LIBS"
11657cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11658/* end confdefs.h. */
11659
11660/* Override any GCC internal prototype to avoid an error.
11661 Use char because int might match the return type of a GCC
11662 builtin and then its argument prototype would still apply. */
11663#ifdef __cplusplus
11664extern "C"
11665#endif
11666char dlopen ();
11667int
11668main ()
11669{
11670return dlopen ();
11671 ;
11672 return 0;
11673}
11674_ACEOF
11675if ac_fn_c_try_link "$LINENO"; then :
11676 ac_cv_lib_svld_dlopen=yes
11677else
11678 ac_cv_lib_svld_dlopen=no
11679fi
11680rm -f core conftest.err conftest.$ac_objext \
11681 conftest$ac_exeext conftest.$ac_ext
11682LIBS=$ac_check_lib_save_LIBS
11683fi
11684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11685$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11686if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11687 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11688else
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11690$as_echo_n "checking for dld_link in -ldld... " >&6; }
11691if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11692 $as_echo_n "(cached) " >&6
11693else
11694 ac_check_lib_save_LIBS=$LIBS
11695LIBS="-ldld $LIBS"
11696cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11697/* end confdefs.h. */
11698
11699/* Override any GCC internal prototype to avoid an error.
11700 Use char because int might match the return type of a GCC
11701 builtin and then its argument prototype would still apply. */
11702#ifdef __cplusplus
11703extern "C"
11704#endif
11705char dld_link ();
11706int
11707main ()
11708{
11709return dld_link ();
11710 ;
11711 return 0;
11712}
11713_ACEOF
11714if ac_fn_c_try_link "$LINENO"; then :
11715 ac_cv_lib_dld_dld_link=yes
11716else
11717 ac_cv_lib_dld_dld_link=no
11718fi
11719rm -f core conftest.err conftest.$ac_objext \
11720 conftest$ac_exeext conftest.$ac_ext
11721LIBS=$ac_check_lib_save_LIBS
11722fi
11723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11724$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11725if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11726 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11727fi
11728
11729
11730fi
11731
11732
11733fi
11734
11735
11736fi
11737
11738
11739fi
11740
11741
11742fi
11743
11744 ;;
11745 esac
11746
11747 if test "x$lt_cv_dlopen" != xno; then
11748 enable_dlopen=yes
11749 else
11750 enable_dlopen=no
11751 fi
11752
11753 case $lt_cv_dlopen in
11754 dlopen)
11755 save_CPPFLAGS="$CPPFLAGS"
11756 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11757
11758 save_LDFLAGS="$LDFLAGS"
11759 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11760
11761 save_LIBS="$LIBS"
11762 LIBS="$lt_cv_dlopen_libs $LIBS"
11763
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11765$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11766if test "${lt_cv_dlopen_self+set}" = set; then :
11767 $as_echo_n "(cached) " >&6
11768else
11769 if test "$cross_compiling" = yes; then :
11770 lt_cv_dlopen_self=cross
11771else
11772 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11773 lt_status=$lt_dlunknown
11774 cat > conftest.$ac_ext <<_LT_EOF
11775#line 11775 "configure"
11776#include "confdefs.h"
11777
11778#if HAVE_DLFCN_H
11779#include <dlfcn.h>
11780#endif
11781
11782#include <stdio.h>
11783
11784#ifdef RTLD_GLOBAL
11785# define LT_DLGLOBAL RTLD_GLOBAL
11786#else
11787# ifdef DL_GLOBAL
11788# define LT_DLGLOBAL DL_GLOBAL
11789# else
11790# define LT_DLGLOBAL 0
11791# endif
11792#endif
11793
11794/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11795 find out it does not work in some platform. */
11796#ifndef LT_DLLAZY_OR_NOW
11797# ifdef RTLD_LAZY
11798# define LT_DLLAZY_OR_NOW RTLD_LAZY
11799# else
11800# ifdef DL_LAZY
11801# define LT_DLLAZY_OR_NOW DL_LAZY
11802# else
11803# ifdef RTLD_NOW
11804# define LT_DLLAZY_OR_NOW RTLD_NOW
11805# else
11806# ifdef DL_NOW
11807# define LT_DLLAZY_OR_NOW DL_NOW
11808# else
11809# define LT_DLLAZY_OR_NOW 0
11810# endif
11811# endif
11812# endif
11813# endif
11814#endif
11815
11816void fnord() { int i=42;}
11817int main ()
11818{
11819 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11820 int status = $lt_dlunknown;
11821
11822 if (self)
11823 {
11824 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11825 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11826 /* dlclose (self); */
11827 }
11828 else
11829 puts (dlerror ());
11830
11831 return status;
11832}
11833_LT_EOF
11834 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11835 (eval $ac_link) 2>&5
11836 ac_status=$?
11837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11838 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11839 (./conftest; exit; ) >&5 2>/dev/null
11840 lt_status=$?
11841 case x$lt_status in
11842 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11843 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11844 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11845 esac
11846 else :
11847 # compilation failed
11848 lt_cv_dlopen_self=no
11849 fi
11850fi
11851rm -fr conftest*
11852
11853
11854fi
11855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11856$as_echo "$lt_cv_dlopen_self" >&6; }
11857
11858 if test "x$lt_cv_dlopen_self" = xyes; then
11859 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11861$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11862if test "${lt_cv_dlopen_self_static+set}" = set; then :
11863 $as_echo_n "(cached) " >&6
11864else
11865 if test "$cross_compiling" = yes; then :
11866 lt_cv_dlopen_self_static=cross
11867else
11868 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11869 lt_status=$lt_dlunknown
11870 cat > conftest.$ac_ext <<_LT_EOF
11871#line 11871 "configure"
11872#include "confdefs.h"
11873
11874#if HAVE_DLFCN_H
11875#include <dlfcn.h>
11876#endif
11877
11878#include <stdio.h>
11879
11880#ifdef RTLD_GLOBAL
11881# define LT_DLGLOBAL RTLD_GLOBAL
11882#else
11883# ifdef DL_GLOBAL
11884# define LT_DLGLOBAL DL_GLOBAL
11885# else
11886# define LT_DLGLOBAL 0
11887# endif
11888#endif
11889
11890/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11891 find out it does not work in some platform. */
11892#ifndef LT_DLLAZY_OR_NOW
11893# ifdef RTLD_LAZY
11894# define LT_DLLAZY_OR_NOW RTLD_LAZY
11895# else
11896# ifdef DL_LAZY
11897# define LT_DLLAZY_OR_NOW DL_LAZY
11898# else
11899# ifdef RTLD_NOW
11900# define LT_DLLAZY_OR_NOW RTLD_NOW
11901# else
11902# ifdef DL_NOW
11903# define LT_DLLAZY_OR_NOW DL_NOW
11904# else
11905# define LT_DLLAZY_OR_NOW 0
11906# endif
11907# endif
11908# endif
11909# endif
11910#endif
11911
11912void fnord() { int i=42;}
11913int main ()
11914{
11915 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11916 int status = $lt_dlunknown;
11917
11918 if (self)
11919 {
11920 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11921 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11922 /* dlclose (self); */
11923 }
11924 else
11925 puts (dlerror ());
11926
11927 return status;
11928}
11929_LT_EOF
11930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11931 (eval $ac_link) 2>&5
11932 ac_status=$?
11933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11934 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11935 (./conftest; exit; ) >&5 2>/dev/null
11936 lt_status=$?
11937 case x$lt_status in
11938 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11939 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11940 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11941 esac
11942 else :
11943 # compilation failed
11944 lt_cv_dlopen_self_static=no
11945 fi
11946fi
11947rm -fr conftest*
11948
11949
11950fi
11951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11952$as_echo "$lt_cv_dlopen_self_static" >&6; }
11953 fi
11954
11955 CPPFLAGS="$save_CPPFLAGS"
11956 LDFLAGS="$save_LDFLAGS"
11957 LIBS="$save_LIBS"
11958 ;;
11959 esac
11960
11961 case $lt_cv_dlopen_self in
11962 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11963 *) enable_dlopen_self=unknown ;;
11964 esac
11965
11966 case $lt_cv_dlopen_self_static in
11967 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11968 *) enable_dlopen_self_static=unknown ;;
11969 esac
11970fi
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988striplib=
11989old_striplib=
11990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11991$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11992if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11993 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11994 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11996$as_echo "yes" >&6; }
11997else
11998# FIXME - insert some real tests, host_os isn't really good enough
11999 case $host_os in
12000 darwin*)
12001 if test -n "$STRIP" ; then
12002 striplib="$STRIP -x"
12003 old_striplib="$STRIP -S"
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12005$as_echo "yes" >&6; }
12006 else
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12008$as_echo "no" >&6; }
12009 fi
12010 ;;
12011 *)
12012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12013$as_echo "no" >&6; }
12014 ;;
12015 esac
12016fi
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029 # Report which library types will actually be built
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12031$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12033$as_echo "$can_build_shared" >&6; }
12034
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12036$as_echo_n "checking whether to build shared libraries... " >&6; }
12037 test "$can_build_shared" = "no" && enable_shared=no
12038
12039 # On AIX, shared libraries and static libraries use the same namespace, and
12040 # are all built from PIC.
12041 case $host_os in
12042 aix3*)
12043 test "$enable_shared" = yes && enable_static=no
12044 if test -n "$RANLIB"; then
12045 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12046 postinstall_cmds='$RANLIB $lib'
12047 fi
12048 ;;
12049
12050 aix[4-9]*)
12051 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12052 test "$enable_shared" = yes && enable_static=no
12053 fi
12054 ;;
12055 esac
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12057$as_echo "$enable_shared" >&6; }
12058
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12060$as_echo_n "checking whether to build static libraries... " >&6; }
12061 # Make sure either enable_shared or enable_static is yes.
12062 test "$enable_shared" = yes || enable_static=yes
12063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12064$as_echo "$enable_static" >&6; }
12065
12066
12067
12068
12069fi
12070ac_ext=c
12071ac_cpp='$CPP $CPPFLAGS'
12072ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12073ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12074ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075
12076CC="$lt_save_CC"
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090 ac_config_commands="$ac_config_commands libtool"
12091
12092
12093
12094
12095# Only expand once:
12096
12097
12098
12099##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12100##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12101
12102
12103
12104cat >>confdefs.h <<_ACEOF
12105#define VMAJ 1
12106_ACEOF
12107
12108
12109cat >>confdefs.h <<_ACEOF
12110#define VMIN 2
12111_ACEOF
12112
12113
12114cat >>confdefs.h <<_ACEOF
12115#define VMIC 0
12116_ACEOF
12117
12118
12119cat >>confdefs.h <<_ACEOF
12120#define VREV 0
12121_ACEOF
12122
12123version_info="3:0:2"
12124release_info=""
12125
12126
12127##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12128##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
12129VMAJ=1
12130
12131
12132### Needed information
12133
12134
12135
12136
12137case "$host_os" in
12138 mingw32ce*)
12139 MODULE_ARCH="$host_os-$host_cpu"
12140 ;;
12141 *)
12142 MODULE_ARCH="$host_os-$host_cpu-1.2.0"
12143 ;;
12144esac
12145
12146
12147cat >>confdefs.h <<_ACEOF
12148#define MODULE_ARCH "$MODULE_ARCH"
12149_ACEOF
12150
12151
12152want_fontconfig="auto"
12153want_fribidi="auto"
12154want_harfbuzz="auto"
12155want_pixman="no"
12156want_evas_cserve="yes"
12157
12158want_evas_engine_buffer="yes"
12159want_evas_engine_software_xlib="no"
12160want_evas_engine_software_xcb="no"
12161want_evas_engine_software_gdi="no"
12162want_evas_engine_software_ddraw="no"
12163want_evas_engine_software_8_x11="no"
12164want_evas_engine_software_16_x11="no"
12165want_evas_engine_software_16_ddraw="no"
12166want_evas_engine_software_16_wince="no"
12167want_evas_engine_software_16_sdl="no"
12168want_evas_engine_gl_xlib="no"
12169want_evas_engine_gl_xcb="no"
12170want_evas_engine_gl_sdl="no"
12171want_evas_engine_gl_cocoa="no"
12172want_evas_engine_direct3d="no"
12173want_evas_engine_fb="no"
12174want_evas_engine_directfb="no"
12175want_evas_engine_psl1ght="no"
12176want_evas_engine_wayland_shm="no"
12177want_evas_engine_wayland_egl="no"
12178
12179want_evas_image_loader_edb="yes"
12180want_evas_image_loader_eet="yes"
12181want_evas_image_loader_gif="yes"
12182want_evas_image_loader_jpeg="yes"
12183want_evas_image_loader_pmaps="yes"
12184want_evas_image_loader_png="yes"
12185want_evas_image_loader_svg="yes"
12186want_evas_image_loader_tiff="yes"
12187want_evas_image_loader_xpm="yes"
12188want_evas_image_loader_bmp="yes"
12189want_evas_image_loader_tga="yes"
12190want_evas_image_loader_wbmp="yes"
12191want_evas_image_loader_ico="yes"
12192want_evas_image_loader_psd="yes"
12193want_evas_image_loader_generic="yes"
12194
12195want_evas_font_loader_eet="yes"
12196
12197case "$host_os" in
12198 mingw32ce*)
12199 want_fontconfig="no"
12200 want_evas_engine_software_16_wince="yes"
12201 want_evas_image_loader_edb="no"
12202 want_evas_image_loader_gif="no"
12203 want_evas_image_loader_svg="no"
12204 want_evas_image_loader_tiff="no"
12205 ;;
12206 mingw*)
12207 want_evas_engine_software_gdi="yes"
12208 want_evas_engine_software_ddraw="yes"
12209 want_evas_engine_direct3d="yes"
12210 want_evas_engine_software_16_ddraw="yes"
12211 want_evas_image_loader_edb="no"
12212 want_evas_image_loader_svg="no"
12213 ;;
12214 darwin*)
12215 want_evas_engine_software_xlib="auto"
12216 want_evas_engine_gl_cocoa="auto"
12217 ;;
12218 *)
12219 want_evas_engine_software_xlib="auto"
12220 want_evas_engine_gl_xlib="auto"
12221 want_evas_engine_software_xcb="no"
12222 want_evas_engine_gl_xcb="no"
12223 want_evas_engine_fb="auto"
12224 want_evas_engine_wayland_shm="auto"
12225 want_evas_engine_wayland_egl="auto"
12226### no - not ready/usable/complete
12227# want_evas_engine_software_8_x11="auto"
12228# want_evas_engine_software_16_x11="auto"
12229 ;;
12230esac
12231
12232case "$host_vendor" in
12233 ps3*)
12234 want_evas_engine_psl1ght="static"
12235 ;;
12236esac
12237
12238requirement_evas=""
12239
12240
12241### Additional options to configure
12242
12243# when used, that option makes configure script fails when
12244# a requirement is selected, but not met.
12245use_strict="no"
12246# Check whether --enable-strict was given.
12247if test "${enable_strict+set}" = set; then :
12248 enableval=$enable_strict; use_strict="yes"
12249else
12250 use_strict="no"
12251fi
12252
12253
12254# Simple X11 build/link
12255# Check whether --enable-simple-x11 was given.
12256if test "${enable_simple_x11+set}" = set; then :
12257 enableval=$enable_simple_x11;
12258 if test "x${enableval}" = "xyes" ; then
12259 want_evas_simple_x11="yes"
12260 else
12261 want_evas_simple_x11="no"
12262 fi
12263
12264fi
12265
12266
12267
12268### Checks for programs
12269
12270
12271 ac_ext=m
12272ac_cpp='$OBJCPP $CPPFLAGS'
12273ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12274ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12275ac_compiler_gnu=$ac_cv_objc_compiler_gnu
12276if test -n "$ac_tool_prefix"; then
12277 for ac_prog in gcc objcc objc cc CC
12278 do
12279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12280set dummy $ac_tool_prefix$ac_prog; 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_prog_OBJC+set}" = set; then :
12284 $as_echo_n "(cached) " >&6
12285else
12286 if test -n "$OBJC"; then
12287 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
12288else
12289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12290for as_dir in $PATH
12291do
12292 IFS=$as_save_IFS
12293 test -z "$as_dir" && as_dir=.
12294 for ac_exec_ext in '' $ac_executable_extensions; do
12295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12296 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
12297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12298 break 2
12299 fi
12300done
12301 done
12302IFS=$as_save_IFS
12303
12304fi
12305fi
12306OBJC=$ac_cv_prog_OBJC
12307if test -n "$OBJC"; then
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
12309$as_echo "$OBJC" >&6; }
12310else
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12312$as_echo "no" >&6; }
12313fi
12314
12315
12316 test -n "$OBJC" && break
12317 done
12318fi
12319if test -z "$OBJC"; then
12320 ac_ct_OBJC=$OBJC
12321 for ac_prog in gcc objcc objc cc CC
12322do
12323 # Extract the first word of "$ac_prog", so it can be a program name with args.
12324set dummy $ac_prog; ac_word=$2
12325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12326$as_echo_n "checking for $ac_word... " >&6; }
12327if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then :
12328 $as_echo_n "(cached) " >&6
12329else
12330 if test -n "$ac_ct_OBJC"; then
12331 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
12332else
12333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12334for as_dir in $PATH
12335do
12336 IFS=$as_save_IFS
12337 test -z "$as_dir" && as_dir=.
12338 for ac_exec_ext in '' $ac_executable_extensions; do
12339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12340 ac_cv_prog_ac_ct_OBJC="$ac_prog"
12341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12342 break 2
12343 fi
12344done
12345 done
12346IFS=$as_save_IFS
12347
12348fi
12349fi
12350ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
12351if test -n "$ac_ct_OBJC"; then
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
12353$as_echo "$ac_ct_OBJC" >&6; }
12354else
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12356$as_echo "no" >&6; }
12357fi
12358
12359
12360 test -n "$ac_ct_OBJC" && break
12361done
12362
12363 if test "x$ac_ct_OBJC" = x; then
12364 OBJC="gcc"
12365 else
12366 case $cross_compiling:$ac_tool_warned in
12367yes:)
12368{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12369$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12370ac_tool_warned=yes ;;
12371esac
12372 OBJC=$ac_ct_OBJC
12373 fi
12374fi
12375
12376# Provide some information about the compiler.
12377$as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
12378set X $ac_compile
12379ac_compiler=$2
12380for ac_option in --version -v -V -qversion; do
12381 { { ac_try="$ac_compiler $ac_option >&5"
12382case "(($ac_try" in
12383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12384 *) ac_try_echo=$ac_try;;
12385esac
12386eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12387$as_echo "$ac_try_echo"; } >&5
12388 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12389 ac_status=$?
12390 if test -s conftest.err; then
12391 sed '10a\
12392... rest of stderr output deleted ...
12393 10q' conftest.err >conftest.er1
12394 cat conftest.er1 >&5
12395 fi
12396 rm -f conftest.er1 conftest.err
12397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12398 test $ac_status = 0; }
12399done
12400
12401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
12402$as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
12403if test "${ac_cv_objc_compiler_gnu+set}" = set; then :
12404 $as_echo_n "(cached) " >&6
12405else
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407/* end confdefs.h. */
12408
12409int
12410main ()
12411{
12412#ifndef __GNUC__
12413 choke me
12414#endif
12415
12416 ;
12417 return 0;
12418}
12419_ACEOF
12420if ac_fn_objc_try_compile "$LINENO"; then :
12421 ac_compiler_gnu=yes
12422else
12423 ac_compiler_gnu=no
12424fi
12425rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12426ac_cv_objc_compiler_gnu=$ac_compiler_gnu
12427
12428fi
12429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
12430$as_echo "$ac_cv_objc_compiler_gnu" >&6; }
12431if test $ac_compiler_gnu = yes; then
12432 GOBJC=yes
12433else
12434 GOBJC=
12435fi
12436ac_test_OBJCFLAGS=${OBJCFLAGS+set}
12437ac_save_OBJCFLAGS=$OBJCFLAGS
12438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
12439$as_echo_n "checking whether $OBJC accepts -g... " >&6; }
12440if test "${ac_cv_prog_objc_g+set}" = set; then :
12441 $as_echo_n "(cached) " >&6
12442else
12443 ac_save_objc_werror_flag=$ac_objc_werror_flag
12444 ac_objc_werror_flag=yes
12445 ac_cv_prog_objc_g=no
12446 OBJCFLAGS="-g"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448/* end confdefs.h. */
12449
12450int
12451main ()
12452{
12453
12454 ;
12455 return 0;
12456}
12457_ACEOF
12458if ac_fn_objc_try_compile "$LINENO"; then :
12459 ac_cv_prog_objc_g=yes
12460else
12461 OBJCFLAGS=""
12462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12463/* end confdefs.h. */
12464
12465int
12466main ()
12467{
12468
12469 ;
12470 return 0;
12471}
12472_ACEOF
12473if ac_fn_objc_try_compile "$LINENO"; then :
12474
12475else
12476 ac_objc_werror_flag=$ac_save_objc_werror_flag
12477 OBJCFLAGS="-g"
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479/* end confdefs.h. */
12480
12481int
12482main ()
12483{
12484
12485 ;
12486 return 0;
12487}
12488_ACEOF
12489if ac_fn_objc_try_compile "$LINENO"; then :
12490 ac_cv_prog_objc_g=yes
12491fi
12492rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12493fi
12494rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12495fi
12496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12497 ac_objc_werror_flag=$ac_save_objc_werror_flag
12498fi
12499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
12500$as_echo "$ac_cv_prog_objc_g" >&6; }
12501if test "$ac_test_OBJCFLAGS" = set; then
12502 OBJCFLAGS=$ac_save_OBJCFLAGS
12503elif test $ac_cv_prog_objc_g = yes; then
12504 if test "$GOBJC" = yes; then
12505 OBJCFLAGS="-g -O2"
12506 else
12507 OBJCFLAGS="-g"
12508 fi
12509else
12510 if test "$GOBJC" = yes; then
12511 OBJCFLAGS="-O2"
12512 else
12513 OBJCFLAGS=
12514 fi
12515fi
12516ac_ext=c
12517ac_cpp='$CPP $CPPFLAGS'
12518ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520ac_compiler_gnu=$ac_cv_c_compiler_gnu
12521
12522depcc="$OBJC" am_compiler_list='gcc3 gcc'
12523
12524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12525$as_echo_n "checking dependency style of $depcc... " >&6; }
12526if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
12527 $as_echo_n "(cached) " >&6
12528else
12529 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12530 # We make a subdir and do the tests there. Otherwise we can end up
12531 # making bogus files that we don't know about and never remove. For
12532 # instance it was reported that on HP-UX the gcc test will end up
12533 # making a dummy file named `D' -- because `-MD' means `put the output
12534 # in D'.
12535 mkdir conftest.dir
12536 # Copy depcomp to subdir because otherwise we won't find it if we're
12537 # using a relative directory.
12538 cp "$am_depcomp" conftest.dir
12539 cd conftest.dir
12540 # We will build objects and dependencies in a subdirectory because
12541 # it helps to detect inapplicable dependency modes. For instance
12542 # both Tru64's cc and ICC support -MD to output dependencies as a
12543 # side effect of compilation, but ICC will put the dependencies in
12544 # the current directory while Tru64 will put them in the object
12545 # directory.
12546 mkdir sub
12547
12548 am_cv_OBJC_dependencies_compiler_type=none
12549 if test "$am_compiler_list" = ""; then
12550 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12551 fi
12552 am__universal=false
12553
12554
12555 for depmode in $am_compiler_list; do
12556 # Setup a source with many dependencies, because some compilers
12557 # like to wrap large dependency lists on column 80 (with \), and
12558 # we should not choose a depcomp mode which is confused by this.
12559 #
12560 # We need to recreate these files for each test, as the compiler may
12561 # overwrite some of them when testing with obscure command lines.
12562 # This happens at least with the AIX C compiler.
12563 : > sub/conftest.c
12564 for i in 1 2 3 4 5 6; do
12565 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12566 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12567 # Solaris 8's {/usr,}/bin/sh.
12568 touch sub/conftst$i.h
12569 done
12570 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12571
12572 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12573 # mode. It turns out that the SunPro C++ compiler does not properly
12574 # handle `-M -o', and we need to detect this. Also, some Intel
12575 # versions had trouble with output in subdirs
12576 am__obj=sub/conftest.${OBJEXT-o}
12577 am__minus_obj="-o $am__obj"
12578 case $depmode in
12579 gcc)
12580 # This depmode causes a compiler race in universal mode.
12581 test "$am__universal" = false || continue
12582 ;;
12583 nosideeffect)
12584 # after this tag, mechanisms are not by side-effect, so they'll
12585 # only be used when explicitly requested
12586 if test "x$enable_dependency_tracking" = xyes; then
12587 continue
12588 else
12589 break
12590 fi
12591 ;;
12592 msvisualcpp | msvcmsys)
12593 # This compiler won't grok `-c -o', but also, the minuso test has
12594 # not run yet. These depmodes are late enough in the game, and
12595 # so weak that their functioning should not be impacted.
12596 am__obj=conftest.${OBJEXT-o}
12597 am__minus_obj=
12598 ;;
12599 none) break ;;
12600 esac
12601 if depmode=$depmode \
12602 source=sub/conftest.c object=$am__obj \
12603 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12604 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12605 >/dev/null 2>conftest.err &&
12606 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12607 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12608 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12609 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12610 # icc doesn't choke on unknown options, it will just issue warnings
12611 # or remarks (even with -Werror). So we grep stderr for any message
12612 # that says an option was ignored or not supported.
12613 # When given -MP, icc 7.0 and 7.1 complain thusly:
12614 # icc: Command line warning: ignoring option '-M'; no argument required
12615 # The diagnosis changed in icc 8.0:
12616 # icc: Command line remark: option '-MP' not supported
12617 if (grep 'ignoring option' conftest.err ||
12618 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12619 am_cv_OBJC_dependencies_compiler_type=$depmode
12620 break
12621 fi
12622 fi
12623 done
12624
12625 cd ..
12626 rm -rf conftest.dir
12627else
12628 am_cv_OBJC_dependencies_compiler_type=none
12629fi
12630
12631fi
12632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
12633$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
12634OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
12635
12636 if
12637 test "x$enable_dependency_tracking" != xno \
12638 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
12639 am__fastdepOBJC_TRUE=
12640 am__fastdepOBJC_FALSE='#'
12641else
12642 am__fastdepOBJC_TRUE='#'
12643 am__fastdepOBJC_FALSE=
12644fi
12645
12646
12647
12648depcc="$OBJC" am_compiler_list='gcc3 gcc'
12649
12650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12651$as_echo_n "checking dependency style of $depcc... " >&6; }
12652if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then :
12653 $as_echo_n "(cached) " >&6
12654else
12655 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12656 # We make a subdir and do the tests there. Otherwise we can end up
12657 # making bogus files that we don't know about and never remove. For
12658 # instance it was reported that on HP-UX the gcc test will end up
12659 # making a dummy file named `D' -- because `-MD' means `put the output
12660 # in D'.
12661 mkdir conftest.dir
12662 # Copy depcomp to subdir because otherwise we won't find it if we're
12663 # using a relative directory.
12664 cp "$am_depcomp" conftest.dir
12665 cd conftest.dir
12666 # We will build objects and dependencies in a subdirectory because
12667 # it helps to detect inapplicable dependency modes. For instance
12668 # both Tru64's cc and ICC support -MD to output dependencies as a
12669 # side effect of compilation, but ICC will put the dependencies in
12670 # the current directory while Tru64 will put them in the object
12671 # directory.
12672 mkdir sub
12673
12674 am_cv_OBJC_dependencies_compiler_type=none
12675 if test "$am_compiler_list" = ""; then
12676 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12677 fi
12678 am__universal=false
12679
12680
12681 for depmode in $am_compiler_list; do
12682 # Setup a source with many dependencies, because some compilers
12683 # like to wrap large dependency lists on column 80 (with \), and
12684 # we should not choose a depcomp mode which is confused by this.
12685 #
12686 # We need to recreate these files for each test, as the compiler may
12687 # overwrite some of them when testing with obscure command lines.
12688 # This happens at least with the AIX C compiler.
12689 : > sub/conftest.c
12690 for i in 1 2 3 4 5 6; do
12691 echo '#include "conftst'$i'.h"' >> sub/conftest.c
12692 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12693 # Solaris 8's {/usr,}/bin/sh.
12694 touch sub/conftst$i.h
12695 done
12696 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12697
12698 # We check with `-c' and `-o' for the sake of the "dashmstdout"
12699 # mode. It turns out that the SunPro C++ compiler does not properly
12700 # handle `-M -o', and we need to detect this. Also, some Intel
12701 # versions had trouble with output in subdirs
12702 am__obj=sub/conftest.${OBJEXT-o}
12703 am__minus_obj="-o $am__obj"
12704 case $depmode in
12705 gcc)
12706 # This depmode causes a compiler race in universal mode.
12707 test "$am__universal" = false || continue
12708 ;;
12709 nosideeffect)
12710 # after this tag, mechanisms are not by side-effect, so they'll
12711 # only be used when explicitly requested
12712 if test "x$enable_dependency_tracking" = xyes; then
12713 continue
12714 else
12715 break
12716 fi
12717 ;;
12718 msvisualcpp | msvcmsys)
12719 # This compiler won't grok `-c -o', but also, the minuso test has
12720 # not run yet. These depmodes are late enough in the game, and
12721 # so weak that their functioning should not be impacted.
12722 am__obj=conftest.${OBJEXT-o}
12723 am__minus_obj=
12724 ;;
12725 none) break ;;
12726 esac
12727 if depmode=$depmode \
12728 source=sub/conftest.c object=$am__obj \
12729 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12730 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12731 >/dev/null 2>conftest.err &&
12732 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12733 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12734 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12735 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12736 # icc doesn't choke on unknown options, it will just issue warnings
12737 # or remarks (even with -Werror). So we grep stderr for any message
12738 # that says an option was ignored or not supported.
12739 # When given -MP, icc 7.0 and 7.1 complain thusly:
12740 # icc: Command line warning: ignoring option '-M'; no argument required
12741 # The diagnosis changed in icc 8.0:
12742 # icc: Command line remark: option '-MP' not supported
12743 if (grep 'ignoring option' conftest.err ||
12744 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12745 am_cv_OBJC_dependencies_compiler_type=$depmode
12746 break
12747 fi
12748 fi
12749 done
12750
12751 cd ..
12752 rm -rf conftest.dir
12753else
12754 am_cv_OBJC_dependencies_compiler_type=none
12755fi
12756
12757fi
12758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5
12759$as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
12760OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
12761
12762 if
12763 test "x$enable_dependency_tracking" != xno \
12764 && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
12765 am__fastdepOBJC_TRUE=
12766 am__fastdepOBJC_FALSE='#'
12767else
12768 am__fastdepOBJC_TRUE='#'
12769 am__fastdepOBJC_FALSE=
12770fi
12771
12772
12773
12774
12775
12776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Objective C compiler works" >&5
12777$as_echo_n "checking whether the Objective C compiler works... " >&6; }
12778if test "${rw_cv_prog_objc_works+set}" = set; then :
12779 $as_echo_n "(cached) " >&6
12780else
12781 ac_ext=m
12782ac_cpp='$OBJCPP $CPPFLAGS'
12783ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12784ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12785ac_compiler_gnu=$ac_cv_objc_compiler_gnu
12786
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788/* end confdefs.h. */
12789
12790int
12791main ()
12792{
12793
12794 ;
12795 return 0;
12796}
12797_ACEOF
12798if ac_fn_objc_try_link "$LINENO"; then :
12799 rw_cv_prog_objc_works=yes
12800else
12801 rw_cv_prog_objc_works=no
12802fi
12803rm -f core conftest.err conftest.$ac_objext \
12804 conftest$ac_exeext conftest.$ac_ext
12805 ac_ext=c
12806ac_cpp='$CPP $CPPFLAGS'
12807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12809ac_compiler_gnu=$ac_cv_c_compiler_gnu
12810
12811fi
12812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $rw_cv_prog_objc_works" >&5
12813$as_echo "$rw_cv_prog_objc_works" >&6; }
12814
12815
12816ac_ext=cpp
12817ac_cpp='$CXXCPP $CPPFLAGS'
12818ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12819ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12820ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12821if test -z "$CXX"; then
12822 if test -n "$CCC"; then
12823 CXX=$CCC
12824 else
12825 if test -n "$ac_tool_prefix"; then
12826 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12827 do
12828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12829set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12831$as_echo_n "checking for $ac_word... " >&6; }
12832if test "${ac_cv_prog_CXX+set}" = set; then :
12833 $as_echo_n "(cached) " >&6
12834else
12835 if test -n "$CXX"; then
12836 ac_cv_prog_CXX="$CXX" # Let the user override the test.
12837else
12838as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12839for as_dir in $PATH
12840do
12841 IFS=$as_save_IFS
12842 test -z "$as_dir" && as_dir=.
12843 for ac_exec_ext in '' $ac_executable_extensions; do
12844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12845 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12847 break 2
12848 fi
12849done
12850 done
12851IFS=$as_save_IFS
12852
12853fi
12854fi
12855CXX=$ac_cv_prog_CXX
12856if test -n "$CXX"; then
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12858$as_echo "$CXX" >&6; }
12859else
12860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12861$as_echo "no" >&6; }
12862fi
12863
12864
12865 test -n "$CXX" && break
12866 done
12867fi
12868if test -z "$CXX"; then
12869 ac_ct_CXX=$CXX
12870 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12871do
12872 # Extract the first word of "$ac_prog", so it can be a program name with args.
12873set dummy $ac_prog; ac_word=$2
12874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12875$as_echo_n "checking for $ac_word... " >&6; }
12876if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
12877 $as_echo_n "(cached) " >&6
12878else
12879 if test -n "$ac_ct_CXX"; then
12880 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12881else
12882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12883for as_dir in $PATH
12884do
12885 IFS=$as_save_IFS
12886 test -z "$as_dir" && as_dir=.
12887 for ac_exec_ext in '' $ac_executable_extensions; do
12888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12889 ac_cv_prog_ac_ct_CXX="$ac_prog"
12890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12891 break 2
12892 fi
12893done
12894 done
12895IFS=$as_save_IFS
12896
12897fi
12898fi
12899ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12900if test -n "$ac_ct_CXX"; then
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12902$as_echo "$ac_ct_CXX" >&6; }
12903else
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12905$as_echo "no" >&6; }
12906fi
12907
12908
12909 test -n "$ac_ct_CXX" && break
12910done
12911
12912 if test "x$ac_ct_CXX" = x; then
12913 CXX="g++"
12914 else
12915 case $cross_compiling:$ac_tool_warned in
12916yes:)
12917{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12918$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12919ac_tool_warned=yes ;;
12920esac
12921 CXX=$ac_ct_CXX
12922 fi
12923fi
12924
12925 fi
12926fi
12927# Provide some information about the compiler.
12928$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12929set X $ac_compile
12930ac_compiler=$2
12931for ac_option in --version -v -V -qversion; do
12932 { { ac_try="$ac_compiler $ac_option >&5"
12933case "(($ac_try" in
12934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12935 *) ac_try_echo=$ac_try;;
12936esac
12937eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12938$as_echo "$ac_try_echo"; } >&5
12939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12940 ac_status=$?
12941 if test -s conftest.err; then
12942 sed '10a\
12943... rest of stderr output deleted ...
12944 10q' conftest.err >conftest.er1
12945 cat conftest.er1 >&5
12946 fi
12947 rm -f conftest.er1 conftest.err
12948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12949 test $ac_status = 0; }
12950done
12951
12952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12953$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12954if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
12955 $as_echo_n "(cached) " >&6
12956else
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958/* end confdefs.h. */
12959
12960int
12961main ()
12962{
12963#ifndef __GNUC__
12964 choke me
12965#endif
12966
12967 ;
12968 return 0;
12969}
12970_ACEOF
12971if ac_fn_cxx_try_compile "$LINENO"; then :
12972 ac_compiler_gnu=yes
12973else
12974 ac_compiler_gnu=no
12975fi
12976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12977ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12978
12979fi
12980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12981$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12982if test $ac_compiler_gnu = yes; then
12983 GXX=yes
12984else
12985 GXX=
12986fi
12987ac_test_CXXFLAGS=${CXXFLAGS+set}
12988ac_save_CXXFLAGS=$CXXFLAGS
12989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12990$as_echo_n "checking whether $CXX accepts -g... " >&6; }
12991if test "${ac_cv_prog_cxx_g+set}" = set; then :
12992 $as_echo_n "(cached) " >&6
12993else
12994 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12995 ac_cxx_werror_flag=yes
12996 ac_cv_prog_cxx_g=no
12997 CXXFLAGS="-g"
12998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12999/* end confdefs.h. */
13000
13001int
13002main ()
13003{
13004
13005 ;
13006 return 0;
13007}
13008_ACEOF
13009if ac_fn_cxx_try_compile "$LINENO"; then :
13010 ac_cv_prog_cxx_g=yes
13011else
13012 CXXFLAGS=""
13013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014/* end confdefs.h. */
13015
13016int
13017main ()
13018{
13019
13020 ;
13021 return 0;
13022}
13023_ACEOF
13024if ac_fn_cxx_try_compile "$LINENO"; then :
13025
13026else
13027 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13028 CXXFLAGS="-g"
13029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13030/* end confdefs.h. */
13031
13032int
13033main ()
13034{
13035
13036 ;
13037 return 0;
13038}
13039_ACEOF
13040if ac_fn_cxx_try_compile "$LINENO"; then :
13041 ac_cv_prog_cxx_g=yes
13042fi
13043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13044fi
13045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13046fi
13047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13048 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13049fi
13050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13051$as_echo "$ac_cv_prog_cxx_g" >&6; }
13052if test "$ac_test_CXXFLAGS" = set; then
13053 CXXFLAGS=$ac_save_CXXFLAGS
13054elif test $ac_cv_prog_cxx_g = yes; then
13055 if test "$GXX" = yes; then
13056 CXXFLAGS="-g -O2"
13057 else
13058 CXXFLAGS="-g"
13059 fi
13060else
13061 if test "$GXX" = yes; then
13062 CXXFLAGS="-O2"
13063 else
13064 CXXFLAGS=
13065 fi
13066fi
13067ac_ext=c
13068ac_cpp='$CPP $CPPFLAGS'
13069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13071ac_compiler_gnu=$ac_cv_c_compiler_gnu
13072
13073depcc="$CXX" am_compiler_list=
13074
13075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13076$as_echo_n "checking dependency style of $depcc... " >&6; }
13077if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13078 $as_echo_n "(cached) " >&6
13079else
13080 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13081 # We make a subdir and do the tests there. Otherwise we can end up
13082 # making bogus files that we don't know about and never remove. For
13083 # instance it was reported that on HP-UX the gcc test will end up
13084 # making a dummy file named `D' -- because `-MD' means `put the output
13085 # in D'.
13086 mkdir conftest.dir
13087 # Copy depcomp to subdir because otherwise we won't find it if we're
13088 # using a relative directory.
13089 cp "$am_depcomp" conftest.dir
13090 cd conftest.dir
13091 # We will build objects and dependencies in a subdirectory because
13092 # it helps to detect inapplicable dependency modes. For instance
13093 # both Tru64's cc and ICC support -MD to output dependencies as a
13094 # side effect of compilation, but ICC will put the dependencies in
13095 # the current directory while Tru64 will put them in the object
13096 # directory.
13097 mkdir sub
13098
13099 am_cv_CXX_dependencies_compiler_type=none
13100 if test "$am_compiler_list" = ""; then
13101 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13102 fi
13103 am__universal=false
13104 case " $depcc " in #(
13105 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13106 esac
13107
13108 for depmode in $am_compiler_list; do
13109 # Setup a source with many dependencies, because some compilers
13110 # like to wrap large dependency lists on column 80 (with \), and
13111 # we should not choose a depcomp mode which is confused by this.
13112 #
13113 # We need to recreate these files for each test, as the compiler may
13114 # overwrite some of them when testing with obscure command lines.
13115 # This happens at least with the AIX C compiler.
13116 : > sub/conftest.c
13117 for i in 1 2 3 4 5 6; do
13118 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13119 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13120 # Solaris 8's {/usr,}/bin/sh.
13121 touch sub/conftst$i.h
13122 done
13123 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13124
13125 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13126 # mode. It turns out that the SunPro C++ compiler does not properly
13127 # handle `-M -o', and we need to detect this. Also, some Intel
13128 # versions had trouble with output in subdirs
13129 am__obj=sub/conftest.${OBJEXT-o}
13130 am__minus_obj="-o $am__obj"
13131 case $depmode in
13132 gcc)
13133 # This depmode causes a compiler race in universal mode.
13134 test "$am__universal" = false || continue
13135 ;;
13136 nosideeffect)
13137 # after this tag, mechanisms are not by side-effect, so they'll
13138 # only be used when explicitly requested
13139 if test "x$enable_dependency_tracking" = xyes; then
13140 continue
13141 else
13142 break
13143 fi
13144 ;;
13145 msvisualcpp | msvcmsys)
13146 # This compiler won't grok `-c -o', but also, the minuso test has
13147 # not run yet. These depmodes are late enough in the game, and
13148 # so weak that their functioning should not be impacted.
13149 am__obj=conftest.${OBJEXT-o}
13150 am__minus_obj=
13151 ;;
13152 none) break ;;
13153 esac
13154 if depmode=$depmode \
13155 source=sub/conftest.c object=$am__obj \
13156 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13157 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13158 >/dev/null 2>conftest.err &&
13159 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13160 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13161 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13162 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13163 # icc doesn't choke on unknown options, it will just issue warnings
13164 # or remarks (even with -Werror). So we grep stderr for any message
13165 # that says an option was ignored or not supported.
13166 # When given -MP, icc 7.0 and 7.1 complain thusly:
13167 # icc: Command line warning: ignoring option '-M'; no argument required
13168 # The diagnosis changed in icc 8.0:
13169 # icc: Command line remark: option '-MP' not supported
13170 if (grep 'ignoring option' conftest.err ||
13171 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13172 am_cv_CXX_dependencies_compiler_type=$depmode
13173 break
13174 fi
13175 fi
13176 done
13177
13178 cd ..
13179 rm -rf conftest.dir
13180else
13181 am_cv_CXX_dependencies_compiler_type=none
13182fi
13183
13184fi
13185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13186$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13187CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13188
13189 if
13190 test "x$enable_dependency_tracking" != xno \
13191 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13192 am__fastdepCXX_TRUE=
13193 am__fastdepCXX_FALSE='#'
13194else
13195 am__fastdepCXX_TRUE='#'
13196 am__fastdepCXX_FALSE=
13197fi
13198
13199
13200
13201ac_ext=cpp
13202ac_cpp='$CXXCPP $CPPFLAGS'
13203ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13204ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13205ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13206if test -z "$CXX"; then
13207 if test -n "$CCC"; then
13208 CXX=$CCC
13209 else
13210 if test -n "$ac_tool_prefix"; then
13211 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13212 do
13213 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13214set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13216$as_echo_n "checking for $ac_word... " >&6; }
13217if test "${ac_cv_prog_CXX+set}" = set; then :
13218 $as_echo_n "(cached) " >&6
13219else
13220 if test -n "$CXX"; then
13221 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13222else
13223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13224for as_dir in $PATH
13225do
13226 IFS=$as_save_IFS
13227 test -z "$as_dir" && as_dir=.
13228 for ac_exec_ext in '' $ac_executable_extensions; do
13229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13230 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13232 break 2
13233 fi
13234done
13235 done
13236IFS=$as_save_IFS
13237
13238fi
13239fi
13240CXX=$ac_cv_prog_CXX
13241if test -n "$CXX"; then
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
13243$as_echo "$CXX" >&6; }
13244else
13245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13246$as_echo "no" >&6; }
13247fi
13248
13249
13250 test -n "$CXX" && break
13251 done
13252fi
13253if test -z "$CXX"; then
13254 ac_ct_CXX=$CXX
13255 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
13256do
13257 # Extract the first word of "$ac_prog", so it can be a program name with args.
13258set dummy $ac_prog; ac_word=$2
13259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13260$as_echo_n "checking for $ac_word... " >&6; }
13261if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
13262 $as_echo_n "(cached) " >&6
13263else
13264 if test -n "$ac_ct_CXX"; then
13265 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13266else
13267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13268for as_dir in $PATH
13269do
13270 IFS=$as_save_IFS
13271 test -z "$as_dir" && as_dir=.
13272 for ac_exec_ext in '' $ac_executable_extensions; do
13273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13274 ac_cv_prog_ac_ct_CXX="$ac_prog"
13275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13276 break 2
13277 fi
13278done
13279 done
13280IFS=$as_save_IFS
13281
13282fi
13283fi
13284ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13285if test -n "$ac_ct_CXX"; then
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
13287$as_echo "$ac_ct_CXX" >&6; }
13288else
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13290$as_echo "no" >&6; }
13291fi
13292
13293
13294 test -n "$ac_ct_CXX" && break
13295done
13296
13297 if test "x$ac_ct_CXX" = x; then
13298 CXX="g++"
13299 else
13300 case $cross_compiling:$ac_tool_warned in
13301yes:)
13302{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13303$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13304ac_tool_warned=yes ;;
13305esac
13306 CXX=$ac_ct_CXX
13307 fi
13308fi
13309
13310 fi
13311fi
13312# Provide some information about the compiler.
13313$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
13314set X $ac_compile
13315ac_compiler=$2
13316for ac_option in --version -v -V -qversion; do
13317 { { ac_try="$ac_compiler $ac_option >&5"
13318case "(($ac_try" in
13319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13320 *) ac_try_echo=$ac_try;;
13321esac
13322eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13323$as_echo "$ac_try_echo"; } >&5
13324 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13325 ac_status=$?
13326 if test -s conftest.err; then
13327 sed '10a\
13328... rest of stderr output deleted ...
13329 10q' conftest.err >conftest.er1
13330 cat conftest.er1 >&5
13331 fi
13332 rm -f conftest.er1 conftest.err
13333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13334 test $ac_status = 0; }
13335done
13336
13337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
13338$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
13339if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
13340 $as_echo_n "(cached) " >&6
13341else
13342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13343/* end confdefs.h. */
13344
13345int
13346main ()
13347{
13348#ifndef __GNUC__
13349 choke me
13350#endif
13351
13352 ;
13353 return 0;
13354}
13355_ACEOF
13356if ac_fn_cxx_try_compile "$LINENO"; then :
13357 ac_compiler_gnu=yes
13358else
13359 ac_compiler_gnu=no
13360fi
13361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13362ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13363
13364fi
13365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
13366$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
13367if test $ac_compiler_gnu = yes; then
13368 GXX=yes
13369else
13370 GXX=
13371fi
13372ac_test_CXXFLAGS=${CXXFLAGS+set}
13373ac_save_CXXFLAGS=$CXXFLAGS
13374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
13375$as_echo_n "checking whether $CXX accepts -g... " >&6; }
13376if test "${ac_cv_prog_cxx_g+set}" = set; then :
13377 $as_echo_n "(cached) " >&6
13378else
13379 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
13380 ac_cxx_werror_flag=yes
13381 ac_cv_prog_cxx_g=no
13382 CXXFLAGS="-g"
13383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13384/* end confdefs.h. */
13385
13386int
13387main ()
13388{
13389
13390 ;
13391 return 0;
13392}
13393_ACEOF
13394if ac_fn_cxx_try_compile "$LINENO"; then :
13395 ac_cv_prog_cxx_g=yes
13396else
13397 CXXFLAGS=""
13398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13399/* end confdefs.h. */
13400
13401int
13402main ()
13403{
13404
13405 ;
13406 return 0;
13407}
13408_ACEOF
13409if ac_fn_cxx_try_compile "$LINENO"; then :
13410
13411else
13412 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13413 CXXFLAGS="-g"
13414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415/* end confdefs.h. */
13416
13417int
13418main ()
13419{
13420
13421 ;
13422 return 0;
13423}
13424_ACEOF
13425if ac_fn_cxx_try_compile "$LINENO"; then :
13426 ac_cv_prog_cxx_g=yes
13427fi
13428rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13429fi
13430rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13431fi
13432rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13433 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
13434fi
13435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
13436$as_echo "$ac_cv_prog_cxx_g" >&6; }
13437if test "$ac_test_CXXFLAGS" = set; then
13438 CXXFLAGS=$ac_save_CXXFLAGS
13439elif test $ac_cv_prog_cxx_g = yes; then
13440 if test "$GXX" = yes; then
13441 CXXFLAGS="-g -O2"
13442 else
13443 CXXFLAGS="-g"
13444 fi
13445else
13446 if test "$GXX" = yes; then
13447 CXXFLAGS="-O2"
13448 else
13449 CXXFLAGS=
13450 fi
13451fi
13452ac_ext=c
13453ac_cpp='$CPP $CPPFLAGS'
13454ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456ac_compiler_gnu=$ac_cv_c_compiler_gnu
13457
13458depcc="$CXX" am_compiler_list=
13459
13460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13461$as_echo_n "checking dependency style of $depcc... " >&6; }
13462if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
13463 $as_echo_n "(cached) " >&6
13464else
13465 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13466 # We make a subdir and do the tests there. Otherwise we can end up
13467 # making bogus files that we don't know about and never remove. For
13468 # instance it was reported that on HP-UX the gcc test will end up
13469 # making a dummy file named `D' -- because `-MD' means `put the output
13470 # in D'.
13471 mkdir conftest.dir
13472 # Copy depcomp to subdir because otherwise we won't find it if we're
13473 # using a relative directory.
13474 cp "$am_depcomp" conftest.dir
13475 cd conftest.dir
13476 # We will build objects and dependencies in a subdirectory because
13477 # it helps to detect inapplicable dependency modes. For instance
13478 # both Tru64's cc and ICC support -MD to output dependencies as a
13479 # side effect of compilation, but ICC will put the dependencies in
13480 # the current directory while Tru64 will put them in the object
13481 # directory.
13482 mkdir sub
13483
13484 am_cv_CXX_dependencies_compiler_type=none
13485 if test "$am_compiler_list" = ""; then
13486 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13487 fi
13488 am__universal=false
13489 case " $depcc " in #(
13490 *\ -arch\ *\ -arch\ *) am__universal=true ;;
13491 esac
13492
13493 for depmode in $am_compiler_list; do
13494 # Setup a source with many dependencies, because some compilers
13495 # like to wrap large dependency lists on column 80 (with \), and
13496 # we should not choose a depcomp mode which is confused by this.
13497 #
13498 # We need to recreate these files for each test, as the compiler may
13499 # overwrite some of them when testing with obscure command lines.
13500 # This happens at least with the AIX C compiler.
13501 : > sub/conftest.c
13502 for i in 1 2 3 4 5 6; do
13503 echo '#include "conftst'$i'.h"' >> sub/conftest.c
13504 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13505 # Solaris 8's {/usr,}/bin/sh.
13506 touch sub/conftst$i.h
13507 done
13508 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13509
13510 # We check with `-c' and `-o' for the sake of the "dashmstdout"
13511 # mode. It turns out that the SunPro C++ compiler does not properly
13512 # handle `-M -o', and we need to detect this. Also, some Intel
13513 # versions had trouble with output in subdirs
13514 am__obj=sub/conftest.${OBJEXT-o}
13515 am__minus_obj="-o $am__obj"
13516 case $depmode in
13517 gcc)
13518 # This depmode causes a compiler race in universal mode.
13519 test "$am__universal" = false || continue
13520 ;;
13521 nosideeffect)
13522 # after this tag, mechanisms are not by side-effect, so they'll
13523 # only be used when explicitly requested
13524 if test "x$enable_dependency_tracking" = xyes; then
13525 continue
13526 else
13527 break
13528 fi
13529 ;;
13530 msvisualcpp | msvcmsys)
13531 # This compiler won't grok `-c -o', but also, the minuso test has
13532 # not run yet. These depmodes are late enough in the game, and
13533 # so weak that their functioning should not be impacted.
13534 am__obj=conftest.${OBJEXT-o}
13535 am__minus_obj=
13536 ;;
13537 none) break ;;
13538 esac
13539 if depmode=$depmode \
13540 source=sub/conftest.c object=$am__obj \
13541 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13542 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13543 >/dev/null 2>conftest.err &&
13544 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13545 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13546 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13547 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13548 # icc doesn't choke on unknown options, it will just issue warnings
13549 # or remarks (even with -Werror). So we grep stderr for any message
13550 # that says an option was ignored or not supported.
13551 # When given -MP, icc 7.0 and 7.1 complain thusly:
13552 # icc: Command line warning: ignoring option '-M'; no argument required
13553 # The diagnosis changed in icc 8.0:
13554 # icc: Command line remark: option '-MP' not supported
13555 if (grep 'ignoring option' conftest.err ||
13556 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13557 am_cv_CXX_dependencies_compiler_type=$depmode
13558 break
13559 fi
13560 fi
13561 done
13562
13563 cd ..
13564 rm -rf conftest.dir
13565else
13566 am_cv_CXX_dependencies_compiler_type=none
13567fi
13568
13569fi
13570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
13571$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
13572CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
13573
13574 if
13575 test "x$enable_dependency_tracking" != xno \
13576 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
13577 am__fastdepCXX_TRUE=
13578 am__fastdepCXX_FALSE='#'
13579else
13580 am__fastdepCXX_TRUE='#'
13581 am__fastdepCXX_FALSE=
13582fi
13583
13584
13585if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
13586 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
13587 (test "X$CXX" != "Xg++"))) ; then
13588 ac_ext=cpp
13589ac_cpp='$CXXCPP $CPPFLAGS'
13590ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13591ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13592ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13594$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13595if test -z "$CXXCPP"; then
13596 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
13597 $as_echo_n "(cached) " >&6
13598else
13599 # Double quotes because CXXCPP needs to be expanded
13600 for CXXCPP in "$CXX -E" "/lib/cpp"
13601 do
13602 ac_preproc_ok=false
13603for ac_cxx_preproc_warn_flag in '' yes
13604do
13605 # Use a header file that comes with gcc, so configuring glibc
13606 # with a fresh cross-compiler works.
13607 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13608 # <limits.h> exists even on freestanding compilers.
13609 # On the NeXT, cc -E runs the code through the compiler's parser,
13610 # not just through cpp. "Syntax error" is here to catch this case.
13611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13612/* end confdefs.h. */
13613#ifdef __STDC__
13614# include <limits.h>
13615#else
13616# include <assert.h>
13617#endif
13618 Syntax error
13619_ACEOF
13620if ac_fn_cxx_try_cpp "$LINENO"; then :
13621
13622else
13623 # Broken: fails on valid input.
13624continue
13625fi
13626rm -f conftest.err conftest.i conftest.$ac_ext
13627
13628 # OK, works on sane cases. Now check whether nonexistent headers
13629 # can be detected and how.
13630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13631/* end confdefs.h. */
13632#include <ac_nonexistent.h>
13633_ACEOF
13634if ac_fn_cxx_try_cpp "$LINENO"; then :
13635 # Broken: success on invalid input.
13636continue
13637else
13638 # Passes both tests.
13639ac_preproc_ok=:
13640break
13641fi
13642rm -f conftest.err conftest.i conftest.$ac_ext
13643
13644done
13645# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13646rm -f conftest.i conftest.err conftest.$ac_ext
13647if $ac_preproc_ok; then :
13648 break
13649fi
13650
13651 done
13652 ac_cv_prog_CXXCPP=$CXXCPP
13653
13654fi
13655 CXXCPP=$ac_cv_prog_CXXCPP
13656else
13657 ac_cv_prog_CXXCPP=$CXXCPP
13658fi
13659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
13660$as_echo "$CXXCPP" >&6; }
13661ac_preproc_ok=false
13662for ac_cxx_preproc_warn_flag in '' yes
13663do
13664 # Use a header file that comes with gcc, so configuring glibc
13665 # with a fresh cross-compiler works.
13666 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13667 # <limits.h> exists even on freestanding compilers.
13668 # On the NeXT, cc -E runs the code through the compiler's parser,
13669 # not just through cpp. "Syntax error" is here to catch this case.
13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13671/* end confdefs.h. */
13672#ifdef __STDC__
13673# include <limits.h>
13674#else
13675# include <assert.h>
13676#endif
13677 Syntax error
13678_ACEOF
13679if ac_fn_cxx_try_cpp "$LINENO"; then :
13680
13681else
13682 # Broken: fails on valid input.
13683continue
13684fi
13685rm -f conftest.err conftest.i conftest.$ac_ext
13686
13687 # OK, works on sane cases. Now check whether nonexistent headers
13688 # can be detected and how.
13689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13690/* end confdefs.h. */
13691#include <ac_nonexistent.h>
13692_ACEOF
13693if ac_fn_cxx_try_cpp "$LINENO"; then :
13694 # Broken: success on invalid input.
13695continue
13696else
13697 # Passes both tests.
13698ac_preproc_ok=:
13699break
13700fi
13701rm -f conftest.err conftest.i conftest.$ac_ext
13702
13703done
13704# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13705rm -f conftest.i conftest.err conftest.$ac_ext
13706if $ac_preproc_ok; then :
13707
13708else
13709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13711_lt_caught_CXX_error=yes; }
13712fi
13713
13714ac_ext=c
13715ac_cpp='$CPP $CPPFLAGS'
13716ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13717ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13718ac_compiler_gnu=$ac_cv_c_compiler_gnu
13719
13720else
13721 _lt_caught_CXX_error=yes
13722fi
13723
13724
13725
13726
13727ac_ext=cpp
13728ac_cpp='$CXXCPP $CPPFLAGS'
13729ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13730ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13731ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13732
13733archive_cmds_need_lc_CXX=no
13734allow_undefined_flag_CXX=
13735always_export_symbols_CXX=no
13736archive_expsym_cmds_CXX=
13737compiler_needs_object_CXX=no
13738export_dynamic_flag_spec_CXX=
13739hardcode_direct_CXX=no
13740hardcode_direct_absolute_CXX=no
13741hardcode_libdir_flag_spec_CXX=
13742hardcode_libdir_flag_spec_ld_CXX=
13743hardcode_libdir_separator_CXX=
13744hardcode_minus_L_CXX=no
13745hardcode_shlibpath_var_CXX=unsupported
13746hardcode_automatic_CXX=no
13747inherit_rpath_CXX=no
13748module_cmds_CXX=
13749module_expsym_cmds_CXX=
13750link_all_deplibs_CXX=unknown
13751old_archive_cmds_CXX=$old_archive_cmds
13752no_undefined_flag_CXX=
13753whole_archive_flag_spec_CXX=
13754enable_shared_with_static_runtimes_CXX=no
13755
13756# Source file extension for C++ test sources.
13757ac_ext=cpp
13758
13759# Object file extension for compiled C++ test sources.
13760objext=o
13761objext_CXX=$objext
13762
13763# No sense in running all these tests if we already determined that
13764# the CXX compiler isn't working. Some variables (like enable_shared)
13765# are currently assumed to apply to all compilers on this platform,
13766# and will be corrupted by setting them based on a non-working compiler.
13767if test "$_lt_caught_CXX_error" != yes; then
13768 # Code to be used in simple compile tests
13769 lt_simple_compile_test_code="int some_variable = 0;"
13770
13771 # Code to be used in simple link tests
13772 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
13773
13774 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13775
13776
13777
13778
13779
13780
13781# If no C compiler was specified, use CC.
13782LTCC=${LTCC-"$CC"}
13783
13784# If no C compiler flags were specified, use CFLAGS.
13785LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13786
13787# Allow CC to be a program name with arguments.
13788compiler=$CC
13789
13790
13791 # save warnings/boilerplate of simple test code
13792 ac_outfile=conftest.$ac_objext
13793echo "$lt_simple_compile_test_code" >conftest.$ac_ext
13794eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13795_lt_compiler_boilerplate=`cat conftest.err`
13796$RM conftest*
13797
13798 ac_outfile=conftest.$ac_objext
13799echo "$lt_simple_link_test_code" >conftest.$ac_ext
13800eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13801_lt_linker_boilerplate=`cat conftest.err`
13802$RM -r conftest*
13803
13804
13805 # Allow CC to be a program name with arguments.
13806 lt_save_CC=$CC
13807 lt_save_LD=$LD
13808 lt_save_GCC=$GCC
13809 GCC=$GXX
13810 lt_save_with_gnu_ld=$with_gnu_ld
13811 lt_save_path_LD=$lt_cv_path_LD
13812 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
13813 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
13814 else
13815 $as_unset lt_cv_prog_gnu_ld
13816 fi
13817 if test -n "${lt_cv_path_LDCXX+set}"; then
13818 lt_cv_path_LD=$lt_cv_path_LDCXX
13819 else
13820 $as_unset lt_cv_path_LD
13821 fi
13822 test -z "${LDCXX+set}" || LD=$LDCXX
13823 CC=${CXX-"c++"}
13824 compiler=$CC
13825 compiler_CXX=$CC
13826 for cc_temp in $compiler""; do
13827 case $cc_temp in
13828 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13829 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13830 \-*) ;;
13831 *) break;;
13832 esac
13833done
13834cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13835
13836
13837 if test -n "$compiler"; then
13838 # We don't want -fno-exception when compiling C++ code, so set the
13839 # no_builtin_flag separately
13840 if test "$GXX" = yes; then
13841 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
13842 else
13843 lt_prog_compiler_no_builtin_flag_CXX=
13844 fi
13845
13846 if test "$GXX" = yes; then
13847 # Set up default GNU C++ configuration
13848
13849
13850
13851# Check whether --with-gnu-ld was given.
13852if test "${with_gnu_ld+set}" = set; then :
13853 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
13854else
13855 with_gnu_ld=no
13856fi
13857
13858ac_prog=ld
13859if test "$GCC" = yes; then
13860 # Check if gcc -print-prog-name=ld gives a path.
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
13862$as_echo_n "checking for ld used by $CC... " >&6; }
13863 case $host in
13864 *-*-mingw*)
13865 # gcc leaves a trailing carriage return which upsets mingw
13866 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13867 *)
13868 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
13869 esac
13870 case $ac_prog in
13871 # Accept absolute paths.
13872 [\\/]* | ?:[\\/]*)
13873 re_direlt='/[^/][^/]*/\.\./'
13874 # Canonicalize the pathname of ld
13875 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
13876 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
13877 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
13878 done
13879 test -z "$LD" && LD="$ac_prog"
13880 ;;
13881 "")
13882 # If it fails, then pretend we aren't using GCC.
13883 ac_prog=ld
13884 ;;
13885 *)
13886 # If it is relative, then search for the first ld in PATH.
13887 with_gnu_ld=unknown
13888 ;;
13889 esac
13890elif test "$with_gnu_ld" = yes; then
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13892$as_echo_n "checking for GNU ld... " >&6; }
13893else
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13895$as_echo_n "checking for non-GNU ld... " >&6; }
13896fi
13897if test "${lt_cv_path_LD+set}" = set; then :
13898 $as_echo_n "(cached) " >&6
13899else
13900 if test -z "$LD"; then
13901 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
13902 for ac_dir in $PATH; do
13903 IFS="$lt_save_ifs"
13904 test -z "$ac_dir" && ac_dir=.
13905 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
13906 lt_cv_path_LD="$ac_dir/$ac_prog"
13907 # Check to see if the program is GNU ld. I'd rather use --version,
13908 # but apparently some variants of GNU ld only accept -v.
13909 # Break only if it was the GNU/non-GNU ld that we prefer.
13910 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
13911 *GNU* | *'with BFD'*)
13912 test "$with_gnu_ld" != no && break
13913 ;;
13914 *)
13915 test "$with_gnu_ld" != yes && break
13916 ;;
13917 esac
13918 fi
13919 done
13920 IFS="$lt_save_ifs"
13921else
13922 lt_cv_path_LD="$LD" # Let the user override the test with a path.
13923fi
13924fi
13925
13926LD="$lt_cv_path_LD"
13927if test -n "$LD"; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13929$as_echo "$LD" >&6; }
13930else
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13932$as_echo "no" >&6; }
13933fi
13934test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
13935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13936$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13937if test "${lt_cv_prog_gnu_ld+set}" = set; then :
13938 $as_echo_n "(cached) " >&6
13939else
13940 # I'd rather use --version here, but apparently some GNU lds only accept -v.
13941case `$LD -v 2>&1 </dev/null` in
13942*GNU* | *'with BFD'*)
13943 lt_cv_prog_gnu_ld=yes
13944 ;;
13945*)
13946 lt_cv_prog_gnu_ld=no
13947 ;;
13948esac
13949fi
13950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
13951$as_echo "$lt_cv_prog_gnu_ld" >&6; }
13952with_gnu_ld=$lt_cv_prog_gnu_ld
13953
13954
13955
13956
13957
13958
13959
13960 # Check if GNU C++ uses GNU ld as the underlying linker, since the
13961 # archiving commands below assume that GNU ld is being used.
13962 if test "$with_gnu_ld" = yes; then
13963 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13964 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'
13965
13966 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13967 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13968
13969 # If archive_cmds runs LD, not CC, wlarc should be empty
13970 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
13971 # investigate it a little bit more. (MM)
13972 wlarc='${wl}'
13973
13974 # ancient GNU ld didn't support --whole-archive et. al.
13975 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
13976 $GREP 'no-whole-archive' > /dev/null; then
13977 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13978 else
13979 whole_archive_flag_spec_CXX=
13980 fi
13981 else
13982 with_gnu_ld=no
13983 wlarc=
13984
13985 # A generic and very simple default shared library creation
13986 # command for GNU C++ for the case where it uses the native
13987 # linker, instead of GNU ld. If possible, this setting should
13988 # overridden to take advantage of the native linker features on
13989 # the platform it is being used on.
13990 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13991 fi
13992
13993 # Commands to make compiler produce verbose output that lists
13994 # what "hidden" libraries, object files and flags are used when
13995 # linking a shared library.
13996 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13997
13998 else
13999 GXX=no
14000 with_gnu_ld=no
14001 wlarc=
14002 fi
14003
14004 # PORTME: fill in a description of your system's C++ link characteristics
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14006$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14007 ld_shlibs_CXX=yes
14008 case $host_os in
14009 aix3*)
14010 # FIXME: insert proper C++ library support
14011 ld_shlibs_CXX=no
14012 ;;
14013 aix[4-9]*)
14014 if test "$host_cpu" = ia64; then
14015 # On IA64, the linker does run time linking by default, so we don't
14016 # have to do anything special.
14017 aix_use_runtimelinking=no
14018 exp_sym_flag='-Bexport'
14019 no_entry_flag=""
14020 else
14021 aix_use_runtimelinking=no
14022
14023 # Test if we are trying to use run time linking or normal
14024 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14025 # need to do runtime linking.
14026 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14027 for ld_flag in $LDFLAGS; do
14028 case $ld_flag in
14029 *-brtl*)
14030 aix_use_runtimelinking=yes
14031 break
14032 ;;
14033 esac
14034 done
14035 ;;
14036 esac
14037
14038 exp_sym_flag='-bexport'
14039 no_entry_flag='-bnoentry'
14040 fi
14041
14042 # When large executables or shared objects are built, AIX ld can
14043 # have problems creating the table of contents. If linking a library
14044 # or program results in "error TOC overflow" add -mminimal-toc to
14045 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14046 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14047
14048 archive_cmds_CXX=''
14049 hardcode_direct_CXX=yes
14050 hardcode_direct_absolute_CXX=yes
14051 hardcode_libdir_separator_CXX=':'
14052 link_all_deplibs_CXX=yes
14053 file_list_spec_CXX='${wl}-f,'
14054
14055 if test "$GXX" = yes; then
14056 case $host_os in aix4.[012]|aix4.[012].*)
14057 # We only want to do this on AIX 4.2 and lower, the check
14058 # below for broken collect2 doesn't work under 4.3+
14059 collect2name=`${CC} -print-prog-name=collect2`
14060 if test -f "$collect2name" &&
14061 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14062 then
14063 # We have reworked collect2
14064 :
14065 else
14066 # We have old collect2
14067 hardcode_direct_CXX=unsupported
14068 # It fails to find uninstalled libraries when the uninstalled
14069 # path is not listed in the libpath. Setting hardcode_minus_L
14070 # to unsupported forces relinking
14071 hardcode_minus_L_CXX=yes
14072 hardcode_libdir_flag_spec_CXX='-L$libdir'
14073 hardcode_libdir_separator_CXX=
14074 fi
14075 esac
14076 shared_flag='-shared'
14077 if test "$aix_use_runtimelinking" = yes; then
14078 shared_flag="$shared_flag "'${wl}-G'
14079 fi
14080 else
14081 # not using gcc
14082 if test "$host_cpu" = ia64; then
14083 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14084 # chokes on -Wl,-G. The following line is correct:
14085 shared_flag='-G'
14086 else
14087 if test "$aix_use_runtimelinking" = yes; then
14088 shared_flag='${wl}-G'
14089 else
14090 shared_flag='${wl}-bM:SRE'
14091 fi
14092 fi
14093 fi
14094
14095 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14096 # It seems that -bexpall does not export symbols beginning with
14097 # underscore (_), so it is better to generate a list of symbols to
14098 # export.
14099 always_export_symbols_CXX=yes
14100 if test "$aix_use_runtimelinking" = yes; then
14101 # Warning - without using the other runtime loading flags (-brtl),
14102 # -berok will link without error, but may produce a broken library.
14103 allow_undefined_flag_CXX='-berok'
14104 # Determine the default libpath from the value encoded in an empty
14105 # executable.
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107/* end confdefs.h. */
14108
14109int
14110main ()
14111{
14112
14113 ;
14114 return 0;
14115}
14116_ACEOF
14117if ac_fn_cxx_try_link "$LINENO"; then :
14118
14119lt_aix_libpath_sed='
14120 /Import File Strings/,/^$/ {
14121 /^0/ {
14122 s/^0 *\(.*\)$/\1/
14123 p
14124 }
14125 }'
14126aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14127# Check for a 64-bit object if we didn't find anything.
14128if test -z "$aix_libpath"; then
14129 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14130fi
14131fi
14132rm -f core conftest.err conftest.$ac_objext \
14133 conftest$ac_exeext conftest.$ac_ext
14134if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14135
14136 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14137
14138 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"
14139 else
14140 if test "$host_cpu" = ia64; then
14141 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14142 allow_undefined_flag_CXX="-z nodefs"
14143 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"
14144 else
14145 # Determine the default libpath from the value encoded in an
14146 # empty executable.
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148/* end confdefs.h. */
14149
14150int
14151main ()
14152{
14153
14154 ;
14155 return 0;
14156}
14157_ACEOF
14158if ac_fn_cxx_try_link "$LINENO"; then :
14159
14160lt_aix_libpath_sed='
14161 /Import File Strings/,/^$/ {
14162 /^0/ {
14163 s/^0 *\(.*\)$/\1/
14164 p
14165 }
14166 }'
14167aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14168# Check for a 64-bit object if we didn't find anything.
14169if test -z "$aix_libpath"; then
14170 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14171fi
14172fi
14173rm -f core conftest.err conftest.$ac_objext \
14174 conftest$ac_exeext conftest.$ac_ext
14175if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14176
14177 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14178 # Warning - without using the other run time loading flags,
14179 # -berok will link without error, but may produce a broken library.
14180 no_undefined_flag_CXX=' ${wl}-bernotok'
14181 allow_undefined_flag_CXX=' ${wl}-berok'
14182 # Exported symbols can be pulled into shared objects from archives
14183 whole_archive_flag_spec_CXX='$convenience'
14184 archive_cmds_need_lc_CXX=yes
14185 # This is similar to how AIX traditionally builds its shared
14186 # libraries.
14187 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'
14188 fi
14189 fi
14190 ;;
14191
14192 beos*)
14193 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14194 allow_undefined_flag_CXX=unsupported
14195 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14196 # support --undefined. This deserves some investigation. FIXME
14197 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14198 else
14199 ld_shlibs_CXX=no
14200 fi
14201 ;;
14202
14203 chorus*)
14204 case $cc_basename in
14205 *)
14206 # FIXME: insert proper C++ library support
14207 ld_shlibs_CXX=no
14208 ;;
14209 esac
14210 ;;
14211
14212 cygwin* | mingw* | pw32* | cegcc*)
14213 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14214 # as there is no search path for DLLs.
14215 hardcode_libdir_flag_spec_CXX='-L$libdir'
14216 allow_undefined_flag_CXX=unsupported
14217 always_export_symbols_CXX=no
14218 enable_shared_with_static_runtimes_CXX=yes
14219
14220 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14221 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'
14222 # If the export-symbols file already is a .def file (1st line
14223 # is EXPORTS), use it as is; otherwise, prepend...
14224 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14225 cp $export_symbols $output_objdir/$soname.def;
14226 else
14227 echo EXPORTS > $output_objdir/$soname.def;
14228 cat $export_symbols >> $output_objdir/$soname.def;
14229 fi~
14230 $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'
14231 else
14232 ld_shlibs_CXX=no
14233 fi
14234 ;;
14235 darwin* | rhapsody*)
14236
14237
14238 archive_cmds_need_lc_CXX=no
14239 hardcode_direct_CXX=no
14240 hardcode_automatic_CXX=yes
14241 hardcode_shlibpath_var_CXX=unsupported
14242 whole_archive_flag_spec_CXX=''
14243 link_all_deplibs_CXX=yes
14244 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14245 case $cc_basename in
14246 ifort*) _lt_dar_can_shared=yes ;;
14247 *) _lt_dar_can_shared=$GCC ;;
14248 esac
14249 if test "$_lt_dar_can_shared" = "yes"; then
14250 output_verbose_link_cmd=echo
14251 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}"
14252 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14253 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}"
14254 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}"
14255 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14256 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}"
14257 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}"
14258 fi
14259
14260 else
14261 ld_shlibs_CXX=no
14262 fi
14263
14264 ;;
14265
14266 dgux*)
14267 case $cc_basename in
14268 ec++*)
14269 # FIXME: insert proper C++ library support
14270 ld_shlibs_CXX=no
14271 ;;
14272 ghcx*)
14273 # Green Hills C++ Compiler
14274 # FIXME: insert proper C++ library support
14275 ld_shlibs_CXX=no
14276 ;;
14277 *)
14278 # FIXME: insert proper C++ library support
14279 ld_shlibs_CXX=no
14280 ;;
14281 esac
14282 ;;
14283
14284 freebsd[12]*)
14285 # C++ shared libraries reported to be fairly broken before
14286 # switch to ELF
14287 ld_shlibs_CXX=no
14288 ;;
14289
14290 freebsd-elf*)
14291 archive_cmds_need_lc_CXX=no
14292 ;;
14293
14294 freebsd* | dragonfly*)
14295 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14296 # conventions
14297 ld_shlibs_CXX=yes
14298 ;;
14299
14300 gnu*)
14301 ;;
14302
14303 hpux9*)
14304 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14305 hardcode_libdir_separator_CXX=:
14306 export_dynamic_flag_spec_CXX='${wl}-E'
14307 hardcode_direct_CXX=yes
14308 hardcode_minus_L_CXX=yes # Not in the search PATH,
14309 # but as the default
14310 # location of the library.
14311
14312 case $cc_basename in
14313 CC*)
14314 # FIXME: insert proper C++ library support
14315 ld_shlibs_CXX=no
14316 ;;
14317 aCC*)
14318 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'
14319 # Commands to make compiler produce verbose output that lists
14320 # what "hidden" libraries, object files and flags are used when
14321 # linking a shared library.
14322 #
14323 # There doesn't appear to be a way to prevent this compiler from
14324 # explicitly linking system object files so we need to strip them
14325 # from the output so that they don't get included in the library
14326 # dependencies.
14327 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'
14328 ;;
14329 *)
14330 if test "$GXX" = yes; then
14331 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'
14332 else
14333 # FIXME: insert proper C++ library support
14334 ld_shlibs_CXX=no
14335 fi
14336 ;;
14337 esac
14338 ;;
14339
14340 hpux10*|hpux11*)
14341 if test $with_gnu_ld = no; then
14342 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14343 hardcode_libdir_separator_CXX=:
14344
14345 case $host_cpu in
14346 hppa*64*|ia64*)
14347 ;;
14348 *)
14349 export_dynamic_flag_spec_CXX='${wl}-E'
14350 ;;
14351 esac
14352 fi
14353 case $host_cpu in
14354 hppa*64*|ia64*)
14355 hardcode_direct_CXX=no
14356 hardcode_shlibpath_var_CXX=no
14357 ;;
14358 *)
14359 hardcode_direct_CXX=yes
14360 hardcode_direct_absolute_CXX=yes
14361 hardcode_minus_L_CXX=yes # Not in the search PATH,
14362 # but as the default
14363 # location of the library.
14364 ;;
14365 esac
14366
14367 case $cc_basename in
14368 CC*)
14369 # FIXME: insert proper C++ library support
14370 ld_shlibs_CXX=no
14371 ;;
14372 aCC*)
14373 case $host_cpu in
14374 hppa*64*)
14375 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14376 ;;
14377 ia64*)
14378 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14379 ;;
14380 *)
14381 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14382 ;;
14383 esac
14384 # Commands to make compiler produce verbose output that lists
14385 # what "hidden" libraries, object files and flags are used when
14386 # linking a shared library.
14387 #
14388 # There doesn't appear to be a way to prevent this compiler from
14389 # explicitly linking system object files so we need to strip them
14390 # from the output so that they don't get included in the library
14391 # dependencies.
14392 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'
14393 ;;
14394 *)
14395 if test "$GXX" = yes; then
14396 if test $with_gnu_ld = no; then
14397 case $host_cpu in
14398 hppa*64*)
14399 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14400 ;;
14401 ia64*)
14402 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14403 ;;
14404 *)
14405 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'
14406 ;;
14407 esac
14408 fi
14409 else
14410 # FIXME: insert proper C++ library support
14411 ld_shlibs_CXX=no
14412 fi
14413 ;;
14414 esac
14415 ;;
14416
14417 interix[3-9]*)
14418 hardcode_direct_CXX=no
14419 hardcode_shlibpath_var_CXX=no
14420 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14421 export_dynamic_flag_spec_CXX='${wl}-E'
14422 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14423 # Instead, shared libraries are loaded at an image base (0x10000000 by
14424 # default) and relocated if they conflict, which is a slow very memory
14425 # consuming and fragmenting process. To avoid this, we pick a random,
14426 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14427 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14428 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'
14429 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'
14430 ;;
14431 irix5* | irix6*)
14432 case $cc_basename in
14433 CC*)
14434 # SGI C++
14435 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'
14436
14437 # Archives containing C++ object files must be created using
14438 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
14439 # necessary to make sure instantiated templates are included
14440 # in the archive.
14441 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14442 ;;
14443 *)
14444 if test "$GXX" = yes; then
14445 if test "$with_gnu_ld" = no; then
14446 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'
14447 else
14448 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'
14449 fi
14450 fi
14451 link_all_deplibs_CXX=yes
14452 ;;
14453 esac
14454 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14455 hardcode_libdir_separator_CXX=:
14456 inherit_rpath_CXX=yes
14457 ;;
14458
14459 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14460 case $cc_basename in
14461 KCC*)
14462 # Kuck and Associates, Inc. (KAI) C++ Compiler
14463
14464 # KCC will only create a shared library if the output file
14465 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14466 # to its proper name (with version) after linking.
14467 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'
14468 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'
14469 # Commands to make compiler produce verbose output that lists
14470 # what "hidden" libraries, object files and flags are used when
14471 # linking a shared library.
14472 #
14473 # There doesn't appear to be a way to prevent this compiler from
14474 # explicitly linking system object files so we need to strip them
14475 # from the output so that they don't get included in the library
14476 # dependencies.
14477 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'
14478
14479 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14480 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14481
14482 # Archives containing C++ object files must be created using
14483 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
14484 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
14485 ;;
14486 icpc* | ecpc* )
14487 # Intel C++
14488 with_gnu_ld=yes
14489 # version 8.0 and above of icpc choke on multiply defined symbols
14490 # if we add $predep_objects and $postdep_objects, however 7.1 and
14491 # earlier do not add the objects themselves.
14492 case `$CC -V 2>&1` in
14493 *"Version 7."*)
14494 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14495 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'
14496 ;;
14497 *) # Version 8.0 or newer
14498 tmp_idyn=
14499 case $host_cpu in
14500 ia64*) tmp_idyn=' -i_dynamic';;
14501 esac
14502 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14503 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'
14504 ;;
14505 esac
14506 archive_cmds_need_lc_CXX=no
14507 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14508 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14509 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14510 ;;
14511 pgCC* | pgcpp*)
14512 # Portland Group C++ compiler
14513 case `$CC -V` in
14514 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
14515 prelink_cmds_CXX='tpldir=Template.dir~
14516 rm -rf $tpldir~
14517 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
14518 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
14519 old_archive_cmds_CXX='tpldir=Template.dir~
14520 rm -rf $tpldir~
14521 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
14522 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
14523 $RANLIB $oldlib'
14524 archive_cmds_CXX='tpldir=Template.dir~
14525 rm -rf $tpldir~
14526 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14527 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14528 archive_expsym_cmds_CXX='tpldir=Template.dir~
14529 rm -rf $tpldir~
14530 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
14531 $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'
14532 ;;
14533 *) # Version 6 will use weak symbols
14534 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
14535 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'
14536 ;;
14537 esac
14538
14539 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
14540 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14541 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'
14542 ;;
14543 cxx*)
14544 # Compaq C++
14545 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14546 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'
14547
14548 runpath_var=LD_RUN_PATH
14549 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14550 hardcode_libdir_separator_CXX=:
14551
14552 # Commands to make compiler produce verbose output that lists
14553 # what "hidden" libraries, object files and flags are used when
14554 # linking a shared library.
14555 #
14556 # There doesn't appear to be a way to prevent this compiler from
14557 # explicitly linking system object files so we need to strip them
14558 # from the output so that they don't get included in the library
14559 # dependencies.
14560 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'
14561 ;;
14562 xl*)
14563 # IBM XL 8.0 on PPC, with GNU ld
14564 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14565 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14566 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14567 if test "x$supports_anon_versioning" = xyes; then
14568 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
14569 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14570 echo "local: *; };" >> $output_objdir/$libname.ver~
14571 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14572 fi
14573 ;;
14574 *)
14575 case `$CC -V 2>&1 | sed 5q` in
14576 *Sun\ C*)
14577 # Sun C++ 5.9
14578 no_undefined_flag_CXX=' -zdefs'
14579 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14580 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'
14581 hardcode_libdir_flag_spec_CXX='-R$libdir'
14582 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'
14583 compiler_needs_object_CXX=yes
14584
14585 # Not sure whether something based on
14586 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
14587 # would be better.
14588 output_verbose_link_cmd='echo'
14589
14590 # Archives containing C++ object files must be created using
14591 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14592 # necessary to make sure instantiated templates are included
14593 # in the archive.
14594 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14595 ;;
14596 esac
14597 ;;
14598 esac
14599 ;;
14600
14601 lynxos*)
14602 # FIXME: insert proper C++ library support
14603 ld_shlibs_CXX=no
14604 ;;
14605
14606 m88k*)
14607 # FIXME: insert proper C++ library support
14608 ld_shlibs_CXX=no
14609 ;;
14610
14611 mvs*)
14612 case $cc_basename in
14613 cxx*)
14614 # FIXME: insert proper C++ library support
14615 ld_shlibs_CXX=no
14616 ;;
14617 *)
14618 # FIXME: insert proper C++ library support
14619 ld_shlibs_CXX=no
14620 ;;
14621 esac
14622 ;;
14623
14624 netbsd*)
14625 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14626 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
14627 wlarc=
14628 hardcode_libdir_flag_spec_CXX='-R$libdir'
14629 hardcode_direct_CXX=yes
14630 hardcode_shlibpath_var_CXX=no
14631 fi
14632 # Workaround some broken pre-1.5 toolchains
14633 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
14634 ;;
14635
14636 *nto* | *qnx*)
14637 ld_shlibs_CXX=yes
14638 ;;
14639
14640 openbsd2*)
14641 # C++ shared libraries are fairly broken
14642 ld_shlibs_CXX=no
14643 ;;
14644
14645 openbsd*)
14646 if test -f /usr/libexec/ld.so; then
14647 hardcode_direct_CXX=yes
14648 hardcode_shlibpath_var_CXX=no
14649 hardcode_direct_absolute_CXX=yes
14650 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14651 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14652 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14653 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
14654 export_dynamic_flag_spec_CXX='${wl}-E'
14655 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14656 fi
14657 output_verbose_link_cmd=echo
14658 else
14659 ld_shlibs_CXX=no
14660 fi
14661 ;;
14662
14663 osf3* | osf4* | osf5*)
14664 case $cc_basename in
14665 KCC*)
14666 # Kuck and Associates, Inc. (KAI) C++ Compiler
14667
14668 # KCC will only create a shared library if the output file
14669 # ends with ".so" (or ".sl" for HP-UX), so rename the library
14670 # to its proper name (with version) after linking.
14671 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'
14672
14673 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
14674 hardcode_libdir_separator_CXX=:
14675
14676 # Archives containing C++ object files must be created using
14677 # the KAI C++ compiler.
14678 case $host in
14679 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
14680 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
14681 esac
14682 ;;
14683 RCC*)
14684 # Rational C++ 2.4.1
14685 # FIXME: insert proper C++ library support
14686 ld_shlibs_CXX=no
14687 ;;
14688 cxx*)
14689 case $host in
14690 osf3*)
14691 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14692 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'
14693 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14694 ;;
14695 *)
14696 allow_undefined_flag_CXX=' -expect_unresolved \*'
14697 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'
14698 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
14699 echo "-hidden">> $lib.exp~
14700 $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~
14701 $RM $lib.exp'
14702 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
14703 ;;
14704 esac
14705
14706 hardcode_libdir_separator_CXX=:
14707
14708 # Commands to make compiler produce verbose output that lists
14709 # what "hidden" libraries, object files and flags are used when
14710 # linking a shared library.
14711 #
14712 # There doesn't appear to be a way to prevent this compiler from
14713 # explicitly linking system object files so we need to strip them
14714 # from the output so that they don't get included in the library
14715 # dependencies.
14716 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'
14717 ;;
14718 *)
14719 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14720 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
14721 case $host in
14722 osf3*)
14723 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'
14724 ;;
14725 *)
14726 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'
14727 ;;
14728 esac
14729
14730 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14731 hardcode_libdir_separator_CXX=:
14732
14733 # Commands to make compiler produce verbose output that lists
14734 # what "hidden" libraries, object files and flags are used when
14735 # linking a shared library.
14736 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14737
14738 else
14739 # FIXME: insert proper C++ library support
14740 ld_shlibs_CXX=no
14741 fi
14742 ;;
14743 esac
14744 ;;
14745
14746 psos*)
14747 # FIXME: insert proper C++ library support
14748 ld_shlibs_CXX=no
14749 ;;
14750
14751 sunos4*)
14752 case $cc_basename in
14753 CC*)
14754 # Sun C++ 4.x
14755 # FIXME: insert proper C++ library support
14756 ld_shlibs_CXX=no
14757 ;;
14758 lcc*)
14759 # Lucid
14760 # FIXME: insert proper C++ library support
14761 ld_shlibs_CXX=no
14762 ;;
14763 *)
14764 # FIXME: insert proper C++ library support
14765 ld_shlibs_CXX=no
14766 ;;
14767 esac
14768 ;;
14769
14770 solaris*)
14771 case $cc_basename in
14772 CC*)
14773 # Sun C++ 4.2, 5.x and Centerline C++
14774 archive_cmds_need_lc_CXX=yes
14775 no_undefined_flag_CXX=' -zdefs'
14776 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14777 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14778 $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'
14779
14780 hardcode_libdir_flag_spec_CXX='-R$libdir'
14781 hardcode_shlibpath_var_CXX=no
14782 case $host_os in
14783 solaris2.[0-5] | solaris2.[0-5].*) ;;
14784 *)
14785 # The compiler driver will combine and reorder linker options,
14786 # but understands `-z linker_flag'.
14787 # Supported since Solaris 2.6 (maybe 2.5.1?)
14788 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
14789 ;;
14790 esac
14791 link_all_deplibs_CXX=yes
14792
14793 output_verbose_link_cmd='echo'
14794
14795 # Archives containing C++ object files must be created using
14796 # "CC -xar", where "CC" is the Sun C++ compiler. This is
14797 # necessary to make sure instantiated templates are included
14798 # in the archive.
14799 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
14800 ;;
14801 gcx*)
14802 # Green Hills C++ Compiler
14803 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14804
14805 # The C++ compiler must be used to create the archive.
14806 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
14807 ;;
14808 *)
14809 # GNU C++ compiler with Solaris linker
14810 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
14811 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
14812 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
14813 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14814 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14815 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14816
14817 # Commands to make compiler produce verbose output that lists
14818 # what "hidden" libraries, object files and flags are used when
14819 # linking a shared library.
14820 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14821 else
14822 # g++ 2.7 appears to require `-G' NOT `-shared' on this
14823 # platform.
14824 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
14825 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14826 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
14827
14828 # Commands to make compiler produce verbose output that lists
14829 # what "hidden" libraries, object files and flags are used when
14830 # linking a shared library.
14831 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14832 fi
14833
14834 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
14835 case $host_os in
14836 solaris2.[0-5] | solaris2.[0-5].*) ;;
14837 *)
14838 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
14839 ;;
14840 esac
14841 fi
14842 ;;
14843 esac
14844 ;;
14845
14846 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
14847 no_undefined_flag_CXX='${wl}-z,text'
14848 archive_cmds_need_lc_CXX=no
14849 hardcode_shlibpath_var_CXX=no
14850 runpath_var='LD_RUN_PATH'
14851
14852 case $cc_basename in
14853 CC*)
14854 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14855 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14856 ;;
14857 *)
14858 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14859 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14860 ;;
14861 esac
14862 ;;
14863
14864 sysv5* | sco3.2v5* | sco5v6*)
14865 # Note: We can NOT use -z defs as we might desire, because we do not
14866 # link with -lc, and that would cause any symbols used from libc to
14867 # always be unresolved, which means just about no library would
14868 # ever link correctly. If we're not using GNU ld we use -z text
14869 # though, which does catch some bad symbols but isn't as heavy-handed
14870 # as -z defs.
14871 no_undefined_flag_CXX='${wl}-z,text'
14872 allow_undefined_flag_CXX='${wl}-z,nodefs'
14873 archive_cmds_need_lc_CXX=no
14874 hardcode_shlibpath_var_CXX=no
14875 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
14876 hardcode_libdir_separator_CXX=':'
14877 link_all_deplibs_CXX=yes
14878 export_dynamic_flag_spec_CXX='${wl}-Bexport'
14879 runpath_var='LD_RUN_PATH'
14880
14881 case $cc_basename in
14882 CC*)
14883 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14884 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14885 ;;
14886 *)
14887 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14888 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
14889 ;;
14890 esac
14891 ;;
14892
14893 tandem*)
14894 case $cc_basename in
14895 NCC*)
14896 # NonStop-UX NCC 3.20
14897 # FIXME: insert proper C++ library support
14898 ld_shlibs_CXX=no
14899 ;;
14900 *)
14901 # FIXME: insert proper C++ library support
14902 ld_shlibs_CXX=no
14903 ;;
14904 esac
14905 ;;
14906
14907 vxworks*)
14908 # FIXME: insert proper C++ library support
14909 ld_shlibs_CXX=no
14910 ;;
14911
14912 *)
14913 # FIXME: insert proper C++ library support
14914 ld_shlibs_CXX=no
14915 ;;
14916 esac
14917
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14919$as_echo "$ld_shlibs_CXX" >&6; }
14920 test "$ld_shlibs_CXX" = no && can_build_shared=no
14921
14922 GCC_CXX="$GXX"
14923 LD_CXX="$LD"
14924
14925 ## CAVEAT EMPTOR:
14926 ## There is no encapsulation within the following macros, do not change
14927 ## the running order or otherwise move them around unless you know exactly
14928 ## what you are doing...
14929 # Dependencies to place before and after the object being linked:
14930predep_objects_CXX=
14931postdep_objects_CXX=
14932predeps_CXX=
14933postdeps_CXX=
14934compiler_lib_search_path_CXX=
14935
14936cat > conftest.$ac_ext <<_LT_EOF
14937class Foo
14938{
14939public:
14940 Foo (void) { a = 0; }
14941private:
14942 int a;
14943};
14944_LT_EOF
14945
14946if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14947 (eval $ac_compile) 2>&5
14948 ac_status=$?
14949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14950 test $ac_status = 0; }; then
14951 # Parse the compiler output and extract the necessary
14952 # objects, libraries and library flags.
14953
14954 # Sentinel used to keep track of whether or not we are before
14955 # the conftest object file.
14956 pre_test_object_deps_done=no
14957
14958 for p in `eval "$output_verbose_link_cmd"`; do
14959 case $p in
14960
14961 -L* | -R* | -l*)
14962 # Some compilers place space between "-{L,R}" and the path.
14963 # Remove the space.
14964 if test $p = "-L" ||
14965 test $p = "-R"; then
14966 prev=$p
14967 continue
14968 else
14969 prev=
14970 fi
14971
14972 if test "$pre_test_object_deps_done" = no; then
14973 case $p in
14974 -L* | -R*)
14975 # Internal compiler library paths should come after those
14976 # provided the user. The postdeps already come after the
14977 # user supplied libs so there is no need to process them.
14978 if test -z "$compiler_lib_search_path_CXX"; then
14979 compiler_lib_search_path_CXX="${prev}${p}"
14980 else
14981 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14982 fi
14983 ;;
14984 # The "-l" case would never come before the object being
14985 # linked, so don't bother handling this case.
14986 esac
14987 else
14988 if test -z "$postdeps_CXX"; then
14989 postdeps_CXX="${prev}${p}"
14990 else
14991 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14992 fi
14993 fi
14994 ;;
14995
14996 *.$objext)
14997 # This assumes that the test object file only shows up
14998 # once in the compiler output.
14999 if test "$p" = "conftest.$objext"; then
15000 pre_test_object_deps_done=yes
15001 continue
15002 fi
15003
15004 if test "$pre_test_object_deps_done" = no; then
15005 if test -z "$predep_objects_CXX"; then
15006 predep_objects_CXX="$p"
15007 else
15008 predep_objects_CXX="$predep_objects_CXX $p"
15009 fi
15010 else
15011 if test -z "$postdep_objects_CXX"; then
15012 postdep_objects_CXX="$p"
15013 else
15014 postdep_objects_CXX="$postdep_objects_CXX $p"
15015 fi
15016 fi
15017 ;;
15018
15019 *) ;; # Ignore the rest.
15020
15021 esac
15022 done
15023
15024 # Clean up.
15025 rm -f a.out a.exe
15026else
15027 echo "libtool.m4: error: problem compiling CXX test program"
15028fi
15029
15030$RM -f confest.$objext
15031
15032# PORTME: override above test on systems where it is broken
15033case $host_os in
15034interix[3-9]*)
15035 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15036 # hack all around it, let's just trust "g++" to DTRT.
15037 predep_objects_CXX=
15038 postdep_objects_CXX=
15039 postdeps_CXX=
15040 ;;
15041
15042linux*)
15043 case `$CC -V 2>&1 | sed 5q` in
15044 *Sun\ C*)
15045 # Sun C++ 5.9
15046
15047 # The more standards-conforming stlport4 library is
15048 # incompatible with the Cstd library. Avoid specifying
15049 # it if it's in CXXFLAGS. Ignore libCrun as
15050 # -library=stlport4 depends on it.
15051 case " $CXX $CXXFLAGS " in
15052 *" -library=stlport4 "*)
15053 solaris_use_stlport4=yes
15054 ;;
15055 esac
15056
15057 if test "$solaris_use_stlport4" != yes; then
15058 postdeps_CXX='-library=Cstd -library=Crun'
15059 fi
15060 ;;
15061 esac
15062 ;;
15063
15064solaris*)
15065 case $cc_basename in
15066 CC*)
15067 # The more standards-conforming stlport4 library is
15068 # incompatible with the Cstd library. Avoid specifying
15069 # it if it's in CXXFLAGS. Ignore libCrun as
15070 # -library=stlport4 depends on it.
15071 case " $CXX $CXXFLAGS " in
15072 *" -library=stlport4 "*)
15073 solaris_use_stlport4=yes
15074 ;;
15075 esac
15076
15077 # Adding this requires a known-good setup of shared libraries for
15078 # Sun compiler versions before 5.6, else PIC objects from an old
15079 # archive will be linked into the output, leading to subtle bugs.
15080 if test "$solaris_use_stlport4" != yes; then
15081 postdeps_CXX='-library=Cstd -library=Crun'
15082 fi
15083 ;;
15084 esac
15085 ;;
15086esac
15087
15088
15089case " $postdeps_CXX " in
15090*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15091esac
15092 compiler_lib_search_dirs_CXX=
15093if test -n "${compiler_lib_search_path_CXX}"; then
15094 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15095fi
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127 lt_prog_compiler_wl_CXX=
15128lt_prog_compiler_pic_CXX=
15129lt_prog_compiler_static_CXX=
15130
15131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15132$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15133
15134 # C++ specific cases for pic, static, wl, etc.
15135 if test "$GXX" = yes; then
15136 lt_prog_compiler_wl_CXX='-Wl,'
15137 lt_prog_compiler_static_CXX='-static'
15138
15139 case $host_os in
15140 aix*)
15141 # All AIX code is PIC.
15142 if test "$host_cpu" = ia64; then
15143 # AIX 5 now supports IA64 processor
15144 lt_prog_compiler_static_CXX='-Bstatic'
15145 fi
15146 ;;
15147
15148 amigaos*)
15149 case $host_cpu in
15150 powerpc)
15151 # see comment about AmigaOS4 .so support
15152 lt_prog_compiler_pic_CXX='-fPIC'
15153 ;;
15154 m68k)
15155 # FIXME: we need at least 68020 code to build shared libraries, but
15156 # adding the `-m68020' flag to GCC prevents building anything better,
15157 # like `-m68040'.
15158 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15159 ;;
15160 esac
15161 ;;
15162
15163 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15164 # PIC is the default for these OSes.
15165 ;;
15166 mingw* | cygwin* | os2* | pw32* | cegcc*)
15167 # This hack is so that the source file can tell whether it is being
15168 # built for inclusion in a dll (and should export symbols for example).
15169 # Although the cygwin gcc ignores -fPIC, still need this for old-style
15170 # (--disable-auto-import) libraries
15171 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15172 ;;
15173 darwin* | rhapsody*)
15174 # PIC is the default on this platform
15175 # Common symbols not allowed in MH_DYLIB files
15176 lt_prog_compiler_pic_CXX='-fno-common'
15177 ;;
15178 *djgpp*)
15179 # DJGPP does not support shared libraries at all
15180 lt_prog_compiler_pic_CXX=
15181 ;;
15182 interix[3-9]*)
15183 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15184 # Instead, we relocate shared libraries at runtime.
15185 ;;
15186 sysv4*MP*)
15187 if test -d /usr/nec; then
15188 lt_prog_compiler_pic_CXX=-Kconform_pic
15189 fi
15190 ;;
15191 hpux*)
15192 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15193 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15194 # sets the default TLS model and affects inlining.
15195 case $host_cpu in
15196 hppa*64*)
15197 ;;
15198 *)
15199 lt_prog_compiler_pic_CXX='-fPIC'
15200 ;;
15201 esac
15202 ;;
15203 *qnx* | *nto*)
15204 # QNX uses GNU C++, but need to define -shared option too, otherwise
15205 # it will coredump.
15206 lt_prog_compiler_pic_CXX='-fPIC -shared'
15207 ;;
15208 *)
15209 lt_prog_compiler_pic_CXX='-fPIC'
15210 ;;
15211 esac
15212 else
15213 case $host_os in
15214 aix[4-9]*)
15215 # All AIX code is PIC.
15216 if test "$host_cpu" = ia64; then
15217 # AIX 5 now supports IA64 processor
15218 lt_prog_compiler_static_CXX='-Bstatic'
15219 else
15220 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15221 fi
15222 ;;
15223 chorus*)
15224 case $cc_basename in
15225 cxch68*)
15226 # Green Hills C++ Compiler
15227 # _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"
15228 ;;
15229 esac
15230 ;;
15231 dgux*)
15232 case $cc_basename in
15233 ec++*)
15234 lt_prog_compiler_pic_CXX='-KPIC'
15235 ;;
15236 ghcx*)
15237 # Green Hills C++ Compiler
15238 lt_prog_compiler_pic_CXX='-pic'
15239 ;;
15240 *)
15241 ;;
15242 esac
15243 ;;
15244 freebsd* | dragonfly*)
15245 # FreeBSD uses GNU C++
15246 ;;
15247 hpux9* | hpux10* | hpux11*)
15248 case $cc_basename in
15249 CC*)
15250 lt_prog_compiler_wl_CXX='-Wl,'
15251 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15252 if test "$host_cpu" != ia64; then
15253 lt_prog_compiler_pic_CXX='+Z'
15254 fi
15255 ;;
15256 aCC*)
15257 lt_prog_compiler_wl_CXX='-Wl,'
15258 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15259 case $host_cpu in
15260 hppa*64*|ia64*)
15261 # +Z the default
15262 ;;
15263 *)
15264 lt_prog_compiler_pic_CXX='+Z'
15265 ;;
15266 esac
15267 ;;
15268 *)
15269 ;;
15270 esac
15271 ;;
15272 interix*)
15273 # This is c89, which is MS Visual C++ (no shared libs)
15274 # Anyone wants to do a port?
15275 ;;
15276 irix5* | irix6* | nonstopux*)
15277 case $cc_basename in
15278 CC*)
15279 lt_prog_compiler_wl_CXX='-Wl,'
15280 lt_prog_compiler_static_CXX='-non_shared'
15281 # CC pic flag -KPIC is the default.
15282 ;;
15283 *)
15284 ;;
15285 esac
15286 ;;
15287 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15288 case $cc_basename in
15289 KCC*)
15290 # KAI C++ Compiler
15291 lt_prog_compiler_wl_CXX='--backend -Wl,'
15292 lt_prog_compiler_pic_CXX='-fPIC'
15293 ;;
15294 ecpc* )
15295 # old Intel C++ for x86_64 which still supported -KPIC.
15296 lt_prog_compiler_wl_CXX='-Wl,'
15297 lt_prog_compiler_pic_CXX='-KPIC'
15298 lt_prog_compiler_static_CXX='-static'
15299 ;;
15300 icpc* )
15301 # Intel C++, used to be incompatible with GCC.
15302 # ICC 10 doesn't accept -KPIC any more.
15303 lt_prog_compiler_wl_CXX='-Wl,'
15304 lt_prog_compiler_pic_CXX='-fPIC'
15305 lt_prog_compiler_static_CXX='-static'
15306 ;;
15307 pgCC* | pgcpp*)
15308 # Portland Group C++ compiler
15309 lt_prog_compiler_wl_CXX='-Wl,'
15310 lt_prog_compiler_pic_CXX='-fpic'
15311 lt_prog_compiler_static_CXX='-Bstatic'
15312 ;;
15313 cxx*)
15314 # Compaq C++
15315 # Make sure the PIC flag is empty. It appears that all Alpha
15316 # Linux and Compaq Tru64 Unix objects are PIC.
15317 lt_prog_compiler_pic_CXX=
15318 lt_prog_compiler_static_CXX='-non_shared'
15319 ;;
15320 xlc* | xlC*)
15321 # IBM XL 8.0 on PPC
15322 lt_prog_compiler_wl_CXX='-Wl,'
15323 lt_prog_compiler_pic_CXX='-qpic'
15324 lt_prog_compiler_static_CXX='-qstaticlink'
15325 ;;
15326 *)
15327 case `$CC -V 2>&1 | sed 5q` in
15328 *Sun\ C*)
15329 # Sun C++ 5.9
15330 lt_prog_compiler_pic_CXX='-KPIC'
15331 lt_prog_compiler_static_CXX='-Bstatic'
15332 lt_prog_compiler_wl_CXX='-Qoption ld '
15333 ;;
15334 esac
15335 ;;
15336 esac
15337 ;;
15338 lynxos*)
15339 ;;
15340 m88k*)
15341 ;;
15342 mvs*)
15343 case $cc_basename in
15344 cxx*)
15345 lt_prog_compiler_pic_CXX='-W c,exportall'
15346 ;;
15347 *)
15348 ;;
15349 esac
15350 ;;
15351 netbsd* | netbsdelf*-gnu)
15352 ;;
15353 *qnx* | *nto*)
15354 # QNX uses GNU C++, but need to define -shared option too, otherwise
15355 # it will coredump.
15356 lt_prog_compiler_pic_CXX='-fPIC -shared'
15357 ;;
15358 osf3* | osf4* | osf5*)
15359 case $cc_basename in
15360 KCC*)
15361 lt_prog_compiler_wl_CXX='--backend -Wl,'
15362 ;;
15363 RCC*)
15364 # Rational C++ 2.4.1
15365 lt_prog_compiler_pic_CXX='-pic'
15366 ;;
15367 cxx*)
15368 # Digital/Compaq C++
15369 lt_prog_compiler_wl_CXX='-Wl,'
15370 # Make sure the PIC flag is empty. It appears that all Alpha
15371 # Linux and Compaq Tru64 Unix objects are PIC.
15372 lt_prog_compiler_pic_CXX=
15373 lt_prog_compiler_static_CXX='-non_shared'
15374 ;;
15375 *)
15376 ;;
15377 esac
15378 ;;
15379 psos*)
15380 ;;
15381 solaris*)
15382 case $cc_basename in
15383 CC*)
15384 # Sun C++ 4.2, 5.x and Centerline C++
15385 lt_prog_compiler_pic_CXX='-KPIC'
15386 lt_prog_compiler_static_CXX='-Bstatic'
15387 lt_prog_compiler_wl_CXX='-Qoption ld '
15388 ;;
15389 gcx*)
15390 # Green Hills C++ Compiler
15391 lt_prog_compiler_pic_CXX='-PIC'
15392 ;;
15393 *)
15394 ;;
15395 esac
15396 ;;
15397 sunos4*)
15398 case $cc_basename in
15399 CC*)
15400 # Sun C++ 4.x
15401 lt_prog_compiler_pic_CXX='-pic'
15402 lt_prog_compiler_static_CXX='-Bstatic'
15403 ;;
15404 lcc*)
15405 # Lucid
15406 lt_prog_compiler_pic_CXX='-pic'
15407 ;;
15408 *)
15409 ;;
15410 esac
15411 ;;
15412 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15413 case $cc_basename in
15414 CC*)
15415 lt_prog_compiler_wl_CXX='-Wl,'
15416 lt_prog_compiler_pic_CXX='-KPIC'
15417 lt_prog_compiler_static_CXX='-Bstatic'
15418 ;;
15419 esac
15420 ;;
15421 tandem*)
15422 case $cc_basename in
15423 NCC*)
15424 # NonStop-UX NCC 3.20
15425 lt_prog_compiler_pic_CXX='-KPIC'
15426 ;;
15427 *)
15428 ;;
15429 esac
15430 ;;
15431 vxworks*)
15432 ;;
15433 *)
15434 lt_prog_compiler_can_build_shared_CXX=no
15435 ;;
15436 esac
15437 fi
15438
15439case $host_os in
15440 # For platforms which do not support PIC, -DPIC is meaningless:
15441 *djgpp*)
15442 lt_prog_compiler_pic_CXX=
15443 ;;
15444 *)
15445 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15446 ;;
15447esac
15448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
15449$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
15450
15451
15452
15453#
15454# Check to make sure the PIC flag actually works.
15455#
15456if test -n "$lt_prog_compiler_pic_CXX"; then
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15458$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15459if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
15460 $as_echo_n "(cached) " >&6
15461else
15462 lt_cv_prog_compiler_pic_works_CXX=no
15463 ac_outfile=conftest.$ac_objext
15464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15465 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
15466 # Insert the option either (1) after the last *FLAGS variable, or
15467 # (2) before a word containing "conftest.", or (3) at the end.
15468 # Note that $ac_compile itself does not contain backslashes and begins
15469 # with a dollar sign (not a hyphen), so the echo should work correctly.
15470 # The option is referenced via a variable to avoid confusing sed.
15471 lt_compile=`echo "$ac_compile" | $SED \
15472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15474 -e 's:$: $lt_compiler_flag:'`
15475 (eval echo "\"\$as_me:15475: $lt_compile\"" >&5)
15476 (eval "$lt_compile" 2>conftest.err)
15477 ac_status=$?
15478 cat conftest.err >&5
15479 echo "$as_me:15479: \$? = $ac_status" >&5
15480 if (exit $ac_status) && test -s "$ac_outfile"; then
15481 # The compiler can only warn and ignore the option if not recognized
15482 # So say no if there are warnings other than the usual output.
15483 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
15484 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15485 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
15486 lt_cv_prog_compiler_pic_works_CXX=yes
15487 fi
15488 fi
15489 $RM conftest*
15490
15491fi
15492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
15493$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
15494
15495if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
15496 case $lt_prog_compiler_pic_CXX in
15497 "" | " "*) ;;
15498 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
15499 esac
15500else
15501 lt_prog_compiler_pic_CXX=
15502 lt_prog_compiler_can_build_shared_CXX=no
15503fi
15504
15505fi
15506
15507
15508
15509#
15510# Check to make sure the static flag actually works.
15511#
15512wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
15513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
15514$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
15515if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
15516 $as_echo_n "(cached) " >&6
15517else
15518 lt_cv_prog_compiler_static_works_CXX=no
15519 save_LDFLAGS="$LDFLAGS"
15520 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
15521 echo "$lt_simple_link_test_code" > conftest.$ac_ext
15522 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
15523 # The linker can only warn and ignore the option if not recognized
15524 # So say no if there are warnings
15525 if test -s conftest.err; then
15526 # Append any errors to the config.log.
15527 cat conftest.err 1>&5
15528 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
15529 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
15530 if diff conftest.exp conftest.er2 >/dev/null; then
15531 lt_cv_prog_compiler_static_works_CXX=yes
15532 fi
15533 else
15534 lt_cv_prog_compiler_static_works_CXX=yes
15535 fi
15536 fi
15537 $RM -r conftest*
15538 LDFLAGS="$save_LDFLAGS"
15539
15540fi
15541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
15542$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
15543
15544if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
15545 :
15546else
15547 lt_prog_compiler_static_CXX=
15548fi
15549
15550
15551
15552
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15554$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15555if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15556 $as_echo_n "(cached) " >&6
15557else
15558 lt_cv_prog_compiler_c_o_CXX=no
15559 $RM -r conftest 2>/dev/null
15560 mkdir conftest
15561 cd conftest
15562 mkdir out
15563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15564
15565 lt_compiler_flag="-o out/conftest2.$ac_objext"
15566 # Insert the option either (1) after the last *FLAGS variable, or
15567 # (2) before a word containing "conftest.", or (3) at the end.
15568 # Note that $ac_compile itself does not contain backslashes and begins
15569 # with a dollar sign (not a hyphen), so the echo should work correctly.
15570 lt_compile=`echo "$ac_compile" | $SED \
15571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15573 -e 's:$: $lt_compiler_flag:'`
15574 (eval echo "\"\$as_me:15574: $lt_compile\"" >&5)
15575 (eval "$lt_compile" 2>out/conftest.err)
15576 ac_status=$?
15577 cat out/conftest.err >&5
15578 echo "$as_me:15578: \$? = $ac_status" >&5
15579 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15580 then
15581 # The compiler can only warn and ignore the option if not recognized
15582 # So say no if there are warnings
15583 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15584 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15585 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15586 lt_cv_prog_compiler_c_o_CXX=yes
15587 fi
15588 fi
15589 chmod u+w . 2>&5
15590 $RM conftest*
15591 # SGI C++ compiler will create directory out/ii_files/ for
15592 # template instantiation
15593 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15594 $RM out/* && rmdir out
15595 cd ..
15596 $RM -r conftest
15597 $RM conftest*
15598
15599fi
15600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15601$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15602
15603
15604
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
15606$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
15607if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
15608 $as_echo_n "(cached) " >&6
15609else
15610 lt_cv_prog_compiler_c_o_CXX=no
15611 $RM -r conftest 2>/dev/null
15612 mkdir conftest
15613 cd conftest
15614 mkdir out
15615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15616
15617 lt_compiler_flag="-o out/conftest2.$ac_objext"
15618 # Insert the option either (1) after the last *FLAGS variable, or
15619 # (2) before a word containing "conftest.", or (3) at the end.
15620 # Note that $ac_compile itself does not contain backslashes and begins
15621 # with a dollar sign (not a hyphen), so the echo should work correctly.
15622 lt_compile=`echo "$ac_compile" | $SED \
15623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15625 -e 's:$: $lt_compiler_flag:'`
15626 (eval echo "\"\$as_me:15626: $lt_compile\"" >&5)
15627 (eval "$lt_compile" 2>out/conftest.err)
15628 ac_status=$?
15629 cat out/conftest.err >&5
15630 echo "$as_me:15630: \$? = $ac_status" >&5
15631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15632 then
15633 # The compiler can only warn and ignore the option if not recognized
15634 # So say no if there are warnings
15635 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
15636 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
15637 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15638 lt_cv_prog_compiler_c_o_CXX=yes
15639 fi
15640 fi
15641 chmod u+w . 2>&5
15642 $RM conftest*
15643 # SGI C++ compiler will create directory out/ii_files/ for
15644 # template instantiation
15645 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
15646 $RM out/* && rmdir out
15647 cd ..
15648 $RM -r conftest
15649 $RM conftest*
15650
15651fi
15652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
15653$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
15654
15655
15656
15657
15658hard_links="nottested"
15659if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
15660 # do not overwrite the value of need_locks provided by the user
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
15662$as_echo_n "checking if we can lock with hard links... " >&6; }
15663 hard_links=yes
15664 $RM conftest*
15665 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15666 touch conftest.a
15667 ln conftest.a conftest.b 2>&5 || hard_links=no
15668 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
15670$as_echo "$hard_links" >&6; }
15671 if test "$hard_links" = no; then
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15673$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15674 need_locks=warn
15675 fi
15676else
15677 need_locks=no
15678fi
15679
15680
15681
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15683$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15684
15685 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15686 case $host_os in
15687 aix[4-9]*)
15688 # If we're using GNU nm, then we don't want the "-C" option.
15689 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15690 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
15691 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'
15692 else
15693 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'
15694 fi
15695 ;;
15696 pw32*)
15697 export_symbols_cmds_CXX="$ltdll_cmds"
15698 ;;
15699 cygwin* | mingw* | cegcc*)
15700 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'
15701 ;;
15702 linux* | k*bsd*-gnu)
15703 link_all_deplibs_CXX=no
15704 ;;
15705 *)
15706 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15707 ;;
15708 esac
15709 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
15710
15711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15712$as_echo "$ld_shlibs_CXX" >&6; }
15713test "$ld_shlibs_CXX" = no && can_build_shared=no
15714
15715with_gnu_ld_CXX=$with_gnu_ld
15716
15717
15718
15719
15720
15721
15722#
15723# Do we need to explicitly link libc?
15724#
15725case "x$archive_cmds_need_lc_CXX" in
15726x|xyes)
15727 # Assume -lc should be added
15728 archive_cmds_need_lc_CXX=yes
15729
15730 if test "$enable_shared" = yes && test "$GCC" = yes; then
15731 case $archive_cmds_CXX in
15732 *'~'*)
15733 # FIXME: we may have to deal with multi-command sequences.
15734 ;;
15735 '$CC '*)
15736 # Test whether the compiler implicitly links with -lc since on some
15737 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15738 # to ld, don't add -lc before -lgcc.
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15740$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15741 $RM conftest*
15742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15743
15744 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15745 (eval $ac_compile) 2>&5
15746 ac_status=$?
15747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15748 test $ac_status = 0; } 2>conftest.err; then
15749 soname=conftest
15750 lib=conftest
15751 libobjs=conftest.$ac_objext
15752 deplibs=
15753 wl=$lt_prog_compiler_wl_CXX
15754 pic_flag=$lt_prog_compiler_pic_CXX
15755 compiler_flags=-v
15756 linker_flags=-v
15757 verstring=
15758 output_objdir=.
15759 libname=conftest
15760 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
15761 allow_undefined_flag_CXX=
15762 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15763 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
15764 ac_status=$?
15765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15766 test $ac_status = 0; }
15767 then
15768 archive_cmds_need_lc_CXX=no
15769 else
15770 archive_cmds_need_lc_CXX=yes
15771 fi
15772 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
15773 else
15774 cat conftest.err 1>&5
15775 fi
15776 $RM conftest*
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
15778$as_echo "$archive_cmds_need_lc_CXX" >&6; }
15779 ;;
15780 esac
15781 fi
15782 ;;
15783esac
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15849$as_echo_n "checking dynamic linker characteristics... " >&6; }
15850
15851library_names_spec=
15852libname_spec='lib$name'
15853soname_spec=
15854shrext_cmds=".so"
15855postinstall_cmds=
15856postuninstall_cmds=
15857finish_cmds=
15858finish_eval=
15859shlibpath_var=
15860shlibpath_overrides_runpath=unknown
15861version_type=none
15862dynamic_linker="$host_os ld.so"
15863sys_lib_dlsearch_path_spec="/lib /usr/lib"
15864need_lib_prefix=unknown
15865hardcode_into_libs=no
15866
15867# when you set need_version to no, make sure it does not cause -set_version
15868# flags to be left without arguments
15869need_version=unknown
15870
15871case $host_os in
15872aix3*)
15873 version_type=linux
15874 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15875 shlibpath_var=LIBPATH
15876
15877 # AIX 3 has no versioning support, so we append a major version to the name.
15878 soname_spec='${libname}${release}${shared_ext}$major'
15879 ;;
15880
15881aix[4-9]*)
15882 version_type=linux
15883 need_lib_prefix=no
15884 need_version=no
15885 hardcode_into_libs=yes
15886 if test "$host_cpu" = ia64; then
15887 # AIX 5 supports IA64
15888 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15889 shlibpath_var=LD_LIBRARY_PATH
15890 else
15891 # With GCC up to 2.95.x, collect2 would create an import file
15892 # for dependence libraries. The import file would start with
15893 # the line `#! .'. This would cause the generated library to
15894 # depend on `.', always an invalid library. This was fixed in
15895 # development snapshots of GCC prior to 3.0.
15896 case $host_os in
15897 aix4 | aix4.[01] | aix4.[01].*)
15898 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15899 echo ' yes '
15900 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15901 :
15902 else
15903 can_build_shared=no
15904 fi
15905 ;;
15906 esac
15907 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15908 # soname into executable. Probably we can add versioning support to
15909 # collect2, so additional links can be useful in future.
15910 if test "$aix_use_runtimelinking" = yes; then
15911 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15912 # instead of lib<name>.a to let people know that these are not
15913 # typical AIX shared libraries.
15914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15915 else
15916 # We preserve .a as extension for shared libraries through AIX4.2
15917 # and later when we are not doing run time linking.
15918 library_names_spec='${libname}${release}.a $libname.a'
15919 soname_spec='${libname}${release}${shared_ext}$major'
15920 fi
15921 shlibpath_var=LIBPATH
15922 fi
15923 ;;
15924
15925amigaos*)
15926 case $host_cpu in
15927 powerpc)
15928 # Since July 2007 AmigaOS4 officially supports .so libraries.
15929 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15930 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15931 ;;
15932 m68k)
15933 library_names_spec='$libname.ixlibrary $libname.a'
15934 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15935 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'
15936 ;;
15937 esac
15938 ;;
15939
15940beos*)
15941 library_names_spec='${libname}${shared_ext}'
15942 dynamic_linker="$host_os ld.so"
15943 shlibpath_var=LIBRARY_PATH
15944 ;;
15945
15946bsdi[45]*)
15947 version_type=linux
15948 need_version=no
15949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15950 soname_spec='${libname}${release}${shared_ext}$major'
15951 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15952 shlibpath_var=LD_LIBRARY_PATH
15953 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15954 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15955 # the default ld.so.conf also contains /usr/contrib/lib and
15956 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15957 # libtool to hard-code these into programs
15958 ;;
15959
15960cygwin* | mingw* | pw32* | cegcc*)
15961 version_type=windows
15962 shrext_cmds=".dll"
15963 need_version=no
15964 need_lib_prefix=no
15965
15966 case $GCC,$host_os in
15967 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
15968 library_names_spec='$libname.dll.a'
15969 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15970 postinstall_cmds='base_file=`basename \${file}`~
15971 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15972 dldir=$destdir/`dirname \$dlpath`~
15973 test -d \$dldir || mkdir -p \$dldir~
15974 $install_prog $dir/$dlname \$dldir/$dlname~
15975 chmod a+x \$dldir/$dlname~
15976 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15977 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15978 fi'
15979 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15980 dlpath=$dir/\$dldll~
15981 $RM \$dlpath'
15982 shlibpath_overrides_runpath=yes
15983
15984 case $host_os in
15985 cygwin*)
15986 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15987 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15988 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15989 ;;
15990 mingw* | cegcc*)
15991 # MinGW DLLs use traditional 'lib' prefix
15992 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15993 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15994 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15995 # It is most probably a Windows format PATH printed by
15996 # mingw gcc, but we are running on Cygwin. Gcc prints its search
15997 # path with ; separators, and with drive letters. We can handle the
15998 # drive letters (cygwin fileutils understands them), so leave them,
15999 # especially as we might pass files found there to a mingw objdump,
16000 # which wouldn't understand a cygwinified path. Ahh.
16001 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16002 else
16003 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16004 fi
16005 ;;
16006 pw32*)
16007 # pw32 DLLs use 'pw' prefix rather than 'lib'
16008 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16009 ;;
16010 esac
16011 ;;
16012
16013 *)
16014 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16015 ;;
16016 esac
16017 dynamic_linker='Win32 ld.exe'
16018 # FIXME: first we should search . and the directory the executable is in
16019 shlibpath_var=PATH
16020 ;;
16021
16022darwin* | rhapsody*)
16023 dynamic_linker="$host_os dyld"
16024 version_type=darwin
16025 need_lib_prefix=no
16026 need_version=no
16027 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16028 soname_spec='${libname}${release}${major}$shared_ext'
16029 shlibpath_overrides_runpath=yes
16030 shlibpath_var=DYLD_LIBRARY_PATH
16031 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16032
16033 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16034 ;;
16035
16036dgux*)
16037 version_type=linux
16038 need_lib_prefix=no
16039 need_version=no
16040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16041 soname_spec='${libname}${release}${shared_ext}$major'
16042 shlibpath_var=LD_LIBRARY_PATH
16043 ;;
16044
16045freebsd1*)
16046 dynamic_linker=no
16047 ;;
16048
16049freebsd* | dragonfly*)
16050 # DragonFly does not have aout. When/if they implement a new
16051 # versioning mechanism, adjust this.
16052 if test -x /usr/bin/objformat; then
16053 objformat=`/usr/bin/objformat`
16054 else
16055 case $host_os in
16056 freebsd[123]*) objformat=aout ;;
16057 *) objformat=elf ;;
16058 esac
16059 fi
16060 version_type=freebsd-$objformat
16061 case $version_type in
16062 freebsd-elf*)
16063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16064 need_version=no
16065 need_lib_prefix=no
16066 ;;
16067 freebsd-*)
16068 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16069 need_version=yes
16070 ;;
16071 esac
16072 shlibpath_var=LD_LIBRARY_PATH
16073 case $host_os in
16074 freebsd2*)
16075 shlibpath_overrides_runpath=yes
16076 ;;
16077 freebsd3.[01]* | freebsdelf3.[01]*)
16078 shlibpath_overrides_runpath=yes
16079 hardcode_into_libs=yes
16080 ;;
16081 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16082 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16083 shlibpath_overrides_runpath=no
16084 hardcode_into_libs=yes
16085 ;;
16086 *) # from 4.6 on, and DragonFly
16087 shlibpath_overrides_runpath=yes
16088 hardcode_into_libs=yes
16089 ;;
16090 esac
16091 ;;
16092
16093gnu*)
16094 version_type=linux
16095 need_lib_prefix=no
16096 need_version=no
16097 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16098 soname_spec='${libname}${release}${shared_ext}$major'
16099 shlibpath_var=LD_LIBRARY_PATH
16100 hardcode_into_libs=yes
16101 ;;
16102
16103hpux9* | hpux10* | hpux11*)
16104 # Give a soname corresponding to the major version so that dld.sl refuses to
16105 # link against other versions.
16106 version_type=sunos
16107 need_lib_prefix=no
16108 need_version=no
16109 case $host_cpu in
16110 ia64*)
16111 shrext_cmds='.so'
16112 hardcode_into_libs=yes
16113 dynamic_linker="$host_os dld.so"
16114 shlibpath_var=LD_LIBRARY_PATH
16115 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16117 soname_spec='${libname}${release}${shared_ext}$major'
16118 if test "X$HPUX_IA64_MODE" = X32; then
16119 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16120 else
16121 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16122 fi
16123 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16124 ;;
16125 hppa*64*)
16126 shrext_cmds='.sl'
16127 hardcode_into_libs=yes
16128 dynamic_linker="$host_os dld.sl"
16129 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16130 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16132 soname_spec='${libname}${release}${shared_ext}$major'
16133 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16134 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16135 ;;
16136 *)
16137 shrext_cmds='.sl'
16138 dynamic_linker="$host_os dld.sl"
16139 shlibpath_var=SHLIB_PATH
16140 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16142 soname_spec='${libname}${release}${shared_ext}$major'
16143 ;;
16144 esac
16145 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16146 postinstall_cmds='chmod 555 $lib'
16147 ;;
16148
16149interix[3-9]*)
16150 version_type=linux
16151 need_lib_prefix=no
16152 need_version=no
16153 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16154 soname_spec='${libname}${release}${shared_ext}$major'
16155 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16156 shlibpath_var=LD_LIBRARY_PATH
16157 shlibpath_overrides_runpath=no
16158 hardcode_into_libs=yes
16159 ;;
16160
16161irix5* | irix6* | nonstopux*)
16162 case $host_os in
16163 nonstopux*) version_type=nonstopux ;;
16164 *)
16165 if test "$lt_cv_prog_gnu_ld" = yes; then
16166 version_type=linux
16167 else
16168 version_type=irix
16169 fi ;;
16170 esac
16171 need_lib_prefix=no
16172 need_version=no
16173 soname_spec='${libname}${release}${shared_ext}$major'
16174 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16175 case $host_os in
16176 irix5* | nonstopux*)
16177 libsuff= shlibsuff=
16178 ;;
16179 *)
16180 case $LD in # libtool.m4 will add one of these switches to LD
16181 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16182 libsuff= shlibsuff= libmagic=32-bit;;
16183 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16184 libsuff=32 shlibsuff=N32 libmagic=N32;;
16185 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16186 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16187 *) libsuff= shlibsuff= libmagic=never-match;;
16188 esac
16189 ;;
16190 esac
16191 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16192 shlibpath_overrides_runpath=no
16193 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16194 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16195 hardcode_into_libs=yes
16196 ;;
16197
16198# No shared lib support for Linux oldld, aout, or coff.
16199linux*oldld* | linux*aout* | linux*coff*)
16200 dynamic_linker=no
16201 ;;
16202
16203# This must be Linux ELF.
16204linux* | k*bsd*-gnu | kopensolaris*-gnu)
16205 version_type=linux
16206 need_lib_prefix=no
16207 need_version=no
16208 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16209 soname_spec='${libname}${release}${shared_ext}$major'
16210 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16211 shlibpath_var=LD_LIBRARY_PATH
16212 shlibpath_overrides_runpath=no
16213 # Some binutils ld are patched to set DT_RUNPATH
16214 save_LDFLAGS=$LDFLAGS
16215 save_libdir=$libdir
16216 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16217 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219/* end confdefs.h. */
16220
16221int
16222main ()
16223{
16224
16225 ;
16226 return 0;
16227}
16228_ACEOF
16229if ac_fn_cxx_try_link "$LINENO"; then :
16230 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16231 shlibpath_overrides_runpath=yes
16232fi
16233fi
16234rm -f core conftest.err conftest.$ac_objext \
16235 conftest$ac_exeext conftest.$ac_ext
16236 LDFLAGS=$save_LDFLAGS
16237 libdir=$save_libdir
16238
16239 # This implies no fast_install, which is unacceptable.
16240 # Some rework will be needed to allow for fast_install
16241 # before this can be enabled.
16242 hardcode_into_libs=yes
16243
16244 # Append ld.so.conf contents to the search path
16245 if test -f /etc/ld.so.conf; then
16246 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' ' '`
16247 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16248 fi
16249
16250 # We used to test for /lib/ld.so.1 and disable shared libraries on
16251 # powerpc, because MkLinux only supported shared libraries with the
16252 # GNU dynamic linker. Since this was broken with cross compilers,
16253 # most powerpc-linux boxes support dynamic linking these days and
16254 # people can always --disable-shared, the test was removed, and we
16255 # assume the GNU/Linux dynamic linker is in use.
16256 dynamic_linker='GNU/Linux ld.so'
16257 ;;
16258
16259netbsdelf*-gnu)
16260 version_type=linux
16261 need_lib_prefix=no
16262 need_version=no
16263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16264 soname_spec='${libname}${release}${shared_ext}$major'
16265 shlibpath_var=LD_LIBRARY_PATH
16266 shlibpath_overrides_runpath=no
16267 hardcode_into_libs=yes
16268 dynamic_linker='NetBSD ld.elf_so'
16269 ;;
16270
16271netbsd*)
16272 version_type=sunos
16273 need_lib_prefix=no
16274 need_version=no
16275 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16278 dynamic_linker='NetBSD (a.out) ld.so'
16279 else
16280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16281 soname_spec='${libname}${release}${shared_ext}$major'
16282 dynamic_linker='NetBSD ld.elf_so'
16283 fi
16284 shlibpath_var=LD_LIBRARY_PATH
16285 shlibpath_overrides_runpath=yes
16286 hardcode_into_libs=yes
16287 ;;
16288
16289newsos6)
16290 version_type=linux
16291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16292 shlibpath_var=LD_LIBRARY_PATH
16293 shlibpath_overrides_runpath=yes
16294 ;;
16295
16296*nto* | *qnx*)
16297 version_type=qnx
16298 need_lib_prefix=no
16299 need_version=no
16300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16301 soname_spec='${libname}${release}${shared_ext}$major'
16302 shlibpath_var=LD_LIBRARY_PATH
16303 shlibpath_overrides_runpath=no
16304 hardcode_into_libs=yes
16305 dynamic_linker='ldqnx.so'
16306 ;;
16307
16308openbsd*)
16309 version_type=sunos
16310 sys_lib_dlsearch_path_spec="/usr/lib"
16311 need_lib_prefix=no
16312 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16313 case $host_os in
16314 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16315 *) need_version=no ;;
16316 esac
16317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16318 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16319 shlibpath_var=LD_LIBRARY_PATH
16320 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16321 case $host_os in
16322 openbsd2.[89] | openbsd2.[89].*)
16323 shlibpath_overrides_runpath=no
16324 ;;
16325 *)
16326 shlibpath_overrides_runpath=yes
16327 ;;
16328 esac
16329 else
16330 shlibpath_overrides_runpath=yes
16331 fi
16332 ;;
16333
16334os2*)
16335 libname_spec='$name'
16336 shrext_cmds=".dll"
16337 need_lib_prefix=no
16338 library_names_spec='$libname${shared_ext} $libname.a'
16339 dynamic_linker='OS/2 ld.exe'
16340 shlibpath_var=LIBPATH
16341 ;;
16342
16343osf3* | osf4* | osf5*)
16344 version_type=osf
16345 need_lib_prefix=no
16346 need_version=no
16347 soname_spec='${libname}${release}${shared_ext}$major'
16348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16349 shlibpath_var=LD_LIBRARY_PATH
16350 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16351 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16352 ;;
16353
16354rdos*)
16355 dynamic_linker=no
16356 ;;
16357
16358solaris*)
16359 version_type=linux
16360 need_lib_prefix=no
16361 need_version=no
16362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16363 soname_spec='${libname}${release}${shared_ext}$major'
16364 shlibpath_var=LD_LIBRARY_PATH
16365 shlibpath_overrides_runpath=yes
16366 hardcode_into_libs=yes
16367 # ldd complains unless libraries are executable
16368 postinstall_cmds='chmod +x $lib'
16369 ;;
16370
16371sunos4*)
16372 version_type=sunos
16373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16374 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16375 shlibpath_var=LD_LIBRARY_PATH
16376 shlibpath_overrides_runpath=yes
16377 if test "$with_gnu_ld" = yes; then
16378 need_lib_prefix=no
16379 fi
16380 need_version=yes
16381 ;;
16382
16383sysv4 | sysv4.3*)
16384 version_type=linux
16385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16386 soname_spec='${libname}${release}${shared_ext}$major'
16387 shlibpath_var=LD_LIBRARY_PATH
16388 case $host_vendor in
16389 sni)
16390 shlibpath_overrides_runpath=no
16391 need_lib_prefix=no
16392 runpath_var=LD_RUN_PATH
16393 ;;
16394 siemens)
16395 need_lib_prefix=no
16396 ;;
16397 motorola)
16398 need_lib_prefix=no
16399 need_version=no
16400 shlibpath_overrides_runpath=no
16401 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16402 ;;
16403 esac
16404 ;;
16405
16406sysv4*MP*)
16407 if test -d /usr/nec ;then
16408 version_type=linux
16409 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16410 soname_spec='$libname${shared_ext}.$major'
16411 shlibpath_var=LD_LIBRARY_PATH
16412 fi
16413 ;;
16414
16415sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
16416 version_type=freebsd-elf
16417 need_lib_prefix=no
16418 need_version=no
16419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16420 soname_spec='${libname}${release}${shared_ext}$major'
16421 shlibpath_var=LD_LIBRARY_PATH
16422 shlibpath_overrides_runpath=yes
16423 hardcode_into_libs=yes
16424 if test "$with_gnu_ld" = yes; then
16425 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16426 else
16427 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16428 case $host_os in
16429 sco3.2v5*)
16430 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16431 ;;
16432 esac
16433 fi
16434 sys_lib_dlsearch_path_spec='/usr/lib'
16435 ;;
16436
16437tpf*)
16438 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16439 version_type=linux
16440 need_lib_prefix=no
16441 need_version=no
16442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16443 shlibpath_var=LD_LIBRARY_PATH
16444 shlibpath_overrides_runpath=no
16445 hardcode_into_libs=yes
16446 ;;
16447
16448uts4*)
16449 version_type=linux
16450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16451 soname_spec='${libname}${release}${shared_ext}$major'
16452 shlibpath_var=LD_LIBRARY_PATH
16453 ;;
16454
16455*)
16456 dynamic_linker=no
16457 ;;
16458esac
16459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16460$as_echo "$dynamic_linker" >&6; }
16461test "$dynamic_linker" = no && can_build_shared=no
16462
16463variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16464if test "$GCC" = yes; then
16465 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16466fi
16467
16468if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16469 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
16470fi
16471if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16472 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
16473fi
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16511$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16512hardcode_action_CXX=
16513if test -n "$hardcode_libdir_flag_spec_CXX" ||
16514 test -n "$runpath_var_CXX" ||
16515 test "X$hardcode_automatic_CXX" = "Xyes" ; then
16516
16517 # We can hardcode non-existent directories.
16518 if test "$hardcode_direct_CXX" != no &&
16519 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16520 # have to relink, otherwise we might link with an installed library
16521 # when we should be linking with a yet-to-be-installed one
16522 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
16523 test "$hardcode_minus_L_CXX" != no; then
16524 # Linking always hardcodes the temporary library directory.
16525 hardcode_action_CXX=relink
16526 else
16527 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16528 hardcode_action_CXX=immediate
16529 fi
16530else
16531 # We cannot hardcode anything, or else we can only hardcode existing
16532 # directories.
16533 hardcode_action_CXX=unsupported
16534fi
16535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
16536$as_echo "$hardcode_action_CXX" >&6; }
16537
16538if test "$hardcode_action_CXX" = relink ||
16539 test "$inherit_rpath_CXX" = yes; then
16540 # Fast installation is not supported
16541 enable_fast_install=no
16542elif test "$shlibpath_overrides_runpath" = yes ||
16543 test "$enable_shared" = no; then
16544 # Fast installation is not necessary
16545 enable_fast_install=needless
16546fi
16547
16548
16549
16550
16551
16552
16553
16554 fi # test -n "$compiler"
16555
16556 CC=$lt_save_CC
16557 LDCXX=$LD
16558 LD=$lt_save_LD
16559 GCC=$lt_save_GCC
16560 with_gnu_ld=$lt_save_with_gnu_ld
16561 lt_cv_path_LDCXX=$lt_cv_path_LD
16562 lt_cv_path_LD=$lt_save_path_LD
16563 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
16564 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
16565fi # test "$_lt_caught_CXX_error" != yes
16566
16567ac_ext=c
16568ac_cpp='$CPP $CPPFLAGS'
16569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16571ac_compiler_gnu=$ac_cv_c_compiler_gnu
16572
16573
16574ac_ext=c
16575ac_cpp='$CPP $CPPFLAGS'
16576ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16577ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16578ac_compiler_gnu=$ac_cv_c_compiler_gnu
16579if test -n "$ac_tool_prefix"; then
16580 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
16581set dummy ${ac_tool_prefix}gcc; ac_word=$2
16582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16583$as_echo_n "checking for $ac_word... " >&6; }
16584if test "${ac_cv_prog_CC+set}" = set; then :
16585 $as_echo_n "(cached) " >&6
16586else
16587 if test -n "$CC"; then
16588 ac_cv_prog_CC="$CC" # Let the user override the test.
16589else
16590as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16591for as_dir in $PATH
16592do
16593 IFS=$as_save_IFS
16594 test -z "$as_dir" && as_dir=.
16595 for ac_exec_ext in '' $ac_executable_extensions; do
16596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16597 ac_cv_prog_CC="${ac_tool_prefix}gcc"
16598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16599 break 2
16600 fi
16601done
16602 done
16603IFS=$as_save_IFS
16604
16605fi
16606fi
16607CC=$ac_cv_prog_CC
16608if test -n "$CC"; then
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16610$as_echo "$CC" >&6; }
16611else
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16613$as_echo "no" >&6; }
16614fi
16615
16616
16617fi
16618if test -z "$ac_cv_prog_CC"; then
16619 ac_ct_CC=$CC
16620 # Extract the first word of "gcc", so it can be a program name with args.
16621set dummy gcc; ac_word=$2
16622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16623$as_echo_n "checking for $ac_word... " >&6; }
16624if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16625 $as_echo_n "(cached) " >&6
16626else
16627 if test -n "$ac_ct_CC"; then
16628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16629else
16630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16631for as_dir in $PATH
16632do
16633 IFS=$as_save_IFS
16634 test -z "$as_dir" && as_dir=.
16635 for ac_exec_ext in '' $ac_executable_extensions; do
16636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16637 ac_cv_prog_ac_ct_CC="gcc"
16638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16639 break 2
16640 fi
16641done
16642 done
16643IFS=$as_save_IFS
16644
16645fi
16646fi
16647ac_ct_CC=$ac_cv_prog_ac_ct_CC
16648if test -n "$ac_ct_CC"; then
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16650$as_echo "$ac_ct_CC" >&6; }
16651else
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16653$as_echo "no" >&6; }
16654fi
16655
16656 if test "x$ac_ct_CC" = x; then
16657 CC=""
16658 else
16659 case $cross_compiling:$ac_tool_warned in
16660yes:)
16661{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16662$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16663ac_tool_warned=yes ;;
16664esac
16665 CC=$ac_ct_CC
16666 fi
16667else
16668 CC="$ac_cv_prog_CC"
16669fi
16670
16671if test -z "$CC"; then
16672 if test -n "$ac_tool_prefix"; then
16673 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16674set dummy ${ac_tool_prefix}cc; ac_word=$2
16675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16676$as_echo_n "checking for $ac_word... " >&6; }
16677if test "${ac_cv_prog_CC+set}" = set; then :
16678 $as_echo_n "(cached) " >&6
16679else
16680 if test -n "$CC"; then
16681 ac_cv_prog_CC="$CC" # Let the user override the test.
16682else
16683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16684for as_dir in $PATH
16685do
16686 IFS=$as_save_IFS
16687 test -z "$as_dir" && as_dir=.
16688 for ac_exec_ext in '' $ac_executable_extensions; do
16689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16690 ac_cv_prog_CC="${ac_tool_prefix}cc"
16691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16692 break 2
16693 fi
16694done
16695 done
16696IFS=$as_save_IFS
16697
16698fi
16699fi
16700CC=$ac_cv_prog_CC
16701if test -n "$CC"; then
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16703$as_echo "$CC" >&6; }
16704else
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16706$as_echo "no" >&6; }
16707fi
16708
16709
16710 fi
16711fi
16712if test -z "$CC"; then
16713 # Extract the first word of "cc", so it can be a program name with args.
16714set dummy cc; ac_word=$2
16715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16716$as_echo_n "checking for $ac_word... " >&6; }
16717if test "${ac_cv_prog_CC+set}" = set; then :
16718 $as_echo_n "(cached) " >&6
16719else
16720 if test -n "$CC"; then
16721 ac_cv_prog_CC="$CC" # Let the user override the test.
16722else
16723 ac_prog_rejected=no
16724as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16725for as_dir in $PATH
16726do
16727 IFS=$as_save_IFS
16728 test -z "$as_dir" && as_dir=.
16729 for ac_exec_ext in '' $ac_executable_extensions; do
16730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16731 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16732 ac_prog_rejected=yes
16733 continue
16734 fi
16735 ac_cv_prog_CC="cc"
16736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16737 break 2
16738 fi
16739done
16740 done
16741IFS=$as_save_IFS
16742
16743if test $ac_prog_rejected = yes; then
16744 # We found a bogon in the path, so make sure we never use it.
16745 set dummy $ac_cv_prog_CC
16746 shift
16747 if test $# != 0; then
16748 # We chose a different compiler from the bogus one.
16749 # However, it has the same basename, so the bogon will be chosen
16750 # first if we set CC to just the basename; use the full file name.
16751 shift
16752 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16753 fi
16754fi
16755fi
16756fi
16757CC=$ac_cv_prog_CC
16758if test -n "$CC"; then
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16760$as_echo "$CC" >&6; }
16761else
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16763$as_echo "no" >&6; }
16764fi
16765
16766
16767fi
16768if test -z "$CC"; then
16769 if test -n "$ac_tool_prefix"; then
16770 for ac_prog in cl.exe
16771 do
16772 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16773set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16775$as_echo_n "checking for $ac_word... " >&6; }
16776if test "${ac_cv_prog_CC+set}" = set; then :
16777 $as_echo_n "(cached) " >&6
16778else
16779 if test -n "$CC"; then
16780 ac_cv_prog_CC="$CC" # Let the user override the test.
16781else
16782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16783for as_dir in $PATH
16784do
16785 IFS=$as_save_IFS
16786 test -z "$as_dir" && as_dir=.
16787 for ac_exec_ext in '' $ac_executable_extensions; do
16788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16789 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16791 break 2
16792 fi
16793done
16794 done
16795IFS=$as_save_IFS
16796
16797fi
16798fi
16799CC=$ac_cv_prog_CC
16800if test -n "$CC"; then
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
16802$as_echo "$CC" >&6; }
16803else
16804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16805$as_echo "no" >&6; }
16806fi
16807
16808
16809 test -n "$CC" && break
16810 done
16811fi
16812if test -z "$CC"; then
16813 ac_ct_CC=$CC
16814 for ac_prog in cl.exe
16815do
16816 # Extract the first word of "$ac_prog", so it can be a program name with args.
16817set dummy $ac_prog; ac_word=$2
16818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16819$as_echo_n "checking for $ac_word... " >&6; }
16820if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
16821 $as_echo_n "(cached) " >&6
16822else
16823 if test -n "$ac_ct_CC"; then
16824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16825else
16826as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16827for as_dir in $PATH
16828do
16829 IFS=$as_save_IFS
16830 test -z "$as_dir" && as_dir=.
16831 for ac_exec_ext in '' $ac_executable_extensions; do
16832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16833 ac_cv_prog_ac_ct_CC="$ac_prog"
16834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16835 break 2
16836 fi
16837done
16838 done
16839IFS=$as_save_IFS
16840
16841fi
16842fi
16843ac_ct_CC=$ac_cv_prog_ac_ct_CC
16844if test -n "$ac_ct_CC"; then
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
16846$as_echo "$ac_ct_CC" >&6; }
16847else
16848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16849$as_echo "no" >&6; }
16850fi
16851
16852
16853 test -n "$ac_ct_CC" && break
16854done
16855
16856 if test "x$ac_ct_CC" = x; then
16857 CC=""
16858 else
16859 case $cross_compiling:$ac_tool_warned in
16860yes:)
16861{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16862$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16863ac_tool_warned=yes ;;
16864esac
16865 CC=$ac_ct_CC
16866 fi
16867fi
16868
16869fi
16870
16871
16872test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16873$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16874as_fn_error $? "no acceptable C compiler found in \$PATH
16875See \`config.log' for more details" "$LINENO" 5 ; }
16876
16877# Provide some information about the compiler.
16878$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
16879set X $ac_compile
16880ac_compiler=$2
16881for ac_option in --version -v -V -qversion; do
16882 { { ac_try="$ac_compiler $ac_option >&5"
16883case "(($ac_try" in
16884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16885 *) ac_try_echo=$ac_try;;
16886esac
16887eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16888$as_echo "$ac_try_echo"; } >&5
16889 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
16890 ac_status=$?
16891 if test -s conftest.err; then
16892 sed '10a\
16893... rest of stderr output deleted ...
16894 10q' conftest.err >conftest.er1
16895 cat conftest.er1 >&5
16896 fi
16897 rm -f conftest.er1 conftest.err
16898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16899 test $ac_status = 0; }
16900done
16901
16902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
16903$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
16904if test "${ac_cv_c_compiler_gnu+set}" = set; then :
16905 $as_echo_n "(cached) " >&6
16906else
16907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16908/* end confdefs.h. */
16909
16910int
16911main ()
16912{
16913#ifndef __GNUC__
16914 choke me
16915#endif
16916
16917 ;
16918 return 0;
16919}
16920_ACEOF
16921if ac_fn_c_try_compile "$LINENO"; then :
16922 ac_compiler_gnu=yes
16923else
16924 ac_compiler_gnu=no
16925fi
16926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16927ac_cv_c_compiler_gnu=$ac_compiler_gnu
16928
16929fi
16930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
16931$as_echo "$ac_cv_c_compiler_gnu" >&6; }
16932if test $ac_compiler_gnu = yes; then
16933 GCC=yes
16934else
16935 GCC=
16936fi
16937ac_test_CFLAGS=${CFLAGS+set}
16938ac_save_CFLAGS=$CFLAGS
16939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
16940$as_echo_n "checking whether $CC accepts -g... " >&6; }
16941if test "${ac_cv_prog_cc_g+set}" = set; then :
16942 $as_echo_n "(cached) " >&6
16943else
16944 ac_save_c_werror_flag=$ac_c_werror_flag
16945 ac_c_werror_flag=yes
16946 ac_cv_prog_cc_g=no
16947 CFLAGS="-g"
16948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16949/* end confdefs.h. */
16950
16951int
16952main ()
16953{
16954
16955 ;
16956 return 0;
16957}
16958_ACEOF
16959if ac_fn_c_try_compile "$LINENO"; then :
16960 ac_cv_prog_cc_g=yes
16961else
16962 CFLAGS=""
16963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16964/* end confdefs.h. */
16965
16966int
16967main ()
16968{
16969
16970 ;
16971 return 0;
16972}
16973_ACEOF
16974if ac_fn_c_try_compile "$LINENO"; then :
16975
16976else
16977 ac_c_werror_flag=$ac_save_c_werror_flag
16978 CFLAGS="-g"
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980/* end confdefs.h. */
16981
16982int
16983main ()
16984{
16985
16986 ;
16987 return 0;
16988}
16989_ACEOF
16990if ac_fn_c_try_compile "$LINENO"; then :
16991 ac_cv_prog_cc_g=yes
16992fi
16993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16994fi
16995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996fi
16997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 ac_c_werror_flag=$ac_save_c_werror_flag
16999fi
17000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
17001$as_echo "$ac_cv_prog_cc_g" >&6; }
17002if test "$ac_test_CFLAGS" = set; then
17003 CFLAGS=$ac_save_CFLAGS
17004elif test $ac_cv_prog_cc_g = yes; then
17005 if test "$GCC" = yes; then
17006 CFLAGS="-g -O2"
17007 else
17008 CFLAGS="-g"
17009 fi
17010else
17011 if test "$GCC" = yes; then
17012 CFLAGS="-O2"
17013 else
17014 CFLAGS=
17015 fi
17016fi
17017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
17018$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
17019if test "${ac_cv_prog_cc_c89+set}" = set; then :
17020 $as_echo_n "(cached) " >&6
17021else
17022 ac_cv_prog_cc_c89=no
17023ac_save_CC=$CC
17024cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17025/* end confdefs.h. */
17026#include <stdarg.h>
17027#include <stdio.h>
17028#include <sys/types.h>
17029#include <sys/stat.h>
17030/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
17031struct buf { int x; };
17032FILE * (*rcsopen) (struct buf *, struct stat *, int);
17033static char *e (p, i)
17034 char **p;
17035 int i;
17036{
17037 return p[i];
17038}
17039static char *f (char * (*g) (char **, int), char **p, ...)
17040{
17041 char *s;
17042 va_list v;
17043 va_start (v,p);
17044 s = g (p, va_arg (v,int));
17045 va_end (v);
17046 return s;
17047}
17048
17049/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
17050 function prototypes and stuff, but not '\xHH' hex character constants.
17051 These don't provoke an error unfortunately, instead are silently treated
17052 as 'x'. The following induces an error, until -std is added to get
17053 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
17054 array size at least. It's necessary to write '\x00'==0 to get something
17055 that's true only with -std. */
17056int osf4_cc_array ['\x00' == 0 ? 1 : -1];
17057
17058/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
17059 inside strings and character constants. */
17060#define FOO(x) 'x'
17061int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
17062
17063int test (int i, double x);
17064struct s1 {int (*f) (int a);};
17065struct s2 {int (*f) (double a);};
17066int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
17067int argc;
17068char **argv;
17069int
17070main ()
17071{
17072return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
17073 ;
17074 return 0;
17075}
17076_ACEOF
17077for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
17078 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
17079do
17080 CC="$ac_save_CC $ac_arg"
17081 if ac_fn_c_try_compile "$LINENO"; then :
17082 ac_cv_prog_cc_c89=$ac_arg
17083fi
17084rm -f core conftest.err conftest.$ac_objext
17085 test "x$ac_cv_prog_cc_c89" != "xno" && break
17086done
17087rm -f conftest.$ac_ext
17088CC=$ac_save_CC
17089
17090fi
17091# AC_CACHE_VAL
17092case "x$ac_cv_prog_cc_c89" in
17093 x)
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
17095$as_echo "none needed" >&6; } ;;
17096 xno)
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
17098$as_echo "unsupported" >&6; } ;;
17099 *)
17100 CC="$CC $ac_cv_prog_cc_c89"
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
17102$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
17103esac
17104if test "x$ac_cv_prog_cc_c89" != xno; then :
17105
17106fi
17107
17108ac_ext=c
17109ac_cpp='$CPP $CPPFLAGS'
17110ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17111ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17112ac_compiler_gnu=$ac_cv_c_compiler_gnu
17113
17114depcc="$CC" am_compiler_list=
17115
17116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
17117$as_echo_n "checking dependency style of $depcc... " >&6; }
17118if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
17119 $as_echo_n "(cached) " >&6
17120else
17121 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
17122 # We make a subdir and do the tests there. Otherwise we can end up
17123 # making bogus files that we don't know about and never remove. For
17124 # instance it was reported that on HP-UX the gcc test will end up
17125 # making a dummy file named `D' -- because `-MD' means `put the output
17126 # in D'.
17127 mkdir conftest.dir
17128 # Copy depcomp to subdir because otherwise we won't find it if we're
17129 # using a relative directory.
17130 cp "$am_depcomp" conftest.dir
17131 cd conftest.dir
17132 # We will build objects and dependencies in a subdirectory because
17133 # it helps to detect inapplicable dependency modes. For instance
17134 # both Tru64's cc and ICC support -MD to output dependencies as a
17135 # side effect of compilation, but ICC will put the dependencies in
17136 # the current directory while Tru64 will put them in the object
17137 # directory.
17138 mkdir sub
17139
17140 am_cv_CC_dependencies_compiler_type=none
17141 if test "$am_compiler_list" = ""; then
17142 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
17143 fi
17144 am__universal=false
17145 case " $depcc " in #(
17146 *\ -arch\ *\ -arch\ *) am__universal=true ;;
17147 esac
17148
17149 for depmode in $am_compiler_list; do
17150 # Setup a source with many dependencies, because some compilers
17151 # like to wrap large dependency lists on column 80 (with \), and
17152 # we should not choose a depcomp mode which is confused by this.
17153 #
17154 # We need to recreate these files for each test, as the compiler may
17155 # overwrite some of them when testing with obscure command lines.
17156 # This happens at least with the AIX C compiler.
17157 : > sub/conftest.c
17158 for i in 1 2 3 4 5 6; do
17159 echo '#include "conftst'$i'.h"' >> sub/conftest.c
17160 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
17161 # Solaris 8's {/usr,}/bin/sh.
17162 touch sub/conftst$i.h
17163 done
17164 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
17165
17166 # We check with `-c' and `-o' for the sake of the "dashmstdout"
17167 # mode. It turns out that the SunPro C++ compiler does not properly
17168 # handle `-M -o', and we need to detect this. Also, some Intel
17169 # versions had trouble with output in subdirs
17170 am__obj=sub/conftest.${OBJEXT-o}
17171 am__minus_obj="-o $am__obj"
17172 case $depmode in
17173 gcc)
17174 # This depmode causes a compiler race in universal mode.
17175 test "$am__universal" = false || continue
17176 ;;
17177 nosideeffect)
17178 # after this tag, mechanisms are not by side-effect, so they'll
17179 # only be used when explicitly requested
17180 if test "x$enable_dependency_tracking" = xyes; then
17181 continue
17182 else
17183 break
17184 fi
17185 ;;
17186 msvisualcpp | msvcmsys)
17187 # This compiler won't grok `-c -o', but also, the minuso test has
17188 # not run yet. These depmodes are late enough in the game, and
17189 # so weak that their functioning should not be impacted.
17190 am__obj=conftest.${OBJEXT-o}
17191 am__minus_obj=
17192 ;;
17193 none) break ;;
17194 esac
17195 if depmode=$depmode \
17196 source=sub/conftest.c object=$am__obj \
17197 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
17198 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
17199 >/dev/null 2>conftest.err &&
17200 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
17201 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
17202 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
17203 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
17204 # icc doesn't choke on unknown options, it will just issue warnings
17205 # or remarks (even with -Werror). So we grep stderr for any message
17206 # that says an option was ignored or not supported.
17207 # When given -MP, icc 7.0 and 7.1 complain thusly:
17208 # icc: Command line warning: ignoring option '-M'; no argument required
17209 # The diagnosis changed in icc 8.0:
17210 # icc: Command line remark: option '-MP' not supported
17211 if (grep 'ignoring option' conftest.err ||
17212 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
17213 am_cv_CC_dependencies_compiler_type=$depmode
17214 break
17215 fi
17216 fi
17217 done
17218
17219 cd ..
17220 rm -rf conftest.dir
17221else
17222 am_cv_CC_dependencies_compiler_type=none
17223fi
17224
17225fi
17226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
17227$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
17228CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
17229
17230 if
17231 test "x$enable_dependency_tracking" != xno \
17232 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
17233 am__fastdepCC_TRUE=
17234 am__fastdepCC_FALSE='#'
17235else
17236 am__fastdepCC_TRUE='#'
17237 am__fastdepCC_FALSE=
17238fi
17239
17240
17241
17242# pkg-config
17243
17244
17245
17246
17247
17248
17249if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17250 if test -n "$ac_tool_prefix"; then
17251 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17252set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17254$as_echo_n "checking for $ac_word... " >&6; }
17255if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17256 $as_echo_n "(cached) " >&6
17257else
17258 case $PKG_CONFIG in
17259 [\\/]* | ?:[\\/]*)
17260 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17261 ;;
17262 *)
17263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17264for as_dir in $PATH
17265do
17266 IFS=$as_save_IFS
17267 test -z "$as_dir" && as_dir=.
17268 for ac_exec_ext in '' $ac_executable_extensions; do
17269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17270 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17272 break 2
17273 fi
17274done
17275 done
17276IFS=$as_save_IFS
17277
17278 ;;
17279esac
17280fi
17281PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17282if test -n "$PKG_CONFIG"; then
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17284$as_echo "$PKG_CONFIG" >&6; }
17285else
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17287$as_echo "no" >&6; }
17288fi
17289
17290
17291fi
17292if test -z "$ac_cv_path_PKG_CONFIG"; then
17293 ac_pt_PKG_CONFIG=$PKG_CONFIG
17294 # Extract the first word of "pkg-config", so it can be a program name with args.
17295set dummy pkg-config; ac_word=$2
17296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17297$as_echo_n "checking for $ac_word... " >&6; }
17298if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
17299 $as_echo_n "(cached) " >&6
17300else
17301 case $ac_pt_PKG_CONFIG in
17302 [\\/]* | ?:[\\/]*)
17303 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17304 ;;
17305 *)
17306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17307for as_dir in $PATH
17308do
17309 IFS=$as_save_IFS
17310 test -z "$as_dir" && as_dir=.
17311 for ac_exec_ext in '' $ac_executable_extensions; do
17312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17313 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17315 break 2
17316 fi
17317done
17318 done
17319IFS=$as_save_IFS
17320
17321 ;;
17322esac
17323fi
17324ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17325if test -n "$ac_pt_PKG_CONFIG"; then
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17327$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17328else
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17330$as_echo "no" >&6; }
17331fi
17332
17333 if test "x$ac_pt_PKG_CONFIG" = x; then
17334 PKG_CONFIG=""
17335 else
17336 case $cross_compiling:$ac_tool_warned in
17337yes:)
17338{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17339$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17340ac_tool_warned=yes ;;
17341esac
17342 PKG_CONFIG=$ac_pt_PKG_CONFIG
17343 fi
17344else
17345 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17346fi
17347
17348fi
17349if test -n "$PKG_CONFIG"; then
17350 _pkg_min_version=0.9.0
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17352$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17353 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17355$as_echo "yes" >&6; }
17356 else
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17358$as_echo "no" >&6; }
17359 PKG_CONFIG=""
17360 fi
17361fi
17362
17363# Check whether pkg-config supports Requires.private
17364if $PKG_CONFIG --atleast-pkgconfig-version 0.22; then
17365 pkgconfig_requires_private="Requires.private"
17366else
17367 pkgconfig_requires_private="Requires"
17368fi
17369
17370
17371# doxygen program for documentation building
17372
17373
17374# Check whether --enable-doc was given.
17375if test "${enable_doc+set}" = set; then :
17376 enableval=$enable_doc;
17377 if test "x${enableval}" = "xyes" ; then
17378 efl_enable_doc="yes"
17379 else
17380 efl_enable_doc="no"
17381 fi
17382
17383else
17384 efl_enable_doc="yes"
17385fi
17386
17387
17388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build documentation" >&5
17389$as_echo_n "checking whether to build documentation... " >&6; }
17390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${efl_enable_doc}" >&5
17391$as_echo "${efl_enable_doc}" >&6; }
17392
17393if test "x${efl_enable_doc}" = "xyes" ; then
17394
17395
17396 efl_doxygen="doxygen"
17397
17398
17399# Check whether --with-doxygen was given.
17400if test "${with_doxygen+set}" = set; then :
17401 withval=$with_doxygen;
17402 efl_doxygen=${withval}
17403 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17404set dummy ${efl_doxygen}; ac_word=$2
17405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17406$as_echo_n "checking for $ac_word... " >&6; }
17407if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17408 $as_echo_n "(cached) " >&6
17409else
17410 if test -n "$efl_have_doxygen"; then
17411 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17412else
17413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17414for as_dir in $PATH
17415do
17416 IFS=$as_save_IFS
17417 test -z "$as_dir" && as_dir=.
17418 for ac_exec_ext in '' $ac_executable_extensions; do
17419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17420 ac_cv_prog_efl_have_doxygen="yes"
17421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17422 break 2
17423 fi
17424done
17425 done
17426IFS=$as_save_IFS
17427
17428 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17429fi
17430fi
17431efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17432if test -n "$efl_have_doxygen"; then
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17434$as_echo "$efl_have_doxygen" >&6; }
17435else
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17437$as_echo "no" >&6; }
17438fi
17439
17440
17441 if test "x${efl_have_doxygen}" = "xno" ; then
17442 echo "WARNING:"
17443 echo "The doxygen program you specified:"
17444 echo "${efl_doxygen}"
17445 echo "was not found. Please check the path and make sure "
17446 echo "the program exists and is executable."
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17448$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17449 fi
17450
17451else
17452 # Extract the first word of "${efl_doxygen}", so it can be a program name with args.
17453set dummy ${efl_doxygen}; ac_word=$2
17454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17455$as_echo_n "checking for $ac_word... " >&6; }
17456if test "${ac_cv_prog_efl_have_doxygen+set}" = set; then :
17457 $as_echo_n "(cached) " >&6
17458else
17459 if test -n "$efl_have_doxygen"; then
17460 ac_cv_prog_efl_have_doxygen="$efl_have_doxygen" # Let the user override the test.
17461else
17462as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17463for as_dir in $PATH
17464do
17465 IFS=$as_save_IFS
17466 test -z "$as_dir" && as_dir=.
17467 for ac_exec_ext in '' $ac_executable_extensions; do
17468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17469 ac_cv_prog_efl_have_doxygen="yes"
17470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17471 break 2
17472 fi
17473done
17474 done
17475IFS=$as_save_IFS
17476
17477 test -z "$ac_cv_prog_efl_have_doxygen" && ac_cv_prog_efl_have_doxygen="no"
17478fi
17479fi
17480efl_have_doxygen=$ac_cv_prog_efl_have_doxygen
17481if test -n "$efl_have_doxygen"; then
17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $efl_have_doxygen" >&5
17483$as_echo "$efl_have_doxygen" >&6; }
17484else
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17486$as_echo "no" >&6; }
17487fi
17488
17489
17490 if test "x${efl_have_doxygen}" = "xno" ; then
17491 echo "WARNING:"
17492 echo "The doxygen program was not found in your execute path."
17493 echo "You may have doxygen installed somewhere not covered by your path."
17494 echo ""
17495 echo "If this is the case make sure you have the packages installed, AND"
17496 echo "that the doxygen program is in your execute path (see your"
17497 echo "shell manual page on setting the \$PATH environment variable), OR"
17498 echo "alternatively, specify the program to use with --with-doxygen."
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no doxygen detected. Documentation will not be built" >&5
17500$as_echo "$as_me: WARNING: no doxygen detected. Documentation will not be built" >&2;}
17501 fi
17502
17503fi
17504
17505fi
17506
17507
17508
17509if ! test "x${efl_have_doxygen}" = "xyes" ; then
17510 efl_enable_doc="no"
17511fi
17512
17513 if test "x${efl_enable_doc}" = "xyes"; then
17514 EFL_BUILD_DOC_TRUE=
17515 EFL_BUILD_DOC_FALSE='#'
17516else
17517 EFL_BUILD_DOC_TRUE='#'
17518 EFL_BUILD_DOC_FALSE=
17519fi
17520
17521
17522if test "x${efl_enable_doc}" = "xyes" ; then
17523 build_doc="yes"
17524else
17525 build_doc="no"
17526fi
17527
17528
17529
17530
17531### Checks for libraries
17532
17533# Evil library for compilation on Windows CE
17534
17535case "$host_os" in
17536 mingw*)
17537
17538pkg_failed=no
17539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EVIL" >&5
17540$as_echo_n "checking for EVIL... " >&6; }
17541
17542if test -n "$EVIL_CFLAGS"; then
17543 pkg_cv_EVIL_CFLAGS="$EVIL_CFLAGS"
17544 elif test -n "$PKG_CONFIG"; then
17545 if test -n "$PKG_CONFIG" && \
17546 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17547 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17548 ac_status=$?
17549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17550 test $ac_status = 0; }; then
17551 pkg_cv_EVIL_CFLAGS=`$PKG_CONFIG --cflags "evil >= 1.0.0" 2>/dev/null`
17552else
17553 pkg_failed=yes
17554fi
17555 else
17556 pkg_failed=untried
17557fi
17558if test -n "$EVIL_LIBS"; then
17559 pkg_cv_EVIL_LIBS="$EVIL_LIBS"
17560 elif test -n "$PKG_CONFIG"; then
17561 if test -n "$PKG_CONFIG" && \
17562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"evil >= 1.0.0\""; } >&5
17563 ($PKG_CONFIG --exists --print-errors "evil >= 1.0.0") 2>&5
17564 ac_status=$?
17565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17566 test $ac_status = 0; }; then
17567 pkg_cv_EVIL_LIBS=`$PKG_CONFIG --libs "evil >= 1.0.0" 2>/dev/null`
17568else
17569 pkg_failed=yes
17570fi
17571 else
17572 pkg_failed=untried
17573fi
17574
17575
17576
17577if test $pkg_failed = yes; then
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17579$as_echo "no" >&6; }
17580
17581if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17582 _pkg_short_errors_supported=yes
17583else
17584 _pkg_short_errors_supported=no
17585fi
17586 if test $_pkg_short_errors_supported = yes; then
17587 EVIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "evil >= 1.0.0" 2>&1`
17588 else
17589 EVIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "evil >= 1.0.0" 2>&1`
17590 fi
17591 # Put the nasty error message in config.log where it belongs
17592 echo "$EVIL_PKG_ERRORS" >&5
17593
17594 as_fn_error $? "Package requirements (evil >= 1.0.0) were not met:
17595
17596$EVIL_PKG_ERRORS
17597
17598Consider adjusting the PKG_CONFIG_PATH environment variable if you
17599installed software in a non-standard prefix.
17600
17601Alternatively, you may set the environment variables EVIL_CFLAGS
17602and EVIL_LIBS to avoid the need to call pkg-config.
17603See the pkg-config man page for more details." "$LINENO" 5
17604elif test $pkg_failed = untried; then
17605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17606$as_echo "no" >&6; }
17607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17609as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17610is in your PATH or set the PKG_CONFIG environment variable to the full
17611path to pkg-config.
17612
17613Alternatively, you may set the environment variables EVIL_CFLAGS
17614and EVIL_LIBS to avoid the need to call pkg-config.
17615See the pkg-config man page for more details.
17616
17617To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17618See \`config.log' for more details" "$LINENO" 5 ; }
17619else
17620 EVIL_CFLAGS=$pkg_cv_EVIL_CFLAGS
17621 EVIL_LIBS=$pkg_cv_EVIL_LIBS
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17623$as_echo "yes" >&6; }
17624
17625fi
17626
17627$as_echo "#define HAVE_EVIL 1" >>confdefs.h
17628
17629 requirement_evas="evil ${requirement_evas}"
17630 ;;
17631esac
17632
17633### Checks for portability layer
17634
17635
17636pkg_failed=no
17637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXOTIC" >&5
17638$as_echo_n "checking for EXOTIC... " >&6; }
17639
17640if test -n "$EXOTIC_CFLAGS"; then
17641 pkg_cv_EXOTIC_CFLAGS="$EXOTIC_CFLAGS"
17642 elif test -n "$PKG_CONFIG"; then
17643 if test -n "$PKG_CONFIG" && \
17644 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17645 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17646 ac_status=$?
17647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17648 test $ac_status = 0; }; then
17649 pkg_cv_EXOTIC_CFLAGS=`$PKG_CONFIG --cflags "exotic" 2>/dev/null`
17650else
17651 pkg_failed=yes
17652fi
17653 else
17654 pkg_failed=untried
17655fi
17656if test -n "$EXOTIC_LIBS"; then
17657 pkg_cv_EXOTIC_LIBS="$EXOTIC_LIBS"
17658 elif test -n "$PKG_CONFIG"; then
17659 if test -n "$PKG_CONFIG" && \
17660 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exotic\""; } >&5
17661 ($PKG_CONFIG --exists --print-errors "exotic") 2>&5
17662 ac_status=$?
17663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17664 test $ac_status = 0; }; then
17665 pkg_cv_EXOTIC_LIBS=`$PKG_CONFIG --libs "exotic" 2>/dev/null`
17666else
17667 pkg_failed=yes
17668fi
17669 else
17670 pkg_failed=untried
17671fi
17672
17673
17674
17675if test $pkg_failed = yes; then
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17677$as_echo "no" >&6; }
17678
17679if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17680 _pkg_short_errors_supported=yes
17681else
17682 _pkg_short_errors_supported=no
17683fi
17684 if test $_pkg_short_errors_supported = yes; then
17685 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "exotic" 2>&1`
17686 else
17687 EXOTIC_PKG_ERRORS=`$PKG_CONFIG --print-errors "exotic" 2>&1`
17688 fi
17689 # Put the nasty error message in config.log where it belongs
17690 echo "$EXOTIC_PKG_ERRORS" >&5
17691
17692 enable_exotic="no"
17693elif test $pkg_failed = untried; then
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17695$as_echo "no" >&6; }
17696 enable_exotic="no"
17697else
17698 EXOTIC_CFLAGS=$pkg_cv_EXOTIC_CFLAGS
17699 EXOTIC_LIBS=$pkg_cv_EXOTIC_LIBS
17700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17701$as_echo "yes" >&6; }
17702 enable_exotic="yes"
17703fi
17704
17705if test "x${enable_exotic}" = "xyes"; then
17706 requirement_evas="exotic ${requirement_evas}"
17707
17708
17709$as_echo "#define HAVE_EXOTIC 1" >>confdefs.h
17710
17711fi
17712 if test "x${enable_exotic}" = "xyes"; then
17713 EVAS_HAVE_EXOTIC_TRUE=
17714 EVAS_HAVE_EXOTIC_FALSE='#'
17715else
17716 EVAS_HAVE_EXOTIC_TRUE='#'
17717 EVAS_HAVE_EXOTIC_FALSE=
17718fi
17719
17720
17721## strong dependencies
17722
17723# Eina
17724
17725pkg_failed=no
17726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EINA" >&5
17727$as_echo_n "checking for EINA... " >&6; }
17728
17729if test -n "$EINA_CFLAGS"; then
17730 pkg_cv_EINA_CFLAGS="$EINA_CFLAGS"
17731 elif test -n "$PKG_CONFIG"; then
17732 if test -n "$PKG_CONFIG" && \
17733 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
17734 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
17735 ac_status=$?
17736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17737 test $ac_status = 0; }; then
17738 pkg_cv_EINA_CFLAGS=`$PKG_CONFIG --cflags "eina >= 1.2.0" 2>/dev/null`
17739else
17740 pkg_failed=yes
17741fi
17742 else
17743 pkg_failed=untried
17744fi
17745if test -n "$EINA_LIBS"; then
17746 pkg_cv_EINA_LIBS="$EINA_LIBS"
17747 elif test -n "$PKG_CONFIG"; then
17748 if test -n "$PKG_CONFIG" && \
17749 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eina >= 1.2.0\""; } >&5
17750 ($PKG_CONFIG --exists --print-errors "eina >= 1.2.0") 2>&5
17751 ac_status=$?
17752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17753 test $ac_status = 0; }; then
17754 pkg_cv_EINA_LIBS=`$PKG_CONFIG --libs "eina >= 1.2.0" 2>/dev/null`
17755else
17756 pkg_failed=yes
17757fi
17758 else
17759 pkg_failed=untried
17760fi
17761
17762
17763
17764if test $pkg_failed = yes; then
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17766$as_echo "no" >&6; }
17767
17768if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17769 _pkg_short_errors_supported=yes
17770else
17771 _pkg_short_errors_supported=no
17772fi
17773 if test $_pkg_short_errors_supported = yes; then
17774 EINA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eina >= 1.2.0" 2>&1`
17775 else
17776 EINA_PKG_ERRORS=`$PKG_CONFIG --print-errors "eina >= 1.2.0" 2>&1`
17777 fi
17778 # Put the nasty error message in config.log where it belongs
17779 echo "$EINA_PKG_ERRORS" >&5
17780
17781 as_fn_error $? "Package requirements (eina >= 1.2.0) were not met:
17782
17783$EINA_PKG_ERRORS
17784
17785Consider adjusting the PKG_CONFIG_PATH environment variable if you
17786installed software in a non-standard prefix.
17787
17788Alternatively, you may set the environment variables EINA_CFLAGS
17789and EINA_LIBS to avoid the need to call pkg-config.
17790See the pkg-config man page for more details." "$LINENO" 5
17791elif test $pkg_failed = untried; then
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17793$as_echo "no" >&6; }
17794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17795$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17796as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17797is in your PATH or set the PKG_CONFIG environment variable to the full
17798path to pkg-config.
17799
17800Alternatively, you may set the environment variables EINA_CFLAGS
17801and EINA_LIBS to avoid the need to call pkg-config.
17802See the pkg-config man page for more details.
17803
17804To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17805See \`config.log' for more details" "$LINENO" 5 ; }
17806else
17807 EINA_CFLAGS=$pkg_cv_EINA_CFLAGS
17808 EINA_LIBS=$pkg_cv_EINA_LIBS
17809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17810$as_echo "yes" >&6; }
17811
17812fi
17813CPPFLAGS_SAVE="$CPPFLAGS"
17814CPPFLAGS="$CPPFLAGS $EINA_CFLAGS"
17815# The cast to long int works around a bug in the HP C Compiler
17816# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17817# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17818# This bug is HP SR number 8606223364.
17819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of Eina_Unicode" >&5
17820$as_echo_n "checking size of Eina_Unicode... " >&6; }
17821if test "${ac_cv_sizeof_Eina_Unicode+set}" = set; then :
17822 $as_echo_n "(cached) " >&6
17823else
17824 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (Eina_Unicode))" "ac_cv_sizeof_Eina_Unicode" "#include <Eina.h>
17825"; then :
17826
17827else
17828 if test "$ac_cv_type_Eina_Unicode" = yes; then
17829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17830$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17831as_fn_error 77 "cannot compute sizeof (Eina_Unicode)
17832See \`config.log' for more details" "$LINENO" 5 ; }
17833 else
17834 ac_cv_sizeof_Eina_Unicode=0
17835 fi
17836fi
17837
17838fi
17839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_Eina_Unicode" >&5
17840$as_echo "$ac_cv_sizeof_Eina_Unicode" >&6; }
17841
17842
17843
17844cat >>confdefs.h <<_ACEOF
17845#define SIZEOF_EINA_UNICODE $ac_cv_sizeof_Eina_Unicode
17846_ACEOF
17847
17848
17849CPPFLAGS="$CPPFLAGS_SAVE"
17850
17851# Freetype
17852
17853pkg_failed=no
17854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
17855$as_echo_n "checking for FREETYPE... " >&6; }
17856
17857if test -n "$FREETYPE_CFLAGS"; then
17858 pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
17859 elif test -n "$PKG_CONFIG"; then
17860 if test -n "$PKG_CONFIG" && \
17861 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17862 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17863 ac_status=$?
17864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17865 test $ac_status = 0; }; then
17866 pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 9.3.0" 2>/dev/null`
17867else
17868 pkg_failed=yes
17869fi
17870 else
17871 pkg_failed=untried
17872fi
17873if test -n "$FREETYPE_LIBS"; then
17874 pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
17875 elif test -n "$PKG_CONFIG"; then
17876 if test -n "$PKG_CONFIG" && \
17877 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 9.3.0\""; } >&5
17878 ($PKG_CONFIG --exists --print-errors "freetype2 >= 9.3.0") 2>&5
17879 ac_status=$?
17880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17881 test $ac_status = 0; }; then
17882 pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 9.3.0" 2>/dev/null`
17883else
17884 pkg_failed=yes
17885fi
17886 else
17887 pkg_failed=untried
17888fi
17889
17890
17891
17892if test $pkg_failed = yes; then
17893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17894$as_echo "no" >&6; }
17895
17896if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17897 _pkg_short_errors_supported=yes
17898else
17899 _pkg_short_errors_supported=no
17900fi
17901 if test $_pkg_short_errors_supported = yes; then
17902 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= 9.3.0" 2>&1`
17903 else
17904 FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= 9.3.0" 2>&1`
17905 fi
17906 # Put the nasty error message in config.log where it belongs
17907 echo "$FREETYPE_PKG_ERRORS" >&5
17908
17909 as_fn_error $? "Package requirements (freetype2 >= 9.3.0) were not met:
17910
17911$FREETYPE_PKG_ERRORS
17912
17913Consider adjusting the PKG_CONFIG_PATH environment variable if you
17914installed software in a non-standard prefix.
17915
17916Alternatively, you may set the environment variables FREETYPE_CFLAGS
17917and FREETYPE_LIBS to avoid the need to call pkg-config.
17918See the pkg-config man page for more details." "$LINENO" 5
17919elif test $pkg_failed = untried; then
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17921$as_echo "no" >&6; }
17922 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17923$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17924as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17925is in your PATH or set the PKG_CONFIG environment variable to the full
17926path to pkg-config.
17927
17928Alternatively, you may set the environment variables FREETYPE_CFLAGS
17929and FREETYPE_LIBS to avoid the need to call pkg-config.
17930See the pkg-config man page for more details.
17931
17932To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17933See \`config.log' for more details" "$LINENO" 5 ; }
17934else
17935 FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
17936 FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17938$as_echo "yes" >&6; }
17939
17940fi
17941
17942requirement_evas="freetype2 eina >= 1.2.0 ${requirement_evas}"
17943
17944## optional dependencies
17945
17946# FontConfig
17947have_fontconfig="no"
17948# Check whether --enable-fontconfig was given.
17949if test "${enable_fontconfig+set}" = set; then :
17950 enableval=$enable_fontconfig;
17951 if test "x${enableval}" = "xyes" ; then
17952 want_fontconfig="yes"
17953 else
17954 want_fontconfig="no"
17955 fi
17956
17957fi
17958
17959
17960
17961if test "x${want_fontconfig}" = "xyes" -o "x${want_fontconfig}" = "xauto" ; then
17962
17963pkg_failed=no
17964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
17965$as_echo_n "checking for FONTCONFIG... " >&6; }
17966
17967if test -n "$FONTCONFIG_CFLAGS"; then
17968 pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
17969 elif test -n "$PKG_CONFIG"; then
17970 if test -n "$PKG_CONFIG" && \
17971 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17972 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17973 ac_status=$?
17974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17975 test $ac_status = 0; }; then
17976 pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.0" 2>/dev/null`
17977else
17978 pkg_failed=yes
17979fi
17980 else
17981 pkg_failed=untried
17982fi
17983if test -n "$FONTCONFIG_LIBS"; then
17984 pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
17985 elif test -n "$PKG_CONFIG"; then
17986 if test -n "$PKG_CONFIG" && \
17987 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.0\""; } >&5
17988 ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.0") 2>&5
17989 ac_status=$?
17990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17991 test $ac_status = 0; }; then
17992 pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.0" 2>/dev/null`
17993else
17994 pkg_failed=yes
17995fi
17996 else
17997 pkg_failed=untried
17998fi
17999
18000
18001
18002if test $pkg_failed = yes; then
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18004$as_echo "no" >&6; }
18005
18006if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18007 _pkg_short_errors_supported=yes
18008else
18009 _pkg_short_errors_supported=no
18010fi
18011 if test $_pkg_short_errors_supported = yes; then
18012 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.0" 2>&1`
18013 else
18014 FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.0" 2>&1`
18015 fi
18016 # Put the nasty error message in config.log where it belongs
18017 echo "$FONTCONFIG_PKG_ERRORS" >&5
18018
18019
18020 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18021 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18022 fi
18023
18024elif test $pkg_failed = untried; then
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18026$as_echo "no" >&6; }
18027
18028 if test "x${want_fontconfig}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18029 as_fn_error $? "Fontconfig not found (strict dependencies checking)" "$LINENO" 5
18030 fi
18031
18032else
18033 FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
18034 FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
18035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18036$as_echo "yes" >&6; }
18037
18038 have_fontconfig="yes"
18039
18040$as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
18041
18042 requirement_evas="fontconfig ${requirement_evas}"
18043
18044fi
18045fi
18046
18047# linebreak
18048have_linebreak="no"
18049want_linebreak="yes"
18050# Check whether --enable-liblinebreak was given.
18051if test "${enable_liblinebreak+set}" = set; then :
18052 enableval=$enable_liblinebreak;
18053 if test "x${enableval}" = "xyes" ; then
18054 want_linebreak="yes"
18055 else
18056 want_linebreak="no"
18057 fi
18058
18059fi
18060
18061
18062
18063 if test "x${want_linebreak}" = "xyes"; then
18064 EVAS_USE_LINEBREAK_TRUE=
18065 EVAS_USE_LINEBREAK_FALSE='#'
18066else
18067 EVAS_USE_LINEBREAK_TRUE='#'
18068 EVAS_USE_LINEBREAK_FALSE=
18069fi
18070
18071if test "x${want_linebreak}" = "xyes" ; then
18072 have_linebreak="yes"
18073 LINEBREAK_CFLAGS='-I$(top_srcdir)/src/static_deps/liblinebreak'
18074 LINEBREAK_LIBS='$(top_builddir)/src/static_deps/liblinebreak/liblinebreak.la'
18075
18076
18077
18078$as_echo "#define HAVE_LINEBREAK 1" >>confdefs.h
18079
18080else
18081 have_linebreak="no"
18082fi
18083
18084# fribidi support
18085have_fribidi="no"
18086# Check whether --enable-fribidi was given.
18087if test "${enable_fribidi+set}" = set; then :
18088 enableval=$enable_fribidi;
18089 if test "x${enableval}" = "xyes" ; then
18090 want_fribidi="yes"
18091 else
18092 want_fribidi="no"
18093 fi
18094
18095fi
18096
18097
18098if test "x${want_fribidi}" = "xyes" -o "x${want_fribidi}" = "xauto" ; then
18099
18100pkg_failed=no
18101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FRIBIDI" >&5
18102$as_echo_n "checking for FRIBIDI... " >&6; }
18103
18104if test -n "$FRIBIDI_CFLAGS"; then
18105 pkg_cv_FRIBIDI_CFLAGS="$FRIBIDI_CFLAGS"
18106 elif test -n "$PKG_CONFIG"; then
18107 if test -n "$PKG_CONFIG" && \
18108 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18109 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18110 ac_status=$?
18111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18112 test $ac_status = 0; }; then
18113 pkg_cv_FRIBIDI_CFLAGS=`$PKG_CONFIG --cflags "fribidi >= 0.19.2" 2>/dev/null`
18114else
18115 pkg_failed=yes
18116fi
18117 else
18118 pkg_failed=untried
18119fi
18120if test -n "$FRIBIDI_LIBS"; then
18121 pkg_cv_FRIBIDI_LIBS="$FRIBIDI_LIBS"
18122 elif test -n "$PKG_CONFIG"; then
18123 if test -n "$PKG_CONFIG" && \
18124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fribidi >= 0.19.2\""; } >&5
18125 ($PKG_CONFIG --exists --print-errors "fribidi >= 0.19.2") 2>&5
18126 ac_status=$?
18127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18128 test $ac_status = 0; }; then
18129 pkg_cv_FRIBIDI_LIBS=`$PKG_CONFIG --libs "fribidi >= 0.19.2" 2>/dev/null`
18130else
18131 pkg_failed=yes
18132fi
18133 else
18134 pkg_failed=untried
18135fi
18136
18137
18138
18139if test $pkg_failed = yes; then
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18141$as_echo "no" >&6; }
18142
18143if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18144 _pkg_short_errors_supported=yes
18145else
18146 _pkg_short_errors_supported=no
18147fi
18148 if test $_pkg_short_errors_supported = yes; then
18149 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fribidi >= 0.19.2" 2>&1`
18150 else
18151 FRIBIDI_PKG_ERRORS=`$PKG_CONFIG --print-errors "fribidi >= 0.19.2" 2>&1`
18152 fi
18153 # Put the nasty error message in config.log where it belongs
18154 echo "$FRIBIDI_PKG_ERRORS" >&5
18155
18156
18157 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18158 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18159 fi
18160
18161elif test $pkg_failed = untried; then
18162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18163$as_echo "no" >&6; }
18164
18165 if test "x$want_fribidi" = "xyes" -a "x$use_strict" = "xyes" ; then
18166 as_fn_error $? "Fribidi not found (strict dependencies checking)" "$LINENO" 5
18167 fi
18168
18169else
18170 FRIBIDI_CFLAGS=$pkg_cv_FRIBIDI_CFLAGS
18171 FRIBIDI_LIBS=$pkg_cv_FRIBIDI_LIBS
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18173$as_echo "yes" >&6; }
18174
18175 have_fribidi="yes"
18176
18177$as_echo "#define HAVE_FRIBIDI 1" >>confdefs.h
18178
18179 requirement_evas="fribidi ${requirement_evas}"
18180 CPPFLAGS_SAVE="$CPPFLAGS"
18181 CPPFLAGS="$CPPFLAGS $FRIBIDI_CFLAGS"
18182 # The cast to long int works around a bug in the HP C Compiler
18183# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18184# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18185# This bug is HP SR number 8606223364.
18186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of FriBidiChar" >&5
18187$as_echo_n "checking size of FriBidiChar... " >&6; }
18188if test "${ac_cv_sizeof_FriBidiChar+set}" = set; then :
18189 $as_echo_n "(cached) " >&6
18190else
18191 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (FriBidiChar))" "ac_cv_sizeof_FriBidiChar" "#include <fribidi/fribidi.h>
18192"; then :
18193
18194else
18195 if test "$ac_cv_type_FriBidiChar" = yes; then
18196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18198as_fn_error 77 "cannot compute sizeof (FriBidiChar)
18199See \`config.log' for more details" "$LINENO" 5 ; }
18200 else
18201 ac_cv_sizeof_FriBidiChar=0
18202 fi
18203fi
18204
18205fi
18206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_FriBidiChar" >&5
18207$as_echo "$ac_cv_sizeof_FriBidiChar" >&6; }
18208
18209
18210
18211cat >>confdefs.h <<_ACEOF
18212#define SIZEOF_FRIBIDICHAR $ac_cv_sizeof_FriBidiChar
18213_ACEOF
18214
18215
18216 CPPFLAGS="$CPPFLAGS_SAVE"
18217
18218fi
18219fi
18220
18221if test "x${have_fribidi}" = "xno"; then
18222 HAS_BIDI=0
18223fi
18224
18225# harfbuzz support
18226have_harfbuzz="no"
18227have_harfbuzz_ft="no"
18228# Check whether --enable-harfbuzz was given.
18229if test "${enable_harfbuzz+set}" = set; then :
18230 enableval=$enable_harfbuzz;
18231 if test "x${enableval}" = "xyes" ; then
18232 want_harfbuzz="yes"
18233 else
18234 want_harfbuzz="no"
18235 fi
18236
18237fi
18238
18239
18240if test "x${want_harfbuzz}" = "xyes" -o "x${want_harfbuzz}" = "xauto" ; then
18241
18242pkg_failed=no
18243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HARFBUZZ" >&5
18244$as_echo_n "checking for HARFBUZZ... " >&6; }
18245
18246if test -n "$HARFBUZZ_CFLAGS"; then
18247 pkg_cv_HARFBUZZ_CFLAGS="$HARFBUZZ_CFLAGS"
18248 elif test -n "$PKG_CONFIG"; then
18249 if test -n "$PKG_CONFIG" && \
18250 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.6.0\""; } >&5
18251 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.6.0") 2>&5
18252 ac_status=$?
18253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18254 test $ac_status = 0; }; then
18255 pkg_cv_HARFBUZZ_CFLAGS=`$PKG_CONFIG --cflags "harfbuzz >= 0.6.0" 2>/dev/null`
18256else
18257 pkg_failed=yes
18258fi
18259 else
18260 pkg_failed=untried
18261fi
18262if test -n "$HARFBUZZ_LIBS"; then
18263 pkg_cv_HARFBUZZ_LIBS="$HARFBUZZ_LIBS"
18264 elif test -n "$PKG_CONFIG"; then
18265 if test -n "$PKG_CONFIG" && \
18266 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"harfbuzz >= 0.6.0\""; } >&5
18267 ($PKG_CONFIG --exists --print-errors "harfbuzz >= 0.6.0") 2>&5
18268 ac_status=$?
18269 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18270 test $ac_status = 0; }; then
18271 pkg_cv_HARFBUZZ_LIBS=`$PKG_CONFIG --libs "harfbuzz >= 0.6.0" 2>/dev/null`
18272else
18273 pkg_failed=yes
18274fi
18275 else
18276 pkg_failed=untried
18277fi
18278
18279
18280
18281if test $pkg_failed = yes; then
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18283$as_echo "no" >&6; }
18284
18285if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18286 _pkg_short_errors_supported=yes
18287else
18288 _pkg_short_errors_supported=no
18289fi
18290 if test $_pkg_short_errors_supported = yes; then
18291 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "harfbuzz >= 0.6.0" 2>&1`
18292 else
18293 HARFBUZZ_PKG_ERRORS=`$PKG_CONFIG --print-errors "harfbuzz >= 0.6.0" 2>&1`
18294 fi
18295 # Put the nasty error message in config.log where it belongs
18296 echo "$HARFBUZZ_PKG_ERRORS" >&5
18297
18298
18299 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18300 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18301 fi
18302
18303elif test $pkg_failed = untried; then
18304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18305$as_echo "no" >&6; }
18306
18307 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18308 as_fn_error $? "Harfbuzz not found (strict dependencies checking)" "$LINENO" 5
18309 fi
18310
18311else
18312 HARFBUZZ_CFLAGS=$pkg_cv_HARFBUZZ_CFLAGS
18313 HARFBUZZ_LIBS=$pkg_cv_HARFBUZZ_LIBS
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18315$as_echo "yes" >&6; }
18316
18317 have_harfbuzz="yes"
18318 requirement_evas="harfbuzz ${requirement_evas}"
18319
18320fi
18321 if test "x$have_harfbuzz" = "xyes" ; then
18322
18323 CPPFLAGS_SAVE="$CPPFLAGS"
18324 CPPFLAGS="$CPPFLAGS $HARFBUZZ_CFLAGS $FREETYPE_CFLAGS"
18325# must have for usage with harfbuzz although harfbuzz may not have it.
18326
18327 ac_fn_c_check_header_mongrel "$LINENO" "hb-ft.h" "ac_cv_header_hb_ft_h" "$ac_includes_default"
18328if test "x$ac_cv_header_hb_ft_h" = x""yes; then :
18329
18330 have_harfbuzz_ft="yes"
18331 #Depend on harfbuzz ft for harfbuzz support
18332
18333$as_echo "#define HAVE_HARFBUZZ 1" >>confdefs.h
18334
18335
18336else
18337
18338 if test "x$want_harfbuzz" = "xyes" -a "x$use_strict" = "xyes" ; then
18339 as_fn_error $? "Harfbuzz-ft not found (strict dependencies checking)" "$LINENO" 5
18340 fi
18341 have_harfbuzz="no"
18342
18343fi
18344
18345
18346 CPPFLAGS="$CPPFLAGS_SAVE"
18347 fi
18348fi
18349
18350if test "x${have_harfbuzz}" = "xno"; then
18351 HAS_HARFBUZZ=0
18352fi
18353
18354# Pixman
18355have_pixman="no"
18356# Check whether --enable-pixman was given.
18357if test "${enable_pixman+set}" = set; then :
18358 enableval=$enable_pixman;
18359 if test "x${enableval}" = "xyes" ; then
18360 want_pixman="yes"
18361 else
18362 want_pixman="no"
18363 fi
18364
18365fi
18366
18367
18368
18369if test "x${want_pixman}" = "xyes" -o "x${want_pixman}" = "xauto" ; then
18370
18371pkg_failed=no
18372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5
18373$as_echo_n "checking for PIXMAN... " >&6; }
18374
18375if test -n "$PIXMAN_CFLAGS"; then
18376 pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS"
18377 elif test -n "$PKG_CONFIG"; then
18378 if test -n "$PKG_CONFIG" && \
18379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18380 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18381 ac_status=$?
18382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18383 test $ac_status = 0; }; then
18384 pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null`
18385else
18386 pkg_failed=yes
18387fi
18388 else
18389 pkg_failed=untried
18390fi
18391if test -n "$PIXMAN_LIBS"; then
18392 pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS"
18393 elif test -n "$PKG_CONFIG"; then
18394 if test -n "$PKG_CONFIG" && \
18395 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5
18396 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5
18397 ac_status=$?
18398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18399 test $ac_status = 0; }; then
18400 pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null`
18401else
18402 pkg_failed=yes
18403fi
18404 else
18405 pkg_failed=untried
18406fi
18407
18408
18409
18410if test $pkg_failed = yes; then
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18412$as_echo "no" >&6; }
18413
18414if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18415 _pkg_short_errors_supported=yes
18416else
18417 _pkg_short_errors_supported=no
18418fi
18419 if test $_pkg_short_errors_supported = yes; then
18420 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pixman-1" 2>&1`
18421 else
18422 PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors "pixman-1" 2>&1`
18423 fi
18424 # Put the nasty error message in config.log where it belongs
18425 echo "$PIXMAN_PKG_ERRORS" >&5
18426
18427
18428 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18429 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18430 fi
18431
18432elif test $pkg_failed = untried; then
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18434$as_echo "no" >&6; }
18435
18436 if test "x${want_pixman}" = "xyes" -a "x${use_strict}" = "xyes" ; then
18437 as_fn_error $? "Pixman not found (strict dependencies checking)" "$LINENO" 5
18438 fi
18439
18440else
18441 PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS
18442 PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS
18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18444$as_echo "yes" >&6; }
18445
18446 have_pixman="yes"
18447
18448$as_echo "#define HAVE_PIXMAN 1" >>confdefs.h
18449
18450 requirement_evas="pixman-1 ${requirement_evas}"
18451
18452fi
18453fi
18454
18455have_pixman_font="no"
18456# Check whether --enable-pixman-font was given.
18457if test "${enable_pixman_font+set}" = set; then :
18458 enableval=$enable_pixman_font;
18459 have_pixman_font="yes"
18460
18461$as_echo "#define PIXMAN_FONT 1" >>confdefs.h
18462
18463
18464
18465fi
18466
18467
18468have_pixman_rect="no"
18469# Check whether --enable-pixman-rect was given.
18470if test "${enable_pixman_rect+set}" = set; then :
18471 enableval=$enable_pixman_rect;
18472 have_pixman_rect="yes"
18473
18474$as_echo "#define PIXMAN_RECT 1" >>confdefs.h
18475
18476
18477
18478fi
18479
18480
18481have_pixman_line="no"
18482# Check whether --enable-pixman-line was given.
18483if test "${enable_pixman_line+set}" = set; then :
18484 enableval=$enable_pixman_line;
18485 have_pixman_line="yes"
18486
18487$as_echo "#define PIXMAN_LINE 1" >>confdefs.h
18488
18489
18490
18491fi
18492
18493
18494have_pixman_poly="no"
18495# Check whether --enable-pixman-poly was given.
18496if test "${enable_pixman_poly+set}" = set; then :
18497 enableval=$enable_pixman_poly;
18498 have_pixman_poly="yes"
18499
18500$as_echo "#define PIXMAN_POLY 1" >>confdefs.h
18501
18502
18503
18504fi
18505
18506
18507have_pixman_image="no"
18508# Check whether --enable-pixman-image was given.
18509if test "${enable_pixman_image+set}" = set; then :
18510 enableval=$enable_pixman_image;
18511 have_pixman_image="yes"
18512
18513$as_echo "#define PIXMAN_IMAGE 1" >>confdefs.h
18514
18515
18516
18517fi
18518
18519
18520have_pixman_image_scale_sample="no"
18521# Check whether --enable-pixman-image-scale-sample was given.
18522if test "${enable_pixman_image_scale_sample+set}" = set; then :
18523 enableval=$enable_pixman_image_scale_sample;
18524 have_pixman_image_scale_sample="yes"
18525
18526$as_echo "#define PIXMAN_IMAGE_SCALE_SAMPLE 1" >>confdefs.h
18527
18528
18529
18530fi
18531
18532
18533have_tile_rotate="no"
18534# Check whether --enable-tile-rotate was given.
18535if test "${enable_tile_rotate+set}" = set; then :
18536 enableval=$enable_tile_rotate;
18537 have_tile_rotate="yes"
18538
18539$as_echo "#define TILE_ROTATE 1" >>confdefs.h
18540
18541
18542
18543fi
18544
18545
18546### Checks for header files
18547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18548$as_echo_n "checking for ANSI C header files... " >&6; }
18549if test "${ac_cv_header_stdc+set}" = set; then :
18550 $as_echo_n "(cached) " >&6
18551else
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553/* end confdefs.h. */
18554#include <stdlib.h>
18555#include <stdarg.h>
18556#include <string.h>
18557#include <float.h>
18558
18559int
18560main ()
18561{
18562
18563 ;
18564 return 0;
18565}
18566_ACEOF
18567if ac_fn_c_try_compile "$LINENO"; then :
18568 ac_cv_header_stdc=yes
18569else
18570 ac_cv_header_stdc=no
18571fi
18572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18573
18574if test $ac_cv_header_stdc = yes; then
18575 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577/* end confdefs.h. */
18578#include <string.h>
18579
18580_ACEOF
18581if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18582 $EGREP "memchr" >/dev/null 2>&1; then :
18583
18584else
18585 ac_cv_header_stdc=no
18586fi
18587rm -f conftest*
18588
18589fi
18590
18591if test $ac_cv_header_stdc = yes; then
18592 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18594/* end confdefs.h. */
18595#include <stdlib.h>
18596
18597_ACEOF
18598if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18599 $EGREP "free" >/dev/null 2>&1; then :
18600
18601else
18602 ac_cv_header_stdc=no
18603fi
18604rm -f conftest*
18605
18606fi
18607
18608if test $ac_cv_header_stdc = yes; then
18609 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18610 if test "$cross_compiling" = yes; then :
18611 :
18612else
18613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18614/* end confdefs.h. */
18615#include <ctype.h>
18616#include <stdlib.h>
18617#if ((' ' & 0x0FF) == 0x020)
18618# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18619# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18620#else
18621# define ISLOWER(c) \
18622 (('a' <= (c) && (c) <= 'i') \
18623 || ('j' <= (c) && (c) <= 'r') \
18624 || ('s' <= (c) && (c) <= 'z'))
18625# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18626#endif
18627
18628#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18629int
18630main ()
18631{
18632 int i;
18633 for (i = 0; i < 256; i++)
18634 if (XOR (islower (i), ISLOWER (i))
18635 || toupper (i) != TOUPPER (i))
18636 return 2;
18637 return 0;
18638}
18639_ACEOF
18640if ac_fn_c_try_run "$LINENO"; then :
18641
18642else
18643 ac_cv_header_stdc=no
18644fi
18645rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18646 conftest.$ac_objext conftest.beam conftest.$ac_ext
18647fi
18648
18649fi
18650fi
18651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18652$as_echo "$ac_cv_header_stdc" >&6; }
18653if test $ac_cv_header_stdc = yes; then
18654
18655$as_echo "#define STDC_HEADERS 1" >>confdefs.h
18656
18657fi
18658
18659for ac_header in unistd.h stdint.h sys/param.h netinet/in.h sys/mman.h
18660do :
18661 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18662ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18663if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18664 cat >>confdefs.h <<_ACEOF
18665#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18666_ACEOF
18667
18668fi
18669
18670done
18671
18672
18673
18674default_max="4096"
18675ac_ext=c
18676ac_cpp='$CPP $CPPFLAGS'
18677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18679ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680
18681
18682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PATH_MAX in limits.h" >&5
18683$as_echo_n "checking for PATH_MAX in limits.h... " >&6; }
18684cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685/* end confdefs.h. */
18686
18687#include <limits.h>
18688
18689int
18690main ()
18691{
18692
18693int i = PATH_MAX;
18694
18695 ;
18696 return 0;
18697}
18698_ACEOF
18699if ac_fn_c_try_compile "$LINENO"; then :
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18701$as_echo "yes" >&6; }
18702else
18703
18704
18705cat >>confdefs.h <<_ACEOF
18706#define PATH_MAX ${default_max}
18707_ACEOF
18708
18709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: using ${default_max}" >&5
18710$as_echo "no: using ${default_max}" >&6; }
18711
18712fi
18713rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18714
18715ac_ext=c
18716ac_cpp='$CPP $CPPFLAGS'
18717ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18718ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18719ac_compiler_gnu=$ac_cv_c_compiler_gnu
18720
18721
18722
18723
18724### Checks for types
18725ac_fn_c_check_type "$LINENO" "struct sigaction" "ac_cv_type_struct_sigaction" "#include <signal.h>
18726"
18727if test "x$ac_cv_type_struct_sigaction" = x""yes; then :
18728
18729cat >>confdefs.h <<_ACEOF
18730#define HAVE_STRUCT_SIGACTION 1
18731_ACEOF
18732
18733
18734fi
18735
18736
18737
18738### Checks for structures
18739
18740
18741### Checks for compiler characteristics
18742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
18743$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
18744if test "${ac_cv_c_const+set}" = set; then :
18745 $as_echo_n "(cached) " >&6
18746else
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748/* end confdefs.h. */
18749
18750int
18751main ()
18752{
18753/* FIXME: Include the comments suggested by Paul. */
18754#ifndef __cplusplus
18755 /* Ultrix mips cc rejects this. */
18756 typedef int charset[2];
18757 const charset cs;
18758 /* SunOS 4.1.1 cc rejects this. */
18759 char const *const *pcpcc;
18760 char **ppc;
18761 /* NEC SVR4.0.2 mips cc rejects this. */
18762 struct point {int x, y;};
18763 static struct point const zero = {0,0};
18764 /* AIX XL C 1.02.0.0 rejects this.
18765 It does not let you subtract one const X* pointer from another in
18766 an arm of an if-expression whose if-part is not a constant
18767 expression */
18768 const char *g = "string";
18769 pcpcc = &g + (g ? g-g : 0);
18770 /* HPUX 7.0 cc rejects these. */
18771 ++pcpcc;
18772 ppc = (char**) pcpcc;
18773 pcpcc = (char const *const *) ppc;
18774 { /* SCO 3.2v4 cc rejects this. */
18775 char *t;
18776 char const *s = 0 ? (char *) 0 : (char const *) 0;
18777
18778 *t++ = 0;
18779 if (s) return 0;
18780 }
18781 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18782 int x[] = {25, 17};
18783 const int *foo = &x[0];
18784 ++foo;
18785 }
18786 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18787 typedef const int *iptr;
18788 iptr p = 0;
18789 ++p;
18790 }
18791 { /* AIX XL C 1.02.0.0 rejects this saying
18792 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18793 struct s { int j; const int *ap[3]; };
18794 struct s *b; b->j = 5;
18795 }
18796 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18797 const int foo = 10;
18798 if (!foo) return 0;
18799 }
18800 return !cs[0] && !zero.x;
18801#endif
18802
18803 ;
18804 return 0;
18805}
18806_ACEOF
18807if ac_fn_c_try_compile "$LINENO"; then :
18808 ac_cv_c_const=yes
18809else
18810 ac_cv_c_const=no
18811fi
18812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18813fi
18814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
18815$as_echo "$ac_cv_c_const" >&6; }
18816if test $ac_cv_c_const = no; then
18817
18818$as_echo "#define const /**/" >>confdefs.h
18819
18820fi
18821
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
18823$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
18824if test "${ac_cv_c_bigendian+set}" = set; then :
18825 $as_echo_n "(cached) " >&6
18826else
18827 ac_cv_c_bigendian=unknown
18828 # See if we're dealing with a universal compiler.
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830/* end confdefs.h. */
18831#ifndef __APPLE_CC__
18832 not a universal capable compiler
18833 #endif
18834 typedef int dummy;
18835
18836_ACEOF
18837if ac_fn_c_try_compile "$LINENO"; then :
18838
18839 # Check for potential -arch flags. It is not universal unless
18840 # there are at least two -arch flags with different values.
18841 ac_arch=
18842 ac_prev=
18843 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
18844 if test -n "$ac_prev"; then
18845 case $ac_word in
18846 i?86 | x86_64 | ppc | ppc64)
18847 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
18848 ac_arch=$ac_word
18849 else
18850 ac_cv_c_bigendian=universal
18851 break
18852 fi
18853 ;;
18854 esac
18855 ac_prev=
18856 elif test "x$ac_word" = "x-arch"; then
18857 ac_prev=arch
18858 fi
18859 done
18860fi
18861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862 if test $ac_cv_c_bigendian = unknown; then
18863 # See if sys/param.h defines the BYTE_ORDER macro.
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865/* end confdefs.h. */
18866#include <sys/types.h>
18867 #include <sys/param.h>
18868
18869int
18870main ()
18871{
18872#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
18873 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
18874 && LITTLE_ENDIAN)
18875 bogus endian macros
18876 #endif
18877
18878 ;
18879 return 0;
18880}
18881_ACEOF
18882if ac_fn_c_try_compile "$LINENO"; then :
18883 # It does; now see whether it defined to BIG_ENDIAN or not.
18884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18885/* end confdefs.h. */
18886#include <sys/types.h>
18887 #include <sys/param.h>
18888
18889int
18890main ()
18891{
18892#if BYTE_ORDER != BIG_ENDIAN
18893 not big endian
18894 #endif
18895
18896 ;
18897 return 0;
18898}
18899_ACEOF
18900if ac_fn_c_try_compile "$LINENO"; then :
18901 ac_cv_c_bigendian=yes
18902else
18903 ac_cv_c_bigendian=no
18904fi
18905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906fi
18907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908 fi
18909 if test $ac_cv_c_bigendian = unknown; then
18910 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912/* end confdefs.h. */
18913#include <limits.h>
18914
18915int
18916main ()
18917{
18918#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
18919 bogus endian macros
18920 #endif
18921
18922 ;
18923 return 0;
18924}
18925_ACEOF
18926if ac_fn_c_try_compile "$LINENO"; then :
18927 # It does; now see whether it defined to _BIG_ENDIAN or not.
18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18929/* end confdefs.h. */
18930#include <limits.h>
18931
18932int
18933main ()
18934{
18935#ifndef _BIG_ENDIAN
18936 not big endian
18937 #endif
18938
18939 ;
18940 return 0;
18941}
18942_ACEOF
18943if ac_fn_c_try_compile "$LINENO"; then :
18944 ac_cv_c_bigendian=yes
18945else
18946 ac_cv_c_bigendian=no
18947fi
18948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18949fi
18950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18951 fi
18952 if test $ac_cv_c_bigendian = unknown; then
18953 # Compile a test program.
18954 if test "$cross_compiling" = yes; then :
18955 # Try to guess by grepping values from an object file.
18956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18957/* end confdefs.h. */
18958short int ascii_mm[] =
18959 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
18960 short int ascii_ii[] =
18961 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
18962 int use_ascii (int i) {
18963 return ascii_mm[i] + ascii_ii[i];
18964 }
18965 short int ebcdic_ii[] =
18966 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
18967 short int ebcdic_mm[] =
18968 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
18969 int use_ebcdic (int i) {
18970 return ebcdic_mm[i] + ebcdic_ii[i];
18971 }
18972 extern int foo;
18973
18974int
18975main ()
18976{
18977return use_ascii (foo) == use_ebcdic (foo);
18978 ;
18979 return 0;
18980}
18981_ACEOF
18982if ac_fn_c_try_compile "$LINENO"; then :
18983 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
18984 ac_cv_c_bigendian=yes
18985 fi
18986 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
18987 if test "$ac_cv_c_bigendian" = unknown; then
18988 ac_cv_c_bigendian=no
18989 else
18990 # finding both strings is unlikely to happen, but who knows?
18991 ac_cv_c_bigendian=unknown
18992 fi
18993 fi
18994fi
18995rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18996else
18997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18998/* end confdefs.h. */
18999$ac_includes_default
19000int
19001main ()
19002{
19003
19004 /* Are we little or big endian? From Harbison&Steele. */
19005 union
19006 {
19007 long int l;
19008 char c[sizeof (long int)];
19009 } u;
19010 u.l = 1;
19011 return u.c[sizeof (long int) - 1] == 1;
19012
19013 ;
19014 return 0;
19015}
19016_ACEOF
19017if ac_fn_c_try_run "$LINENO"; then :
19018 ac_cv_c_bigendian=no
19019else
19020 ac_cv_c_bigendian=yes
19021fi
19022rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19023 conftest.$ac_objext conftest.beam conftest.$ac_ext
19024fi
19025
19026 fi
19027fi
19028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
19029$as_echo "$ac_cv_c_bigendian" >&6; }
19030 case $ac_cv_c_bigendian in #(
19031 yes)
19032 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
19033;; #(
19034 no)
19035 ;; #(
19036 universal)
19037
19038$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
19039
19040 ;; #(
19041 *)
19042 as_fn_error $? "unknown endianness
19043 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
19044 esac
19045
19046 case $ac_cv_prog_cc_stdc in #(
19047 no) :
19048 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
19049 *) :
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
19051$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
19052if test "${ac_cv_prog_cc_c99+set}" = set; then :
19053 $as_echo_n "(cached) " >&6
19054else
19055 ac_cv_prog_cc_c99=no
19056ac_save_CC=$CC
19057cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058/* end confdefs.h. */
19059#include <stdarg.h>
19060#include <stdbool.h>
19061#include <stdlib.h>
19062#include <wchar.h>
19063#include <stdio.h>
19064
19065// Check varargs macros. These examples are taken from C99 6.10.3.5.
19066#define debug(...) fprintf (stderr, __VA_ARGS__)
19067#define showlist(...) puts (#__VA_ARGS__)
19068#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
19069static void
19070test_varargs_macros (void)
19071{
19072 int x = 1234;
19073 int y = 5678;
19074 debug ("Flag");
19075 debug ("X = %d\n", x);
19076 showlist (The first, second, and third items.);
19077 report (x>y, "x is %d but y is %d", x, y);
19078}
19079
19080// Check long long types.
19081#define BIG64 18446744073709551615ull
19082#define BIG32 4294967295ul
19083#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
19084#if !BIG_OK
19085 your preprocessor is broken;
19086#endif
19087#if BIG_OK
19088#else
19089 your preprocessor is broken;
19090#endif
19091static long long int bignum = -9223372036854775807LL;
19092static unsigned long long int ubignum = BIG64;
19093
19094struct incomplete_array
19095{
19096 int datasize;
19097 double data[];
19098};
19099
19100struct named_init {
19101 int number;
19102 const wchar_t *name;
19103 double average;
19104};
19105
19106typedef const char *ccp;
19107
19108static inline int
19109test_restrict (ccp restrict text)
19110{
19111 // See if C++-style comments work.
19112 // Iterate through items via the restricted pointer.
19113 // Also check for declarations in for loops.
19114 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
19115 continue;
19116 return 0;
19117}
19118
19119// Check varargs and va_copy.
19120static void
19121test_varargs (const char *format, ...)
19122{
19123 va_list args;
19124 va_start (args, format);
19125 va_list args_copy;
19126 va_copy (args_copy, args);
19127
19128 const char *str;
19129 int number;
19130 float fnumber;
19131
19132 while (*format)
19133 {
19134 switch (*format++)
19135 {
19136 case 's': // string
19137 str = va_arg (args_copy, const char *);
19138 break;
19139 case 'd': // int
19140 number = va_arg (args_copy, int);
19141 break;
19142 case 'f': // float
19143 fnumber = va_arg (args_copy, double);
19144 break;
19145 default:
19146 break;
19147 }
19148 }
19149 va_end (args_copy);
19150 va_end (args);
19151}
19152
19153int
19154main ()
19155{
19156
19157 // Check bool.
19158 _Bool success = false;
19159
19160 // Check restrict.
19161 if (test_restrict ("String literal") == 0)
19162 success = true;
19163 char *restrict newvar = "Another string";
19164
19165 // Check varargs.
19166 test_varargs ("s, d' f .", "string", 65, 34.234);
19167 test_varargs_macros ();
19168
19169 // Check flexible array members.
19170 struct incomplete_array *ia =
19171 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
19172 ia->datasize = 10;
19173 for (int i = 0; i < ia->datasize; ++i)
19174 ia->data[i] = i * 1.234;
19175
19176 // Check named initializers.
19177 struct named_init ni = {
19178 .number = 34,
19179 .name = L"Test wide string",
19180 .average = 543.34343,
19181 };
19182
19183 ni.number = 58;
19184
19185 int dynamic_array[ni.number];
19186 dynamic_array[ni.number - 1] = 543;
19187
19188 // work around unused variable warnings
19189 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
19190 || dynamic_array[ni.number - 1] != 543);
19191
19192 ;
19193 return 0;
19194}
19195_ACEOF
19196for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
19197do
19198 CC="$ac_save_CC $ac_arg"
19199 if ac_fn_c_try_compile "$LINENO"; then :
19200 ac_cv_prog_cc_c99=$ac_arg
19201fi
19202rm -f core conftest.err conftest.$ac_objext
19203 test "x$ac_cv_prog_cc_c99" != "xno" && break
19204done
19205rm -f conftest.$ac_ext
19206CC=$ac_save_CC
19207
19208fi
19209# AC_CACHE_VAL
19210case "x$ac_cv_prog_cc_c99" in
19211 x)
19212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19213$as_echo "none needed" >&6; } ;;
19214 xno)
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19216$as_echo "unsupported" >&6; } ;;
19217 *)
19218 CC="$CC $ac_cv_prog_cc_c99"
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
19220$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
19221esac
19222if test "x$ac_cv_prog_cc_c99" != xno; then :
19223 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
19224else
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
19226$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
19227if test "${ac_cv_prog_cc_c89+set}" = set; then :
19228 $as_echo_n "(cached) " >&6
19229else
19230 ac_cv_prog_cc_c89=no
19231ac_save_CC=$CC
19232cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19233/* end confdefs.h. */
19234#include <stdarg.h>
19235#include <stdio.h>
19236#include <sys/types.h>
19237#include <sys/stat.h>
19238/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
19239struct buf { int x; };
19240FILE * (*rcsopen) (struct buf *, struct stat *, int);
19241static char *e (p, i)
19242 char **p;
19243 int i;
19244{
19245 return p[i];
19246}
19247static char *f (char * (*g) (char **, int), char **p, ...)
19248{
19249 char *s;
19250 va_list v;
19251 va_start (v,p);
19252 s = g (p, va_arg (v,int));
19253 va_end (v);
19254 return s;
19255}
19256
19257/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
19258 function prototypes and stuff, but not '\xHH' hex character constants.
19259 These don't provoke an error unfortunately, instead are silently treated
19260 as 'x'. The following induces an error, until -std is added to get
19261 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
19262 array size at least. It's necessary to write '\x00'==0 to get something
19263 that's true only with -std. */
19264int osf4_cc_array ['\x00' == 0 ? 1 : -1];
19265
19266/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
19267 inside strings and character constants. */
19268#define FOO(x) 'x'
19269int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
19270
19271int test (int i, double x);
19272struct s1 {int (*f) (int a);};
19273struct s2 {int (*f) (double a);};
19274int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
19275int argc;
19276char **argv;
19277int
19278main ()
19279{
19280return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
19281 ;
19282 return 0;
19283}
19284_ACEOF
19285for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
19286 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19287do
19288 CC="$ac_save_CC $ac_arg"
19289 if ac_fn_c_try_compile "$LINENO"; then :
19290 ac_cv_prog_cc_c89=$ac_arg
19291fi
19292rm -f core conftest.err conftest.$ac_objext
19293 test "x$ac_cv_prog_cc_c89" != "xno" && break
19294done
19295rm -f conftest.$ac_ext
19296CC=$ac_save_CC
19297
19298fi
19299# AC_CACHE_VAL
19300case "x$ac_cv_prog_cc_c89" in
19301 x)
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19303$as_echo "none needed" >&6; } ;;
19304 xno)
19305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19306$as_echo "unsupported" >&6; } ;;
19307 *)
19308 CC="$CC $ac_cv_prog_cc_c89"
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
19310$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
19311esac
19312if test "x$ac_cv_prog_cc_c89" != xno; then :
19313 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
19314else
19315 ac_cv_prog_cc_stdc=no
19316fi
19317
19318fi
19319 ;;
19320esac
19321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
19322$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
19323 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
19324 $as_echo_n "(cached) " >&6
19325fi
19326
19327 case $ac_cv_prog_cc_stdc in #(
19328 no) :
19329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
19330$as_echo "unsupported" >&6; } ;; #(
19331 '') :
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
19333$as_echo "none needed" >&6; } ;; #(
19334 *) :
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
19336$as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
19337esac
19338
19339
19340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((unused))" >&5
19341$as_echo_n "checking for __attribute__ ((unused))... " >&6; }
19342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343/* end confdefs.h. */
19344
19345void foo(int x __attribute__ ((unused))) {}
19346
19347int
19348main ()
19349{
19350
19351
19352 ;
19353 return 0;
19354}
19355_ACEOF
19356if ac_fn_c_try_compile "$LINENO"; then :
19357 have_attribute_unused="yes"
19358else
19359 have_attribute_unused="no"
19360fi
19361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_unused}" >&5
19363$as_echo "${have_attribute_unused}" >&6; }
19364
19365if test "x${have_attribute_unused}" = "xyes" ; then
19366
19367$as_echo "#define __UNUSED__ __attribute__ ((unused))" >>confdefs.h
19368
19369else
19370
19371$as_echo "#define __UNUSED__ /**/" >>confdefs.h
19372
19373fi
19374
19375
19376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((vector))" >&5
19377$as_echo_n "checking for __attribute__ ((vector))... " >&6; }
19378cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19379/* end confdefs.h. */
19380
19381typedef int v4si __attribute__ ((vector_size (16)));
19382
19383int
19384main ()
19385{
19386
19387if (sizeof(v4si) == 16)
19388 return 0;
19389else
19390 return -1;
19391
19392 ;
19393 return 0;
19394}
19395_ACEOF
19396if ac_fn_c_try_compile "$LINENO"; then :
19397 have_attribute_vector="yes"
19398else
19399 have_attribute_vector="no"
19400fi
19401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_vector}" >&5
19403$as_echo "${have_attribute_vector}" >&6; }
19404
19405if test "x${have_attribute_vector}" = "xyes" ; then
19406
19407$as_echo "#define HAVE_GCC_ATTRIBUTE_VECTOR 1" >>confdefs.h
19408
19409fi
19410
19411
19412
19413have_attribute_forceinline="no"
19414
19415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for __forceinline" >&5
19416$as_echo_n "checking for __forceinline... " >&6; }
19417
19418cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19419/* end confdefs.h. */
19420
19421#include <windows.h>
19422static __forceinline void foo(void) {}
19423
19424int
19425main ()
19426{
19427
19428
19429 ;
19430 return 0;
19431}
19432_ACEOF
19433if ac_fn_c_try_compile "$LINENO"; then :
19434
19435 have_attribute_always_inline="yes"
19436 have_attribute_forceinline="yes"
19437
19438else
19439 have_attribute_always_inline="no"
19440fi
19441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442
19443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
19444$as_echo "${have_attribute_always_inline}" >&6; }
19445
19446if test "x${have_attribute_always_inline}" = "xno" ; then
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __attribute__ ((__always_inline__))" >&5
19448$as_echo_n "checking for __attribute__ ((__always_inline__))... " >&6; }
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450/* end confdefs.h. */
19451
19452static __attribute__((__always_inline__)) inline void foo(void) {}
19453
19454int
19455main ()
19456{
19457
19458
19459 ;
19460 return 0;
19461}
19462_ACEOF
19463if ac_fn_c_try_compile "$LINENO"; then :
19464 have_attribute_always_inline="yes"
19465else
19466 have_attribute_always_inline="no"
19467fi
19468rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_attribute_always_inline}" >&5
19470$as_echo "${have_attribute_always_inline}" >&6; }
19471fi
19472
19473if test "x${have_attribute_always_inline}" = "xyes" ; then
19474 if test "x${have_attribute_forceinline}" = "xyes" ; then
19475
19476$as_echo "#define EFL_ALWAYS_INLINE __forceinline" >>confdefs.h
19477
19478 else
19479
19480$as_echo "#define EFL_ALWAYS_INLINE __attribute__ ((__always_inline__)) inline" >>confdefs.h
19481
19482 fi
19483else
19484
19485$as_echo "#define EFL_ALWAYS_INLINE static inline" >>confdefs.h
19486
19487fi
19488
19489
19490
19491### Checks for linker characteristics
19492lt_enable_auto_import=""
19493case "${host_os}" in
19494 mingw*)
19495
19496$as_echo "#define EFL_EVAS_BUILD 1" >>confdefs.h
19497
19498 lt_enable_auto_import="-Wl,--enable-auto-import"
19499 ;;
19500esac
19501
19502
19503
19504### Checks for library functions
19505
19506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
19507$as_echo_n "checking for library containing strerror... " >&6; }
19508if test "${ac_cv_search_strerror+set}" = set; then :
19509 $as_echo_n "(cached) " >&6
19510else
19511 ac_func_search_save_LIBS=$LIBS
19512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19513/* end confdefs.h. */
19514
19515/* Override any GCC internal prototype to avoid an error.
19516 Use char because int might match the return type of a GCC
19517 builtin and then its argument prototype would still apply. */
19518#ifdef __cplusplus
19519extern "C"
19520#endif
19521char strerror ();
19522int
19523main ()
19524{
19525return strerror ();
19526 ;
19527 return 0;
19528}
19529_ACEOF
19530for ac_lib in '' cposix; do
19531 if test -z "$ac_lib"; then
19532 ac_res="none required"
19533 else
19534 ac_res=-l$ac_lib
19535 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19536 fi
19537 if ac_fn_c_try_link "$LINENO"; then :
19538 ac_cv_search_strerror=$ac_res
19539fi
19540rm -f core conftest.err conftest.$ac_objext \
19541 conftest$ac_exeext
19542 if test "${ac_cv_search_strerror+set}" = set; then :
19543 break
19544fi
19545done
19546if test "${ac_cv_search_strerror+set}" = set; then :
19547
19548else
19549 ac_cv_search_strerror=no
19550fi
19551rm conftest.$ac_ext
19552LIBS=$ac_func_search_save_LIBS
19553fi
19554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
19555$as_echo "$ac_cv_search_strerror" >&6; }
19556ac_res=$ac_cv_search_strerror
19557if test "$ac_res" != no; then :
19558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19559
19560fi
19561
19562for ac_func in siglongjmp
19563do :
19564 ac_fn_c_check_func "$LINENO" "siglongjmp" "ac_cv_func_siglongjmp"
19565if test "x$ac_cv_func_siglongjmp" = x""yes; then :
19566 cat >>confdefs.h <<_ACEOF
19567#define HAVE_SIGLONGJMP 1
19568_ACEOF
19569
19570fi
19571done
19572
19573
19574# alloca
19575# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19576# for constant arguments. Useless!
19577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
19578$as_echo_n "checking for working alloca.h... " >&6; }
19579if test "${ac_cv_working_alloca_h+set}" = set; then :
19580 $as_echo_n "(cached) " >&6
19581else
19582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19583/* end confdefs.h. */
19584#include <alloca.h>
19585int
19586main ()
19587{
19588char *p = (char *) alloca (2 * sizeof (int));
19589 if (p) return 0;
19590 ;
19591 return 0;
19592}
19593_ACEOF
19594if ac_fn_c_try_link "$LINENO"; then :
19595 ac_cv_working_alloca_h=yes
19596else
19597 ac_cv_working_alloca_h=no
19598fi
19599rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext conftest.$ac_ext
19601fi
19602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
19603$as_echo "$ac_cv_working_alloca_h" >&6; }
19604if test $ac_cv_working_alloca_h = yes; then
19605
19606$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
19607
19608fi
19609
19610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
19611$as_echo_n "checking for alloca... " >&6; }
19612if test "${ac_cv_func_alloca_works+set}" = set; then :
19613 $as_echo_n "(cached) " >&6
19614else
19615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19616/* end confdefs.h. */
19617#ifdef __GNUC__
19618# define alloca __builtin_alloca
19619#else
19620# ifdef _MSC_VER
19621# include <malloc.h>
19622# define alloca _alloca
19623# else
19624# ifdef HAVE_ALLOCA_H
19625# include <alloca.h>
19626# else
19627# ifdef _AIX
19628 #pragma alloca
19629# else
19630# ifndef alloca /* predefined by HP cc +Olibcalls */
19631char *alloca ();
19632# endif
19633# endif
19634# endif
19635# endif
19636#endif
19637
19638int
19639main ()
19640{
19641char *p = (char *) alloca (1);
19642 if (p) return 0;
19643 ;
19644 return 0;
19645}
19646_ACEOF
19647if ac_fn_c_try_link "$LINENO"; then :
19648 ac_cv_func_alloca_works=yes
19649else
19650 ac_cv_func_alloca_works=no
19651fi
19652rm -f core conftest.err conftest.$ac_objext \
19653 conftest$ac_exeext conftest.$ac_ext
19654fi
19655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
19656$as_echo "$ac_cv_func_alloca_works" >&6; }
19657
19658if test $ac_cv_func_alloca_works = yes; then
19659
19660$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
19661
19662else
19663 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
19664# that cause trouble. Some versions do not even contain alloca or
19665# contain a buggy version. If you still want to use their alloca,
19666# use ar to extract alloca.o from them instead of compiling alloca.c.
19667
19668ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
19669
19670$as_echo "#define C_ALLOCA 1" >>confdefs.h
19671
19672
19673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
19674$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
19675if test "${ac_cv_os_cray+set}" = set; then :
19676 $as_echo_n "(cached) " >&6
19677else
19678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19679/* end confdefs.h. */
19680#if defined CRAY && ! defined CRAY2
19681webecray
19682#else
19683wenotbecray
19684#endif
19685
19686_ACEOF
19687if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19688 $EGREP "webecray" >/dev/null 2>&1; then :
19689 ac_cv_os_cray=yes
19690else
19691 ac_cv_os_cray=no
19692fi
19693rm -f conftest*
19694
19695fi
19696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
19697$as_echo "$ac_cv_os_cray" >&6; }
19698if test $ac_cv_os_cray = yes; then
19699 for ac_func in _getb67 GETB67 getb67; do
19700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19701ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19702if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19703
19704cat >>confdefs.h <<_ACEOF
19705#define CRAY_STACKSEG_END $ac_func
19706_ACEOF
19707
19708 break
19709fi
19710
19711 done
19712fi
19713
19714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
19715$as_echo_n "checking stack direction for C alloca... " >&6; }
19716if test "${ac_cv_c_stack_direction+set}" = set; then :
19717 $as_echo_n "(cached) " >&6
19718else
19719 if test "$cross_compiling" = yes; then :
19720 ac_cv_c_stack_direction=0
19721else
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723/* end confdefs.h. */
19724$ac_includes_default
19725int
19726find_stack_direction ()
19727{
19728 static char *addr = 0;
19729 auto char dummy;
19730 if (addr == 0)
19731 {
19732 addr = &dummy;
19733 return find_stack_direction ();
19734 }
19735 else
19736 return (&dummy > addr) ? 1 : -1;
19737}
19738
19739int
19740main ()
19741{
19742 return find_stack_direction () < 0;
19743}
19744_ACEOF
19745if ac_fn_c_try_run "$LINENO"; then :
19746 ac_cv_c_stack_direction=1
19747else
19748 ac_cv_c_stack_direction=-1
19749fi
19750rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19751 conftest.$ac_objext conftest.beam conftest.$ac_ext
19752fi
19753
19754fi
19755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
19756$as_echo "$ac_cv_c_stack_direction" >&6; }
19757cat >>confdefs.h <<_ACEOF
19758#define STACK_DIRECTION $ac_cv_c_stack_direction
19759_ACEOF
19760
19761
19762fi
19763
19764
19765# fnmatch
19766
19767
19768ac_fn_c_check_header_mongrel "$LINENO" "fnmatch.h" "ac_cv_header_fnmatch_h" "$ac_includes_default"
19769if test "x$ac_cv_header_fnmatch_h" = x""yes; then :
19770 _efl_have_fnmatch="yes"
19771else
19772 _efl_have_fnmatch="no"
19773fi
19774
19775
19776
19777if test "x${_efl_have_fnmatch}" = "xyes" ; then
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fnmatch" >&5
19779$as_echo_n "checking for library containing fnmatch... " >&6; }
19780if test "${ac_cv_search_fnmatch+set}" = set; then :
19781 $as_echo_n "(cached) " >&6
19782else
19783 ac_func_search_save_LIBS=$LIBS
19784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19785/* end confdefs.h. */
19786
19787/* Override any GCC internal prototype to avoid an error.
19788 Use char because int might match the return type of a GCC
19789 builtin and then its argument prototype would still apply. */
19790#ifdef __cplusplus
19791extern "C"
19792#endif
19793char fnmatch ();
19794int
19795main ()
19796{
19797return fnmatch ();
19798 ;
19799 return 0;
19800}
19801_ACEOF
19802for ac_lib in '' fnmatch evil exotic iberty; do
19803 if test -z "$ac_lib"; then
19804 ac_res="none required"
19805 else
19806 ac_res=-l$ac_lib
19807 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19808 fi
19809 if ac_fn_c_try_link "$LINENO"; then :
19810 ac_cv_search_fnmatch=$ac_res
19811fi
19812rm -f core conftest.err conftest.$ac_objext \
19813 conftest$ac_exeext
19814 if test "${ac_cv_search_fnmatch+set}" = set; then :
19815 break
19816fi
19817done
19818if test "${ac_cv_search_fnmatch+set}" = set; then :
19819
19820else
19821 ac_cv_search_fnmatch=no
19822fi
19823rm conftest.$ac_ext
19824LIBS=$ac_func_search_save_LIBS
19825fi
19826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fnmatch" >&5
19827$as_echo "$ac_cv_search_fnmatch" >&6; }
19828ac_res=$ac_cv_search_fnmatch
19829if test "$ac_res" != no; then :
19830 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19831 _efl_have_fnmatch="yes"
19832else
19833 _efl_have_fnmatch="no"
19834fi
19835
19836fi
19837
19838EFL_FNMATCH_LIBS=""
19839
19840if (! test "x${ac_cv_search_fnmatch}" = "xnone required") && (! test "x${ac_cv_search_fnmatch}" = "xno") && (! test "x${ac_cv_search_fnmatch}" = "x-levil") ; then
19841 EFL_FNMATCH_LIBS=${ac_cv_search_fnmatch}
19842fi
19843
19844
19845
19846if test "x$_efl_have_fnmatch" = "xyes"; then :
19847
19848else
19849 as_fn_error $? "Cannot find fnmatch()" "$LINENO" 5
19850fi
19851
19852
19853
19854# dlopen
19855dlopen_libs=""
19856case "$host_os" in
19857 mingw32ce*)
19858# managed by evil
19859 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19860
19861 ;;
19862 mingw*)
19863# nothing on mingw platform
19864 ;;
19865 *)
19866 for ac_func in dlsym
19867do :
19868 ac_fn_c_check_func "$LINENO" "dlsym" "ac_cv_func_dlsym"
19869if test "x$ac_cv_func_dlsym" = x""yes; then :
19870 cat >>confdefs.h <<_ACEOF
19871#define HAVE_DLSYM 1
19872_ACEOF
19873 res=yes
19874else
19875 res=no
19876fi
19877done
19878
19879 if test "x$res" = "xyes"; then
19880 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19881
19882 else
19883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5
19884$as_echo_n "checking for dlsym in -ldl... " >&6; }
19885if test "${ac_cv_lib_dl_dlsym+set}" = set; then :
19886 $as_echo_n "(cached) " >&6
19887else
19888 ac_check_lib_save_LIBS=$LIBS
19889LIBS="-ldl $LIBS"
19890cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19891/* end confdefs.h. */
19892
19893/* Override any GCC internal prototype to avoid an error.
19894 Use char because int might match the return type of a GCC
19895 builtin and then its argument prototype would still apply. */
19896#ifdef __cplusplus
19897extern "C"
19898#endif
19899char dlsym ();
19900int
19901main ()
19902{
19903return dlsym ();
19904 ;
19905 return 0;
19906}
19907_ACEOF
19908if ac_fn_c_try_link "$LINENO"; then :
19909 ac_cv_lib_dl_dlsym=yes
19910else
19911 ac_cv_lib_dl_dlsym=no
19912fi
19913rm -f core conftest.err conftest.$ac_objext \
19914 conftest$ac_exeext conftest.$ac_ext
19915LIBS=$ac_check_lib_save_LIBS
19916fi
19917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5
19918$as_echo "$ac_cv_lib_dl_dlsym" >&6; }
19919if test "x$ac_cv_lib_dl_dlsym" = x""yes; then :
19920 res=yes
19921else
19922 res=no
19923fi
19924
19925 if test "x$res" = "xyes"; then
19926 dlopen_libs=-ldl
19927 $as_echo "#define HAVE_DLSYM 1" >>confdefs.h
19928
19929 else
19930 want_evas_engine_gl_xlib="no"
19931 want_evas_engine_gl_xcb="no"
19932 want_evas_engine_gl_sdl="no"
19933 fi
19934 fi
19935esac
19936
19937
19938res=no
19939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround in -lm" >&5
19940$as_echo_n "checking for lround in -lm... " >&6; }
19941if test "${ac_cv_lib_m_lround+set}" = set; then :
19942 $as_echo_n "(cached) " >&6
19943else
19944 ac_check_lib_save_LIBS=$LIBS
19945LIBS="-lm $LIBS"
19946cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947/* end confdefs.h. */
19948
19949/* Override any GCC internal prototype to avoid an error.
19950 Use char because int might match the return type of a GCC
19951 builtin and then its argument prototype would still apply. */
19952#ifdef __cplusplus
19953extern "C"
19954#endif
19955char lround ();
19956int
19957main ()
19958{
19959return lround ();
19960 ;
19961 return 0;
19962}
19963_ACEOF
19964if ac_fn_c_try_link "$LINENO"; then :
19965 ac_cv_lib_m_lround=yes
19966else
19967 ac_cv_lib_m_lround=no
19968fi
19969rm -f core conftest.err conftest.$ac_objext \
19970 conftest$ac_exeext conftest.$ac_ext
19971LIBS=$ac_check_lib_save_LIBS
19972fi
19973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_lround" >&5
19974$as_echo "$ac_cv_lib_m_lround" >&6; }
19975if test "x$ac_cv_lib_m_lround" = x""yes; then :
19976 res=yes
19977else
19978 res=no
19979fi
19980
19981if test "x$res" = "xyes"; then
19982
19983$as_echo "#define HAVE_LROUND 1" >>confdefs.h
19984
19985fi
19986
19987SHM_OPEN_LINK=""
19988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open() is present" >&5
19989$as_echo_n "checking whether shm_open() is present... " >&6; }
19990LIBS_save=${LIBS}
19991LIBS="${LIBS} -lrt"
19992cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993/* end confdefs.h. */
19994
19995#include <sys/stat.h>
19996#include <sys/mman.h>
19997#include <fcntl.h>
19998
19999int
20000main ()
20001{
20002
20003int fd;
20004fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
20005shm_unlink("/");
20006
20007 ;
20008 return 0;
20009}
20010_ACEOF
20011if ac_fn_c_try_link "$LINENO"; then :
20012
20013 have_shm_open="yes"
20014
20015$as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
20016
20017 SHM_OPEN_LINK="-lrt"
20018
20019else
20020 have_shm_open="no"
20021fi
20022rm -f core conftest.err conftest.$ac_objext \
20023 conftest$ac_exeext conftest.$ac_ext
20024LIBS=${LIBS_save}
20025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_shm_open}" >&5
20026$as_echo "${have_shm_open}" >&6; }
20027
20028
20029# (shm_open (for cache server)
20030# Check whether --enable-evas-cserve was given.
20031if test "${enable_evas_cserve+set}" = set; then :
20032 enableval=$enable_evas_cserve;
20033 if test "x${enableval}" = "xyes" ; then
20034 want_evas_cserve="yes"
20035 else
20036 want_evas_cserve="no"
20037 fi
20038
20039fi
20040
20041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared cache server and support" >&5
20042$as_echo_n "checking whether to build shared cache server and support... " >&6; }
20043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20044$as_echo "${want_evas_cserve}" >&6; }
20045
20046if test "x${want_evas_cserve}" = "xyes" ; then
20047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shm_open() is present" >&5
20048$as_echo_n "checking whether shm_open() is present... " >&6; }
20049 LIBS_save=${LIBS}
20050 LIBS="${LIBS} -lrt"
20051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20052/* end confdefs.h. */
20053
20054#include <sys/types.h>
20055#include <sys/mman.h>
20056#include <fcntl.h>
20057
20058int
20059main ()
20060{
20061
20062int fd;
20063fd = shm_open("/", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
20064shm_unlink("/");
20065
20066 ;
20067 return 0;
20068}
20069_ACEOF
20070if ac_fn_c_try_link "$LINENO"; then :
20071 want_evas_cserve="yes"
20072else
20073 want_evas_cserve="no"
20074fi
20075rm -f core conftest.err conftest.$ac_objext \
20076 conftest$ac_exeext conftest.$ac_ext
20077 LIBS=${LIBS_save}
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_evas_cserve}" >&5
20079$as_echo "${want_evas_cserve}" >&6; }
20080fi
20081
20082if test "x${want_evas_cserve}" = "xyes" ; then
20083
20084$as_echo "#define EVAS_CSERVE 1" >>confdefs.h
20085
20086fi
20087
20088 if test "x${want_evas_cserve}" = "xyes"; then
20089 EVAS_CSERVE_TRUE=
20090 EVAS_CSERVE_FALSE='#'
20091else
20092 EVAS_CSERVE_TRUE='#'
20093 EVAS_CSERVE_FALSE=
20094fi
20095
20096
20097
20098
20099#######################################
20100## GL force flavor gles
20101gl_flavor_gles="no"
20102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES flavor of GL" >&5
20103$as_echo_n "checking whether to build GLES flavor of GL... " >&6; }
20104# Check whether --enable-gl-flavor-gles was given.
20105if test "${enable_gl_flavor_gles+set}" = set; then :
20106 enableval=$enable_gl_flavor_gles;
20107 if test "x$enableval" = "xyes" ; then
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20109$as_echo "yes" >&6; }
20110 gl_flavor_gles="yes"
20111 else
20112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20113$as_echo "no" >&6; }
20114 gl_flavor_gles="no"
20115 fi
20116
20117else
20118
20119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20120$as_echo "no" >&6; }
20121 gl_flavor_gles="no"
20122
20123
20124fi
20125
20126
20127#######################################
20128## GLES variety sgx
20129gles_variety_sgx="no"
20130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for SGX" >&5
20131$as_echo_n "checking whether to build GLES variety for SGX... " >&6; }
20132# Check whether --enable-gles-variety-sgx was given.
20133if test "${enable_gles_variety_sgx+set}" = set; then :
20134 enableval=$enable_gles_variety_sgx;
20135 if test "x$enableval" = "xyes" ; then
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20137$as_echo "yes" >&6; }
20138
20139$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
20140
20141 gles_variety_sgx="yes"
20142 else
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20144$as_echo "no" >&6; }
20145 gles_variety_sgx="no"
20146 fi
20147
20148else
20149
20150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20151$as_echo "no" >&6; }
20152 gles_variety_sgx="no"
20153
20154
20155fi
20156
20157
20158#######################################
20159## GLES variety s3c6410
20160gles_variety_s3c6410="no"
20161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build GLES variety for s3c6410" >&5
20162$as_echo_n "checking whether to build GLES variety for s3c6410... " >&6; }
20163# Check whether --enable-gles-variety-s3c6410 was given.
20164if test "${enable_gles_variety_s3c6410+set}" = set; then :
20165 enableval=$enable_gles_variety_s3c6410;
20166 if test "x$enableval" = "xyes" ; then
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20168$as_echo "yes" >&6; }
20169
20170$as_echo "#define GLES_VARIETY_S3C6410 1" >>confdefs.h
20171
20172 gles_variety_s3c6410="yes"
20173 else
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20175$as_echo "no" >&6; }
20176 gles_variety_s3c6410="no"
20177 fi
20178
20179else
20180
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20182$as_echo "no" >&6; }
20183 gles_variety_s3c6410="no"
20184
20185
20186fi
20187
20188
20189if test "x$gl_flavor_gles" = "xyes"; then
20190 eng=""
20191 if test "x$gles_variety_sgx" = "xyes"; then eng="x"$eng; fi
20192 if test "x$gles_variety_s3c6410" = "xyes"; then eng="x"$eng; fi
20193 if test "x$eng" = "xx"; then
20194 eng=""
20195 else
20196 as_fn_error $? "Please enable just 1 OpenGL-ES flavor. Choices are:
20197 --enable-gles-variety-sgx (Most GL-ES2 GPUs with shader compiler)
20198 --enable-gles-variety-s3c6410 (s3c6410 with offline shader compiler)
20199 You will also need to enable the OpenGL engine for X11 with:
20200 --enable-gl-xlib or --enable-gl-xcb
20201 " "$LINENO" 5
20202 fi
20203fi
20204
20205#####################################################################
20206## Engines
20207
20208
20209
20210
20211want_engine="${want_evas_engine_buffer}"
20212want_static_engine="no"
20213have_engine="no"
20214have_evas_engine_buffer="no"
20215
20216# Check whether --enable-buffer was given.
20217if test "${enable_buffer+set}" = set; then :
20218 enableval=$enable_buffer;
20219 if test "x${enableval}" = "xyes" ; then
20220 want_engine="yes"
20221 else
20222 if test "x${enableval}" = "xstatic" ; then
20223 want_engine="static"
20224 else
20225 want_engine="no"
20226 fi
20227 fi
20228
20229fi
20230
20231
20232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Buffer rendering backend" >&5
20233$as_echo_n "checking whether to enable Buffer rendering backend... " >&6; }
20234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20235$as_echo "${want_engine}" >&6; }
20236
20237if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20238
20239
20240have_dep="yes"
20241evas_engine_buffer_cflags=""
20242evas_engine_buffer_libs=""
20243
20244
20245
20246
20247if test "x${have_dep}" = "xyes" ; then
20248 have_engine="yes"
20249else
20250 have_engine="no"
20251fi
20252
20253
20254fi
20255
20256if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20257 as_fn_error $? "Buffer dependencies not found (strict dependencies checking)" "$LINENO" 5
20258fi
20259
20260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Buffer rendering backend will be built" >&5
20261$as_echo_n "checking whether Buffer rendering backend will be built... " >&6; }
20262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20263$as_echo "${have_engine}" >&6; }
20264
20265if test "x${have_engine}" = "xyes" ; then
20266 if test "x${want_engine}" = "xstatic" ; then
20267 have_evas_engine_buffer="static"
20268 want_static_engine="yes"
20269 else
20270 have_evas_engine_buffer="yes"
20271 fi
20272fi
20273
20274if test "x${have_engine}" = "xyes" ; then
20275
20276$as_echo "#define BUILD_ENGINE_BUFFER 1" >>confdefs.h
20277
20278fi
20279
20280 if test "x${have_engine}" = "xyes"; then
20281 BUILD_ENGINE_BUFFER_TRUE=
20282 BUILD_ENGINE_BUFFER_FALSE='#'
20283else
20284 BUILD_ENGINE_BUFFER_TRUE='#'
20285 BUILD_ENGINE_BUFFER_FALSE=
20286fi
20287
20288
20289if test "x${want_static_engine}" = "xyes" ; then
20290
20291$as_echo "#define EVAS_STATIC_BUILD_BUFFER 1" >>confdefs.h
20292
20293 have_static_module="yes"
20294fi
20295
20296 if test "x${want_static_engine}" = "xyes"; then
20297 EVAS_STATIC_BUILD_BUFFER_TRUE=
20298 EVAS_STATIC_BUILD_BUFFER_FALSE='#'
20299else
20300 EVAS_STATIC_BUILD_BUFFER_TRUE='#'
20301 EVAS_STATIC_BUILD_BUFFER_FALSE=
20302fi
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313want_engine="${want_evas_engine_software_gdi}"
20314want_static_engine="no"
20315have_engine="no"
20316have_evas_engine_software_gdi="no"
20317
20318# Check whether --enable-software-gdi was given.
20319if test "${enable_software_gdi+set}" = set; then :
20320 enableval=$enable_software_gdi;
20321 if test "x${enableval}" = "xyes" ; then
20322 want_engine="yes"
20323 else
20324 if test "x${enableval}" = "xstatic" ; then
20325 want_engine="static"
20326 else
20327 want_engine="no"
20328 fi
20329 fi
20330
20331fi
20332
20333
20334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software GDI rendering backend" >&5
20335$as_echo_n "checking whether to enable Software GDI rendering backend... " >&6; }
20336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20337$as_echo "${want_engine}" >&6; }
20338
20339if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20340
20341
20342have_dep="no"
20343evas_engine_software_gdi_cflags=""
20344evas_engine_software_gdi_libs=""
20345
20346ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
20347if test "x$ac_cv_header_windows_h" = x""yes; then :
20348
20349 have_dep="yes"
20350 evas_engine_software_gdi_libs="-lgdi32"
20351
20352
20353fi
20354
20355
20356
20357
20358
20359
20360if test "x${have_dep}" = "xyes" ; then
20361 have_engine="yes"
20362else
20363 have_engine="no"
20364fi
20365
20366
20367fi
20368
20369if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20370 as_fn_error $? "Software GDI dependencies not found (strict dependencies checking)" "$LINENO" 5
20371fi
20372
20373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software GDI rendering backend will be built" >&5
20374$as_echo_n "checking whether Software GDI rendering backend will be built... " >&6; }
20375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20376$as_echo "${have_engine}" >&6; }
20377
20378if test "x${have_engine}" = "xyes" ; then
20379 if test "x${want_engine}" = "xstatic" ; then
20380 have_evas_engine_software_gdi="static"
20381 want_static_engine="yes"
20382 else
20383 have_evas_engine_software_gdi="yes"
20384 fi
20385fi
20386
20387if test "x${have_engine}" = "xyes" ; then
20388
20389$as_echo "#define BUILD_ENGINE_SOFTWARE_GDI 1" >>confdefs.h
20390
20391fi
20392
20393 if test "x${have_engine}" = "xyes"; then
20394 BUILD_ENGINE_SOFTWARE_GDI_TRUE=
20395 BUILD_ENGINE_SOFTWARE_GDI_FALSE='#'
20396else
20397 BUILD_ENGINE_SOFTWARE_GDI_TRUE='#'
20398 BUILD_ENGINE_SOFTWARE_GDI_FALSE=
20399fi
20400
20401
20402if test "x${want_static_engine}" = "xyes" ; then
20403
20404$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GDI 1" >>confdefs.h
20405
20406 have_static_module="yes"
20407fi
20408
20409 if test "x${want_static_engine}" = "xyes"; then
20410 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE=
20411 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE='#'
20412else
20413 EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE='#'
20414 EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE=
20415fi
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426want_engine="${want_evas_engine_software_ddraw}"
20427want_static_engine="no"
20428have_engine="no"
20429have_evas_engine_software_ddraw="no"
20430
20431# Check whether --enable-software-ddraw was given.
20432if test "${enable_software_ddraw+set}" = set; then :
20433 enableval=$enable_software_ddraw;
20434 if test "x${enableval}" = "xyes" ; then
20435 want_engine="yes"
20436 else
20437 if test "x${enableval}" = "xstatic" ; then
20438 want_engine="static"
20439 else
20440 want_engine="no"
20441 fi
20442 fi
20443
20444fi
20445
20446
20447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw rendering backend" >&5
20448$as_echo_n "checking whether to enable Software DirectDraw rendering backend... " >&6; }
20449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20450$as_echo "${want_engine}" >&6; }
20451
20452if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20453
20454
20455have_dep="no"
20456evas_engine_software_ddraw_cflags=""
20457evas_engine_software_ddraw_libs=""
20458
20459ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
20460if test "x$ac_cv_header_ddraw_h" = x""yes; then :
20461
20462 have_dep="yes"
20463 evas_engine_software_ddraw_libs="-lddraw"
20464
20465
20466fi
20467
20468
20469
20470
20471
20472
20473if test "x${have_dep}" = "xyes" ; then
20474 have_engine="yes"
20475else
20476 have_engine="no"
20477fi
20478
20479
20480fi
20481
20482if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20483 as_fn_error $? "Software DirectDraw dependencies not found (strict dependencies checking)" "$LINENO" 5
20484fi
20485
20486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw rendering backend will be built" >&5
20487$as_echo_n "checking whether Software DirectDraw rendering backend will be built... " >&6; }
20488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20489$as_echo "${have_engine}" >&6; }
20490
20491if test "x${have_engine}" = "xyes" ; then
20492 if test "x${want_engine}" = "xstatic" ; then
20493 have_evas_engine_software_ddraw="static"
20494 want_static_engine="yes"
20495 else
20496 have_evas_engine_software_ddraw="yes"
20497 fi
20498fi
20499
20500if test "x${have_engine}" = "xyes" ; then
20501
20502$as_echo "#define BUILD_ENGINE_SOFTWARE_DDRAW 1" >>confdefs.h
20503
20504fi
20505
20506 if test "x${have_engine}" = "xyes"; then
20507 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE=
20508 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE='#'
20509else
20510 BUILD_ENGINE_SOFTWARE_DDRAW_TRUE='#'
20511 BUILD_ENGINE_SOFTWARE_DDRAW_FALSE=
20512fi
20513
20514
20515if test "x${want_static_engine}" = "xyes" ; then
20516
20517$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_DDRAW 1" >>confdefs.h
20518
20519 have_static_module="yes"
20520fi
20521
20522 if test "x${want_static_engine}" = "xyes"; then
20523 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE=
20524 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE='#'
20525else
20526 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE='#'
20527 EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE=
20528fi
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539want_engine="${want_evas_engine_direct3d}"
20540want_static_engine="no"
20541have_engine="no"
20542have_evas_engine_direct3d="no"
20543
20544# Check whether --enable-direct3d was given.
20545if test "${enable_direct3d+set}" = set; then :
20546 enableval=$enable_direct3d;
20547 if test "x${enableval}" = "xyes" ; then
20548 want_engine="yes"
20549 else
20550 if test "x${enableval}" = "xstatic" ; then
20551 want_engine="static"
20552 else
20553 want_engine="no"
20554 fi
20555 fi
20556
20557fi
20558
20559
20560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Direct3D rendering backend" >&5
20561$as_echo_n "checking whether to enable Direct3D rendering backend... " >&6; }
20562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20563$as_echo "${want_engine}" >&6; }
20564
20565if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20566
20567
20568evas_engine_direct3d_cflags=""
20569evas_engine_direct3d_libs=""
20570
20571for ac_header in d3d9.h d3dx9.h
20572do :
20573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20574ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20575if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20576 cat >>confdefs.h <<_ACEOF
20577#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20578_ACEOF
20579
20580 have_dep="yes"
20581 evas_engine_direct3d_libs="-ld3d9 -ld3dx9 -lgdi32"
20582
20583else
20584 have_dep="no"; break
20585
20586fi
20587
20588done
20589
20590
20591
20592
20593
20594if test "x${have_dep}" = "xyes" ; then
20595 have_engine="yes"
20596else
20597 have_engine="no"
20598fi
20599
20600
20601fi
20602
20603if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20604 as_fn_error $? "Direct3D dependencies not found (strict dependencies checking)" "$LINENO" 5
20605fi
20606
20607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Direct3D rendering backend will be built" >&5
20608$as_echo_n "checking whether Direct3D rendering backend will be built... " >&6; }
20609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20610$as_echo "${have_engine}" >&6; }
20611
20612if test "x${have_engine}" = "xyes" ; then
20613 if test "x${want_engine}" = "xstatic" ; then
20614 have_evas_engine_direct3d="static"
20615 want_static_engine="yes"
20616 else
20617 have_evas_engine_direct3d="yes"
20618 fi
20619fi
20620
20621if test "x${have_engine}" = "xyes" ; then
20622
20623$as_echo "#define BUILD_ENGINE_DIRECT3D 1" >>confdefs.h
20624
20625fi
20626
20627 if test "x${have_engine}" = "xyes"; then
20628 BUILD_ENGINE_DIRECT3D_TRUE=
20629 BUILD_ENGINE_DIRECT3D_FALSE='#'
20630else
20631 BUILD_ENGINE_DIRECT3D_TRUE='#'
20632 BUILD_ENGINE_DIRECT3D_FALSE=
20633fi
20634
20635
20636if test "x${want_static_engine}" = "xyes" ; then
20637
20638$as_echo "#define EVAS_STATIC_BUILD_DIRECT3D 1" >>confdefs.h
20639
20640 have_static_module="yes"
20641fi
20642
20643 if test "x${want_static_engine}" = "xyes"; then
20644 EVAS_STATIC_BUILD_DIRECT3D_TRUE=
20645 EVAS_STATIC_BUILD_DIRECT3D_FALSE='#'
20646else
20647 EVAS_STATIC_BUILD_DIRECT3D_TRUE='#'
20648 EVAS_STATIC_BUILD_DIRECT3D_FALSE=
20649fi
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660want_engine="${want_evas_engine_psl1ght}"
20661want_static_engine="no"
20662have_engine="no"
20663have_evas_engine_psl1ght="no"
20664
20665# Check whether --enable-psl1ght was given.
20666if test "${enable_psl1ght+set}" = set; then :
20667 enableval=$enable_psl1ght;
20668 if test "x${enableval}" = "xyes" ; then
20669 want_engine="yes"
20670 else
20671 if test "x${enableval}" = "xstatic" ; then
20672 want_engine="static"
20673 else
20674 want_engine="no"
20675 fi
20676 fi
20677
20678fi
20679
20680
20681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSL1GHT rendering backend" >&5
20682$as_echo_n "checking whether to enable PSL1GHT rendering backend... " >&6; }
20683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20684$as_echo "${want_engine}" >&6; }
20685
20686if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20687
20688
20689have_dep="no"
20690evas_engine_psl1ght_cflags=""
20691evas_engine_psl1ght_libs=""
20692
20693ac_fn_c_check_header_mongrel "$LINENO" "rsx/rsx.h" "ac_cv_header_rsx_rsx_h" "$ac_includes_default"
20694if test "x$ac_cv_header_rsx_rsx_h" = x""yes; then :
20695 have_dep="yes"
20696fi
20697
20698
20699
20700
20701
20702
20703if test "x${have_dep}" = "xyes" ; then
20704 have_engine="yes"
20705else
20706 have_engine="no"
20707fi
20708
20709
20710fi
20711
20712if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
20713 as_fn_error $? "PSL1GHT dependencies not found (strict dependencies checking)" "$LINENO" 5
20714fi
20715
20716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSL1GHT rendering backend will be built" >&5
20717$as_echo_n "checking whether PSL1GHT rendering backend will be built... " >&6; }
20718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
20719$as_echo "${have_engine}" >&6; }
20720
20721if test "x${have_engine}" = "xyes" ; then
20722 if test "x${want_engine}" = "xstatic" ; then
20723 have_evas_engine_psl1ght="static"
20724 want_static_engine="yes"
20725 else
20726 have_evas_engine_psl1ght="yes"
20727 fi
20728fi
20729
20730if test "x${have_engine}" = "xyes" ; then
20731
20732$as_echo "#define BUILD_ENGINE_PSL1GHT 1" >>confdefs.h
20733
20734fi
20735
20736 if test "x${have_engine}" = "xyes"; then
20737 BUILD_ENGINE_PSL1GHT_TRUE=
20738 BUILD_ENGINE_PSL1GHT_FALSE='#'
20739else
20740 BUILD_ENGINE_PSL1GHT_TRUE='#'
20741 BUILD_ENGINE_PSL1GHT_FALSE=
20742fi
20743
20744
20745if test "x${want_static_engine}" = "xyes" ; then
20746
20747$as_echo "#define EVAS_STATIC_BUILD_PSL1GHT 1" >>confdefs.h
20748
20749 have_static_module="yes"
20750fi
20751
20752 if test "x${want_static_engine}" = "xyes"; then
20753 EVAS_STATIC_BUILD_PSL1GHT_TRUE=
20754 EVAS_STATIC_BUILD_PSL1GHT_FALSE='#'
20755else
20756 EVAS_STATIC_BUILD_PSL1GHT_TRUE='#'
20757 EVAS_STATIC_BUILD_PSL1GHT_FALSE=
20758fi
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769want_engine="${want_evas_engine_gl_sdl}"
20770want_static_engine="no"
20771have_engine="no"
20772have_evas_engine_gl_sdl="no"
20773
20774# Check whether --enable-gl-sdl was given.
20775if test "${enable_gl_sdl+set}" = set; then :
20776 enableval=$enable_gl_sdl;
20777 if test "x${enableval}" = "xyes" ; then
20778 want_engine="yes"
20779 else
20780 if test "x${enableval}" = "xstatic" ; then
20781 want_engine="static"
20782 else
20783 want_engine="no"
20784 fi
20785 fi
20786
20787fi
20788
20789
20790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL SDL rendering backend" >&5
20791$as_echo_n "checking whether to enable OpenGL SDL rendering backend... " >&6; }
20792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
20793$as_echo "${want_engine}" >&6; }
20794
20795if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
20796
20797
20798requirement=""
20799have_dep="no"
20800evas_engine_gl_sdl_cflags=""
20801evas_engine_gl_sdl_libs=""
20802
20803
20804pkg_failed=no
20805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
20806$as_echo_n "checking for SDL... " >&6; }
20807
20808if test -n "$SDL_CFLAGS"; then
20809 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
20810 elif test -n "$PKG_CONFIG"; then
20811 if test -n "$PKG_CONFIG" && \
20812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20813 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20814 ac_status=$?
20815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20816 test $ac_status = 0; }; then
20817 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
20818else
20819 pkg_failed=yes
20820fi
20821 else
20822 pkg_failed=untried
20823fi
20824if test -n "$SDL_LIBS"; then
20825 pkg_cv_SDL_LIBS="$SDL_LIBS"
20826 elif test -n "$PKG_CONFIG"; then
20827 if test -n "$PKG_CONFIG" && \
20828 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
20829 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
20830 ac_status=$?
20831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20832 test $ac_status = 0; }; then
20833 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
20834else
20835 pkg_failed=yes
20836fi
20837 else
20838 pkg_failed=untried
20839fi
20840
20841
20842
20843if test $pkg_failed = yes; then
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20845$as_echo "no" >&6; }
20846
20847if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20848 _pkg_short_errors_supported=yes
20849else
20850 _pkg_short_errors_supported=no
20851fi
20852 if test $_pkg_short_errors_supported = yes; then
20853 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
20854 else
20855 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
20856 fi
20857 # Put the nasty error message in config.log where it belongs
20858 echo "$SDL_PKG_ERRORS" >&5
20859
20860 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
20861
20862$SDL_PKG_ERRORS
20863
20864Consider adjusting the PKG_CONFIG_PATH environment variable if you
20865installed software in a non-standard prefix.
20866
20867Alternatively, you may set the environment variables SDL_CFLAGS
20868and SDL_LIBS to avoid the need to call pkg-config.
20869See the pkg-config man page for more details." "$LINENO" 5
20870elif test $pkg_failed = untried; then
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20872$as_echo "no" >&6; }
20873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20874$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20875as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20876is in your PATH or set the PKG_CONFIG environment variable to the full
20877path to pkg-config.
20878
20879Alternatively, you may set the environment variables SDL_CFLAGS
20880and SDL_LIBS to avoid the need to call pkg-config.
20881See the pkg-config man page for more details.
20882
20883To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20884See \`config.log' for more details" "$LINENO" 5 ; }
20885else
20886 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
20887 SDL_LIBS=$pkg_cv_SDL_LIBS
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20889$as_echo "yes" >&6; }
20890
20891 have_dep="yes"
20892 requirement="sdl"
20893 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
20894 evas_engine_gl_sdl_libs="${SDL_LIBS}"
20895
20896
20897fi
20898
20899gl_pt_lib="";
20900have_gl_pt="no"
20901
20902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
20903$as_echo_n "checking whether pthread_create() is supported... " >&6; }
20904CFLAGS_save="${CFLAGS}"
20905CFLAGS="${CFLAGS} -pthread"
20906LIBS_save="${LIBS}"
20907LIBS="${LIBS} -pthread"
20908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20909/* end confdefs.h. */
20910
20911#include <pthread.h>
20912
20913int
20914main ()
20915{
20916
20917pthread_create(NULL, NULL, NULL, NULL);
20918
20919 ;
20920 return 0;
20921}
20922_ACEOF
20923if ac_fn_c_try_link "$LINENO"; then :
20924 have_gl_pt="yes"
20925else
20926 have_gl_pt="no"
20927fi
20928rm -f core conftest.err conftest.$ac_objext \
20929 conftest$ac_exeext conftest.$ac_ext
20930CFLAGS=${CFLAGS_save}
20931LIBS=${LIBS_save}
20932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
20933$as_echo "${have_gl_pt}" >&6; }
20934
20935if test "x$have_gl_pt" = "xyes" ; then
20936 gl_pt_lib=" -pthread"
20937fi
20938
20939ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
20940#include <GL/gl.h>
20941#include <GL/glext.h>
20942
20943"
20944if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
20945 have_dep="yes"
20946else
20947 have_dep="no"
20948fi
20949
20950
20951
20952if test "x$gl_flavor_gles" = "xyes" ; then
20953 have_dep=no
20954fi
20955
20956if test "x${have_dep}" = "xyes" ; then
20957 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
20958 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGL -lm $gl_pt_lib"
20959 evas_engine_gl_common_libs="-lGL -lm $gl_pt_lib"
20960else
20961 ac_fn_c_check_header_compile "$LINENO" "SDL/SDL_opengles.h" "ac_cv_header_SDL_SDL_opengles_h" "
20962#include <SDL/SDL_opengles.h>
20963#include <EGL/egl.h>
20964
20965"
20966if test "x$ac_cv_header_SDL_SDL_opengles_h" = x""yes; then :
20967 have_egl="yes"
20968else
20969 have_egl="no"
20970fi
20971
20972
20973 if test "x${have_egl}" = "xyes" ; then
20974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
20975$as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
20976if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
20977 $as_echo_n "(cached) " >&6
20978else
20979 ac_check_lib_save_LIBS=$LIBS
20980LIBS="-lGLESv2 -lEGL -lm $gl_pt_lib $LIBS"
20981cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20982/* end confdefs.h. */
20983
20984/* Override any GCC internal prototype to avoid an error.
20985 Use char because int might match the return type of a GCC
20986 builtin and then its argument prototype would still apply. */
20987#ifdef __cplusplus
20988extern "C"
20989#endif
20990char glTexImage2D ();
20991int
20992main ()
20993{
20994return glTexImage2D ();
20995 ;
20996 return 0;
20997}
20998_ACEOF
20999if ac_fn_c_try_link "$LINENO"; then :
21000 ac_cv_lib_GLESv2_glTexImage2D=yes
21001else
21002 ac_cv_lib_GLESv2_glTexImage2D=no
21003fi
21004rm -f core conftest.err conftest.$ac_objext \
21005 conftest$ac_exeext conftest.$ac_ext
21006LIBS=$ac_check_lib_save_LIBS
21007fi
21008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
21009$as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
21010if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
21011 have_glesv2="yes"
21012fi
21013
21014 if test "x${have_glesv2}" = "xyes" ; then
21015 evas_engine_gl_sdl_cflags="${SDL_CFLAGS}"
21016 evas_engine_gl_sdl_libs="${SDL_LIBS} -lGLESv2 -lEGL -lm $gl_pt_lib"
21017 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
21018 have_dep="yes"
21019
21020$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
21021
21022 gles_variety_sgx="yes"
21023 fi
21024 fi
21025fi
21026
21027
21028
21029
21030if test "x${want_engine}" = "xstatic" ; then
21031 requirement_evas="${requirement} ${requirement_evas}"
21032fi
21033
21034if test "x${have_dep}" = "xyes" ; then
21035 have_engine="yes"
21036else
21037 have_engine="no"
21038fi
21039
21040
21041fi
21042
21043if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21044 as_fn_error $? "OpenGL SDL dependencies not found (strict dependencies checking)" "$LINENO" 5
21045fi
21046
21047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL SDL rendering backend will be built" >&5
21048$as_echo_n "checking whether OpenGL SDL rendering backend will be built... " >&6; }
21049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21050$as_echo "${have_engine}" >&6; }
21051
21052if test "x${have_engine}" = "xyes" ; then
21053 if test "x${want_engine}" = "xstatic" ; then
21054 have_evas_engine_gl_sdl="static"
21055 want_static_engine="yes"
21056 else
21057 have_evas_engine_gl_sdl="yes"
21058 fi
21059fi
21060
21061if test "x${have_engine}" = "xyes" ; then
21062
21063$as_echo "#define BUILD_ENGINE_GL_SDL 1" >>confdefs.h
21064
21065fi
21066
21067 if test "x${have_engine}" = "xyes"; then
21068 BUILD_ENGINE_GL_SDL_TRUE=
21069 BUILD_ENGINE_GL_SDL_FALSE='#'
21070else
21071 BUILD_ENGINE_GL_SDL_TRUE='#'
21072 BUILD_ENGINE_GL_SDL_FALSE=
21073fi
21074
21075
21076if test "x${want_static_engine}" = "xyes" ; then
21077
21078$as_echo "#define EVAS_STATIC_BUILD_GL_SDL 1" >>confdefs.h
21079
21080 have_static_module="yes"
21081fi
21082
21083 if test "x${want_static_engine}" = "xyes"; then
21084 EVAS_STATIC_BUILD_GL_SDL_TRUE=
21085 EVAS_STATIC_BUILD_GL_SDL_FALSE='#'
21086else
21087 EVAS_STATIC_BUILD_GL_SDL_TRUE='#'
21088 EVAS_STATIC_BUILD_GL_SDL_FALSE=
21089fi
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100want_engine="${want_evas_engine_gl_cocoa}"
21101want_static_engine="no"
21102have_engine="no"
21103have_evas_engine_gl_cocoa="no"
21104
21105# Check whether --enable-gl-cocoa was given.
21106if test "${enable_gl_cocoa+set}" = set; then :
21107 enableval=$enable_gl_cocoa;
21108 if test "x${enableval}" = "xyes" ; then
21109 want_engine="yes"
21110 else
21111 if test "x${enableval}" = "xstatic" ; then
21112 want_engine="static"
21113 else
21114 want_engine="no"
21115 fi
21116 fi
21117
21118fi
21119
21120
21121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL Cocoa rendering backend" >&5
21122$as_echo_n "checking whether to enable OpenGL Cocoa rendering backend... " >&6; }
21123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21124$as_echo "${want_engine}" >&6; }
21125
21126if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21127
21128
21129evas_engine_gl_cocoa_cflags=""
21130evas_engine_gl_cocoa_libs=""
21131
21132ac_ext=m
21133ac_cpp='$OBJCPP $CPPFLAGS'
21134ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136ac_compiler_gnu=$ac_cv_objc_compiler_gnu
21137
21138
21139LIBS_save="$LIBS"
21140LIBS="$LIBS -framework Cocoa"
21141cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21142/* end confdefs.h. */
21143
21144#include <Cocoa/Cocoa.h>
21145
21146int
21147main ()
21148{
21149
21150NSWindow *window;
21151window = [[NSWindow alloc]
21152 initWithContentRect:NSMakeRect(0, 0, 1, 1)
21153 styleMask:(NSTitledWindowMask)
21154 backing:NSBackingStoreBuffered
21155 defer:NO
21156 screen:nil
21157 ];
21158
21159 ;
21160 return 0;
21161}
21162_ACEOF
21163if ac_fn_objc_try_link "$LINENO"; then :
21164
21165 have_dep="yes"
21166 evas_engine_gl_cocoa_libs="-framework Cocoa"
21167
21168else
21169 have_dep="no"
21170fi
21171rm -f core conftest.err conftest.$ac_objext \
21172 conftest$ac_exeext conftest.$ac_ext
21173LIBS="$LIBS_save"
21174
21175ac_ext=c
21176ac_cpp='$CPP $CPPFLAGS'
21177ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21178ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21179ac_compiler_gnu=$ac_cv_c_compiler_gnu
21180
21181
21182if test "x${have_dep}" = "xyes" ; then
21183
21184pkg_failed=no
21185{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
21186$as_echo_n "checking for GL_EET... " >&6; }
21187
21188if test -n "$GL_EET_CFLAGS"; then
21189 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
21190 elif test -n "$PKG_CONFIG"; then
21191 if test -n "$PKG_CONFIG" && \
21192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
21193 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
21194 ac_status=$?
21195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21196 test $ac_status = 0; }; then
21197 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
21198else
21199 pkg_failed=yes
21200fi
21201 else
21202 pkg_failed=untried
21203fi
21204if test -n "$GL_EET_LIBS"; then
21205 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
21206 elif test -n "$PKG_CONFIG"; then
21207 if test -n "$PKG_CONFIG" && \
21208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
21209 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
21210 ac_status=$?
21211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21212 test $ac_status = 0; }; then
21213 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
21214else
21215 pkg_failed=yes
21216fi
21217 else
21218 pkg_failed=untried
21219fi
21220
21221
21222
21223if test $pkg_failed = yes; then
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21225$as_echo "no" >&6; }
21226
21227if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21228 _pkg_short_errors_supported=yes
21229else
21230 _pkg_short_errors_supported=no
21231fi
21232 if test $_pkg_short_errors_supported = yes; then
21233 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
21234 else
21235 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
21236 fi
21237 # Put the nasty error message in config.log where it belongs
21238 echo "$GL_EET_PKG_ERRORS" >&5
21239
21240 have_dep="no"
21241elif test $pkg_failed = untried; then
21242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21243$as_echo "no" >&6; }
21244 have_dep="no"
21245else
21246 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
21247 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
21248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21249$as_echo "yes" >&6; }
21250 have_dep="yes"
21251fi
21252fi
21253
21254
21255
21256
21257if test "x${have_dep}" = "xyes" ; then
21258 have_engine="yes"
21259else
21260 have_engine="no"
21261fi
21262
21263
21264fi
21265
21266if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21267 as_fn_error $? "OpenGL Cocoa dependencies not found (strict dependencies checking)" "$LINENO" 5
21268fi
21269
21270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL Cocoa rendering backend will be built" >&5
21271$as_echo_n "checking whether OpenGL Cocoa rendering backend will be built... " >&6; }
21272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21273$as_echo "${have_engine}" >&6; }
21274
21275if test "x${have_engine}" = "xyes" ; then
21276 if test "x${want_engine}" = "xstatic" ; then
21277 have_evas_engine_gl_cocoa="static"
21278 want_static_engine="yes"
21279 else
21280 have_evas_engine_gl_cocoa="yes"
21281 fi
21282fi
21283
21284if test "x${have_engine}" = "xyes" ; then
21285
21286$as_echo "#define BUILD_ENGINE_GL_COCOA 1" >>confdefs.h
21287
21288fi
21289
21290 if test "x${have_engine}" = "xyes"; then
21291 BUILD_ENGINE_GL_COCOA_TRUE=
21292 BUILD_ENGINE_GL_COCOA_FALSE='#'
21293else
21294 BUILD_ENGINE_GL_COCOA_TRUE='#'
21295 BUILD_ENGINE_GL_COCOA_FALSE=
21296fi
21297
21298
21299if test "x${want_static_engine}" = "xyes" ; then
21300
21301$as_echo "#define EVAS_STATIC_BUILD_GL_COCOA 1" >>confdefs.h
21302
21303 have_static_module="yes"
21304fi
21305
21306 if test "x${want_static_engine}" = "xyes"; then
21307 EVAS_STATIC_BUILD_GL_COCOA_TRUE=
21308 EVAS_STATIC_BUILD_GL_COCOA_FALSE='#'
21309else
21310 EVAS_STATIC_BUILD_GL_COCOA_TRUE='#'
21311 EVAS_STATIC_BUILD_GL_COCOA_FALSE=
21312fi
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323want_engine="${want_evas_engine_fb}"
21324want_static_engine="no"
21325have_engine="no"
21326have_evas_engine_fb="no"
21327
21328# Check whether --enable-fb was given.
21329if test "${enable_fb+set}" = set; then :
21330 enableval=$enable_fb;
21331 if test "x${enableval}" = "xyes" ; then
21332 want_engine="yes"
21333 else
21334 if test "x${enableval}" = "xstatic" ; then
21335 want_engine="static"
21336 else
21337 want_engine="no"
21338 fi
21339 fi
21340
21341fi
21342
21343
21344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Framebuffer rendering backend" >&5
21345$as_echo_n "checking whether to enable Framebuffer rendering backend... " >&6; }
21346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21347$as_echo "${want_engine}" >&6; }
21348
21349if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21350
21351
21352have_dep="no"
21353evas_engine_fb_cflags=""
21354evas_engine_fb_libs=""
21355
21356ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default"
21357if test "x$ac_cv_header_linux_fb_h" = x""yes; then :
21358 have_dep="yes"
21359fi
21360
21361
21362
21363
21364
21365
21366if test "x${have_dep}" = "xyes" ; then
21367 have_engine="yes"
21368else
21369 have_engine="no"
21370fi
21371
21372
21373fi
21374
21375if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21376 as_fn_error $? "Framebuffer dependencies not found (strict dependencies checking)" "$LINENO" 5
21377fi
21378
21379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Framebuffer rendering backend will be built" >&5
21380$as_echo_n "checking whether Framebuffer rendering backend will be built... " >&6; }
21381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21382$as_echo "${have_engine}" >&6; }
21383
21384if test "x${have_engine}" = "xyes" ; then
21385 if test "x${want_engine}" = "xstatic" ; then
21386 have_evas_engine_fb="static"
21387 want_static_engine="yes"
21388 else
21389 have_evas_engine_fb="yes"
21390 fi
21391fi
21392
21393if test "x${have_engine}" = "xyes" ; then
21394
21395$as_echo "#define BUILD_ENGINE_FB 1" >>confdefs.h
21396
21397fi
21398
21399 if test "x${have_engine}" = "xyes"; then
21400 BUILD_ENGINE_FB_TRUE=
21401 BUILD_ENGINE_FB_FALSE='#'
21402else
21403 BUILD_ENGINE_FB_TRUE='#'
21404 BUILD_ENGINE_FB_FALSE=
21405fi
21406
21407
21408if test "x${want_static_engine}" = "xyes" ; then
21409
21410$as_echo "#define EVAS_STATIC_BUILD_FB 1" >>confdefs.h
21411
21412 have_static_module="yes"
21413fi
21414
21415 if test "x${want_static_engine}" = "xyes"; then
21416 EVAS_STATIC_BUILD_FB_TRUE=
21417 EVAS_STATIC_BUILD_FB_FALSE='#'
21418else
21419 EVAS_STATIC_BUILD_FB_TRUE='#'
21420 EVAS_STATIC_BUILD_FB_FALSE=
21421fi
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432want_engine="${want_evas_engine_directfb}"
21433want_static_engine="no"
21434have_engine="no"
21435have_evas_engine_directfb="no"
21436
21437# Check whether --enable-directfb was given.
21438if test "${enable_directfb+set}" = set; then :
21439 enableval=$enable_directfb;
21440 if test "x${enableval}" = "xyes" ; then
21441 want_engine="yes"
21442 else
21443 if test "x${enableval}" = "xstatic" ; then
21444 want_engine="static"
21445 else
21446 want_engine="no"
21447 fi
21448 fi
21449
21450fi
21451
21452
21453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable DirectFB rendering backend" >&5
21454$as_echo_n "checking whether to enable DirectFB rendering backend... " >&6; }
21455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21456$as_echo "${want_engine}" >&6; }
21457
21458if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21459
21460
21461requirement=""
21462have_dep="no"
21463evas_engine_directfb_cflags=""
21464evas_engine_directfb_libs=""
21465
21466
21467pkg_failed=no
21468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
21469$as_echo_n "checking for DIRECTFB... " >&6; }
21470
21471if test -n "$DIRECTFB_CFLAGS"; then
21472 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
21473 elif test -n "$PKG_CONFIG"; then
21474 if test -n "$PKG_CONFIG" && \
21475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21476 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21477 ac_status=$?
21478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21479 test $ac_status = 0; }; then
21480 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.16" 2>/dev/null`
21481else
21482 pkg_failed=yes
21483fi
21484 else
21485 pkg_failed=untried
21486fi
21487if test -n "$DIRECTFB_LIBS"; then
21488 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
21489 elif test -n "$PKG_CONFIG"; then
21490 if test -n "$PKG_CONFIG" && \
21491 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.16\""; } >&5
21492 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.16") 2>&5
21493 ac_status=$?
21494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21495 test $ac_status = 0; }; then
21496 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.16" 2>/dev/null`
21497else
21498 pkg_failed=yes
21499fi
21500 else
21501 pkg_failed=untried
21502fi
21503
21504
21505
21506if test $pkg_failed = yes; then
21507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21508$as_echo "no" >&6; }
21509
21510if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21511 _pkg_short_errors_supported=yes
21512else
21513 _pkg_short_errors_supported=no
21514fi
21515 if test $_pkg_short_errors_supported = yes; then
21516 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "directfb >= 0.9.16" 2>&1`
21517 else
21518 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --print-errors "directfb >= 0.9.16" 2>&1`
21519 fi
21520 # Put the nasty error message in config.log where it belongs
21521 echo "$DIRECTFB_PKG_ERRORS" >&5
21522
21523 as_fn_error $? "Package requirements (directfb >= 0.9.16) were not met:
21524
21525$DIRECTFB_PKG_ERRORS
21526
21527Consider adjusting the PKG_CONFIG_PATH environment variable if you
21528installed software in a non-standard prefix.
21529
21530Alternatively, you may set the environment variables DIRECTFB_CFLAGS
21531and DIRECTFB_LIBS to avoid the need to call pkg-config.
21532See the pkg-config man page for more details." "$LINENO" 5
21533elif test $pkg_failed = untried; then
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21535$as_echo "no" >&6; }
21536 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21538as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21539is in your PATH or set the PKG_CONFIG environment variable to the full
21540path to pkg-config.
21541
21542Alternatively, you may set the environment variables DIRECTFB_CFLAGS
21543and DIRECTFB_LIBS to avoid the need to call pkg-config.
21544See the pkg-config man page for more details.
21545
21546To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21547See \`config.log' for more details" "$LINENO" 5 ; }
21548else
21549 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
21550 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21552$as_echo "yes" >&6; }
21553
21554 have_dep="yes"
21555 requirement="directfb"
21556 evas_engine_directfb_cflags="${DIRECTFB_CFLAGS}"
21557 evas_engine_directfb_libs="${DIRECTFB_LIBS}"
21558
21559
21560fi
21561
21562
21563
21564
21565if test "x${want_engine}" = "xstatic" ; then
21566 requirement_evas="${requirement} ${requirement_evas}"
21567fi
21568
21569if test "x${have_dep}" = "xyes" ; then
21570 have_engine="yes"
21571else
21572 have_engine="no"
21573fi
21574
21575
21576fi
21577
21578if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21579 as_fn_error $? "DirectFB dependencies not found (strict dependencies checking)" "$LINENO" 5
21580fi
21581
21582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether DirectFB rendering backend will be built" >&5
21583$as_echo_n "checking whether DirectFB rendering backend will be built... " >&6; }
21584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21585$as_echo "${have_engine}" >&6; }
21586
21587if test "x${have_engine}" = "xyes" ; then
21588 if test "x${want_engine}" = "xstatic" ; then
21589 have_evas_engine_directfb="static"
21590 want_static_engine="yes"
21591 else
21592 have_evas_engine_directfb="yes"
21593 fi
21594fi
21595
21596if test "x${have_engine}" = "xyes" ; then
21597
21598$as_echo "#define BUILD_ENGINE_DIRECTFB 1" >>confdefs.h
21599
21600fi
21601
21602 if test "x${have_engine}" = "xyes"; then
21603 BUILD_ENGINE_DIRECTFB_TRUE=
21604 BUILD_ENGINE_DIRECTFB_FALSE='#'
21605else
21606 BUILD_ENGINE_DIRECTFB_TRUE='#'
21607 BUILD_ENGINE_DIRECTFB_FALSE=
21608fi
21609
21610
21611if test "x${want_static_engine}" = "xyes" ; then
21612
21613$as_echo "#define EVAS_STATIC_BUILD_DIRECTFB 1" >>confdefs.h
21614
21615 have_static_module="yes"
21616fi
21617
21618 if test "x${want_static_engine}" = "xyes"; then
21619 EVAS_STATIC_BUILD_DIRECTFB_TRUE=
21620 EVAS_STATIC_BUILD_DIRECTFB_FALSE='#'
21621else
21622 EVAS_STATIC_BUILD_DIRECTFB_TRUE='#'
21623 EVAS_STATIC_BUILD_DIRECTFB_FALSE=
21624fi
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635want_engine="${want_evas_engine_software_8_x11}"
21636want_static_engine="no"
21637have_engine="no"
21638have_evas_engine_software_8_x11="no"
21639
21640# Check whether --enable-software-8-x11 was given.
21641if test "${enable_software_8_x11+set}" = set; then :
21642 enableval=$enable_software_8_x11;
21643 if test "x${enableval}" = "xyes" ; then
21644 want_engine="yes"
21645 else
21646 if test "x${enableval}" = "xstatic" ; then
21647 want_engine="static"
21648 else
21649 want_engine="no"
21650 fi
21651 fi
21652
21653fi
21654
21655
21656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 8 bits grayscale rendering backend" >&5
21657$as_echo_n "checking whether to enable Software X11 8 bits grayscale rendering backend... " >&6; }
21658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21659$as_echo "${want_engine}" >&6; }
21660
21661if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21662
21663
21664have_dep="no"
21665evas_engine_software_8_x11_cflags=""
21666evas_engine_software_8_x11_libs=""
21667
21668
21669pkg_failed=no
21670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
21671$as_echo_n "checking for XCB... " >&6; }
21672
21673if test -n "$XCB_CFLAGS"; then
21674 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
21675 elif test -n "$PKG_CONFIG"; then
21676 if test -n "$PKG_CONFIG" && \
21677 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21678 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21679 ac_status=$?
21680 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21681 test $ac_status = 0; }; then
21682 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
21683else
21684 pkg_failed=yes
21685fi
21686 else
21687 pkg_failed=untried
21688fi
21689if test -n "$XCB_LIBS"; then
21690 pkg_cv_XCB_LIBS="$XCB_LIBS"
21691 elif test -n "$PKG_CONFIG"; then
21692 if test -n "$PKG_CONFIG" && \
21693 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
21694 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
21695 ac_status=$?
21696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21697 test $ac_status = 0; }; then
21698 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
21699else
21700 pkg_failed=yes
21701fi
21702 else
21703 pkg_failed=untried
21704fi
21705
21706
21707
21708if test $pkg_failed = yes; then
21709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21710$as_echo "no" >&6; }
21711
21712if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21713 _pkg_short_errors_supported=yes
21714else
21715 _pkg_short_errors_supported=no
21716fi
21717 if test $_pkg_short_errors_supported = yes; then
21718 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21719 else
21720 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
21721 fi
21722 # Put the nasty error message in config.log where it belongs
21723 echo "$XCB_PKG_ERRORS" >&5
21724
21725
21726 have_dep="no"
21727
21728
21729elif test $pkg_failed = untried; then
21730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21731$as_echo "no" >&6; }
21732
21733 have_dep="no"
21734
21735
21736else
21737 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
21738 XCB_LIBS=$pkg_cv_XCB_LIBS
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21740$as_echo "yes" >&6; }
21741
21742 have_dep="yes"
21743 requirement="xcb xcb-shm xcb-image pixman-1"
21744 evas_engine_software_8_x11_cflags="${XCB_CFLAGS}"
21745 evas_engine_software_8_x11_libs="${XCB_LIBS}"
21746
21747fi
21748
21749
21750
21751
21752if test "x${want_engine}" = "xstatic" ; then
21753 requirement_evas="${requirement} ${requirement_evas}"
21754fi
21755
21756if test "x${have_dep}" = "xyes" ; then
21757 have_engine="yes"
21758else
21759 have_engine="no"
21760fi
21761
21762
21763fi
21764
21765if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
21766 as_fn_error $? "Software X11 8 bits grayscale dependencies not found (strict dependencies checking)" "$LINENO" 5
21767fi
21768
21769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 8 bits grayscale rendering backend will be built" >&5
21770$as_echo_n "checking whether Software X11 8 bits grayscale rendering backend will be built... " >&6; }
21771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
21772$as_echo "${have_engine}" >&6; }
21773
21774if test "x${have_engine}" = "xyes" ; then
21775 if test "x${want_engine}" = "xstatic" ; then
21776 have_evas_engine_software_8_x11="static"
21777 want_static_engine="yes"
21778 else
21779 have_evas_engine_software_8_x11="yes"
21780 fi
21781fi
21782
21783if test "x${have_engine}" = "xyes" ; then
21784
21785$as_echo "#define BUILD_ENGINE_SOFTWARE_8_X11 1" >>confdefs.h
21786
21787fi
21788
21789 if test "x${have_engine}" = "xyes"; then
21790 BUILD_ENGINE_SOFTWARE_8_X11_TRUE=
21791 BUILD_ENGINE_SOFTWARE_8_X11_FALSE='#'
21792else
21793 BUILD_ENGINE_SOFTWARE_8_X11_TRUE='#'
21794 BUILD_ENGINE_SOFTWARE_8_X11_FALSE=
21795fi
21796
21797
21798if test "x${want_static_engine}" = "xyes" ; then
21799
21800$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8_X11 1" >>confdefs.h
21801
21802 have_static_module="yes"
21803fi
21804
21805 if test "x${want_static_engine}" = "xyes"; then
21806 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE=
21807 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE='#'
21808else
21809 EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE='#'
21810 EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE=
21811fi
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822want_engine="${want_evas_engine_software_16_x11}"
21823want_static_engine="no"
21824have_engine="no"
21825have_evas_engine_software_16_x11="no"
21826
21827# Check whether --enable-software-16-x11 was given.
21828if test "${enable_software_16_x11+set}" = set; then :
21829 enableval=$enable_software_16_x11;
21830 if test "x${enableval}" = "xyes" ; then
21831 want_engine="yes"
21832 else
21833 if test "x${enableval}" = "xstatic" ; then
21834 want_engine="static"
21835 else
21836 want_engine="no"
21837 fi
21838 fi
21839
21840fi
21841
21842
21843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software X11 16 bits rendering backend" >&5
21844$as_echo_n "checking whether to enable Software X11 16 bits rendering backend... " >&6; }
21845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
21846$as_echo "${want_engine}" >&6; }
21847
21848if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
21849
21850
21851have_dep="no"
21852evas_engine_software_16_x11_cflags=""
21853evas_engine_software_16_x11_libs=""
21854
21855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
21856$as_echo_n "checking for X... " >&6; }
21857
21858
21859# Check whether --with-x was given.
21860if test "${with_x+set}" = set; then :
21861 withval=$with_x;
21862fi
21863
21864# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
21865if test "x$with_x" = xno; then
21866 # The user explicitly disabled X.
21867 have_x=disabled
21868else
21869 case $x_includes,$x_libraries in #(
21870 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
21871 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
21872 $as_echo_n "(cached) " >&6
21873else
21874 # One or both of the vars are not set, and there is no cached value.
21875ac_x_includes=no ac_x_libraries=no
21876rm -f -r conftest.dir
21877if mkdir conftest.dir; then
21878 cd conftest.dir
21879 cat >Imakefile <<'_ACEOF'
21880incroot:
21881 @echo incroot='${INCROOT}'
21882usrlibdir:
21883 @echo usrlibdir='${USRLIBDIR}'
21884libdir:
21885 @echo libdir='${LIBDIR}'
21886_ACEOF
21887 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
21888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
21889 for ac_var in incroot usrlibdir libdir; do
21890 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
21891 done
21892 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
21893 for ac_extension in a so sl dylib la dll; do
21894 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
21895 test -f "$ac_im_libdir/libX11.$ac_extension"; then
21896 ac_im_usrlibdir=$ac_im_libdir; break
21897 fi
21898 done
21899 # Screen out bogus values from the imake configuration. They are
21900 # bogus both because they are the default anyway, and because
21901 # using them would break gcc on systems where it needs fixed includes.
21902 case $ac_im_incroot in
21903 /usr/include) ac_x_includes= ;;
21904 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
21905 esac
21906 case $ac_im_usrlibdir in
21907 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
21908 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
21909 esac
21910 fi
21911 cd ..
21912 rm -f -r conftest.dir
21913fi
21914
21915# Standard set of common directories for X headers.
21916# Check X11 before X11Rn because it is often a symlink to the current release.
21917ac_x_header_dirs='
21918/usr/X11/include
21919/usr/X11R7/include
21920/usr/X11R6/include
21921/usr/X11R5/include
21922/usr/X11R4/include
21923
21924/usr/include/X11
21925/usr/include/X11R7
21926/usr/include/X11R6
21927/usr/include/X11R5
21928/usr/include/X11R4
21929
21930/usr/local/X11/include
21931/usr/local/X11R7/include
21932/usr/local/X11R6/include
21933/usr/local/X11R5/include
21934/usr/local/X11R4/include
21935
21936/usr/local/include/X11
21937/usr/local/include/X11R7
21938/usr/local/include/X11R6
21939/usr/local/include/X11R5
21940/usr/local/include/X11R4
21941
21942/usr/X386/include
21943/usr/x386/include
21944/usr/XFree86/include/X11
21945
21946/usr/include
21947/usr/local/include
21948/usr/unsupported/include
21949/usr/athena/include
21950/usr/local/x11r5/include
21951/usr/lpp/Xamples/include
21952
21953/usr/openwin/include
21954/usr/openwin/share/include'
21955
21956if test "$ac_x_includes" = no; then
21957 # Guess where to find include files, by looking for Xlib.h.
21958 # First, try using that file with no special directory specified.
21959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21960/* end confdefs.h. */
21961#include <X11/Xlib.h>
21962_ACEOF
21963if ac_fn_c_try_cpp "$LINENO"; then :
21964 # We can compile using X headers with no special include directory.
21965ac_x_includes=
21966else
21967 for ac_dir in $ac_x_header_dirs; do
21968 if test -r "$ac_dir/X11/Xlib.h"; then
21969 ac_x_includes=$ac_dir
21970 break
21971 fi
21972done
21973fi
21974rm -f conftest.err conftest.i conftest.$ac_ext
21975fi # $ac_x_includes = no
21976
21977if test "$ac_x_libraries" = no; then
21978 # Check for the libraries.
21979 # See if we find them without any special options.
21980 # Don't add to $LIBS permanently.
21981 ac_save_LIBS=$LIBS
21982 LIBS="-lX11 $LIBS"
21983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21984/* end confdefs.h. */
21985#include <X11/Xlib.h>
21986int
21987main ()
21988{
21989XrmInitialize ()
21990 ;
21991 return 0;
21992}
21993_ACEOF
21994if ac_fn_c_try_link "$LINENO"; then :
21995 LIBS=$ac_save_LIBS
21996# We can link X programs with no special library path.
21997ac_x_libraries=
21998else
21999 LIBS=$ac_save_LIBS
22000for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
22001do
22002 # Don't even attempt the hair of trying to link an X program!
22003 for ac_extension in a so sl dylib la dll; do
22004 if test -r "$ac_dir/libX11.$ac_extension"; then
22005 ac_x_libraries=$ac_dir
22006 break 2
22007 fi
22008 done
22009done
22010fi
22011rm -f core conftest.err conftest.$ac_objext \
22012 conftest$ac_exeext conftest.$ac_ext
22013fi # $ac_x_libraries = no
22014
22015case $ac_x_includes,$ac_x_libraries in #(
22016 no,* | *,no | *\'*)
22017 # Didn't find X, or a directory has "'" in its name.
22018 ac_cv_have_x="have_x=no";; #(
22019 *)
22020 # Record where we found X for the cache.
22021 ac_cv_have_x="have_x=yes\
22022 ac_x_includes='$ac_x_includes'\
22023 ac_x_libraries='$ac_x_libraries'"
22024esac
22025fi
22026;; #(
22027 *) have_x=yes;;
22028 esac
22029 eval "$ac_cv_have_x"
22030fi # $with_x != no
22031
22032if test "$have_x" != yes; then
22033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
22034$as_echo "$have_x" >&6; }
22035 no_x=yes
22036else
22037 # If each of the values was on the command line, it overrides each guess.
22038 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
22039 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
22040 # Update the cache value to reflect the command line values.
22041 ac_cv_have_x="have_x=yes\
22042 ac_x_includes='$x_includes'\
22043 ac_x_libraries='$x_libraries'"
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
22045$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
22046fi
22047
22048if test "$no_x" = yes; then
22049 # Not all programs may use this symbol, but it does not hurt to define it.
22050
22051$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
22052
22053 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
22054else
22055 if test -n "$x_includes"; then
22056 X_CFLAGS="$X_CFLAGS -I$x_includes"
22057 fi
22058
22059 # It would also be nice to do this for all -L options, not just this one.
22060 if test -n "$x_libraries"; then
22061 X_LIBS="$X_LIBS -L$x_libraries"
22062 # For Solaris; some versions of Sun CC require a space after -R and
22063 # others require no space. Words are not sufficient . . . .
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
22065$as_echo_n "checking whether -R must be followed by a space... " >&6; }
22066 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
22067 ac_xsave_c_werror_flag=$ac_c_werror_flag
22068 ac_c_werror_flag=yes
22069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22070/* end confdefs.h. */
22071
22072int
22073main ()
22074{
22075
22076 ;
22077 return 0;
22078}
22079_ACEOF
22080if ac_fn_c_try_link "$LINENO"; then :
22081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22082$as_echo "no" >&6; }
22083 X_LIBS="$X_LIBS -R$x_libraries"
22084else
22085 LIBS="$ac_xsave_LIBS -R $x_libraries"
22086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22087/* end confdefs.h. */
22088
22089int
22090main ()
22091{
22092
22093 ;
22094 return 0;
22095}
22096_ACEOF
22097if ac_fn_c_try_link "$LINENO"; then :
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22099$as_echo "yes" >&6; }
22100 X_LIBS="$X_LIBS -R $x_libraries"
22101else
22102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
22103$as_echo "neither works" >&6; }
22104fi
22105rm -f core conftest.err conftest.$ac_objext \
22106 conftest$ac_exeext conftest.$ac_ext
22107fi
22108rm -f core conftest.err conftest.$ac_objext \
22109 conftest$ac_exeext conftest.$ac_ext
22110 ac_c_werror_flag=$ac_xsave_c_werror_flag
22111 LIBS=$ac_xsave_LIBS
22112 fi
22113
22114 # Check for system-dependent libraries X programs must link with.
22115 # Do this before checking for the system-independent R6 libraries
22116 # (-lICE), since we may need -lsocket or whatever for X linking.
22117
22118 if test "$ISC" = yes; then
22119 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
22120 else
22121 # Martyn Johnson says this is needed for Ultrix, if the X
22122 # libraries were built with DECnet support. And Karl Berry says
22123 # the Alpha needs dnet_stub (dnet does not exist).
22124 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
22125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22126/* end confdefs.h. */
22127
22128/* Override any GCC internal prototype to avoid an error.
22129 Use char because int might match the return type of a GCC
22130 builtin and then its argument prototype would still apply. */
22131#ifdef __cplusplus
22132extern "C"
22133#endif
22134char XOpenDisplay ();
22135int
22136main ()
22137{
22138return XOpenDisplay ();
22139 ;
22140 return 0;
22141}
22142_ACEOF
22143if ac_fn_c_try_link "$LINENO"; then :
22144
22145else
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
22147$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
22148if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
22149 $as_echo_n "(cached) " >&6
22150else
22151 ac_check_lib_save_LIBS=$LIBS
22152LIBS="-ldnet $LIBS"
22153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22154/* end confdefs.h. */
22155
22156/* Override any GCC internal prototype to avoid an error.
22157 Use char because int might match the return type of a GCC
22158 builtin and then its argument prototype would still apply. */
22159#ifdef __cplusplus
22160extern "C"
22161#endif
22162char dnet_ntoa ();
22163int
22164main ()
22165{
22166return dnet_ntoa ();
22167 ;
22168 return 0;
22169}
22170_ACEOF
22171if ac_fn_c_try_link "$LINENO"; then :
22172 ac_cv_lib_dnet_dnet_ntoa=yes
22173else
22174 ac_cv_lib_dnet_dnet_ntoa=no
22175fi
22176rm -f core conftest.err conftest.$ac_objext \
22177 conftest$ac_exeext conftest.$ac_ext
22178LIBS=$ac_check_lib_save_LIBS
22179fi
22180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
22181$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
22182if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
22183 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
22184fi
22185
22186 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
22187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
22188$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
22189if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
22190 $as_echo_n "(cached) " >&6
22191else
22192 ac_check_lib_save_LIBS=$LIBS
22193LIBS="-ldnet_stub $LIBS"
22194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22195/* end confdefs.h. */
22196
22197/* Override any GCC internal prototype to avoid an error.
22198 Use char because int might match the return type of a GCC
22199 builtin and then its argument prototype would still apply. */
22200#ifdef __cplusplus
22201extern "C"
22202#endif
22203char dnet_ntoa ();
22204int
22205main ()
22206{
22207return dnet_ntoa ();
22208 ;
22209 return 0;
22210}
22211_ACEOF
22212if ac_fn_c_try_link "$LINENO"; then :
22213 ac_cv_lib_dnet_stub_dnet_ntoa=yes
22214else
22215 ac_cv_lib_dnet_stub_dnet_ntoa=no
22216fi
22217rm -f core conftest.err conftest.$ac_objext \
22218 conftest$ac_exeext conftest.$ac_ext
22219LIBS=$ac_check_lib_save_LIBS
22220fi
22221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
22222$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
22223if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
22224 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
22225fi
22226
22227 fi
22228fi
22229rm -f core conftest.err conftest.$ac_objext \
22230 conftest$ac_exeext conftest.$ac_ext
22231 LIBS="$ac_xsave_LIBS"
22232
22233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
22234 # to get the SysV transport functions.
22235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
22236 # needs -lnsl.
22237 # The nsl library prevents programs from opening the X display
22238 # on Irix 5.2, according to T.E. Dickey.
22239 # The functions gethostbyname, getservbyname, and inet_addr are
22240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
22241 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
22242if test "x$ac_cv_func_gethostbyname" = x""yes; then :
22243
22244fi
22245
22246 if test $ac_cv_func_gethostbyname = no; then
22247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
22248$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
22249if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
22250 $as_echo_n "(cached) " >&6
22251else
22252 ac_check_lib_save_LIBS=$LIBS
22253LIBS="-lnsl $LIBS"
22254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22255/* end confdefs.h. */
22256
22257/* Override any GCC internal prototype to avoid an error.
22258 Use char because int might match the return type of a GCC
22259 builtin and then its argument prototype would still apply. */
22260#ifdef __cplusplus
22261extern "C"
22262#endif
22263char gethostbyname ();
22264int
22265main ()
22266{
22267return gethostbyname ();
22268 ;
22269 return 0;
22270}
22271_ACEOF
22272if ac_fn_c_try_link "$LINENO"; then :
22273 ac_cv_lib_nsl_gethostbyname=yes
22274else
22275 ac_cv_lib_nsl_gethostbyname=no
22276fi
22277rm -f core conftest.err conftest.$ac_objext \
22278 conftest$ac_exeext conftest.$ac_ext
22279LIBS=$ac_check_lib_save_LIBS
22280fi
22281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
22282$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
22283if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
22284 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
22285fi
22286
22287 if test $ac_cv_lib_nsl_gethostbyname = no; then
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
22289$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
22290if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
22291 $as_echo_n "(cached) " >&6
22292else
22293 ac_check_lib_save_LIBS=$LIBS
22294LIBS="-lbsd $LIBS"
22295cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296/* end confdefs.h. */
22297
22298/* Override any GCC internal prototype to avoid an error.
22299 Use char because int might match the return type of a GCC
22300 builtin and then its argument prototype would still apply. */
22301#ifdef __cplusplus
22302extern "C"
22303#endif
22304char gethostbyname ();
22305int
22306main ()
22307{
22308return gethostbyname ();
22309 ;
22310 return 0;
22311}
22312_ACEOF
22313if ac_fn_c_try_link "$LINENO"; then :
22314 ac_cv_lib_bsd_gethostbyname=yes
22315else
22316 ac_cv_lib_bsd_gethostbyname=no
22317fi
22318rm -f core conftest.err conftest.$ac_objext \
22319 conftest$ac_exeext conftest.$ac_ext
22320LIBS=$ac_check_lib_save_LIBS
22321fi
22322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
22323$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
22324if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
22325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
22326fi
22327
22328 fi
22329 fi
22330
22331 # lieder@skyler.mavd.honeywell.com says without -lsocket,
22332 # socket/setsockopt and other routines are undefined under SCO ODT
22333 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
22334 # on later versions), says Simon Leinen: it contains gethostby*
22335 # variants that don't use the name server (or something). -lsocket
22336 # must be given before -lnsl if both are needed. We assume that
22337 # if connect needs -lnsl, so does gethostbyname.
22338 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
22339if test "x$ac_cv_func_connect" = x""yes; then :
22340
22341fi
22342
22343 if test $ac_cv_func_connect = no; then
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
22345$as_echo_n "checking for connect in -lsocket... " >&6; }
22346if test "${ac_cv_lib_socket_connect+set}" = set; then :
22347 $as_echo_n "(cached) " >&6
22348else
22349 ac_check_lib_save_LIBS=$LIBS
22350LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
22351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22352/* end confdefs.h. */
22353
22354/* Override any GCC internal prototype to avoid an error.
22355 Use char because int might match the return type of a GCC
22356 builtin and then its argument prototype would still apply. */
22357#ifdef __cplusplus
22358extern "C"
22359#endif
22360char connect ();
22361int
22362main ()
22363{
22364return connect ();
22365 ;
22366 return 0;
22367}
22368_ACEOF
22369if ac_fn_c_try_link "$LINENO"; then :
22370 ac_cv_lib_socket_connect=yes
22371else
22372 ac_cv_lib_socket_connect=no
22373fi
22374rm -f core conftest.err conftest.$ac_objext \
22375 conftest$ac_exeext conftest.$ac_ext
22376LIBS=$ac_check_lib_save_LIBS
22377fi
22378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
22379$as_echo "$ac_cv_lib_socket_connect" >&6; }
22380if test "x$ac_cv_lib_socket_connect" = x""yes; then :
22381 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
22382fi
22383
22384 fi
22385
22386 # Guillermo Gomez says -lposix is necessary on A/UX.
22387 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
22388if test "x$ac_cv_func_remove" = x""yes; then :
22389
22390fi
22391
22392 if test $ac_cv_func_remove = no; then
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
22394$as_echo_n "checking for remove in -lposix... " >&6; }
22395if test "${ac_cv_lib_posix_remove+set}" = set; then :
22396 $as_echo_n "(cached) " >&6
22397else
22398 ac_check_lib_save_LIBS=$LIBS
22399LIBS="-lposix $LIBS"
22400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401/* end confdefs.h. */
22402
22403/* Override any GCC internal prototype to avoid an error.
22404 Use char because int might match the return type of a GCC
22405 builtin and then its argument prototype would still apply. */
22406#ifdef __cplusplus
22407extern "C"
22408#endif
22409char remove ();
22410int
22411main ()
22412{
22413return remove ();
22414 ;
22415 return 0;
22416}
22417_ACEOF
22418if ac_fn_c_try_link "$LINENO"; then :
22419 ac_cv_lib_posix_remove=yes
22420else
22421 ac_cv_lib_posix_remove=no
22422fi
22423rm -f core conftest.err conftest.$ac_objext \
22424 conftest$ac_exeext conftest.$ac_ext
22425LIBS=$ac_check_lib_save_LIBS
22426fi
22427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
22428$as_echo "$ac_cv_lib_posix_remove" >&6; }
22429if test "x$ac_cv_lib_posix_remove" = x""yes; then :
22430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
22431fi
22432
22433 fi
22434
22435 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
22436 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
22437if test "x$ac_cv_func_shmat" = x""yes; then :
22438
22439fi
22440
22441 if test $ac_cv_func_shmat = no; then
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
22443$as_echo_n "checking for shmat in -lipc... " >&6; }
22444if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
22445 $as_echo_n "(cached) " >&6
22446else
22447 ac_check_lib_save_LIBS=$LIBS
22448LIBS="-lipc $LIBS"
22449cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22450/* end confdefs.h. */
22451
22452/* Override any GCC internal prototype to avoid an error.
22453 Use char because int might match the return type of a GCC
22454 builtin and then its argument prototype would still apply. */
22455#ifdef __cplusplus
22456extern "C"
22457#endif
22458char shmat ();
22459int
22460main ()
22461{
22462return shmat ();
22463 ;
22464 return 0;
22465}
22466_ACEOF
22467if ac_fn_c_try_link "$LINENO"; then :
22468 ac_cv_lib_ipc_shmat=yes
22469else
22470 ac_cv_lib_ipc_shmat=no
22471fi
22472rm -f core conftest.err conftest.$ac_objext \
22473 conftest$ac_exeext conftest.$ac_ext
22474LIBS=$ac_check_lib_save_LIBS
22475fi
22476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
22477$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
22478if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
22479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
22480fi
22481
22482 fi
22483 fi
22484
22485 # Check for libraries that X11R6 Xt/Xaw programs need.
22486 ac_save_LDFLAGS=$LDFLAGS
22487 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
22488 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
22489 # check for ICE first), but we must link in the order -lSM -lICE or
22490 # we get undefined symbols. So assume we have SM if we have ICE.
22491 # These have to be linked with before -lX11, unlike the other
22492 # libraries we check for below, so use a different variable.
22493 # John Interrante, Karl Berry
22494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
22495$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
22496if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
22497 $as_echo_n "(cached) " >&6
22498else
22499 ac_check_lib_save_LIBS=$LIBS
22500LIBS="-lICE $X_EXTRA_LIBS $LIBS"
22501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22502/* end confdefs.h. */
22503
22504/* Override any GCC internal prototype to avoid an error.
22505 Use char because int might match the return type of a GCC
22506 builtin and then its argument prototype would still apply. */
22507#ifdef __cplusplus
22508extern "C"
22509#endif
22510char IceConnectionNumber ();
22511int
22512main ()
22513{
22514return IceConnectionNumber ();
22515 ;
22516 return 0;
22517}
22518_ACEOF
22519if ac_fn_c_try_link "$LINENO"; then :
22520 ac_cv_lib_ICE_IceConnectionNumber=yes
22521else
22522 ac_cv_lib_ICE_IceConnectionNumber=no
22523fi
22524rm -f core conftest.err conftest.$ac_objext \
22525 conftest$ac_exeext conftest.$ac_ext
22526LIBS=$ac_check_lib_save_LIBS
22527fi
22528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
22529$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
22530if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
22531 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
22532fi
22533
22534 LDFLAGS=$ac_save_LDFLAGS
22535
22536fi
22537
22538
22539ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
22540if test "x$ac_cv_header_X11_X_h" = x""yes; then :
22541 have_dep="yes"
22542fi
22543
22544
22545
22546if test "x${have_dep}" = "xyes" ; then
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
22548$as_echo_n "checking for XCreateImage in -lX11... " >&6; }
22549if test "${ac_cv_lib_X11_XCreateImage+set}" = set; then :
22550 $as_echo_n "(cached) " >&6
22551else
22552 ac_check_lib_save_LIBS=$LIBS
22553LIBS="-lX11 $LIBS"
22554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22555/* end confdefs.h. */
22556
22557/* Override any GCC internal prototype to avoid an error.
22558 Use char because int might match the return type of a GCC
22559 builtin and then its argument prototype would still apply. */
22560#ifdef __cplusplus
22561extern "C"
22562#endif
22563char XCreateImage ();
22564int
22565main ()
22566{
22567return XCreateImage ();
22568 ;
22569 return 0;
22570}
22571_ACEOF
22572if ac_fn_c_try_link "$LINENO"; then :
22573 ac_cv_lib_X11_XCreateImage=yes
22574else
22575 ac_cv_lib_X11_XCreateImage=no
22576fi
22577rm -f core conftest.err conftest.$ac_objext \
22578 conftest$ac_exeext conftest.$ac_ext
22579LIBS=$ac_check_lib_save_LIBS
22580fi
22581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
22582$as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
22583if test "x$ac_cv_lib_X11_XCreateImage" = x""yes; then :
22584 have_dep="yes"
22585else
22586 have_dep="no"
22587fi
22588
22589fi
22590
22591if test "x${have_dep}" = "xyes" ; then
22592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
22593$as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
22594if test "${ac_cv_lib_Xext_XShmCreateImage+set}" = set; then :
22595 $as_echo_n "(cached) " >&6
22596else
22597 ac_check_lib_save_LIBS=$LIBS
22598LIBS="-lXext $LIBS"
22599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22600/* end confdefs.h. */
22601
22602/* Override any GCC internal prototype to avoid an error.
22603 Use char because int might match the return type of a GCC
22604 builtin and then its argument prototype would still apply. */
22605#ifdef __cplusplus
22606extern "C"
22607#endif
22608char XShmCreateImage ();
22609int
22610main ()
22611{
22612return XShmCreateImage ();
22613 ;
22614 return 0;
22615}
22616_ACEOF
22617if ac_fn_c_try_link "$LINENO"; then :
22618 ac_cv_lib_Xext_XShmCreateImage=yes
22619else
22620 ac_cv_lib_Xext_XShmCreateImage=no
22621fi
22622rm -f core conftest.err conftest.$ac_objext \
22623 conftest$ac_exeext conftest.$ac_ext
22624LIBS=$ac_check_lib_save_LIBS
22625fi
22626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
22627$as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
22628if test "x$ac_cv_lib_Xext_XShmCreateImage" = x""yes; then :
22629 have_dep="yes"
22630else
22631 have_dep="no"
22632fi
22633
22634fi
22635
22636if test "x${have_dep}" = "xyes" ; then
22637 if test "xno" = "xyes" ; then
22638 x_libs="${x_libs} -lX11 -lXext"
22639 else
22640 x_dir=${x_dir:-/usr/X11R6}
22641 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
22642 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
22643 fi
22644 evas_engine_software_16_x11_cflags="${x_cflags}"
22645 evas_engine_software_16_x11_libs="${x_libs}"
22646fi
22647
22648
22649
22650
22651if test "x${have_dep}" = "xyes" ; then
22652 have_engine="yes"
22653else
22654 have_engine="no"
22655fi
22656
22657
22658fi
22659
22660if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22661 as_fn_error $? "Software X11 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22662fi
22663
22664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software X11 16 bits rendering backend will be built" >&5
22665$as_echo_n "checking whether Software X11 16 bits rendering backend will be built... " >&6; }
22666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22667$as_echo "${have_engine}" >&6; }
22668
22669if test "x${have_engine}" = "xyes" ; then
22670 if test "x${want_engine}" = "xstatic" ; then
22671 have_evas_engine_software_16_x11="static"
22672 want_static_engine="yes"
22673 else
22674 have_evas_engine_software_16_x11="yes"
22675 fi
22676fi
22677
22678if test "x${have_engine}" = "xyes" ; then
22679
22680$as_echo "#define BUILD_ENGINE_SOFTWARE_16_X11 1" >>confdefs.h
22681
22682fi
22683
22684 if test "x${have_engine}" = "xyes"; then
22685 BUILD_ENGINE_SOFTWARE_16_X11_TRUE=
22686 BUILD_ENGINE_SOFTWARE_16_X11_FALSE='#'
22687else
22688 BUILD_ENGINE_SOFTWARE_16_X11_TRUE='#'
22689 BUILD_ENGINE_SOFTWARE_16_X11_FALSE=
22690fi
22691
22692
22693if test "x${want_static_engine}" = "xyes" ; then
22694
22695$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_X11 1" >>confdefs.h
22696
22697 have_static_module="yes"
22698fi
22699
22700 if test "x${want_static_engine}" = "xyes"; then
22701 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE=
22702 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE='#'
22703else
22704 EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE='#'
22705 EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE=
22706fi
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717want_engine="${want_evas_engine_software_16_ddraw}"
22718want_static_engine="no"
22719have_engine="no"
22720have_evas_engine_software_16_ddraw="no"
22721
22722# Check whether --enable-software-16-ddraw was given.
22723if test "${enable_software_16_ddraw+set}" = set; then :
22724 enableval=$enable_software_16_ddraw;
22725 if test "x${enableval}" = "xyes" ; then
22726 want_engine="yes"
22727 else
22728 if test "x${enableval}" = "xstatic" ; then
22729 want_engine="static"
22730 else
22731 want_engine="no"
22732 fi
22733 fi
22734
22735fi
22736
22737
22738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software DirectDraw 16 bits rendering backend" >&5
22739$as_echo_n "checking whether to enable Software DirectDraw 16 bits rendering backend... " >&6; }
22740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22741$as_echo "${want_engine}" >&6; }
22742
22743if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22744
22745
22746have_dep="no"
22747evas_engine_software_16_ddraw_cflags=""
22748evas_engine_software_16_ddraw_libs=""
22749
22750ac_fn_c_check_header_mongrel "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "$ac_includes_default"
22751if test "x$ac_cv_header_ddraw_h" = x""yes; then :
22752
22753 have_dep="yes"
22754 evas_engine_software_16_ddraw_libs="-lddraw -lgdi32"
22755
22756
22757fi
22758
22759
22760
22761
22762
22763
22764if test "x${have_dep}" = "xyes" ; then
22765 have_engine="yes"
22766else
22767 have_engine="no"
22768fi
22769
22770
22771fi
22772
22773if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22774 as_fn_error $? "Software DirectDraw 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22775fi
22776
22777{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software DirectDraw 16 bits rendering backend will be built" >&5
22778$as_echo_n "checking whether Software DirectDraw 16 bits rendering backend will be built... " >&6; }
22779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22780$as_echo "${have_engine}" >&6; }
22781
22782if test "x${have_engine}" = "xyes" ; then
22783 if test "x${want_engine}" = "xstatic" ; then
22784 have_evas_engine_software_16_ddraw="static"
22785 want_static_engine="yes"
22786 else
22787 have_evas_engine_software_16_ddraw="yes"
22788 fi
22789fi
22790
22791if test "x${have_engine}" = "xyes" ; then
22792
22793$as_echo "#define BUILD_ENGINE_SOFTWARE_16_DDRAW 1" >>confdefs.h
22794
22795fi
22796
22797 if test "x${have_engine}" = "xyes"; then
22798 BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE=
22799 BUILD_ENGINE_SOFTWARE_16_DDRAW_FALSE='#'
22800else
22801 BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE='#'
22802 BUILD_ENGINE_SOFTWARE_16_DDRAW_FALSE=
22803fi
22804
22805
22806if test "x${want_static_engine}" = "xyes" ; then
22807
22808$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW 1" >>confdefs.h
22809
22810 have_static_module="yes"
22811fi
22812
22813 if test "x${want_static_engine}" = "xyes"; then
22814 EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE=
22815 EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE='#'
22816else
22817 EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE='#'
22818 EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE=
22819fi
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830want_engine="${want_evas_engine_software_16_wince}"
22831want_static_engine="no"
22832have_engine="no"
22833have_evas_engine_software_16_wince="no"
22834
22835# Check whether --enable-software-16-wince was given.
22836if test "${enable_software_16_wince+set}" = set; then :
22837 enableval=$enable_software_16_wince;
22838 if test "x${enableval}" = "xyes" ; then
22839 want_engine="yes"
22840 else
22841 if test "x${enableval}" = "xstatic" ; then
22842 want_engine="static"
22843 else
22844 want_engine="no"
22845 fi
22846 fi
22847
22848fi
22849
22850
22851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Windows CE 16 bits rendering backend" >&5
22852$as_echo_n "checking whether to enable Software Windows CE 16 bits rendering backend... " >&6; }
22853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22854$as_echo "${want_engine}" >&6; }
22855
22856if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22857
22858
22859have_dep="yes"
22860evas_engine_software_16_wince_cflags=""
22861evas_engine_software_16_wince_libs=""
22862
22863
22864
22865
22866if test "x${have_dep}" = "xyes" ; then
22867 have_engine="yes"
22868else
22869 have_engine="no"
22870fi
22871
22872
22873fi
22874
22875if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
22876 as_fn_error $? "Software Windows CE 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
22877fi
22878
22879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Windows CE 16 bits rendering backend will be built" >&5
22880$as_echo_n "checking whether Software Windows CE 16 bits rendering backend will be built... " >&6; }
22881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
22882$as_echo "${have_engine}" >&6; }
22883
22884if test "x${have_engine}" = "xyes" ; then
22885 if test "x${want_engine}" = "xstatic" ; then
22886 have_evas_engine_software_16_wince="static"
22887 want_static_engine="yes"
22888 else
22889 have_evas_engine_software_16_wince="yes"
22890 fi
22891fi
22892
22893if test "x${have_engine}" = "xyes" ; then
22894
22895$as_echo "#define BUILD_ENGINE_SOFTWARE_16_WINCE 1" >>confdefs.h
22896
22897fi
22898
22899 if test "x${have_engine}" = "xyes"; then
22900 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE=
22901 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE='#'
22902else
22903 BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE='#'
22904 BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE=
22905fi
22906
22907
22908if test "x${want_static_engine}" = "xyes" ; then
22909
22910$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_WINCE 1" >>confdefs.h
22911
22912 have_static_module="yes"
22913fi
22914
22915 if test "x${want_static_engine}" = "xyes"; then
22916 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE=
22917 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE='#'
22918else
22919 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE='#'
22920 EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE=
22921fi
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932want_engine="${want_evas_engine_software_16_sdl}"
22933want_static_engine="no"
22934have_engine="no"
22935have_evas_engine_software_16_sdl="no"
22936
22937# Check whether --enable-software-16-sdl was given.
22938if test "${enable_software_16_sdl+set}" = set; then :
22939 enableval=$enable_software_16_sdl;
22940 if test "x${enableval}" = "xyes" ; then
22941 want_engine="yes"
22942 else
22943 if test "x${enableval}" = "xstatic" ; then
22944 want_engine="static"
22945 else
22946 want_engine="no"
22947 fi
22948 fi
22949
22950fi
22951
22952
22953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software SDL 16 bits rendering backend" >&5
22954$as_echo_n "checking whether to enable Software SDL 16 bits rendering backend... " >&6; }
22955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
22956$as_echo "${want_engine}" >&6; }
22957
22958if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
22959
22960
22961requirement=""
22962have_dep="no"
22963evas_engine_software_16_sdl_cflags=""
22964evas_engine_software_16_sdl_libs=""
22965
22966
22967pkg_failed=no
22968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL" >&5
22969$as_echo_n "checking for SDL... " >&6; }
22970
22971if test -n "$SDL_CFLAGS"; then
22972 pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
22973 elif test -n "$PKG_CONFIG"; then
22974 if test -n "$PKG_CONFIG" && \
22975 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
22976 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
22977 ac_status=$?
22978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22979 test $ac_status = 0; }; then
22980 pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl >= 1.2.0" 2>/dev/null`
22981else
22982 pkg_failed=yes
22983fi
22984 else
22985 pkg_failed=untried
22986fi
22987if test -n "$SDL_LIBS"; then
22988 pkg_cv_SDL_LIBS="$SDL_LIBS"
22989 elif test -n "$PKG_CONFIG"; then
22990 if test -n "$PKG_CONFIG" && \
22991 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sdl >= 1.2.0\""; } >&5
22992 ($PKG_CONFIG --exists --print-errors "sdl >= 1.2.0") 2>&5
22993 ac_status=$?
22994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
22995 test $ac_status = 0; }; then
22996 pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl >= 1.2.0" 2>/dev/null`
22997else
22998 pkg_failed=yes
22999fi
23000 else
23001 pkg_failed=untried
23002fi
23003
23004
23005
23006if test $pkg_failed = yes; then
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23008$as_echo "no" >&6; }
23009
23010if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23011 _pkg_short_errors_supported=yes
23012else
23013 _pkg_short_errors_supported=no
23014fi
23015 if test $_pkg_short_errors_supported = yes; then
23016 SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl >= 1.2.0" 2>&1`
23017 else
23018 SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl >= 1.2.0" 2>&1`
23019 fi
23020 # Put the nasty error message in config.log where it belongs
23021 echo "$SDL_PKG_ERRORS" >&5
23022
23023 as_fn_error $? "Package requirements (sdl >= 1.2.0) were not met:
23024
23025$SDL_PKG_ERRORS
23026
23027Consider adjusting the PKG_CONFIG_PATH environment variable if you
23028installed software in a non-standard prefix.
23029
23030Alternatively, you may set the environment variables SDL_CFLAGS
23031and SDL_LIBS to avoid the need to call pkg-config.
23032See the pkg-config man page for more details." "$LINENO" 5
23033elif test $pkg_failed = untried; then
23034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23035$as_echo "no" >&6; }
23036 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
23037$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
23038as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
23039is in your PATH or set the PKG_CONFIG environment variable to the full
23040path to pkg-config.
23041
23042Alternatively, you may set the environment variables SDL_CFLAGS
23043and SDL_LIBS to avoid the need to call pkg-config.
23044See the pkg-config man page for more details.
23045
23046To get pkg-config, see <http://pkg-config.freedesktop.org/>.
23047See \`config.log' for more details" "$LINENO" 5 ; }
23048else
23049 SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
23050 SDL_LIBS=$pkg_cv_SDL_LIBS
23051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23052$as_echo "yes" >&6; }
23053
23054 have_dep="yes"
23055 requirement="sdl"
23056 evas_engine_software_16_sdl_cflags="${SDL_CFLAGS}"
23057 evas_engine_software_16_sdl_libs="${SDL_LIBS}"
23058
23059
23060fi
23061
23062
23063
23064
23065if test "x${want_engine}" = "xstatic" ; then
23066 requirement_evas="${requirement} ${requirement_evas}"
23067fi
23068
23069if test "x${have_dep}" = "xyes" ; then
23070 have_engine="yes"
23071else
23072 have_engine="no"
23073fi
23074
23075
23076fi
23077
23078if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23079 as_fn_error $? "Software SDL 16 bits dependencies not found (strict dependencies checking)" "$LINENO" 5
23080fi
23081
23082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software SDL 16 bits rendering backend will be built" >&5
23083$as_echo_n "checking whether Software SDL 16 bits rendering backend will be built... " >&6; }
23084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23085$as_echo "${have_engine}" >&6; }
23086
23087if test "x${have_engine}" = "xyes" ; then
23088 if test "x${want_engine}" = "xstatic" ; then
23089 have_evas_engine_software_16_sdl="static"
23090 want_static_engine="yes"
23091 else
23092 have_evas_engine_software_16_sdl="yes"
23093 fi
23094fi
23095
23096if test "x${have_engine}" = "xyes" ; then
23097
23098$as_echo "#define BUILD_ENGINE_SOFTWARE_16_SDL 1" >>confdefs.h
23099
23100fi
23101
23102 if test "x${have_engine}" = "xyes"; then
23103 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE=
23104 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE='#'
23105else
23106 BUILD_ENGINE_SOFTWARE_16_SDL_TRUE='#'
23107 BUILD_ENGINE_SOFTWARE_16_SDL_FALSE=
23108fi
23109
23110
23111if test "x${want_static_engine}" = "xyes" ; then
23112
23113$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16_SDL 1" >>confdefs.h
23114
23115 have_static_module="yes"
23116fi
23117
23118 if test "x${want_static_engine}" = "xyes"; then
23119 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE=
23120 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE='#'
23121else
23122 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE='#'
23123 EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE=
23124fi
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135want_engine="${want_evas_engine_wayland_shm}"
23136want_static_engine="no"
23137have_engine="no"
23138have_evas_engine_wayland_shm="no"
23139
23140# Check whether --enable-wayland-shm was given.
23141if test "${enable_wayland_shm+set}" = set; then :
23142 enableval=$enable_wayland_shm;
23143 if test "x${enableval}" = "xyes" ; then
23144 want_engine="yes"
23145 else
23146 if test "x${enableval}" = "xstatic" ; then
23147 want_engine="static"
23148 else
23149 want_engine="no"
23150 fi
23151 fi
23152
23153fi
23154
23155
23156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Shm rendering backend" >&5
23157$as_echo_n "checking whether to enable Wayland Shm rendering backend... " >&6; }
23158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23159$as_echo "${want_engine}" >&6; }
23160
23161if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23162
23163
23164have_dep="yes"
23165evas_engine_wayland_shm_cflags=""
23166evas_engine_wayland_shm_libs=""
23167
23168
23169
23170
23171if test "x${have_dep}" = "xyes" ; then
23172 have_engine="yes"
23173else
23174 have_engine="no"
23175fi
23176
23177
23178fi
23179
23180if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23181 as_fn_error $? "Wayland Shm dependencies not found (strict dependencies checking)" "$LINENO" 5
23182fi
23183
23184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Shm rendering backend will be built" >&5
23185$as_echo_n "checking whether Wayland Shm rendering backend will be built... " >&6; }
23186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23187$as_echo "${have_engine}" >&6; }
23188
23189if test "x${have_engine}" = "xyes" ; then
23190 if test "x${want_engine}" = "xstatic" ; then
23191 have_evas_engine_wayland_shm="static"
23192 want_static_engine="yes"
23193 else
23194 have_evas_engine_wayland_shm="yes"
23195 fi
23196fi
23197
23198if test "x${have_engine}" = "xyes" ; then
23199
23200$as_echo "#define BUILD_ENGINE_WAYLAND_SHM 1" >>confdefs.h
23201
23202fi
23203
23204 if test "x${have_engine}" = "xyes"; then
23205 BUILD_ENGINE_WAYLAND_SHM_TRUE=
23206 BUILD_ENGINE_WAYLAND_SHM_FALSE='#'
23207else
23208 BUILD_ENGINE_WAYLAND_SHM_TRUE='#'
23209 BUILD_ENGINE_WAYLAND_SHM_FALSE=
23210fi
23211
23212
23213if test "x${want_static_engine}" = "xyes" ; then
23214
23215$as_echo "#define EVAS_STATIC_BUILD_WAYLAND_SHM 1" >>confdefs.h
23216
23217 have_static_module="yes"
23218fi
23219
23220 if test "x${want_static_engine}" = "xyes"; then
23221 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE=
23222 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE='#'
23223else
23224 EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE='#'
23225 EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE=
23226fi
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237want_engine="${want_evas_engine_wayland_egl}"
23238want_static_engine="no"
23239have_engine="no"
23240have_evas_engine_wayland_egl="no"
23241
23242# Check whether --enable-wayland-egl was given.
23243if test "${enable_wayland_egl+set}" = set; then :
23244 enableval=$enable_wayland_egl;
23245 if test "x${enableval}" = "xyes" ; then
23246 want_engine="yes"
23247 else
23248 if test "x${enableval}" = "xstatic" ; then
23249 want_engine="static"
23250 else
23251 want_engine="no"
23252 fi
23253 fi
23254
23255fi
23256
23257
23258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Wayland Egl rendering backend" >&5
23259$as_echo_n "checking whether to enable Wayland Egl rendering backend... " >&6; }
23260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23261$as_echo "${want_engine}" >&6; }
23262
23263if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23264
23265
23266requirement=""
23267have_dep="no"
23268evas_engine_wayland_egl_cflags=""
23269evas_engine_wayland_egl_libs=""
23270
23271
23272pkg_failed=no
23273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_EGL" >&5
23274$as_echo_n "checking for WAYLAND_EGL... " >&6; }
23275
23276if test -n "$WAYLAND_EGL_CFLAGS"; then
23277 pkg_cv_WAYLAND_EGL_CFLAGS="$WAYLAND_EGL_CFLAGS"
23278 elif test -n "$PKG_CONFIG"; then
23279 if test -n "$PKG_CONFIG" && \
23280 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23281 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23282 ac_status=$?
23283 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23284 test $ac_status = 0; }; then
23285 pkg_cv_WAYLAND_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
23286else
23287 pkg_failed=yes
23288fi
23289 else
23290 pkg_failed=untried
23291fi
23292if test -n "$WAYLAND_EGL_LIBS"; then
23293 pkg_cv_WAYLAND_EGL_LIBS="$WAYLAND_EGL_LIBS"
23294 elif test -n "$PKG_CONFIG"; then
23295 if test -n "$PKG_CONFIG" && \
23296 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl >= 7.10 glesv2 gl wayland-client wayland-egl\""; } >&5
23297 ($PKG_CONFIG --exists --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl") 2>&5
23298 ac_status=$?
23299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23300 test $ac_status = 0; }; then
23301 pkg_cv_WAYLAND_EGL_LIBS=`$PKG_CONFIG --libs "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>/dev/null`
23302else
23303 pkg_failed=yes
23304fi
23305 else
23306 pkg_failed=untried
23307fi
23308
23309
23310
23311if test $pkg_failed = yes; then
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23313$as_echo "no" >&6; }
23314
23315if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23316 _pkg_short_errors_supported=yes
23317else
23318 _pkg_short_errors_supported=no
23319fi
23320 if test $_pkg_short_errors_supported = yes; then
23321 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23322 else
23323 WAYLAND_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "egl >= 7.10 glesv2 gl wayland-client wayland-egl" 2>&1`
23324 fi
23325 # Put the nasty error message in config.log where it belongs
23326 echo "$WAYLAND_EGL_PKG_ERRORS" >&5
23327
23328
23329 have_dep="no"
23330
23331
23332elif test $pkg_failed = untried; then
23333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23334$as_echo "no" >&6; }
23335
23336 have_dep="no"
23337
23338
23339else
23340 WAYLAND_EGL_CFLAGS=$pkg_cv_WAYLAND_EGL_CFLAGS
23341 WAYLAND_EGL_LIBS=$pkg_cv_WAYLAND_EGL_LIBS
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23343$as_echo "yes" >&6; }
23344
23345 have_dep="yes"
23346 requirement="egl >= 7.10 glesv2 gl wayland-client wayland-egl"
23347 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
23348 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS}"
23349
23350fi
23351
23352if test "x${have_dep}" = "xyes" ; then
23353
23354pkg_failed=no
23355{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
23356$as_echo_n "checking for GL_EET... " >&6; }
23357
23358if test -n "$GL_EET_CFLAGS"; then
23359 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
23360 elif test -n "$PKG_CONFIG"; then
23361 if test -n "$PKG_CONFIG" && \
23362 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
23363 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
23364 ac_status=$?
23365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23366 test $ac_status = 0; }; then
23367 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
23368else
23369 pkg_failed=yes
23370fi
23371 else
23372 pkg_failed=untried
23373fi
23374if test -n "$GL_EET_LIBS"; then
23375 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
23376 elif test -n "$PKG_CONFIG"; then
23377 if test -n "$PKG_CONFIG" && \
23378 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
23379 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
23380 ac_status=$?
23381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23382 test $ac_status = 0; }; then
23383 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
23384else
23385 pkg_failed=yes
23386fi
23387 else
23388 pkg_failed=untried
23389fi
23390
23391
23392
23393if test $pkg_failed = yes; then
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23395$as_echo "no" >&6; }
23396
23397if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23398 _pkg_short_errors_supported=yes
23399else
23400 _pkg_short_errors_supported=no
23401fi
23402 if test $_pkg_short_errors_supported = yes; then
23403 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
23404 else
23405 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
23406 fi
23407 # Put the nasty error message in config.log where it belongs
23408 echo "$GL_EET_PKG_ERRORS" >&5
23409
23410 have_dep="no"
23411elif test $pkg_failed = untried; then
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23413$as_echo "no" >&6; }
23414 have_dep="no"
23415else
23416 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
23417 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
23418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23419$as_echo "yes" >&6; }
23420 have_dep="yes"
23421fi
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
23423$as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
23424if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
23425 $as_echo_n "(cached) " >&6
23426else
23427 ac_check_lib_save_LIBS=$LIBS
23428LIBS="-lGLESv2 -lEGL -lm $LIBS"
23429cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23430/* end confdefs.h. */
23431
23432/* Override any GCC internal prototype to avoid an error.
23433 Use char because int might match the return type of a GCC
23434 builtin and then its argument prototype would still apply. */
23435#ifdef __cplusplus
23436extern "C"
23437#endif
23438char glTexImage2D ();
23439int
23440main ()
23441{
23442return glTexImage2D ();
23443 ;
23444 return 0;
23445}
23446_ACEOF
23447if ac_fn_c_try_link "$LINENO"; then :
23448 ac_cv_lib_GLESv2_glTexImage2D=yes
23449else
23450 ac_cv_lib_GLESv2_glTexImage2D=no
23451fi
23452rm -f core conftest.err conftest.$ac_objext \
23453 conftest$ac_exeext conftest.$ac_ext
23454LIBS=$ac_check_lib_save_LIBS
23455fi
23456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
23457$as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
23458if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
23459 have_glesv2="yes"
23460fi
23461
23462 if test "x${have_glesv2}" = "xyes" ; then
23463 evas_engine_wayland_egl_cflags="${WAYLAND_EGL_CFLAGS}"
23464 evas_engine_wayland_egl_libs="${WAYLAND_EGL_LIBS} -lGL -lGLESv2 -lEGL"
23465 fi
23466fi
23467
23468
23469
23470
23471if test "x${want_engine}" = "xstatic" ; then
23472 requirement_evas="${requirement} ${requirement_evas}"
23473fi
23474
23475if test "x${have_dep}" = "xyes" ; then
23476 have_engine="yes"
23477else
23478 have_engine="no"
23479fi
23480
23481
23482fi
23483
23484if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23485 as_fn_error $? "Wayland Egl dependencies not found (strict dependencies checking)" "$LINENO" 5
23486fi
23487
23488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Wayland Egl rendering backend will be built" >&5
23489$as_echo_n "checking whether Wayland Egl rendering backend will be built... " >&6; }
23490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23491$as_echo "${have_engine}" >&6; }
23492
23493if test "x${have_engine}" = "xyes" ; then
23494 if test "x${want_engine}" = "xstatic" ; then
23495 have_evas_engine_wayland_egl="static"
23496 want_static_engine="yes"
23497 else
23498 have_evas_engine_wayland_egl="yes"
23499 fi
23500fi
23501
23502if test "x${have_engine}" = "xyes" ; then
23503
23504$as_echo "#define BUILD_ENGINE_WAYLAND_EGL 1" >>confdefs.h
23505
23506fi
23507
23508 if test "x${have_engine}" = "xyes"; then
23509 BUILD_ENGINE_WAYLAND_EGL_TRUE=
23510 BUILD_ENGINE_WAYLAND_EGL_FALSE='#'
23511else
23512 BUILD_ENGINE_WAYLAND_EGL_TRUE='#'
23513 BUILD_ENGINE_WAYLAND_EGL_FALSE=
23514fi
23515
23516
23517if test "x${want_static_engine}" = "xyes" ; then
23518
23519$as_echo "#define EVAS_STATIC_BUILD_WAYLAND_EGL 1" >>confdefs.h
23520
23521 have_static_module="yes"
23522fi
23523
23524 if test "x${want_static_engine}" = "xyes"; then
23525 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE=
23526 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE='#'
23527else
23528 EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE='#'
23529 EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE=
23530fi
23531
23532
23533
23534
23535
23536
23537
23538# SDL primitive
23539sdl_primitive="no"
23540
23541# Check whether --enable-sdl-primitive was given.
23542if test "${enable_sdl_primitive+set}" = set; then :
23543 enableval=$enable_sdl_primitive; sdl_primitive=${enableval}
23544
23545fi
23546
23547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use SDL primitive when possible" >&5
23548$as_echo_n "checking whether to use SDL primitive when possible... " >&6; }
23549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${sdl_primitive}" >&5
23550$as_echo "${sdl_primitive}" >&6; }
23551
23552if test "x${sdl_primitive}" = "xyes" ; then
23553
23554$as_echo "#define ENGINE_SDL_PRIMITIVE 1" >>confdefs.h
23555
23556fi
23557
23558# if software generic need to be build as part of libevas.so
23559have_static_software_generic="no"
23560# Check whether --enable-static-software-generic was given.
23561if test "${enable_static_software_generic+set}" = set; then :
23562 enableval=$enable_static_software_generic; have_static_software_generic=${enableval}
23563
23564fi
23565
23566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software generic engine as part of libevas" >&5
23567$as_echo_n "checking Whether to build software generic engine as part of libevas... " >&6; }
23568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_generic}" >&5
23569$as_echo "${have_static_software_generic}" >&6; }
23570
23571if test "x${have_static_module}" = "xyes" -a "x${have_static_software_generic}" = "xno"; then
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&5
23573$as_echo "$as_me: WARNING: Forcing --enable-static-software-generic as engines must be compiled statically" >&2;}
23574 have_static_software_generic="yes"
23575fi
23576
23577 if test "x${have_static_software_generic}" = "xyes"; then
23578 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE=
23579 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE='#'
23580else
23581 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE='#'
23582 EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE=
23583fi
23584
23585if test "x${have_static_software_generic}" = "xyes"; then
23586
23587$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_GENERIC 1" >>confdefs.h
23588
23589fi
23590
23591
23592######## Software Engine ########
23593have_evas_engine_software_x11="no"
23594have_evas_engine_software_xcb="no"
23595have_evas_engine_software_xlib="no"
23596build_software_xcb=
23597
23598## XCB Checks ##
23599want_xcb="no"
23600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Software XCB Engine" >&5
23601$as_echo_n "checking whether to build Software XCB Engine... " >&6; }
23602# Check whether --enable-software-xcb was given.
23603if test "${enable_software_xcb+set}" = set; then :
23604 enableval=$enable_software_xcb; want_xcb=$enableval
23605
23606fi
23607
23608if test "x$want_xcb" != "xno" ; then
23609
23610
23611
23612want_engine="${want_evas_engine_software_xcb}"
23613want_static_engine="no"
23614have_engine="no"
23615have_evas_engine_software_xcb="no"
23616
23617# Check whether --enable-software-xcb was given.
23618if test "${enable_software_xcb+set}" = set; then :
23619 enableval=$enable_software_xcb;
23620 if test "x${enableval}" = "xyes" ; then
23621 want_engine="yes"
23622 else
23623 if test "x${enableval}" = "xstatic" ; then
23624 want_engine="static"
23625 else
23626 want_engine="no"
23627 fi
23628 fi
23629
23630fi
23631
23632
23633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software XCB rendering backend" >&5
23634$as_echo_n "checking whether to enable Software XCB rendering backend... " >&6; }
23635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23636$as_echo "${want_engine}" >&6; }
23637
23638if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23639
23640
23641requirement=""
23642have_dep="no"
23643evas_engine_software_xcb_cflags=""
23644evas_engine_software_xcb_libs=""
23645
23646
23647pkg_failed=no
23648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5
23649$as_echo_n "checking for XCB... " >&6; }
23650
23651if test -n "$XCB_CFLAGS"; then
23652 pkg_cv_XCB_CFLAGS="$XCB_CFLAGS"
23653 elif test -n "$PKG_CONFIG"; then
23654 if test -n "$PKG_CONFIG" && \
23655 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23656 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23657 ac_status=$?
23658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23659 test $ac_status = 0; }; then
23660 pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
23661else
23662 pkg_failed=yes
23663fi
23664 else
23665 pkg_failed=untried
23666fi
23667if test -n "$XCB_LIBS"; then
23668 pkg_cv_XCB_LIBS="$XCB_LIBS"
23669 elif test -n "$PKG_CONFIG"; then
23670 if test -n "$PKG_CONFIG" && \
23671 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-shm xcb-image >= 0.2.1 pixman-1\""; } >&5
23672 ($PKG_CONFIG --exists --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1") 2>&5
23673 ac_status=$?
23674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23675 test $ac_status = 0; }; then
23676 pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>/dev/null`
23677else
23678 pkg_failed=yes
23679fi
23680 else
23681 pkg_failed=untried
23682fi
23683
23684
23685
23686if test $pkg_failed = yes; then
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23688$as_echo "no" >&6; }
23689
23690if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23691 _pkg_short_errors_supported=yes
23692else
23693 _pkg_short_errors_supported=no
23694fi
23695 if test $_pkg_short_errors_supported = yes; then
23696 XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23697 else
23698 XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors "xcb xcb-shm xcb-image >= 0.2.1 pixman-1" 2>&1`
23699 fi
23700 # Put the nasty error message in config.log where it belongs
23701 echo "$XCB_PKG_ERRORS" >&5
23702
23703
23704 have_dep="no"
23705
23706
23707elif test $pkg_failed = untried; then
23708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23709$as_echo "no" >&6; }
23710
23711 have_dep="no"
23712
23713
23714else
23715 XCB_CFLAGS=$pkg_cv_XCB_CFLAGS
23716 XCB_LIBS=$pkg_cv_XCB_LIBS
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23718$as_echo "yes" >&6; }
23719
23720 have_dep="yes"
23721 requirement="xcb xcb-shm xcb-image pixman-1"
23722 evas_engine_software_xcb_cflags="${XCB_CFLAGS}"
23723 evas_engine_software_xcb_libs="${XCB_LIBS}"
23724
23725fi
23726
23727
23728
23729
23730if test "x${want_engine}" = "xstatic" ; then
23731 requirement_evas="${requirement} ${requirement_evas}"
23732fi
23733
23734if test "x${have_dep}" = "xyes" ; then
23735 have_engine="yes"
23736else
23737 have_engine="no"
23738fi
23739
23740
23741fi
23742
23743if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
23744 as_fn_error $? "Software XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
23745fi
23746
23747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software XCB rendering backend will be built" >&5
23748$as_echo_n "checking whether Software XCB rendering backend will be built... " >&6; }
23749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
23750$as_echo "${have_engine}" >&6; }
23751
23752if test "x${have_engine}" = "xyes" ; then
23753 if test "x${want_engine}" = "xstatic" ; then
23754 have_evas_engine_software_xcb="static"
23755 want_static_engine="yes"
23756 else
23757 have_evas_engine_software_xcb="yes"
23758 fi
23759fi
23760
23761if test "x${have_engine}" = "xyes" ; then
23762
23763$as_echo "#define BUILD_ENGINE_SOFTWARE_XCB 1" >>confdefs.h
23764
23765fi
23766
23767 if test "x${have_engine}" = "xyes"; then
23768 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
23769 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
23770else
23771 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
23772 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
23773fi
23774
23775
23776if test "x${want_static_engine}" = "xyes" ; then
23777
23778$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XCB 1" >>confdefs.h
23779
23780 have_static_module="yes"
23781fi
23782
23783 if test "x${want_static_engine}" = "xyes"; then
23784 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
23785 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
23786else
23787 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
23788 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
23789fi
23790
23791
23792
23793
23794
23795
23796 if test "x$have_evas_engine_software_xcb" != "xno" ; then
23797 build_software_xcb="yes"
23798 have_evas_engine_software_x11="yes"
23799
23800cat >>confdefs.h <<_ACEOF
23801#define BUILD_ENGINE_SOFTWARE_X11 1
23802_ACEOF
23803
23804
23805cat >>confdefs.h <<_ACEOF
23806#define BUILD_ENGINE_SOFTWARE_XCB 1
23807_ACEOF
23808
23809 fi
23810else
23811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23812$as_echo "no" >&6; }
23813 build_software_xcb="no"
23814fi
23815
23816## If we are not building XCB, then we can build XLib ##
23817
23818if test "x$build_software_xcb" = "xno" ; then
23819
23820
23821
23822want_engine="${want_evas_engine_software_xlib}"
23823want_static_engine="no"
23824have_engine="no"
23825have_evas_engine_software_xlib="no"
23826
23827# Check whether --enable-software-xlib was given.
23828if test "${enable_software_xlib+set}" = set; then :
23829 enableval=$enable_software_xlib;
23830 if test "x${enableval}" = "xyes" ; then
23831 want_engine="yes"
23832 else
23833 if test "x${enableval}" = "xstatic" ; then
23834 want_engine="static"
23835 else
23836 want_engine="no"
23837 fi
23838 fi
23839
23840fi
23841
23842
23843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Software Xlib rendering backend" >&5
23844$as_echo_n "checking whether to enable Software Xlib rendering backend... " >&6; }
23845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
23846$as_echo "${want_engine}" >&6; }
23847
23848if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
23849
23850
23851have_dep="no"
23852evas_engine_software_xlib_cflags=""
23853evas_engine_software_xlib_libs=""
23854
23855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
23856$as_echo_n "checking for X... " >&6; }
23857
23858
23859# Check whether --with-x was given.
23860if test "${with_x+set}" = set; then :
23861 withval=$with_x;
23862fi
23863
23864# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
23865if test "x$with_x" = xno; then
23866 # The user explicitly disabled X.
23867 have_x=disabled
23868else
23869 case $x_includes,$x_libraries in #(
23870 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
23871 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
23872 $as_echo_n "(cached) " >&6
23873else
23874 # One or both of the vars are not set, and there is no cached value.
23875ac_x_includes=no ac_x_libraries=no
23876rm -f -r conftest.dir
23877if mkdir conftest.dir; then
23878 cd conftest.dir
23879 cat >Imakefile <<'_ACEOF'
23880incroot:
23881 @echo incroot='${INCROOT}'
23882usrlibdir:
23883 @echo usrlibdir='${USRLIBDIR}'
23884libdir:
23885 @echo libdir='${LIBDIR}'
23886_ACEOF
23887 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
23888 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
23889 for ac_var in incroot usrlibdir libdir; do
23890 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
23891 done
23892 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
23893 for ac_extension in a so sl dylib la dll; do
23894 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
23895 test -f "$ac_im_libdir/libX11.$ac_extension"; then
23896 ac_im_usrlibdir=$ac_im_libdir; break
23897 fi
23898 done
23899 # Screen out bogus values from the imake configuration. They are
23900 # bogus both because they are the default anyway, and because
23901 # using them would break gcc on systems where it needs fixed includes.
23902 case $ac_im_incroot in
23903 /usr/include) ac_x_includes= ;;
23904 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
23905 esac
23906 case $ac_im_usrlibdir in
23907 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
23908 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
23909 esac
23910 fi
23911 cd ..
23912 rm -f -r conftest.dir
23913fi
23914
23915# Standard set of common directories for X headers.
23916# Check X11 before X11Rn because it is often a symlink to the current release.
23917ac_x_header_dirs='
23918/usr/X11/include
23919/usr/X11R7/include
23920/usr/X11R6/include
23921/usr/X11R5/include
23922/usr/X11R4/include
23923
23924/usr/include/X11
23925/usr/include/X11R7
23926/usr/include/X11R6
23927/usr/include/X11R5
23928/usr/include/X11R4
23929
23930/usr/local/X11/include
23931/usr/local/X11R7/include
23932/usr/local/X11R6/include
23933/usr/local/X11R5/include
23934/usr/local/X11R4/include
23935
23936/usr/local/include/X11
23937/usr/local/include/X11R7
23938/usr/local/include/X11R6
23939/usr/local/include/X11R5
23940/usr/local/include/X11R4
23941
23942/usr/X386/include
23943/usr/x386/include
23944/usr/XFree86/include/X11
23945
23946/usr/include
23947/usr/local/include
23948/usr/unsupported/include
23949/usr/athena/include
23950/usr/local/x11r5/include
23951/usr/lpp/Xamples/include
23952
23953/usr/openwin/include
23954/usr/openwin/share/include'
23955
23956if test "$ac_x_includes" = no; then
23957 # Guess where to find include files, by looking for Xlib.h.
23958 # First, try using that file with no special directory specified.
23959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23960/* end confdefs.h. */
23961#include <X11/Xlib.h>
23962_ACEOF
23963if ac_fn_c_try_cpp "$LINENO"; then :
23964 # We can compile using X headers with no special include directory.
23965ac_x_includes=
23966else
23967 for ac_dir in $ac_x_header_dirs; do
23968 if test -r "$ac_dir/X11/Xlib.h"; then
23969 ac_x_includes=$ac_dir
23970 break
23971 fi
23972done
23973fi
23974rm -f conftest.err conftest.i conftest.$ac_ext
23975fi # $ac_x_includes = no
23976
23977if test "$ac_x_libraries" = no; then
23978 # Check for the libraries.
23979 # See if we find them without any special options.
23980 # Don't add to $LIBS permanently.
23981 ac_save_LIBS=$LIBS
23982 LIBS="-lX11 $LIBS"
23983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23984/* end confdefs.h. */
23985#include <X11/Xlib.h>
23986int
23987main ()
23988{
23989XrmInitialize ()
23990 ;
23991 return 0;
23992}
23993_ACEOF
23994if ac_fn_c_try_link "$LINENO"; then :
23995 LIBS=$ac_save_LIBS
23996# We can link X programs with no special library path.
23997ac_x_libraries=
23998else
23999 LIBS=$ac_save_LIBS
24000for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24001do
24002 # Don't even attempt the hair of trying to link an X program!
24003 for ac_extension in a so sl dylib la dll; do
24004 if test -r "$ac_dir/libX11.$ac_extension"; then
24005 ac_x_libraries=$ac_dir
24006 break 2
24007 fi
24008 done
24009done
24010fi
24011rm -f core conftest.err conftest.$ac_objext \
24012 conftest$ac_exeext conftest.$ac_ext
24013fi # $ac_x_libraries = no
24014
24015case $ac_x_includes,$ac_x_libraries in #(
24016 no,* | *,no | *\'*)
24017 # Didn't find X, or a directory has "'" in its name.
24018 ac_cv_have_x="have_x=no";; #(
24019 *)
24020 # Record where we found X for the cache.
24021 ac_cv_have_x="have_x=yes\
24022 ac_x_includes='$ac_x_includes'\
24023 ac_x_libraries='$ac_x_libraries'"
24024esac
24025fi
24026;; #(
24027 *) have_x=yes;;
24028 esac
24029 eval "$ac_cv_have_x"
24030fi # $with_x != no
24031
24032if test "$have_x" != yes; then
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
24034$as_echo "$have_x" >&6; }
24035 no_x=yes
24036else
24037 # If each of the values was on the command line, it overrides each guess.
24038 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
24039 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
24040 # Update the cache value to reflect the command line values.
24041 ac_cv_have_x="have_x=yes\
24042 ac_x_includes='$x_includes'\
24043 ac_x_libraries='$x_libraries'"
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
24045$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
24046fi
24047
24048if test "$no_x" = yes; then
24049 # Not all programs may use this symbol, but it does not hurt to define it.
24050
24051$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
24052
24053 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
24054else
24055 if test -n "$x_includes"; then
24056 X_CFLAGS="$X_CFLAGS -I$x_includes"
24057 fi
24058
24059 # It would also be nice to do this for all -L options, not just this one.
24060 if test -n "$x_libraries"; then
24061 X_LIBS="$X_LIBS -L$x_libraries"
24062 # For Solaris; some versions of Sun CC require a space after -R and
24063 # others require no space. Words are not sufficient . . . .
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
24065$as_echo_n "checking whether -R must be followed by a space... " >&6; }
24066 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
24067 ac_xsave_c_werror_flag=$ac_c_werror_flag
24068 ac_c_werror_flag=yes
24069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24070/* end confdefs.h. */
24071
24072int
24073main ()
24074{
24075
24076 ;
24077 return 0;
24078}
24079_ACEOF
24080if ac_fn_c_try_link "$LINENO"; then :
24081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24082$as_echo "no" >&6; }
24083 X_LIBS="$X_LIBS -R$x_libraries"
24084else
24085 LIBS="$ac_xsave_LIBS -R $x_libraries"
24086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24087/* end confdefs.h. */
24088
24089int
24090main ()
24091{
24092
24093 ;
24094 return 0;
24095}
24096_ACEOF
24097if ac_fn_c_try_link "$LINENO"; then :
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24099$as_echo "yes" >&6; }
24100 X_LIBS="$X_LIBS -R $x_libraries"
24101else
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
24103$as_echo "neither works" >&6; }
24104fi
24105rm -f core conftest.err conftest.$ac_objext \
24106 conftest$ac_exeext conftest.$ac_ext
24107fi
24108rm -f core conftest.err conftest.$ac_objext \
24109 conftest$ac_exeext conftest.$ac_ext
24110 ac_c_werror_flag=$ac_xsave_c_werror_flag
24111 LIBS=$ac_xsave_LIBS
24112 fi
24113
24114 # Check for system-dependent libraries X programs must link with.
24115 # Do this before checking for the system-independent R6 libraries
24116 # (-lICE), since we may need -lsocket or whatever for X linking.
24117
24118 if test "$ISC" = yes; then
24119 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
24120 else
24121 # Martyn Johnson says this is needed for Ultrix, if the X
24122 # libraries were built with DECnet support. And Karl Berry says
24123 # the Alpha needs dnet_stub (dnet does not exist).
24124 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
24125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24126/* end confdefs.h. */
24127
24128/* Override any GCC internal prototype to avoid an error.
24129 Use char because int might match the return type of a GCC
24130 builtin and then its argument prototype would still apply. */
24131#ifdef __cplusplus
24132extern "C"
24133#endif
24134char XOpenDisplay ();
24135int
24136main ()
24137{
24138return XOpenDisplay ();
24139 ;
24140 return 0;
24141}
24142_ACEOF
24143if ac_fn_c_try_link "$LINENO"; then :
24144
24145else
24146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
24147$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
24148if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
24149 $as_echo_n "(cached) " >&6
24150else
24151 ac_check_lib_save_LIBS=$LIBS
24152LIBS="-ldnet $LIBS"
24153cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24154/* end confdefs.h. */
24155
24156/* Override any GCC internal prototype to avoid an error.
24157 Use char because int might match the return type of a GCC
24158 builtin and then its argument prototype would still apply. */
24159#ifdef __cplusplus
24160extern "C"
24161#endif
24162char dnet_ntoa ();
24163int
24164main ()
24165{
24166return dnet_ntoa ();
24167 ;
24168 return 0;
24169}
24170_ACEOF
24171if ac_fn_c_try_link "$LINENO"; then :
24172 ac_cv_lib_dnet_dnet_ntoa=yes
24173else
24174 ac_cv_lib_dnet_dnet_ntoa=no
24175fi
24176rm -f core conftest.err conftest.$ac_objext \
24177 conftest$ac_exeext conftest.$ac_ext
24178LIBS=$ac_check_lib_save_LIBS
24179fi
24180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
24181$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
24182if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
24183 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
24184fi
24185
24186 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
24187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
24188$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
24189if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
24190 $as_echo_n "(cached) " >&6
24191else
24192 ac_check_lib_save_LIBS=$LIBS
24193LIBS="-ldnet_stub $LIBS"
24194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195/* end confdefs.h. */
24196
24197/* Override any GCC internal prototype to avoid an error.
24198 Use char because int might match the return type of a GCC
24199 builtin and then its argument prototype would still apply. */
24200#ifdef __cplusplus
24201extern "C"
24202#endif
24203char dnet_ntoa ();
24204int
24205main ()
24206{
24207return dnet_ntoa ();
24208 ;
24209 return 0;
24210}
24211_ACEOF
24212if ac_fn_c_try_link "$LINENO"; then :
24213 ac_cv_lib_dnet_stub_dnet_ntoa=yes
24214else
24215 ac_cv_lib_dnet_stub_dnet_ntoa=no
24216fi
24217rm -f core conftest.err conftest.$ac_objext \
24218 conftest$ac_exeext conftest.$ac_ext
24219LIBS=$ac_check_lib_save_LIBS
24220fi
24221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
24222$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
24223if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
24224 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
24225fi
24226
24227 fi
24228fi
24229rm -f core conftest.err conftest.$ac_objext \
24230 conftest$ac_exeext conftest.$ac_ext
24231 LIBS="$ac_xsave_LIBS"
24232
24233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
24234 # to get the SysV transport functions.
24235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
24236 # needs -lnsl.
24237 # The nsl library prevents programs from opening the X display
24238 # on Irix 5.2, according to T.E. Dickey.
24239 # The functions gethostbyname, getservbyname, and inet_addr are
24240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
24241 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
24242if test "x$ac_cv_func_gethostbyname" = x""yes; then :
24243
24244fi
24245
24246 if test $ac_cv_func_gethostbyname = no; then
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
24248$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
24249if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
24250 $as_echo_n "(cached) " >&6
24251else
24252 ac_check_lib_save_LIBS=$LIBS
24253LIBS="-lnsl $LIBS"
24254cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24255/* end confdefs.h. */
24256
24257/* Override any GCC internal prototype to avoid an error.
24258 Use char because int might match the return type of a GCC
24259 builtin and then its argument prototype would still apply. */
24260#ifdef __cplusplus
24261extern "C"
24262#endif
24263char gethostbyname ();
24264int
24265main ()
24266{
24267return gethostbyname ();
24268 ;
24269 return 0;
24270}
24271_ACEOF
24272if ac_fn_c_try_link "$LINENO"; then :
24273 ac_cv_lib_nsl_gethostbyname=yes
24274else
24275 ac_cv_lib_nsl_gethostbyname=no
24276fi
24277rm -f core conftest.err conftest.$ac_objext \
24278 conftest$ac_exeext conftest.$ac_ext
24279LIBS=$ac_check_lib_save_LIBS
24280fi
24281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
24282$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
24283if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
24284 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
24285fi
24286
24287 if test $ac_cv_lib_nsl_gethostbyname = no; then
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
24289$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
24290if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
24291 $as_echo_n "(cached) " >&6
24292else
24293 ac_check_lib_save_LIBS=$LIBS
24294LIBS="-lbsd $LIBS"
24295cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24296/* end confdefs.h. */
24297
24298/* Override any GCC internal prototype to avoid an error.
24299 Use char because int might match the return type of a GCC
24300 builtin and then its argument prototype would still apply. */
24301#ifdef __cplusplus
24302extern "C"
24303#endif
24304char gethostbyname ();
24305int
24306main ()
24307{
24308return gethostbyname ();
24309 ;
24310 return 0;
24311}
24312_ACEOF
24313if ac_fn_c_try_link "$LINENO"; then :
24314 ac_cv_lib_bsd_gethostbyname=yes
24315else
24316 ac_cv_lib_bsd_gethostbyname=no
24317fi
24318rm -f core conftest.err conftest.$ac_objext \
24319 conftest$ac_exeext conftest.$ac_ext
24320LIBS=$ac_check_lib_save_LIBS
24321fi
24322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
24323$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
24324if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
24325 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
24326fi
24327
24328 fi
24329 fi
24330
24331 # lieder@skyler.mavd.honeywell.com says without -lsocket,
24332 # socket/setsockopt and other routines are undefined under SCO ODT
24333 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
24334 # on later versions), says Simon Leinen: it contains gethostby*
24335 # variants that don't use the name server (or something). -lsocket
24336 # must be given before -lnsl if both are needed. We assume that
24337 # if connect needs -lnsl, so does gethostbyname.
24338 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
24339if test "x$ac_cv_func_connect" = x""yes; then :
24340
24341fi
24342
24343 if test $ac_cv_func_connect = no; then
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
24345$as_echo_n "checking for connect in -lsocket... " >&6; }
24346if test "${ac_cv_lib_socket_connect+set}" = set; then :
24347 $as_echo_n "(cached) " >&6
24348else
24349 ac_check_lib_save_LIBS=$LIBS
24350LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
24351cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24352/* end confdefs.h. */
24353
24354/* Override any GCC internal prototype to avoid an error.
24355 Use char because int might match the return type of a GCC
24356 builtin and then its argument prototype would still apply. */
24357#ifdef __cplusplus
24358extern "C"
24359#endif
24360char connect ();
24361int
24362main ()
24363{
24364return connect ();
24365 ;
24366 return 0;
24367}
24368_ACEOF
24369if ac_fn_c_try_link "$LINENO"; then :
24370 ac_cv_lib_socket_connect=yes
24371else
24372 ac_cv_lib_socket_connect=no
24373fi
24374rm -f core conftest.err conftest.$ac_objext \
24375 conftest$ac_exeext conftest.$ac_ext
24376LIBS=$ac_check_lib_save_LIBS
24377fi
24378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
24379$as_echo "$ac_cv_lib_socket_connect" >&6; }
24380if test "x$ac_cv_lib_socket_connect" = x""yes; then :
24381 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
24382fi
24383
24384 fi
24385
24386 # Guillermo Gomez says -lposix is necessary on A/UX.
24387 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
24388if test "x$ac_cv_func_remove" = x""yes; then :
24389
24390fi
24391
24392 if test $ac_cv_func_remove = no; then
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
24394$as_echo_n "checking for remove in -lposix... " >&6; }
24395if test "${ac_cv_lib_posix_remove+set}" = set; then :
24396 $as_echo_n "(cached) " >&6
24397else
24398 ac_check_lib_save_LIBS=$LIBS
24399LIBS="-lposix $LIBS"
24400cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24401/* end confdefs.h. */
24402
24403/* Override any GCC internal prototype to avoid an error.
24404 Use char because int might match the return type of a GCC
24405 builtin and then its argument prototype would still apply. */
24406#ifdef __cplusplus
24407extern "C"
24408#endif
24409char remove ();
24410int
24411main ()
24412{
24413return remove ();
24414 ;
24415 return 0;
24416}
24417_ACEOF
24418if ac_fn_c_try_link "$LINENO"; then :
24419 ac_cv_lib_posix_remove=yes
24420else
24421 ac_cv_lib_posix_remove=no
24422fi
24423rm -f core conftest.err conftest.$ac_objext \
24424 conftest$ac_exeext conftest.$ac_ext
24425LIBS=$ac_check_lib_save_LIBS
24426fi
24427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
24428$as_echo "$ac_cv_lib_posix_remove" >&6; }
24429if test "x$ac_cv_lib_posix_remove" = x""yes; then :
24430 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
24431fi
24432
24433 fi
24434
24435 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
24436 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
24437if test "x$ac_cv_func_shmat" = x""yes; then :
24438
24439fi
24440
24441 if test $ac_cv_func_shmat = no; then
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
24443$as_echo_n "checking for shmat in -lipc... " >&6; }
24444if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
24445 $as_echo_n "(cached) " >&6
24446else
24447 ac_check_lib_save_LIBS=$LIBS
24448LIBS="-lipc $LIBS"
24449cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24450/* end confdefs.h. */
24451
24452/* Override any GCC internal prototype to avoid an error.
24453 Use char because int might match the return type of a GCC
24454 builtin and then its argument prototype would still apply. */
24455#ifdef __cplusplus
24456extern "C"
24457#endif
24458char shmat ();
24459int
24460main ()
24461{
24462return shmat ();
24463 ;
24464 return 0;
24465}
24466_ACEOF
24467if ac_fn_c_try_link "$LINENO"; then :
24468 ac_cv_lib_ipc_shmat=yes
24469else
24470 ac_cv_lib_ipc_shmat=no
24471fi
24472rm -f core conftest.err conftest.$ac_objext \
24473 conftest$ac_exeext conftest.$ac_ext
24474LIBS=$ac_check_lib_save_LIBS
24475fi
24476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
24477$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
24478if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
24479 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
24480fi
24481
24482 fi
24483 fi
24484
24485 # Check for libraries that X11R6 Xt/Xaw programs need.
24486 ac_save_LDFLAGS=$LDFLAGS
24487 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
24488 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
24489 # check for ICE first), but we must link in the order -lSM -lICE or
24490 # we get undefined symbols. So assume we have SM if we have ICE.
24491 # These have to be linked with before -lX11, unlike the other
24492 # libraries we check for below, so use a different variable.
24493 # John Interrante, Karl Berry
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
24495$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
24496if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
24497 $as_echo_n "(cached) " >&6
24498else
24499 ac_check_lib_save_LIBS=$LIBS
24500LIBS="-lICE $X_EXTRA_LIBS $LIBS"
24501cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24502/* end confdefs.h. */
24503
24504/* Override any GCC internal prototype to avoid an error.
24505 Use char because int might match the return type of a GCC
24506 builtin and then its argument prototype would still apply. */
24507#ifdef __cplusplus
24508extern "C"
24509#endif
24510char IceConnectionNumber ();
24511int
24512main ()
24513{
24514return IceConnectionNumber ();
24515 ;
24516 return 0;
24517}
24518_ACEOF
24519if ac_fn_c_try_link "$LINENO"; then :
24520 ac_cv_lib_ICE_IceConnectionNumber=yes
24521else
24522 ac_cv_lib_ICE_IceConnectionNumber=no
24523fi
24524rm -f core conftest.err conftest.$ac_objext \
24525 conftest$ac_exeext conftest.$ac_ext
24526LIBS=$ac_check_lib_save_LIBS
24527fi
24528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
24529$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
24530if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
24531 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
24532fi
24533
24534 LDFLAGS=$ac_save_LDFLAGS
24535
24536fi
24537
24538
24539ac_fn_c_check_header_mongrel "$LINENO" "X11/X.h" "ac_cv_header_X11_X_h" "$ac_includes_default"
24540if test "x$ac_cv_header_X11_X_h" = x""yes; then :
24541 have_dep="yes"
24542fi
24543
24544
24545
24546if test "x${have_dep}" = "xyes" ; then
24547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateImage in -lX11" >&5
24548$as_echo_n "checking for XCreateImage in -lX11... " >&6; }
24549if test "${ac_cv_lib_X11_XCreateImage+set}" = set; then :
24550 $as_echo_n "(cached) " >&6
24551else
24552 ac_check_lib_save_LIBS=$LIBS
24553LIBS="-lX11 $LIBS"
24554cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24555/* end confdefs.h. */
24556
24557/* Override any GCC internal prototype to avoid an error.
24558 Use char because int might match the return type of a GCC
24559 builtin and then its argument prototype would still apply. */
24560#ifdef __cplusplus
24561extern "C"
24562#endif
24563char XCreateImage ();
24564int
24565main ()
24566{
24567return XCreateImage ();
24568 ;
24569 return 0;
24570}
24571_ACEOF
24572if ac_fn_c_try_link "$LINENO"; then :
24573 ac_cv_lib_X11_XCreateImage=yes
24574else
24575 ac_cv_lib_X11_XCreateImage=no
24576fi
24577rm -f core conftest.err conftest.$ac_objext \
24578 conftest$ac_exeext conftest.$ac_ext
24579LIBS=$ac_check_lib_save_LIBS
24580fi
24581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateImage" >&5
24582$as_echo "$ac_cv_lib_X11_XCreateImage" >&6; }
24583if test "x$ac_cv_lib_X11_XCreateImage" = x""yes; then :
24584 have_dep="yes"
24585else
24586 have_dep="no"
24587fi
24588
24589fi
24590
24591if test "x${have_dep}" = "xyes" ; then
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmCreateImage in -lXext" >&5
24593$as_echo_n "checking for XShmCreateImage in -lXext... " >&6; }
24594if test "${ac_cv_lib_Xext_XShmCreateImage+set}" = set; then :
24595 $as_echo_n "(cached) " >&6
24596else
24597 ac_check_lib_save_LIBS=$LIBS
24598LIBS="-lXext $LIBS"
24599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24600/* end confdefs.h. */
24601
24602/* Override any GCC internal prototype to avoid an error.
24603 Use char because int might match the return type of a GCC
24604 builtin and then its argument prototype would still apply. */
24605#ifdef __cplusplus
24606extern "C"
24607#endif
24608char XShmCreateImage ();
24609int
24610main ()
24611{
24612return XShmCreateImage ();
24613 ;
24614 return 0;
24615}
24616_ACEOF
24617if ac_fn_c_try_link "$LINENO"; then :
24618 ac_cv_lib_Xext_XShmCreateImage=yes
24619else
24620 ac_cv_lib_Xext_XShmCreateImage=no
24621fi
24622rm -f core conftest.err conftest.$ac_objext \
24623 conftest$ac_exeext conftest.$ac_ext
24624LIBS=$ac_check_lib_save_LIBS
24625fi
24626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmCreateImage" >&5
24627$as_echo "$ac_cv_lib_Xext_XShmCreateImage" >&6; }
24628if test "x$ac_cv_lib_Xext_XShmCreateImage" = x""yes; then :
24629 have_dep="yes"
24630else
24631 have_dep="no"
24632fi
24633
24634fi
24635
24636if test "x${have_dep}" = "xyes" ; then
24637 if test "xno" = "xyes" ; then
24638 x_libs="${x_libs} -lX11 -lXext"
24639 else
24640 x_dir=${x_dir:-/usr/X11R6}
24641 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
24642 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext"
24643 fi
24644 evas_engine_software_xlib_cflags="${x_cflags}"
24645 evas_engine_software_xlib_libs="${x_libs}"
24646fi
24647
24648
24649
24650
24651if test "x${have_dep}" = "xyes" ; then
24652 have_engine="yes"
24653else
24654 have_engine="no"
24655fi
24656
24657
24658fi
24659
24660if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
24661 as_fn_error $? "Software Xlib dependencies not found (strict dependencies checking)" "$LINENO" 5
24662fi
24663
24664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Software Xlib rendering backend will be built" >&5
24665$as_echo_n "checking whether Software Xlib rendering backend will be built... " >&6; }
24666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
24667$as_echo "${have_engine}" >&6; }
24668
24669if test "x${have_engine}" = "xyes" ; then
24670 if test "x${want_engine}" = "xstatic" ; then
24671 have_evas_engine_software_xlib="static"
24672 want_static_engine="yes"
24673 else
24674 have_evas_engine_software_xlib="yes"
24675 fi
24676fi
24677
24678if test "x${have_engine}" = "xyes" ; then
24679
24680$as_echo "#define BUILD_ENGINE_SOFTWARE_XLIB 1" >>confdefs.h
24681
24682fi
24683
24684 if test "x${have_engine}" = "xyes"; then
24685 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
24686 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
24687else
24688 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
24689 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
24690fi
24691
24692
24693if test "x${want_static_engine}" = "xyes" ; then
24694
24695$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_XLIB 1" >>confdefs.h
24696
24697 have_static_module="yes"
24698fi
24699
24700 if test "x${want_static_engine}" = "xyes"; then
24701 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
24702 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
24703else
24704 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
24705 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
24706fi
24707
24708
24709
24710
24711
24712
24713 # if software_x11 is available, define everything needed for X11
24714 if test "x$have_evas_engine_software_xlib" != "xno" ; then
24715 have_evas_engine_software_x11="yes"
24716
24717cat >>confdefs.h <<_ACEOF
24718#define BUILD_ENGINE_SOFTWARE_X11 1
24719_ACEOF
24720
24721
24722cat >>confdefs.h <<_ACEOF
24723#define BUILD_ENGINE_SOFTWARE_XLIB 1
24724_ACEOF
24725
24726 fi
24727else
24728 have_evas_engine_software_xlib="no"
24729fi
24730
24731if test "x$have_evas_engine_software_xlib" = "xstatic" -o "x$have_evas_engine_software_xcb" = "xstatic"; then
24732
24733cat >>confdefs.h <<_ACEOF
24734#define EVAS_STATIC_BUILD_SOFTWARE_X11 1
24735_ACEOF
24736
24737fi
24738
24739
24740
24741
24742 if test "x${have_evas_engine_software_xlib}" != "xno"; then
24743 BUILD_ENGINE_SOFTWARE_XLIB_TRUE=
24744 BUILD_ENGINE_SOFTWARE_XLIB_FALSE='#'
24745else
24746 BUILD_ENGINE_SOFTWARE_XLIB_TRUE='#'
24747 BUILD_ENGINE_SOFTWARE_XLIB_FALSE=
24748fi
24749
24750 if test "x${have_evas_engine_software_xcb}" != "xno"; then
24751 BUILD_ENGINE_SOFTWARE_XCB_TRUE=
24752 BUILD_ENGINE_SOFTWARE_XCB_FALSE='#'
24753else
24754 BUILD_ENGINE_SOFTWARE_XCB_TRUE='#'
24755 BUILD_ENGINE_SOFTWARE_XCB_FALSE=
24756fi
24757
24758 if test "x${have_evas_engine_software_x11}" != "xno"; then
24759 BUILD_ENGINE_SOFTWARE_X11_TRUE=
24760 BUILD_ENGINE_SOFTWARE_X11_FALSE='#'
24761else
24762 BUILD_ENGINE_SOFTWARE_X11_TRUE='#'
24763 BUILD_ENGINE_SOFTWARE_X11_FALSE=
24764fi
24765
24766
24767 if test "x${have_evas_engine_software_xcb}" = "xstatic" -o "x${have_evas_engine_software_xlib}" = "xstatic"; then
24768 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE=
24769 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE='#'
24770else
24771 EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE='#'
24772 EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE=
24773fi
24774
24775 if test "x${have_evas_engine_software_xlib}" = "xstatic"; then
24776 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE=
24777 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE='#'
24778else
24779 EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE='#'
24780 EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE=
24781fi
24782
24783 if test "x${have_evas_engine_software_xcb}" = "xstatic"; then
24784 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE=
24785 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE='#'
24786else
24787 EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE='#'
24788 EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE=
24789fi
24790
24791
24792
24793
24794
24795######## OpenGL Engine ########
24796have_evas_engine_gl_x11="no"
24797have_evas_engine_gl_xcb="no"
24798build_gl_xcb="no"
24799
24800## XCB Checks ##
24801want_gl_xcb="no"
24802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenGL XCB Engine" >&5
24803$as_echo_n "checking whether to build OpenGL XCB Engine... " >&6; }
24804# Check whether --enable-gl-xcb was given.
24805if test "${enable_gl_xcb+set}" = set; then :
24806 enableval=$enable_gl_xcb; want_gl_xcb=$enableval
24807
24808fi
24809
24810if test "x$want_gl_xcb" = "xyes" ; then
24811
24812
24813
24814want_engine="${want_evas_engine_gl_xcb}"
24815want_static_engine="no"
24816have_engine="no"
24817have_evas_engine_gl_xcb="no"
24818
24819# Check whether --enable-gl-xcb was given.
24820if test "${enable_gl_xcb+set}" = set; then :
24821 enableval=$enable_gl_xcb;
24822 if test "x${enableval}" = "xyes" ; then
24823 want_engine="yes"
24824 else
24825 if test "x${enableval}" = "xstatic" ; then
24826 want_engine="static"
24827 else
24828 want_engine="no"
24829 fi
24830 fi
24831
24832fi
24833
24834
24835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XCB rendering backend" >&5
24836$as_echo_n "checking whether to enable OpenGL XCB rendering backend... " >&6; }
24837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
24838$as_echo "${want_engine}" >&6; }
24839
24840if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
24841
24842
24843evas_engine_gl_xcb_cflags=""
24844evas_engine_gl_xcb_libs=""
24845
24846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
24847$as_echo_n "checking for X... " >&6; }
24848
24849
24850# Check whether --with-x was given.
24851if test "${with_x+set}" = set; then :
24852 withval=$with_x;
24853fi
24854
24855# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
24856if test "x$with_x" = xno; then
24857 # The user explicitly disabled X.
24858 have_x=disabled
24859else
24860 case $x_includes,$x_libraries in #(
24861 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
24862 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
24863 $as_echo_n "(cached) " >&6
24864else
24865 # One or both of the vars are not set, and there is no cached value.
24866ac_x_includes=no ac_x_libraries=no
24867rm -f -r conftest.dir
24868if mkdir conftest.dir; then
24869 cd conftest.dir
24870 cat >Imakefile <<'_ACEOF'
24871incroot:
24872 @echo incroot='${INCROOT}'
24873usrlibdir:
24874 @echo usrlibdir='${USRLIBDIR}'
24875libdir:
24876 @echo libdir='${LIBDIR}'
24877_ACEOF
24878 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
24879 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
24880 for ac_var in incroot usrlibdir libdir; do
24881 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
24882 done
24883 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
24884 for ac_extension in a so sl dylib la dll; do
24885 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
24886 test -f "$ac_im_libdir/libX11.$ac_extension"; then
24887 ac_im_usrlibdir=$ac_im_libdir; break
24888 fi
24889 done
24890 # Screen out bogus values from the imake configuration. They are
24891 # bogus both because they are the default anyway, and because
24892 # using them would break gcc on systems where it needs fixed includes.
24893 case $ac_im_incroot in
24894 /usr/include) ac_x_includes= ;;
24895 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
24896 esac
24897 case $ac_im_usrlibdir in
24898 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
24899 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
24900 esac
24901 fi
24902 cd ..
24903 rm -f -r conftest.dir
24904fi
24905
24906# Standard set of common directories for X headers.
24907# Check X11 before X11Rn because it is often a symlink to the current release.
24908ac_x_header_dirs='
24909/usr/X11/include
24910/usr/X11R7/include
24911/usr/X11R6/include
24912/usr/X11R5/include
24913/usr/X11R4/include
24914
24915/usr/include/X11
24916/usr/include/X11R7
24917/usr/include/X11R6
24918/usr/include/X11R5
24919/usr/include/X11R4
24920
24921/usr/local/X11/include
24922/usr/local/X11R7/include
24923/usr/local/X11R6/include
24924/usr/local/X11R5/include
24925/usr/local/X11R4/include
24926
24927/usr/local/include/X11
24928/usr/local/include/X11R7
24929/usr/local/include/X11R6
24930/usr/local/include/X11R5
24931/usr/local/include/X11R4
24932
24933/usr/X386/include
24934/usr/x386/include
24935/usr/XFree86/include/X11
24936
24937/usr/include
24938/usr/local/include
24939/usr/unsupported/include
24940/usr/athena/include
24941/usr/local/x11r5/include
24942/usr/lpp/Xamples/include
24943
24944/usr/openwin/include
24945/usr/openwin/share/include'
24946
24947if test "$ac_x_includes" = no; then
24948 # Guess where to find include files, by looking for Xlib.h.
24949 # First, try using that file with no special directory specified.
24950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951/* end confdefs.h. */
24952#include <X11/Xlib.h>
24953_ACEOF
24954if ac_fn_c_try_cpp "$LINENO"; then :
24955 # We can compile using X headers with no special include directory.
24956ac_x_includes=
24957else
24958 for ac_dir in $ac_x_header_dirs; do
24959 if test -r "$ac_dir/X11/Xlib.h"; then
24960 ac_x_includes=$ac_dir
24961 break
24962 fi
24963done
24964fi
24965rm -f conftest.err conftest.i conftest.$ac_ext
24966fi # $ac_x_includes = no
24967
24968if test "$ac_x_libraries" = no; then
24969 # Check for the libraries.
24970 # See if we find them without any special options.
24971 # Don't add to $LIBS permanently.
24972 ac_save_LIBS=$LIBS
24973 LIBS="-lX11 $LIBS"
24974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24975/* end confdefs.h. */
24976#include <X11/Xlib.h>
24977int
24978main ()
24979{
24980XrmInitialize ()
24981 ;
24982 return 0;
24983}
24984_ACEOF
24985if ac_fn_c_try_link "$LINENO"; then :
24986 LIBS=$ac_save_LIBS
24987# We can link X programs with no special library path.
24988ac_x_libraries=
24989else
24990 LIBS=$ac_save_LIBS
24991for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
24992do
24993 # Don't even attempt the hair of trying to link an X program!
24994 for ac_extension in a so sl dylib la dll; do
24995 if test -r "$ac_dir/libX11.$ac_extension"; then
24996 ac_x_libraries=$ac_dir
24997 break 2
24998 fi
24999 done
25000done
25001fi
25002rm -f core conftest.err conftest.$ac_objext \
25003 conftest$ac_exeext conftest.$ac_ext
25004fi # $ac_x_libraries = no
25005
25006case $ac_x_includes,$ac_x_libraries in #(
25007 no,* | *,no | *\'*)
25008 # Didn't find X, or a directory has "'" in its name.
25009 ac_cv_have_x="have_x=no";; #(
25010 *)
25011 # Record where we found X for the cache.
25012 ac_cv_have_x="have_x=yes\
25013 ac_x_includes='$ac_x_includes'\
25014 ac_x_libraries='$ac_x_libraries'"
25015esac
25016fi
25017;; #(
25018 *) have_x=yes;;
25019 esac
25020 eval "$ac_cv_have_x"
25021fi # $with_x != no
25022
25023if test "$have_x" != yes; then
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
25025$as_echo "$have_x" >&6; }
25026 no_x=yes
25027else
25028 # If each of the values was on the command line, it overrides each guess.
25029 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
25030 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
25031 # Update the cache value to reflect the command line values.
25032 ac_cv_have_x="have_x=yes\
25033 ac_x_includes='$x_includes'\
25034 ac_x_libraries='$x_libraries'"
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
25036$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
25037fi
25038
25039if test "$no_x" = yes; then
25040 # Not all programs may use this symbol, but it does not hurt to define it.
25041
25042$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
25043
25044 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
25045else
25046 if test -n "$x_includes"; then
25047 X_CFLAGS="$X_CFLAGS -I$x_includes"
25048 fi
25049
25050 # It would also be nice to do this for all -L options, not just this one.
25051 if test -n "$x_libraries"; then
25052 X_LIBS="$X_LIBS -L$x_libraries"
25053 # For Solaris; some versions of Sun CC require a space after -R and
25054 # others require no space. Words are not sufficient . . . .
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
25056$as_echo_n "checking whether -R must be followed by a space... " >&6; }
25057 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
25058 ac_xsave_c_werror_flag=$ac_c_werror_flag
25059 ac_c_werror_flag=yes
25060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25061/* end confdefs.h. */
25062
25063int
25064main ()
25065{
25066
25067 ;
25068 return 0;
25069}
25070_ACEOF
25071if ac_fn_c_try_link "$LINENO"; then :
25072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25073$as_echo "no" >&6; }
25074 X_LIBS="$X_LIBS -R$x_libraries"
25075else
25076 LIBS="$ac_xsave_LIBS -R $x_libraries"
25077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25078/* end confdefs.h. */
25079
25080int
25081main ()
25082{
25083
25084 ;
25085 return 0;
25086}
25087_ACEOF
25088if ac_fn_c_try_link "$LINENO"; then :
25089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25090$as_echo "yes" >&6; }
25091 X_LIBS="$X_LIBS -R $x_libraries"
25092else
25093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
25094$as_echo "neither works" >&6; }
25095fi
25096rm -f core conftest.err conftest.$ac_objext \
25097 conftest$ac_exeext conftest.$ac_ext
25098fi
25099rm -f core conftest.err conftest.$ac_objext \
25100 conftest$ac_exeext conftest.$ac_ext
25101 ac_c_werror_flag=$ac_xsave_c_werror_flag
25102 LIBS=$ac_xsave_LIBS
25103 fi
25104
25105 # Check for system-dependent libraries X programs must link with.
25106 # Do this before checking for the system-independent R6 libraries
25107 # (-lICE), since we may need -lsocket or whatever for X linking.
25108
25109 if test "$ISC" = yes; then
25110 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
25111 else
25112 # Martyn Johnson says this is needed for Ultrix, if the X
25113 # libraries were built with DECnet support. And Karl Berry says
25114 # the Alpha needs dnet_stub (dnet does not exist).
25115 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
25116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25117/* end confdefs.h. */
25118
25119/* Override any GCC internal prototype to avoid an error.
25120 Use char because int might match the return type of a GCC
25121 builtin and then its argument prototype would still apply. */
25122#ifdef __cplusplus
25123extern "C"
25124#endif
25125char XOpenDisplay ();
25126int
25127main ()
25128{
25129return XOpenDisplay ();
25130 ;
25131 return 0;
25132}
25133_ACEOF
25134if ac_fn_c_try_link "$LINENO"; then :
25135
25136else
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
25138$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
25139if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
25140 $as_echo_n "(cached) " >&6
25141else
25142 ac_check_lib_save_LIBS=$LIBS
25143LIBS="-ldnet $LIBS"
25144cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25145/* end confdefs.h. */
25146
25147/* Override any GCC internal prototype to avoid an error.
25148 Use char because int might match the return type of a GCC
25149 builtin and then its argument prototype would still apply. */
25150#ifdef __cplusplus
25151extern "C"
25152#endif
25153char dnet_ntoa ();
25154int
25155main ()
25156{
25157return dnet_ntoa ();
25158 ;
25159 return 0;
25160}
25161_ACEOF
25162if ac_fn_c_try_link "$LINENO"; then :
25163 ac_cv_lib_dnet_dnet_ntoa=yes
25164else
25165 ac_cv_lib_dnet_dnet_ntoa=no
25166fi
25167rm -f core conftest.err conftest.$ac_objext \
25168 conftest$ac_exeext conftest.$ac_ext
25169LIBS=$ac_check_lib_save_LIBS
25170fi
25171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
25172$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
25173if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
25174 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
25175fi
25176
25177 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
25179$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
25180if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
25181 $as_echo_n "(cached) " >&6
25182else
25183 ac_check_lib_save_LIBS=$LIBS
25184LIBS="-ldnet_stub $LIBS"
25185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25186/* end confdefs.h. */
25187
25188/* Override any GCC internal prototype to avoid an error.
25189 Use char because int might match the return type of a GCC
25190 builtin and then its argument prototype would still apply. */
25191#ifdef __cplusplus
25192extern "C"
25193#endif
25194char dnet_ntoa ();
25195int
25196main ()
25197{
25198return dnet_ntoa ();
25199 ;
25200 return 0;
25201}
25202_ACEOF
25203if ac_fn_c_try_link "$LINENO"; then :
25204 ac_cv_lib_dnet_stub_dnet_ntoa=yes
25205else
25206 ac_cv_lib_dnet_stub_dnet_ntoa=no
25207fi
25208rm -f core conftest.err conftest.$ac_objext \
25209 conftest$ac_exeext conftest.$ac_ext
25210LIBS=$ac_check_lib_save_LIBS
25211fi
25212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
25213$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
25214if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
25215 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
25216fi
25217
25218 fi
25219fi
25220rm -f core conftest.err conftest.$ac_objext \
25221 conftest$ac_exeext conftest.$ac_ext
25222 LIBS="$ac_xsave_LIBS"
25223
25224 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
25225 # to get the SysV transport functions.
25226 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
25227 # needs -lnsl.
25228 # The nsl library prevents programs from opening the X display
25229 # on Irix 5.2, according to T.E. Dickey.
25230 # The functions gethostbyname, getservbyname, and inet_addr are
25231 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
25232 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25233if test "x$ac_cv_func_gethostbyname" = x""yes; then :
25234
25235fi
25236
25237 if test $ac_cv_func_gethostbyname = no; then
25238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
25239$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
25240if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
25241 $as_echo_n "(cached) " >&6
25242else
25243 ac_check_lib_save_LIBS=$LIBS
25244LIBS="-lnsl $LIBS"
25245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25246/* end confdefs.h. */
25247
25248/* Override any GCC internal prototype to avoid an error.
25249 Use char because int might match the return type of a GCC
25250 builtin and then its argument prototype would still apply. */
25251#ifdef __cplusplus
25252extern "C"
25253#endif
25254char gethostbyname ();
25255int
25256main ()
25257{
25258return gethostbyname ();
25259 ;
25260 return 0;
25261}
25262_ACEOF
25263if ac_fn_c_try_link "$LINENO"; then :
25264 ac_cv_lib_nsl_gethostbyname=yes
25265else
25266 ac_cv_lib_nsl_gethostbyname=no
25267fi
25268rm -f core conftest.err conftest.$ac_objext \
25269 conftest$ac_exeext conftest.$ac_ext
25270LIBS=$ac_check_lib_save_LIBS
25271fi
25272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
25273$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
25274if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
25275 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
25276fi
25277
25278 if test $ac_cv_lib_nsl_gethostbyname = no; then
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
25280$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
25281if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
25282 $as_echo_n "(cached) " >&6
25283else
25284 ac_check_lib_save_LIBS=$LIBS
25285LIBS="-lbsd $LIBS"
25286cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25287/* end confdefs.h. */
25288
25289/* Override any GCC internal prototype to avoid an error.
25290 Use char because int might match the return type of a GCC
25291 builtin and then its argument prototype would still apply. */
25292#ifdef __cplusplus
25293extern "C"
25294#endif
25295char gethostbyname ();
25296int
25297main ()
25298{
25299return gethostbyname ();
25300 ;
25301 return 0;
25302}
25303_ACEOF
25304if ac_fn_c_try_link "$LINENO"; then :
25305 ac_cv_lib_bsd_gethostbyname=yes
25306else
25307 ac_cv_lib_bsd_gethostbyname=no
25308fi
25309rm -f core conftest.err conftest.$ac_objext \
25310 conftest$ac_exeext conftest.$ac_ext
25311LIBS=$ac_check_lib_save_LIBS
25312fi
25313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
25314$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
25315if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
25316 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
25317fi
25318
25319 fi
25320 fi
25321
25322 # lieder@skyler.mavd.honeywell.com says without -lsocket,
25323 # socket/setsockopt and other routines are undefined under SCO ODT
25324 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
25325 # on later versions), says Simon Leinen: it contains gethostby*
25326 # variants that don't use the name server (or something). -lsocket
25327 # must be given before -lnsl if both are needed. We assume that
25328 # if connect needs -lnsl, so does gethostbyname.
25329 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
25330if test "x$ac_cv_func_connect" = x""yes; then :
25331
25332fi
25333
25334 if test $ac_cv_func_connect = no; then
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
25336$as_echo_n "checking for connect in -lsocket... " >&6; }
25337if test "${ac_cv_lib_socket_connect+set}" = set; then :
25338 $as_echo_n "(cached) " >&6
25339else
25340 ac_check_lib_save_LIBS=$LIBS
25341LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
25342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25343/* end confdefs.h. */
25344
25345/* Override any GCC internal prototype to avoid an error.
25346 Use char because int might match the return type of a GCC
25347 builtin and then its argument prototype would still apply. */
25348#ifdef __cplusplus
25349extern "C"
25350#endif
25351char connect ();
25352int
25353main ()
25354{
25355return connect ();
25356 ;
25357 return 0;
25358}
25359_ACEOF
25360if ac_fn_c_try_link "$LINENO"; then :
25361 ac_cv_lib_socket_connect=yes
25362else
25363 ac_cv_lib_socket_connect=no
25364fi
25365rm -f core conftest.err conftest.$ac_objext \
25366 conftest$ac_exeext conftest.$ac_ext
25367LIBS=$ac_check_lib_save_LIBS
25368fi
25369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
25370$as_echo "$ac_cv_lib_socket_connect" >&6; }
25371if test "x$ac_cv_lib_socket_connect" = x""yes; then :
25372 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
25373fi
25374
25375 fi
25376
25377 # Guillermo Gomez says -lposix is necessary on A/UX.
25378 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
25379if test "x$ac_cv_func_remove" = x""yes; then :
25380
25381fi
25382
25383 if test $ac_cv_func_remove = no; then
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
25385$as_echo_n "checking for remove in -lposix... " >&6; }
25386if test "${ac_cv_lib_posix_remove+set}" = set; then :
25387 $as_echo_n "(cached) " >&6
25388else
25389 ac_check_lib_save_LIBS=$LIBS
25390LIBS="-lposix $LIBS"
25391cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392/* end confdefs.h. */
25393
25394/* Override any GCC internal prototype to avoid an error.
25395 Use char because int might match the return type of a GCC
25396 builtin and then its argument prototype would still apply. */
25397#ifdef __cplusplus
25398extern "C"
25399#endif
25400char remove ();
25401int
25402main ()
25403{
25404return remove ();
25405 ;
25406 return 0;
25407}
25408_ACEOF
25409if ac_fn_c_try_link "$LINENO"; then :
25410 ac_cv_lib_posix_remove=yes
25411else
25412 ac_cv_lib_posix_remove=no
25413fi
25414rm -f core conftest.err conftest.$ac_objext \
25415 conftest$ac_exeext conftest.$ac_ext
25416LIBS=$ac_check_lib_save_LIBS
25417fi
25418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
25419$as_echo "$ac_cv_lib_posix_remove" >&6; }
25420if test "x$ac_cv_lib_posix_remove" = x""yes; then :
25421 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
25422fi
25423
25424 fi
25425
25426 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
25427 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
25428if test "x$ac_cv_func_shmat" = x""yes; then :
25429
25430fi
25431
25432 if test $ac_cv_func_shmat = no; then
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
25434$as_echo_n "checking for shmat in -lipc... " >&6; }
25435if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
25436 $as_echo_n "(cached) " >&6
25437else
25438 ac_check_lib_save_LIBS=$LIBS
25439LIBS="-lipc $LIBS"
25440cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25441/* end confdefs.h. */
25442
25443/* Override any GCC internal prototype to avoid an error.
25444 Use char because int might match the return type of a GCC
25445 builtin and then its argument prototype would still apply. */
25446#ifdef __cplusplus
25447extern "C"
25448#endif
25449char shmat ();
25450int
25451main ()
25452{
25453return shmat ();
25454 ;
25455 return 0;
25456}
25457_ACEOF
25458if ac_fn_c_try_link "$LINENO"; then :
25459 ac_cv_lib_ipc_shmat=yes
25460else
25461 ac_cv_lib_ipc_shmat=no
25462fi
25463rm -f core conftest.err conftest.$ac_objext \
25464 conftest$ac_exeext conftest.$ac_ext
25465LIBS=$ac_check_lib_save_LIBS
25466fi
25467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
25468$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
25469if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
25470 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
25471fi
25472
25473 fi
25474 fi
25475
25476 # Check for libraries that X11R6 Xt/Xaw programs need.
25477 ac_save_LDFLAGS=$LDFLAGS
25478 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
25479 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
25480 # check for ICE first), but we must link in the order -lSM -lICE or
25481 # we get undefined symbols. So assume we have SM if we have ICE.
25482 # These have to be linked with before -lX11, unlike the other
25483 # libraries we check for below, so use a different variable.
25484 # John Interrante, Karl Berry
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
25486$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
25487if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
25488 $as_echo_n "(cached) " >&6
25489else
25490 ac_check_lib_save_LIBS=$LIBS
25491LIBS="-lICE $X_EXTRA_LIBS $LIBS"
25492cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25493/* end confdefs.h. */
25494
25495/* Override any GCC internal prototype to avoid an error.
25496 Use char because int might match the return type of a GCC
25497 builtin and then its argument prototype would still apply. */
25498#ifdef __cplusplus
25499extern "C"
25500#endif
25501char IceConnectionNumber ();
25502int
25503main ()
25504{
25505return IceConnectionNumber ();
25506 ;
25507 return 0;
25508}
25509_ACEOF
25510if ac_fn_c_try_link "$LINENO"; then :
25511 ac_cv_lib_ICE_IceConnectionNumber=yes
25512else
25513 ac_cv_lib_ICE_IceConnectionNumber=no
25514fi
25515rm -f core conftest.err conftest.$ac_objext \
25516 conftest$ac_exeext conftest.$ac_ext
25517LIBS=$ac_check_lib_save_LIBS
25518fi
25519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
25520$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
25521if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
25522 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
25523fi
25524
25525 LDFLAGS=$ac_save_LDFLAGS
25526
25527fi
25528
25529
25530ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
25531#include <GL/gl.h>
25532#include <GL/glext.h>
25533#include <GL/glx.h>
25534
25535"
25536if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
25537 have_dep="yes"
25538else
25539 have_dep="no"
25540fi
25541
25542
25543
25544gl_pt_lib="";
25545have_gl_pt="no"
25546
25547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
25548$as_echo_n "checking whether pthread_create() is supported... " >&6; }
25549CFLAGS_save="${CFLAGS}"
25550CFLAGS="${CFLAGS} -pthread"
25551LIBS_save="${LIBS}"
25552LIBS="${LIBS} -pthread"
25553cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25554/* end confdefs.h. */
25555
25556#include <pthread.h>
25557
25558int
25559main ()
25560{
25561
25562pthread_create(NULL, NULL, NULL, NULL);
25563
25564 ;
25565 return 0;
25566}
25567_ACEOF
25568if ac_fn_c_try_link "$LINENO"; then :
25569 have_gl_pt="yes"
25570else
25571 have_gl_pt="no"
25572fi
25573rm -f core conftest.err conftest.$ac_objext \
25574 conftest$ac_exeext conftest.$ac_ext
25575CFLAGS=${CFLAGS_save}
25576LIBS=${LIBS_save}
25577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
25578$as_echo "${have_gl_pt}" >&6; }
25579
25580if test "x$have_gl_pt" = "xyes" ; then
25581 gl_pt_lib=" -pthread"
25582fi
25583
25584if test "x${have_dep}" = "xyes" ; then
25585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
25586$as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
25587if test "${ac_cv_lib_X11_XCreateColormap+set}" = set; then :
25588 $as_echo_n "(cached) " >&6
25589else
25590 ac_check_lib_save_LIBS=$LIBS
25591LIBS="-lX11 $LIBS"
25592cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25593/* end confdefs.h. */
25594
25595/* Override any GCC internal prototype to avoid an error.
25596 Use char because int might match the return type of a GCC
25597 builtin and then its argument prototype would still apply. */
25598#ifdef __cplusplus
25599extern "C"
25600#endif
25601char XCreateColormap ();
25602int
25603main ()
25604{
25605return XCreateColormap ();
25606 ;
25607 return 0;
25608}
25609_ACEOF
25610if ac_fn_c_try_link "$LINENO"; then :
25611 ac_cv_lib_X11_XCreateColormap=yes
25612else
25613 ac_cv_lib_X11_XCreateColormap=no
25614fi
25615rm -f core conftest.err conftest.$ac_objext \
25616 conftest$ac_exeext conftest.$ac_ext
25617LIBS=$ac_check_lib_save_LIBS
25618fi
25619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
25620$as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
25621if test "x$ac_cv_lib_X11_XCreateColormap" = x""yes; then :
25622 have_dep="yes"
25623else
25624 have_dep="no"
25625fi
25626
25627fi
25628
25629if test "x${have_dep}" = "xyes" ; then
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
25631$as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
25632if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
25633 $as_echo_n "(cached) " >&6
25634else
25635 ac_check_lib_save_LIBS=$LIBS
25636LIBS="-lXrender $LIBS"
25637cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25638/* end confdefs.h. */
25639
25640/* Override any GCC internal prototype to avoid an error.
25641 Use char because int might match the return type of a GCC
25642 builtin and then its argument prototype would still apply. */
25643#ifdef __cplusplus
25644extern "C"
25645#endif
25646char XRenderCreatePicture ();
25647int
25648main ()
25649{
25650return XRenderCreatePicture ();
25651 ;
25652 return 0;
25653}
25654_ACEOF
25655if ac_fn_c_try_link "$LINENO"; then :
25656 ac_cv_lib_Xrender_XRenderCreatePicture=yes
25657else
25658 ac_cv_lib_Xrender_XRenderCreatePicture=no
25659fi
25660rm -f core conftest.err conftest.$ac_objext \
25661 conftest$ac_exeext conftest.$ac_ext
25662LIBS=$ac_check_lib_save_LIBS
25663fi
25664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
25665$as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
25666if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
25667 have_dep="yes"
25668else
25669 have_dep="no"
25670fi
25671
25672fi
25673
25674if test "x${have_dep}" = "xyes" ; then
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
25676$as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
25677if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then :
25678 $as_echo_n "(cached) " >&6
25679else
25680 ac_check_lib_save_LIBS=$LIBS
25681LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
25682cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25683/* end confdefs.h. */
25684
25685/* Override any GCC internal prototype to avoid an error.
25686 Use char because int might match the return type of a GCC
25687 builtin and then its argument prototype would still apply. */
25688#ifdef __cplusplus
25689extern "C"
25690#endif
25691char glXCreateContext ();
25692int
25693main ()
25694{
25695return glXCreateContext ();
25696 ;
25697 return 0;
25698}
25699_ACEOF
25700if ac_fn_c_try_link "$LINENO"; then :
25701 ac_cv_lib_GL_glXCreateContext=yes
25702else
25703 ac_cv_lib_GL_glXCreateContext=no
25704fi
25705rm -f core conftest.err conftest.$ac_objext \
25706 conftest$ac_exeext conftest.$ac_ext
25707LIBS=$ac_check_lib_save_LIBS
25708fi
25709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
25710$as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
25711if test "x$ac_cv_lib_GL_glXCreateContext" = x""yes; then :
25712 have_dep="yes"
25713else
25714 have_dep="no"
25715fi
25716
25717fi
25718
25719
25720pkg_failed=no
25721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB_GL" >&5
25722$as_echo_n "checking for XCB_GL... " >&6; }
25723
25724if test -n "$XCB_GL_CFLAGS"; then
25725 pkg_cv_XCB_GL_CFLAGS="$XCB_GL_CFLAGS"
25726 elif test -n "$PKG_CONFIG"; then
25727 if test -n "$PKG_CONFIG" && \
25728 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25729 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25730 ac_status=$?
25731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25732 test $ac_status = 0; }; then
25733 pkg_cv_XCB_GL_CFLAGS=`$PKG_CONFIG --cflags "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
25734else
25735 pkg_failed=yes
25736fi
25737 else
25738 pkg_failed=untried
25739fi
25740if test -n "$XCB_GL_LIBS"; then
25741 pkg_cv_XCB_GL_LIBS="$XCB_GL_LIBS"
25742 elif test -n "$PKG_CONFIG"; then
25743 if test -n "$PKG_CONFIG" && \
25744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11-xcb xcb xcb-glx xcb-render xcb-renderutil\""; } >&5
25745 ($PKG_CONFIG --exists --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil") 2>&5
25746 ac_status=$?
25747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25748 test $ac_status = 0; }; then
25749 pkg_cv_XCB_GL_LIBS=`$PKG_CONFIG --libs "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>/dev/null`
25750else
25751 pkg_failed=yes
25752fi
25753 else
25754 pkg_failed=untried
25755fi
25756
25757
25758
25759if test $pkg_failed = yes; then
25760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25761$as_echo "no" >&6; }
25762
25763if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25764 _pkg_short_errors_supported=yes
25765else
25766 _pkg_short_errors_supported=no
25767fi
25768 if test $_pkg_short_errors_supported = yes; then
25769 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25770 else
25771 XCB_GL_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11-xcb xcb xcb-glx xcb-render xcb-renderutil" 2>&1`
25772 fi
25773 # Put the nasty error message in config.log where it belongs
25774 echo "$XCB_GL_PKG_ERRORS" >&5
25775
25776
25777 have_dep="no"
25778
25779
25780elif test $pkg_failed = untried; then
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25782$as_echo "no" >&6; }
25783
25784 have_dep="no"
25785
25786
25787else
25788 XCB_GL_CFLAGS=$pkg_cv_XCB_GL_CFLAGS
25789 XCB_GL_LIBS=$pkg_cv_XCB_GL_LIBS
25790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25791$as_echo "yes" >&6; }
25792
25793 have_dep="yes"
25794 requirement="x11-xcb xcb xcb-glx xcb-render xcb-renderutil"
25795 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS}"
25796 evas_engine_gl_xcb_libs="${XCB_GL_LIBS}"
25797
25798fi
25799
25800if test "x$gl_flavor_gles" = "xyes" ; then
25801 have_dep=no
25802fi
25803
25804if test "x${have_dep}" = "xyes" ; then
25805
25806pkg_failed=no
25807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
25808$as_echo_n "checking for GL_EET... " >&6; }
25809
25810if test -n "$GL_EET_CFLAGS"; then
25811 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
25812 elif test -n "$PKG_CONFIG"; then
25813 if test -n "$PKG_CONFIG" && \
25814 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
25815 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
25816 ac_status=$?
25817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25818 test $ac_status = 0; }; then
25819 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
25820else
25821 pkg_failed=yes
25822fi
25823 else
25824 pkg_failed=untried
25825fi
25826if test -n "$GL_EET_LIBS"; then
25827 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
25828 elif test -n "$PKG_CONFIG"; then
25829 if test -n "$PKG_CONFIG" && \
25830 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
25831 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
25832 ac_status=$?
25833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25834 test $ac_status = 0; }; then
25835 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
25836else
25837 pkg_failed=yes
25838fi
25839 else
25840 pkg_failed=untried
25841fi
25842
25843
25844
25845if test $pkg_failed = yes; then
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25847$as_echo "no" >&6; }
25848
25849if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25850 _pkg_short_errors_supported=yes
25851else
25852 _pkg_short_errors_supported=no
25853fi
25854 if test $_pkg_short_errors_supported = yes; then
25855 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
25856 else
25857 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
25858 fi
25859 # Put the nasty error message in config.log where it belongs
25860 echo "$GL_EET_PKG_ERRORS" >&5
25861
25862 have_dep="no"
25863elif test $pkg_failed = untried; then
25864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25865$as_echo "no" >&6; }
25866 have_dep="no"
25867else
25868 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
25869 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
25870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25871$as_echo "yes" >&6; }
25872 have_dep="yes"
25873fi
25874 if test "x${have_dep}" = "xyes" ; then
25875 if test "xno" = "xyes" ; then
25876 x_libs="${x_libs} -lX11 -lXext -lXrender"
25877 else
25878 x_dir=${x_dir:-/usr/X11R6}
25879 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25880 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
25881 fi
25882 evas_engine_gl_xcb_cflags="-I/usr/include ${XCB_GL_CFLAGS} ${x_cflags}"
25883 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGL $gl_pt_lib"
25884 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
25885 fi
25886else
25887 if test "xno" = "xyes" ; then
25888 x_libs="${x_libs} -lX11 -lXext -lXrender"
25889 else
25890 x_dir=${x_dir:-/usr/X11R6}
25891 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
25892 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
25893 fi
25894 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
25895#include <GLES2/gl2.h>
25896#include <GLES2/gl2ext.h>
25897#include <EGL/egl.h>
25898
25899"
25900if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
25901 have_egl="yes"
25902else
25903 have_egl="no"
25904fi
25905
25906
25907 if test "x${have_egl}" = "xyes" ; then
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
25909$as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
25910if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
25911 $as_echo_n "(cached) " >&6
25912else
25913 ac_check_lib_save_LIBS=$LIBS
25914LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
25915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916/* end confdefs.h. */
25917
25918/* Override any GCC internal prototype to avoid an error.
25919 Use char because int might match the return type of a GCC
25920 builtin and then its argument prototype would still apply. */
25921#ifdef __cplusplus
25922extern "C"
25923#endif
25924char glTexImage2D ();
25925int
25926main ()
25927{
25928return glTexImage2D ();
25929 ;
25930 return 0;
25931}
25932_ACEOF
25933if ac_fn_c_try_link "$LINENO"; then :
25934 ac_cv_lib_GLESv2_glTexImage2D=yes
25935else
25936 ac_cv_lib_GLESv2_glTexImage2D=no
25937fi
25938rm -f core conftest.err conftest.$ac_objext \
25939 conftest$ac_exeext conftest.$ac_ext
25940LIBS=$ac_check_lib_save_LIBS
25941fi
25942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
25943$as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
25944if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
25945 have_glesv2="yes"
25946fi
25947
25948 if test "x${have_glesv2}" = "xyes" ; then
25949
25950pkg_failed=no
25951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
25952$as_echo_n "checking for GL_EET... " >&6; }
25953
25954if test -n "$GL_EET_CFLAGS"; then
25955 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
25956 elif test -n "$PKG_CONFIG"; then
25957 if test -n "$PKG_CONFIG" && \
25958 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
25959 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
25960 ac_status=$?
25961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25962 test $ac_status = 0; }; then
25963 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
25964else
25965 pkg_failed=yes
25966fi
25967 else
25968 pkg_failed=untried
25969fi
25970if test -n "$GL_EET_LIBS"; then
25971 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
25972 elif test -n "$PKG_CONFIG"; then
25973 if test -n "$PKG_CONFIG" && \
25974 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
25975 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
25976 ac_status=$?
25977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
25978 test $ac_status = 0; }; then
25979 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
25980else
25981 pkg_failed=yes
25982fi
25983 else
25984 pkg_failed=untried
25985fi
25986
25987
25988
25989if test $pkg_failed = yes; then
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25991$as_echo "no" >&6; }
25992
25993if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
25994 _pkg_short_errors_supported=yes
25995else
25996 _pkg_short_errors_supported=no
25997fi
25998 if test $_pkg_short_errors_supported = yes; then
25999 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
26000 else
26001 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
26002 fi
26003 # Put the nasty error message in config.log where it belongs
26004 echo "$GL_EET_PKG_ERRORS" >&5
26005
26006 have_dep="no"
26007elif test $pkg_failed = untried; then
26008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26009$as_echo "no" >&6; }
26010 have_dep="no"
26011else
26012 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
26013 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26015$as_echo "yes" >&6; }
26016 have_dep="yes"
26017fi
26018 if test "x${have_dep}" = "xyes" ; then
26019 evas_engine_gl_xcb_cflags="${XCB_GL_CFLAGS} ${x_cflags}"
26020 evas_engine_gl_xcb_libs="${XCB_GL_LIBS} ${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
26021 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
26022 have_dep="yes"
26023
26024$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
26025
26026 gles_variety_sgx="yes"
26027 fi
26028 fi
26029 fi
26030fi
26031
26032
26033
26034
26035if test "x${have_dep}" = "xyes" ; then
26036 have_engine="yes"
26037else
26038 have_engine="no"
26039fi
26040
26041
26042fi
26043
26044if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
26045 as_fn_error $? "OpenGL XCB dependencies not found (strict dependencies checking)" "$LINENO" 5
26046fi
26047
26048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XCB rendering backend will be built" >&5
26049$as_echo_n "checking whether OpenGL XCB rendering backend will be built... " >&6; }
26050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
26051$as_echo "${have_engine}" >&6; }
26052
26053if test "x${have_engine}" = "xyes" ; then
26054 if test "x${want_engine}" = "xstatic" ; then
26055 have_evas_engine_gl_xcb="static"
26056 want_static_engine="yes"
26057 else
26058 have_evas_engine_gl_xcb="yes"
26059 fi
26060fi
26061
26062if test "x${have_engine}" = "xyes" ; then
26063
26064$as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26065
26066fi
26067
26068 if test "x${have_engine}" = "xyes"; then
26069 BUILD_ENGINE_GL_XCB_TRUE=
26070 BUILD_ENGINE_GL_XCB_FALSE='#'
26071else
26072 BUILD_ENGINE_GL_XCB_TRUE='#'
26073 BUILD_ENGINE_GL_XCB_FALSE=
26074fi
26075
26076
26077if test "x${want_static_engine}" = "xyes" ; then
26078
26079$as_echo "#define EVAS_STATIC_BUILD_GL_XCB 1" >>confdefs.h
26080
26081 have_static_module="yes"
26082fi
26083
26084 if test "x${want_static_engine}" = "xyes"; then
26085 EVAS_STATIC_BUILD_GL_XCB_TRUE=
26086 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
26087else
26088 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
26089 EVAS_STATIC_BUILD_GL_XCB_FALSE=
26090fi
26091
26092
26093
26094
26095
26096
26097 if test "x$have_evas_engine_gl_xcb" != "xno" ; then
26098 build_gl_xcb="yes"
26099 have_evas_engine_gl_x11="yes"
26100
26101$as_echo "#define BUILD_ENGINE_GL_X11 1" >>confdefs.h
26102
26103
26104$as_echo "#define BUILD_ENGINE_GL_XCB 1" >>confdefs.h
26105
26106 if test "x$have_evas_engine_gl_xcb" = "xstatic" ; then
26107
26108$as_echo "#define EVAS_STATIC_BUILD_GL_X11 1" >>confdefs.h
26109
26110 fi
26111 fi
26112
26113else
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26115$as_echo "no" >&6; }
26116 build_gl_xcb="no"
26117fi
26118
26119## If we are not building XCB, then we can build XLib ##
26120
26121if test "x$build_gl_xcb" = "xno" ; then
26122
26123
26124
26125want_engine="${want_evas_engine_gl_xlib}"
26126want_static_engine="no"
26127have_engine="no"
26128have_evas_engine_gl_xlib="no"
26129
26130# Check whether --enable-gl-xlib was given.
26131if test "${enable_gl_xlib+set}" = set; then :
26132 enableval=$enable_gl_xlib;
26133 if test "x${enableval}" = "xyes" ; then
26134 want_engine="yes"
26135 else
26136 if test "x${enableval}" = "xstatic" ; then
26137 want_engine="static"
26138 else
26139 want_engine="no"
26140 fi
26141 fi
26142
26143fi
26144
26145
26146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable OpenGL XLib rendering backend" >&5
26147$as_echo_n "checking whether to enable OpenGL XLib rendering backend... " >&6; }
26148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_engine}" >&5
26149$as_echo "${want_engine}" >&6; }
26150
26151if test "x${want_engine}" = "xyes" -o "x${want_engine}" = "xstatic" -o "x${want_engine}" = "xauto" ; then
26152
26153
26154evas_engine_gl_xlib_cflags=""
26155evas_engine_gl_xlib_libs=""
26156
26157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
26158$as_echo_n "checking for X... " >&6; }
26159
26160
26161# Check whether --with-x was given.
26162if test "${with_x+set}" = set; then :
26163 withval=$with_x;
26164fi
26165
26166# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
26167if test "x$with_x" = xno; then
26168 # The user explicitly disabled X.
26169 have_x=disabled
26170else
26171 case $x_includes,$x_libraries in #(
26172 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5 ;; #(
26173 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
26174 $as_echo_n "(cached) " >&6
26175else
26176 # One or both of the vars are not set, and there is no cached value.
26177ac_x_includes=no ac_x_libraries=no
26178rm -f -r conftest.dir
26179if mkdir conftest.dir; then
26180 cd conftest.dir
26181 cat >Imakefile <<'_ACEOF'
26182incroot:
26183 @echo incroot='${INCROOT}'
26184usrlibdir:
26185 @echo usrlibdir='${USRLIBDIR}'
26186libdir:
26187 @echo libdir='${LIBDIR}'
26188_ACEOF
26189 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
26190 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
26191 for ac_var in incroot usrlibdir libdir; do
26192 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
26193 done
26194 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
26195 for ac_extension in a so sl dylib la dll; do
26196 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
26197 test -f "$ac_im_libdir/libX11.$ac_extension"; then
26198 ac_im_usrlibdir=$ac_im_libdir; break
26199 fi
26200 done
26201 # Screen out bogus values from the imake configuration. They are
26202 # bogus both because they are the default anyway, and because
26203 # using them would break gcc on systems where it needs fixed includes.
26204 case $ac_im_incroot in
26205 /usr/include) ac_x_includes= ;;
26206 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
26207 esac
26208 case $ac_im_usrlibdir in
26209 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
26210 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
26211 esac
26212 fi
26213 cd ..
26214 rm -f -r conftest.dir
26215fi
26216
26217# Standard set of common directories for X headers.
26218# Check X11 before X11Rn because it is often a symlink to the current release.
26219ac_x_header_dirs='
26220/usr/X11/include
26221/usr/X11R7/include
26222/usr/X11R6/include
26223/usr/X11R5/include
26224/usr/X11R4/include
26225
26226/usr/include/X11
26227/usr/include/X11R7
26228/usr/include/X11R6
26229/usr/include/X11R5
26230/usr/include/X11R4
26231
26232/usr/local/X11/include
26233/usr/local/X11R7/include
26234/usr/local/X11R6/include
26235/usr/local/X11R5/include
26236/usr/local/X11R4/include
26237
26238/usr/local/include/X11
26239/usr/local/include/X11R7
26240/usr/local/include/X11R6
26241/usr/local/include/X11R5
26242/usr/local/include/X11R4
26243
26244/usr/X386/include
26245/usr/x386/include
26246/usr/XFree86/include/X11
26247
26248/usr/include
26249/usr/local/include
26250/usr/unsupported/include
26251/usr/athena/include
26252/usr/local/x11r5/include
26253/usr/lpp/Xamples/include
26254
26255/usr/openwin/include
26256/usr/openwin/share/include'
26257
26258if test "$ac_x_includes" = no; then
26259 # Guess where to find include files, by looking for Xlib.h.
26260 # First, try using that file with no special directory specified.
26261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26262/* end confdefs.h. */
26263#include <X11/Xlib.h>
26264_ACEOF
26265if ac_fn_c_try_cpp "$LINENO"; then :
26266 # We can compile using X headers with no special include directory.
26267ac_x_includes=
26268else
26269 for ac_dir in $ac_x_header_dirs; do
26270 if test -r "$ac_dir/X11/Xlib.h"; then
26271 ac_x_includes=$ac_dir
26272 break
26273 fi
26274done
26275fi
26276rm -f conftest.err conftest.i conftest.$ac_ext
26277fi # $ac_x_includes = no
26278
26279if test "$ac_x_libraries" = no; then
26280 # Check for the libraries.
26281 # See if we find them without any special options.
26282 # Don't add to $LIBS permanently.
26283 ac_save_LIBS=$LIBS
26284 LIBS="-lX11 $LIBS"
26285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26286/* end confdefs.h. */
26287#include <X11/Xlib.h>
26288int
26289main ()
26290{
26291XrmInitialize ()
26292 ;
26293 return 0;
26294}
26295_ACEOF
26296if ac_fn_c_try_link "$LINENO"; then :
26297 LIBS=$ac_save_LIBS
26298# We can link X programs with no special library path.
26299ac_x_libraries=
26300else
26301 LIBS=$ac_save_LIBS
26302for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
26303do
26304 # Don't even attempt the hair of trying to link an X program!
26305 for ac_extension in a so sl dylib la dll; do
26306 if test -r "$ac_dir/libX11.$ac_extension"; then
26307 ac_x_libraries=$ac_dir
26308 break 2
26309 fi
26310 done
26311done
26312fi
26313rm -f core conftest.err conftest.$ac_objext \
26314 conftest$ac_exeext conftest.$ac_ext
26315fi # $ac_x_libraries = no
26316
26317case $ac_x_includes,$ac_x_libraries in #(
26318 no,* | *,no | *\'*)
26319 # Didn't find X, or a directory has "'" in its name.
26320 ac_cv_have_x="have_x=no";; #(
26321 *)
26322 # Record where we found X for the cache.
26323 ac_cv_have_x="have_x=yes\
26324 ac_x_includes='$ac_x_includes'\
26325 ac_x_libraries='$ac_x_libraries'"
26326esac
26327fi
26328;; #(
26329 *) have_x=yes;;
26330 esac
26331 eval "$ac_cv_have_x"
26332fi # $with_x != no
26333
26334if test "$have_x" != yes; then
26335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
26336$as_echo "$have_x" >&6; }
26337 no_x=yes
26338else
26339 # If each of the values was on the command line, it overrides each guess.
26340 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
26341 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
26342 # Update the cache value to reflect the command line values.
26343 ac_cv_have_x="have_x=yes\
26344 ac_x_includes='$x_includes'\
26345 ac_x_libraries='$x_libraries'"
26346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
26347$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
26348fi
26349
26350if test "$no_x" = yes; then
26351 # Not all programs may use this symbol, but it does not hurt to define it.
26352
26353$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
26354
26355 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
26356else
26357 if test -n "$x_includes"; then
26358 X_CFLAGS="$X_CFLAGS -I$x_includes"
26359 fi
26360
26361 # It would also be nice to do this for all -L options, not just this one.
26362 if test -n "$x_libraries"; then
26363 X_LIBS="$X_LIBS -L$x_libraries"
26364 # For Solaris; some versions of Sun CC require a space after -R and
26365 # others require no space. Words are not sufficient . . . .
26366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
26367$as_echo_n "checking whether -R must be followed by a space... " >&6; }
26368 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
26369 ac_xsave_c_werror_flag=$ac_c_werror_flag
26370 ac_c_werror_flag=yes
26371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26372/* end confdefs.h. */
26373
26374int
26375main ()
26376{
26377
26378 ;
26379 return 0;
26380}
26381_ACEOF
26382if ac_fn_c_try_link "$LINENO"; then :
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26384$as_echo "no" >&6; }
26385 X_LIBS="$X_LIBS -R$x_libraries"
26386else
26387 LIBS="$ac_xsave_LIBS -R $x_libraries"
26388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26389/* end confdefs.h. */
26390
26391int
26392main ()
26393{
26394
26395 ;
26396 return 0;
26397}
26398_ACEOF
26399if ac_fn_c_try_link "$LINENO"; then :
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26401$as_echo "yes" >&6; }
26402 X_LIBS="$X_LIBS -R $x_libraries"
26403else
26404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
26405$as_echo "neither works" >&6; }
26406fi
26407rm -f core conftest.err conftest.$ac_objext \
26408 conftest$ac_exeext conftest.$ac_ext
26409fi
26410rm -f core conftest.err conftest.$ac_objext \
26411 conftest$ac_exeext conftest.$ac_ext
26412 ac_c_werror_flag=$ac_xsave_c_werror_flag
26413 LIBS=$ac_xsave_LIBS
26414 fi
26415
26416 # Check for system-dependent libraries X programs must link with.
26417 # Do this before checking for the system-independent R6 libraries
26418 # (-lICE), since we may need -lsocket or whatever for X linking.
26419
26420 if test "$ISC" = yes; then
26421 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
26422 else
26423 # Martyn Johnson says this is needed for Ultrix, if the X
26424 # libraries were built with DECnet support. And Karl Berry says
26425 # the Alpha needs dnet_stub (dnet does not exist).
26426 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
26427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26428/* end confdefs.h. */
26429
26430/* Override any GCC internal prototype to avoid an error.
26431 Use char because int might match the return type of a GCC
26432 builtin and then its argument prototype would still apply. */
26433#ifdef __cplusplus
26434extern "C"
26435#endif
26436char XOpenDisplay ();
26437int
26438main ()
26439{
26440return XOpenDisplay ();
26441 ;
26442 return 0;
26443}
26444_ACEOF
26445if ac_fn_c_try_link "$LINENO"; then :
26446
26447else
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
26449$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
26450if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
26451 $as_echo_n "(cached) " >&6
26452else
26453 ac_check_lib_save_LIBS=$LIBS
26454LIBS="-ldnet $LIBS"
26455cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26456/* end confdefs.h. */
26457
26458/* Override any GCC internal prototype to avoid an error.
26459 Use char because int might match the return type of a GCC
26460 builtin and then its argument prototype would still apply. */
26461#ifdef __cplusplus
26462extern "C"
26463#endif
26464char dnet_ntoa ();
26465int
26466main ()
26467{
26468return dnet_ntoa ();
26469 ;
26470 return 0;
26471}
26472_ACEOF
26473if ac_fn_c_try_link "$LINENO"; then :
26474 ac_cv_lib_dnet_dnet_ntoa=yes
26475else
26476 ac_cv_lib_dnet_dnet_ntoa=no
26477fi
26478rm -f core conftest.err conftest.$ac_objext \
26479 conftest$ac_exeext conftest.$ac_ext
26480LIBS=$ac_check_lib_save_LIBS
26481fi
26482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
26483$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
26484if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
26485 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
26486fi
26487
26488 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
26490$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
26491if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
26492 $as_echo_n "(cached) " >&6
26493else
26494 ac_check_lib_save_LIBS=$LIBS
26495LIBS="-ldnet_stub $LIBS"
26496cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26497/* end confdefs.h. */
26498
26499/* Override any GCC internal prototype to avoid an error.
26500 Use char because int might match the return type of a GCC
26501 builtin and then its argument prototype would still apply. */
26502#ifdef __cplusplus
26503extern "C"
26504#endif
26505char dnet_ntoa ();
26506int
26507main ()
26508{
26509return dnet_ntoa ();
26510 ;
26511 return 0;
26512}
26513_ACEOF
26514if ac_fn_c_try_link "$LINENO"; then :
26515 ac_cv_lib_dnet_stub_dnet_ntoa=yes
26516else
26517 ac_cv_lib_dnet_stub_dnet_ntoa=no
26518fi
26519rm -f core conftest.err conftest.$ac_objext \
26520 conftest$ac_exeext conftest.$ac_ext
26521LIBS=$ac_check_lib_save_LIBS
26522fi
26523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
26524$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
26525if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
26526 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
26527fi
26528
26529 fi
26530fi
26531rm -f core conftest.err conftest.$ac_objext \
26532 conftest$ac_exeext conftest.$ac_ext
26533 LIBS="$ac_xsave_LIBS"
26534
26535 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
26536 # to get the SysV transport functions.
26537 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
26538 # needs -lnsl.
26539 # The nsl library prevents programs from opening the X display
26540 # on Irix 5.2, according to T.E. Dickey.
26541 # The functions gethostbyname, getservbyname, and inet_addr are
26542 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
26543 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
26544if test "x$ac_cv_func_gethostbyname" = x""yes; then :
26545
26546fi
26547
26548 if test $ac_cv_func_gethostbyname = no; then
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
26550$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
26551if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
26552 $as_echo_n "(cached) " >&6
26553else
26554 ac_check_lib_save_LIBS=$LIBS
26555LIBS="-lnsl $LIBS"
26556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26557/* end confdefs.h. */
26558
26559/* Override any GCC internal prototype to avoid an error.
26560 Use char because int might match the return type of a GCC
26561 builtin and then its argument prototype would still apply. */
26562#ifdef __cplusplus
26563extern "C"
26564#endif
26565char gethostbyname ();
26566int
26567main ()
26568{
26569return gethostbyname ();
26570 ;
26571 return 0;
26572}
26573_ACEOF
26574if ac_fn_c_try_link "$LINENO"; then :
26575 ac_cv_lib_nsl_gethostbyname=yes
26576else
26577 ac_cv_lib_nsl_gethostbyname=no
26578fi
26579rm -f core conftest.err conftest.$ac_objext \
26580 conftest$ac_exeext conftest.$ac_ext
26581LIBS=$ac_check_lib_save_LIBS
26582fi
26583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
26584$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
26585if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
26586 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
26587fi
26588
26589 if test $ac_cv_lib_nsl_gethostbyname = no; then
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
26591$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
26592if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
26593 $as_echo_n "(cached) " >&6
26594else
26595 ac_check_lib_save_LIBS=$LIBS
26596LIBS="-lbsd $LIBS"
26597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26598/* end confdefs.h. */
26599
26600/* Override any GCC internal prototype to avoid an error.
26601 Use char because int might match the return type of a GCC
26602 builtin and then its argument prototype would still apply. */
26603#ifdef __cplusplus
26604extern "C"
26605#endif
26606char gethostbyname ();
26607int
26608main ()
26609{
26610return gethostbyname ();
26611 ;
26612 return 0;
26613}
26614_ACEOF
26615if ac_fn_c_try_link "$LINENO"; then :
26616 ac_cv_lib_bsd_gethostbyname=yes
26617else
26618 ac_cv_lib_bsd_gethostbyname=no
26619fi
26620rm -f core conftest.err conftest.$ac_objext \
26621 conftest$ac_exeext conftest.$ac_ext
26622LIBS=$ac_check_lib_save_LIBS
26623fi
26624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
26625$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
26626if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
26627 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
26628fi
26629
26630 fi
26631 fi
26632
26633 # lieder@skyler.mavd.honeywell.com says without -lsocket,
26634 # socket/setsockopt and other routines are undefined under SCO ODT
26635 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
26636 # on later versions), says Simon Leinen: it contains gethostby*
26637 # variants that don't use the name server (or something). -lsocket
26638 # must be given before -lnsl if both are needed. We assume that
26639 # if connect needs -lnsl, so does gethostbyname.
26640 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
26641if test "x$ac_cv_func_connect" = x""yes; then :
26642
26643fi
26644
26645 if test $ac_cv_func_connect = no; then
26646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
26647$as_echo_n "checking for connect in -lsocket... " >&6; }
26648if test "${ac_cv_lib_socket_connect+set}" = set; then :
26649 $as_echo_n "(cached) " >&6
26650else
26651 ac_check_lib_save_LIBS=$LIBS
26652LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
26653cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26654/* end confdefs.h. */
26655
26656/* Override any GCC internal prototype to avoid an error.
26657 Use char because int might match the return type of a GCC
26658 builtin and then its argument prototype would still apply. */
26659#ifdef __cplusplus
26660extern "C"
26661#endif
26662char connect ();
26663int
26664main ()
26665{
26666return connect ();
26667 ;
26668 return 0;
26669}
26670_ACEOF
26671if ac_fn_c_try_link "$LINENO"; then :
26672 ac_cv_lib_socket_connect=yes
26673else
26674 ac_cv_lib_socket_connect=no
26675fi
26676rm -f core conftest.err conftest.$ac_objext \
26677 conftest$ac_exeext conftest.$ac_ext
26678LIBS=$ac_check_lib_save_LIBS
26679fi
26680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
26681$as_echo "$ac_cv_lib_socket_connect" >&6; }
26682if test "x$ac_cv_lib_socket_connect" = x""yes; then :
26683 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
26684fi
26685
26686 fi
26687
26688 # Guillermo Gomez says -lposix is necessary on A/UX.
26689 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
26690if test "x$ac_cv_func_remove" = x""yes; then :
26691
26692fi
26693
26694 if test $ac_cv_func_remove = no; then
26695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
26696$as_echo_n "checking for remove in -lposix... " >&6; }
26697if test "${ac_cv_lib_posix_remove+set}" = set; then :
26698 $as_echo_n "(cached) " >&6
26699else
26700 ac_check_lib_save_LIBS=$LIBS
26701LIBS="-lposix $LIBS"
26702cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26703/* end confdefs.h. */
26704
26705/* Override any GCC internal prototype to avoid an error.
26706 Use char because int might match the return type of a GCC
26707 builtin and then its argument prototype would still apply. */
26708#ifdef __cplusplus
26709extern "C"
26710#endif
26711char remove ();
26712int
26713main ()
26714{
26715return remove ();
26716 ;
26717 return 0;
26718}
26719_ACEOF
26720if ac_fn_c_try_link "$LINENO"; then :
26721 ac_cv_lib_posix_remove=yes
26722else
26723 ac_cv_lib_posix_remove=no
26724fi
26725rm -f core conftest.err conftest.$ac_objext \
26726 conftest$ac_exeext conftest.$ac_ext
26727LIBS=$ac_check_lib_save_LIBS
26728fi
26729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
26730$as_echo "$ac_cv_lib_posix_remove" >&6; }
26731if test "x$ac_cv_lib_posix_remove" = x""yes; then :
26732 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
26733fi
26734
26735 fi
26736
26737 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
26738 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
26739if test "x$ac_cv_func_shmat" = x""yes; then :
26740
26741fi
26742
26743 if test $ac_cv_func_shmat = no; then
26744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
26745$as_echo_n "checking for shmat in -lipc... " >&6; }
26746if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
26747 $as_echo_n "(cached) " >&6
26748else
26749 ac_check_lib_save_LIBS=$LIBS
26750LIBS="-lipc $LIBS"
26751cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26752/* end confdefs.h. */
26753
26754/* Override any GCC internal prototype to avoid an error.
26755 Use char because int might match the return type of a GCC
26756 builtin and then its argument prototype would still apply. */
26757#ifdef __cplusplus
26758extern "C"
26759#endif
26760char shmat ();
26761int
26762main ()
26763{
26764return shmat ();
26765 ;
26766 return 0;
26767}
26768_ACEOF
26769if ac_fn_c_try_link "$LINENO"; then :
26770 ac_cv_lib_ipc_shmat=yes
26771else
26772 ac_cv_lib_ipc_shmat=no
26773fi
26774rm -f core conftest.err conftest.$ac_objext \
26775 conftest$ac_exeext conftest.$ac_ext
26776LIBS=$ac_check_lib_save_LIBS
26777fi
26778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
26779$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
26780if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
26781 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
26782fi
26783
26784 fi
26785 fi
26786
26787 # Check for libraries that X11R6 Xt/Xaw programs need.
26788 ac_save_LDFLAGS=$LDFLAGS
26789 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
26790 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
26791 # check for ICE first), but we must link in the order -lSM -lICE or
26792 # we get undefined symbols. So assume we have SM if we have ICE.
26793 # These have to be linked with before -lX11, unlike the other
26794 # libraries we check for below, so use a different variable.
26795 # John Interrante, Karl Berry
26796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
26797$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
26798if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
26799 $as_echo_n "(cached) " >&6
26800else
26801 ac_check_lib_save_LIBS=$LIBS
26802LIBS="-lICE $X_EXTRA_LIBS $LIBS"
26803cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26804/* end confdefs.h. */
26805
26806/* Override any GCC internal prototype to avoid an error.
26807 Use char because int might match the return type of a GCC
26808 builtin and then its argument prototype would still apply. */
26809#ifdef __cplusplus
26810extern "C"
26811#endif
26812char IceConnectionNumber ();
26813int
26814main ()
26815{
26816return IceConnectionNumber ();
26817 ;
26818 return 0;
26819}
26820_ACEOF
26821if ac_fn_c_try_link "$LINENO"; then :
26822 ac_cv_lib_ICE_IceConnectionNumber=yes
26823else
26824 ac_cv_lib_ICE_IceConnectionNumber=no
26825fi
26826rm -f core conftest.err conftest.$ac_objext \
26827 conftest$ac_exeext conftest.$ac_ext
26828LIBS=$ac_check_lib_save_LIBS
26829fi
26830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
26831$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
26832if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
26833 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
26834fi
26835
26836 LDFLAGS=$ac_save_LDFLAGS
26837
26838fi
26839
26840
26841ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
26842#include <GL/gl.h>
26843#include <GL/glext.h>
26844#include <GL/glx.h>
26845#include <X11/Xlib.h>
26846#include <X11/Xatom.h>
26847#include <X11/Xutil.h>
26848#include <X11/extensions/Xrender.h>
26849#include <X11/Xresource.h>
26850
26851"
26852if test "x$ac_cv_header_GL_gl_h" = x""yes; then :
26853 have_dep="yes"
26854else
26855 have_dep="no"
26856fi
26857
26858
26859
26860gl_pt_lib="";
26861have_gl_pt="no"
26862
26863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_create() is supported" >&5
26864$as_echo_n "checking whether pthread_create() is supported... " >&6; }
26865CFLAGS_save="${CFLAGS}"
26866CFLAGS="${CFLAGS} -pthread"
26867LIBS_save="${LIBS}"
26868LIBS="${LIBS} -pthread"
26869cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26870/* end confdefs.h. */
26871
26872#include <pthread.h>
26873
26874int
26875main ()
26876{
26877
26878pthread_create(NULL, NULL, NULL, NULL);
26879
26880 ;
26881 return 0;
26882}
26883_ACEOF
26884if ac_fn_c_try_link "$LINENO"; then :
26885 have_gl_pt="yes"
26886else
26887 have_gl_pt="no"
26888fi
26889rm -f core conftest.err conftest.$ac_objext \
26890 conftest$ac_exeext conftest.$ac_ext
26891CFLAGS=${CFLAGS_save}
26892LIBS=${LIBS_save}
26893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_gl_pt}" >&5
26894$as_echo "${have_gl_pt}" >&6; }
26895
26896if test "x$have_gl_pt" = "xyes" ; then
26897 gl_pt_lib=" -pthread"
26898fi
26899
26900if test "x${have_dep}" = "xyes" ; then
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCreateColormap in -lX11" >&5
26902$as_echo_n "checking for XCreateColormap in -lX11... " >&6; }
26903if test "${ac_cv_lib_X11_XCreateColormap+set}" = set; then :
26904 $as_echo_n "(cached) " >&6
26905else
26906 ac_check_lib_save_LIBS=$LIBS
26907LIBS="-lX11 $LIBS"
26908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26909/* end confdefs.h. */
26910
26911/* Override any GCC internal prototype to avoid an error.
26912 Use char because int might match the return type of a GCC
26913 builtin and then its argument prototype would still apply. */
26914#ifdef __cplusplus
26915extern "C"
26916#endif
26917char XCreateColormap ();
26918int
26919main ()
26920{
26921return XCreateColormap ();
26922 ;
26923 return 0;
26924}
26925_ACEOF
26926if ac_fn_c_try_link "$LINENO"; then :
26927 ac_cv_lib_X11_XCreateColormap=yes
26928else
26929 ac_cv_lib_X11_XCreateColormap=no
26930fi
26931rm -f core conftest.err conftest.$ac_objext \
26932 conftest$ac_exeext conftest.$ac_ext
26933LIBS=$ac_check_lib_save_LIBS
26934fi
26935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XCreateColormap" >&5
26936$as_echo "$ac_cv_lib_X11_XCreateColormap" >&6; }
26937if test "x$ac_cv_lib_X11_XCreateColormap" = x""yes; then :
26938 have_dep="yes"
26939else
26940 have_dep="no"
26941fi
26942
26943fi
26944
26945if test "x${have_dep}" = "xyes" ; then
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreatePicture in -lXrender" >&5
26947$as_echo_n "checking for XRenderCreatePicture in -lXrender... " >&6; }
26948if test "${ac_cv_lib_Xrender_XRenderCreatePicture+set}" = set; then :
26949 $as_echo_n "(cached) " >&6
26950else
26951 ac_check_lib_save_LIBS=$LIBS
26952LIBS="-lXrender $LIBS"
26953cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26954/* end confdefs.h. */
26955
26956/* Override any GCC internal prototype to avoid an error.
26957 Use char because int might match the return type of a GCC
26958 builtin and then its argument prototype would still apply. */
26959#ifdef __cplusplus
26960extern "C"
26961#endif
26962char XRenderCreatePicture ();
26963int
26964main ()
26965{
26966return XRenderCreatePicture ();
26967 ;
26968 return 0;
26969}
26970_ACEOF
26971if ac_fn_c_try_link "$LINENO"; then :
26972 ac_cv_lib_Xrender_XRenderCreatePicture=yes
26973else
26974 ac_cv_lib_Xrender_XRenderCreatePicture=no
26975fi
26976rm -f core conftest.err conftest.$ac_objext \
26977 conftest$ac_exeext conftest.$ac_ext
26978LIBS=$ac_check_lib_save_LIBS
26979fi
26980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreatePicture" >&5
26981$as_echo "$ac_cv_lib_Xrender_XRenderCreatePicture" >&6; }
26982if test "x$ac_cv_lib_Xrender_XRenderCreatePicture" = x""yes; then :
26983 have_dep="yes"
26984else
26985 have_dep="no"
26986fi
26987
26988fi
26989
26990if test "x${have_dep}" = "xyes" ; then
26991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glXCreateContext in -lGL" >&5
26992$as_echo_n "checking for glXCreateContext in -lGL... " >&6; }
26993if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then :
26994 $as_echo_n "(cached) " >&6
26995else
26996 ac_check_lib_save_LIBS=$LIBS
26997LIBS="-lGL -lX11 -lXext -lXrender -lm $gl_pt_lib $LIBS"
26998cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26999/* end confdefs.h. */
27000
27001/* Override any GCC internal prototype to avoid an error.
27002 Use char because int might match the return type of a GCC
27003 builtin and then its argument prototype would still apply. */
27004#ifdef __cplusplus
27005extern "C"
27006#endif
27007char glXCreateContext ();
27008int
27009main ()
27010{
27011return glXCreateContext ();
27012 ;
27013 return 0;
27014}
27015_ACEOF
27016if ac_fn_c_try_link "$LINENO"; then :
27017 ac_cv_lib_GL_glXCreateContext=yes
27018else
27019 ac_cv_lib_GL_glXCreateContext=no
27020fi
27021rm -f core conftest.err conftest.$ac_objext \
27022 conftest$ac_exeext conftest.$ac_ext
27023LIBS=$ac_check_lib_save_LIBS
27024fi
27025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glXCreateContext" >&5
27026$as_echo "$ac_cv_lib_GL_glXCreateContext" >&6; }
27027if test "x$ac_cv_lib_GL_glXCreateContext" = x""yes; then :
27028 have_dep="yes"
27029else
27030 have_dep="no"
27031fi
27032
27033fi
27034
27035if test "x$gl_flavor_gles" = "xyes" ; then
27036 have_dep=no
27037fi
27038
27039if test "x${have_dep}" = "xyes" ; then
27040
27041pkg_failed=no
27042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27043$as_echo_n "checking for GL_EET... " >&6; }
27044
27045if test -n "$GL_EET_CFLAGS"; then
27046 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27047 elif test -n "$PKG_CONFIG"; then
27048 if test -n "$PKG_CONFIG" && \
27049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27050 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27051 ac_status=$?
27052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27053 test $ac_status = 0; }; then
27054 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27055else
27056 pkg_failed=yes
27057fi
27058 else
27059 pkg_failed=untried
27060fi
27061if test -n "$GL_EET_LIBS"; then
27062 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27063 elif test -n "$PKG_CONFIG"; then
27064 if test -n "$PKG_CONFIG" && \
27065 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27066 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27067 ac_status=$?
27068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27069 test $ac_status = 0; }; then
27070 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27071else
27072 pkg_failed=yes
27073fi
27074 else
27075 pkg_failed=untried
27076fi
27077
27078
27079
27080if test $pkg_failed = yes; then
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27082$as_echo "no" >&6; }
27083
27084if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27085 _pkg_short_errors_supported=yes
27086else
27087 _pkg_short_errors_supported=no
27088fi
27089 if test $_pkg_short_errors_supported = yes; then
27090 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27091 else
27092 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27093 fi
27094 # Put the nasty error message in config.log where it belongs
27095 echo "$GL_EET_PKG_ERRORS" >&5
27096
27097 have_dep="no"
27098elif test $pkg_failed = untried; then
27099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27100$as_echo "no" >&6; }
27101 have_dep="no"
27102else
27103 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27104 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27106$as_echo "yes" >&6; }
27107 have_dep="yes"
27108fi
27109 if test "x${have_dep}" = "xyes" ; then
27110 if test "xno" = "xyes" ; then
27111 x_libs="${x_libs} -lX11 -lXext -lXrender"
27112 else
27113 x_dir=${x_dir:-/usr/X11R6}
27114 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27115 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27116 fi
27117 evas_engine_gl_xlib_cflags="-I/usr/include ${x_cflags}"
27118 evas_engine_gl_xlib_libs="${x_libs} -lGL $gl_pt_lib"
27119 evas_engine_gl_common_libs="-lGL $gl_pt_lib"
27120 fi
27121else
27122 if test "xno" = "xyes" ; then
27123 x_libs="${x_libs} -lX11 -lXext -lXrender"
27124 else
27125 x_dir=${x_dir:-/usr/X11R6}
27126 x_cflags=${x_cflags:--I${x_includes:-$x_dir/include}}
27127 x_libs="${x_libs:--L${x_libraries:-$x_dir/lib}} -lX11 -lXext -lXrender"
27128 fi
27129 ac_fn_c_check_header_compile "$LINENO" "GLES2/gl2.h" "ac_cv_header_GLES2_gl2_h" "
27130#include <GLES2/gl2.h>
27131#include <GLES2/gl2ext.h>
27132#include <EGL/egl.h>
27133#include <X11/Xlib.h>
27134#include <X11/Xatom.h>
27135#include <X11/Xutil.h>
27136#include <X11/extensions/Xrender.h>
27137#include <X11/Xresource.h>
27138
27139"
27140if test "x$ac_cv_header_GLES2_gl2_h" = x""yes; then :
27141 have_egl="yes"
27142else
27143 have_egl="no"
27144fi
27145
27146
27147 if test "x${have_egl}" = "xyes" ; then
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glTexImage2D in -lGLESv2" >&5
27149$as_echo_n "checking for glTexImage2D in -lGLESv2... " >&6; }
27150if test "${ac_cv_lib_GLESv2_glTexImage2D+set}" = set; then :
27151 $as_echo_n "(cached) " >&6
27152else
27153 ac_check_lib_save_LIBS=$LIBS
27154LIBS="-lGLESv2 -lEGL ${x_libs} -lm $gl_pt_lib $LIBS"
27155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27156/* end confdefs.h. */
27157
27158/* Override any GCC internal prototype to avoid an error.
27159 Use char because int might match the return type of a GCC
27160 builtin and then its argument prototype would still apply. */
27161#ifdef __cplusplus
27162extern "C"
27163#endif
27164char glTexImage2D ();
27165int
27166main ()
27167{
27168return glTexImage2D ();
27169 ;
27170 return 0;
27171}
27172_ACEOF
27173if ac_fn_c_try_link "$LINENO"; then :
27174 ac_cv_lib_GLESv2_glTexImage2D=yes
27175else
27176 ac_cv_lib_GLESv2_glTexImage2D=no
27177fi
27178rm -f core conftest.err conftest.$ac_objext \
27179 conftest$ac_exeext conftest.$ac_ext
27180LIBS=$ac_check_lib_save_LIBS
27181fi
27182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLESv2_glTexImage2D" >&5
27183$as_echo "$ac_cv_lib_GLESv2_glTexImage2D" >&6; }
27184if test "x$ac_cv_lib_GLESv2_glTexImage2D" = x""yes; then :
27185 have_glesv2="yes"
27186fi
27187
27188 if test "x${have_glesv2}" = "xyes" ; then
27189
27190pkg_failed=no
27191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL_EET" >&5
27192$as_echo_n "checking for GL_EET... " >&6; }
27193
27194if test -n "$GL_EET_CFLAGS"; then
27195 pkg_cv_GL_EET_CFLAGS="$GL_EET_CFLAGS"
27196 elif test -n "$PKG_CONFIG"; then
27197 if test -n "$PKG_CONFIG" && \
27198 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27199 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27200 ac_status=$?
27201 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27202 test $ac_status = 0; }; then
27203 pkg_cv_GL_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27204else
27205 pkg_failed=yes
27206fi
27207 else
27208 pkg_failed=untried
27209fi
27210if test -n "$GL_EET_LIBS"; then
27211 pkg_cv_GL_EET_LIBS="$GL_EET_LIBS"
27212 elif test -n "$PKG_CONFIG"; then
27213 if test -n "$PKG_CONFIG" && \
27214 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27215 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27216 ac_status=$?
27217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27218 test $ac_status = 0; }; then
27219 pkg_cv_GL_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27220else
27221 pkg_failed=yes
27222fi
27223 else
27224 pkg_failed=untried
27225fi
27226
27227
27228
27229if test $pkg_failed = yes; then
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27231$as_echo "no" >&6; }
27232
27233if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27234 _pkg_short_errors_supported=yes
27235else
27236 _pkg_short_errors_supported=no
27237fi
27238 if test $_pkg_short_errors_supported = yes; then
27239 GL_EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27240 else
27241 GL_EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27242 fi
27243 # Put the nasty error message in config.log where it belongs
27244 echo "$GL_EET_PKG_ERRORS" >&5
27245
27246 have_dep="no"
27247elif test $pkg_failed = untried; then
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27249$as_echo "no" >&6; }
27250 have_dep="no"
27251else
27252 GL_EET_CFLAGS=$pkg_cv_GL_EET_CFLAGS
27253 GL_EET_LIBS=$pkg_cv_GL_EET_LIBS
27254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27255$as_echo "yes" >&6; }
27256 have_dep="yes"
27257fi
27258 if test "x${have_dep}" = "xyes" ; then
27259 evas_engine_gl_xlib_cflags="${x_cflags}"
27260 evas_engine_gl_xlib_libs="${x_libs} -lGLESv2 -lEGL -lm $gl_pt_lib"
27261 evas_engine_gl_common_libs="-lGLESv2 -lm $gl_pt_lib"
27262 have_dep="yes"
27263
27264$as_echo "#define GLES_VARIETY_SGX 1" >>confdefs.h
27265
27266 gles_variety_sgx="yes"
27267 fi
27268 fi
27269 fi
27270fi
27271
27272
27273
27274
27275
27276if test "x${have_dep}" = "xyes" ; then
27277 have_engine="yes"
27278else
27279 have_engine="no"
27280fi
27281
27282
27283fi
27284
27285if test "x${have_engine}" = "xno" -a "x${want_engine}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27286 as_fn_error $? "OpenGL XLib dependencies not found (strict dependencies checking)" "$LINENO" 5
27287fi
27288
27289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OpenGL XLib rendering backend will be built" >&5
27290$as_echo_n "checking whether OpenGL XLib rendering backend will be built... " >&6; }
27291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_engine}" >&5
27292$as_echo "${have_engine}" >&6; }
27293
27294if test "x${have_engine}" = "xyes" ; then
27295 if test "x${want_engine}" = "xstatic" ; then
27296 have_evas_engine_gl_xlib="static"
27297 want_static_engine="yes"
27298 else
27299 have_evas_engine_gl_xlib="yes"
27300 fi
27301fi
27302
27303if test "x${have_engine}" = "xyes" ; then
27304
27305$as_echo "#define BUILD_ENGINE_GL_XLIB 1" >>confdefs.h
27306
27307fi
27308
27309 if test "x${have_engine}" = "xyes"; then
27310 BUILD_ENGINE_GL_XLIB_TRUE=
27311 BUILD_ENGINE_GL_XLIB_FALSE='#'
27312else
27313 BUILD_ENGINE_GL_XLIB_TRUE='#'
27314 BUILD_ENGINE_GL_XLIB_FALSE=
27315fi
27316
27317
27318if test "x${want_static_engine}" = "xyes" ; then
27319
27320$as_echo "#define EVAS_STATIC_BUILD_GL_XLIB 1" >>confdefs.h
27321
27322 have_static_module="yes"
27323fi
27324
27325 if test "x${want_static_engine}" = "xyes"; then
27326 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
27327 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
27328else
27329 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
27330 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
27331fi
27332
27333
27334
27335
27336
27337
27338 if test "x$have_evas_engine_gl_xlib" != "xno" ; then
27339 have_evas_engine_gl_x11="yes"
27340
27341cat >>confdefs.h <<_ACEOF
27342#define BUILD_ENGINE_GL_X11 1
27343_ACEOF
27344
27345
27346cat >>confdefs.h <<_ACEOF
27347#define BUILD_ENGINE_GL_XLIB 1
27348_ACEOF
27349
27350 if test "x$have_evas_engine_gl_xlib" = "xstatic" ; then
27351
27352cat >>confdefs.h <<_ACEOF
27353#define EVAS_STATIC_BUILD_GL_X11 1
27354_ACEOF
27355
27356 fi
27357 fi
27358else
27359 have_evas_engine_gl_xlib="no"
27360fi
27361
27362
27363 if test "x${have_evas_engine_gl_xlib}" != "xno"; then
27364 BUILD_ENGINE_GL_XLIB_TRUE=
27365 BUILD_ENGINE_GL_XLIB_FALSE='#'
27366else
27367 BUILD_ENGINE_GL_XLIB_TRUE='#'
27368 BUILD_ENGINE_GL_XLIB_FALSE=
27369fi
27370
27371 if test "x${have_evas_engine_gl_xcb}" != "xno"; then
27372 BUILD_ENGINE_GL_XCB_TRUE=
27373 BUILD_ENGINE_GL_XCB_FALSE='#'
27374else
27375 BUILD_ENGINE_GL_XCB_TRUE='#'
27376 BUILD_ENGINE_GL_XCB_FALSE=
27377fi
27378
27379 if test "x${have_evas_engine_gl_x11}" != "xno"; then
27380 BUILD_ENGINE_GL_X11_TRUE=
27381 BUILD_ENGINE_GL_X11_FALSE='#'
27382else
27383 BUILD_ENGINE_GL_X11_TRUE='#'
27384 BUILD_ENGINE_GL_X11_FALSE=
27385fi
27386
27387
27388 if test "x${have_evas_engine_gl_xcb}" = "xstatic" -o "x${have_evas_engine_gl_xlib}" = "xstatic"; then
27389 EVAS_STATIC_BUILD_GL_X11_TRUE=
27390 EVAS_STATIC_BUILD_GL_X11_FALSE='#'
27391else
27392 EVAS_STATIC_BUILD_GL_X11_TRUE='#'
27393 EVAS_STATIC_BUILD_GL_X11_FALSE=
27394fi
27395
27396 if test "x${have_evas_engine_gl_xlib}" = "xstatic"; then
27397 EVAS_STATIC_BUILD_GL_XLIB_TRUE=
27398 EVAS_STATIC_BUILD_GL_XLIB_FALSE='#'
27399else
27400 EVAS_STATIC_BUILD_GL_XLIB_TRUE='#'
27401 EVAS_STATIC_BUILD_GL_XLIB_FALSE=
27402fi
27403
27404 if test "x${have_evas_engine_gl_xcb}" = "xstatic"; then
27405 EVAS_STATIC_BUILD_GL_XCB_TRUE=
27406 EVAS_STATIC_BUILD_GL_XCB_FALSE='#'
27407else
27408 EVAS_STATIC_BUILD_GL_XCB_TRUE='#'
27409 EVAS_STATIC_BUILD_GL_XCB_FALSE=
27410fi
27411
27412
27413
27414
27415# common gl
27416have_evas_engine_gl_common="no"
27417have_static_evas_engine_gl_common="no"
27418if test "x$have_evas_engine_gl_xlib" = "xyes" \
27419 || test "x$have_evas_engine_gl_xcb" = "xyes" \
27420 || test "x$have_evas_engine_gl_sdl" = "xyes" \
27421 || test "x$have_evas_engine_gl_cocoa" = "xyes" \
27422 || test "x$have_evas_engine_wayland_egl" = "xyes"; then
27423 have_evas_engine_gl_common="yes"
27424fi
27425if test "x$have_evas_engine_gl_xlib" = "xstatic" \
27426 || test "x$have_evas_engine_gl_xcb" = "xstatic" \
27427 || test "x$have_evas_engine_gl_sdl" = "xstatic" \
27428 || test "x$have_evas_engine_gl_cocoa" = "xstatic" \
27429 || test "x$have_evas_engine_wayland_egl" = "xstatic"; then
27430 have_evas_engine_gl_common="yes"
27431 have_static_evas_engine_gl_common="yes"
27432fi
27433
27434if test "x$have_evas_engine_gl_common" = "xyes"; then
27435 evas_engine_gl_common_libs=""
27436
27437$as_echo "#define BUILD_ENGINE_GL_COMMON 1" >>confdefs.h
27438
27439fi
27440
27441
27442
27443 if test "x$have_evas_engine_gl_common" = "xyes"; then
27444 BUILD_ENGINE_GL_COMMON_TRUE=
27445 BUILD_ENGINE_GL_COMMON_FALSE='#'
27446else
27447 BUILD_ENGINE_GL_COMMON_TRUE='#'
27448 BUILD_ENGINE_GL_COMMON_FALSE=
27449fi
27450
27451
27452 if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
27453 EVAS_STATIC_BUILD_GL_COMMON_TRUE=
27454 EVAS_STATIC_BUILD_GL_COMMON_FALSE='#'
27455else
27456 EVAS_STATIC_BUILD_GL_COMMON_TRUE='#'
27457 EVAS_STATIC_BUILD_GL_COMMON_FALSE=
27458fi
27459
27460if test "x${have_static_evas_engine_gl_common}" = "xyes"; then
27461
27462$as_echo "#define EVAS_STATIC_BUILD_GL_COMMON 1" >>confdefs.h
27463
27464fi
27465
27466# gl_sdl
27467if test "x$have_evas_engine_gl_sdl" = "xyes" || test "x$have_evas_engine_gl_sdl" = "xstatic" ; then
27468 ac_fn_c_check_decl "$LINENO" "SDL_GL_CONTEXT_MAJOR_VERSION" "ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" "#include <SDL/SDL_video.h>
27469"
27470if test "x$ac_cv_have_decl_SDL_GL_CONTEXT_MAJOR_VERSION" = x""yes; then :
27471
27472$as_echo "#define HAVE_SDL_GL_CONTEXT_VERSION 1" >>confdefs.h
27473
27474fi
27475
27476fi
27477
27478if test "x$gl_flavor_gles" = "xyes"; then
27479 ac_fn_c_check_decl "$LINENO" "SDL_OPENGLES" "ac_cv_have_decl_SDL_OPENGLES" "#include <SDL/SDL_video.h>
27480"
27481if test "x$ac_cv_have_decl_SDL_OPENGLES" = x""yes; then :
27482
27483$as_echo "#define HAVE_SDL_FLAG_OPENGLES 1" >>confdefs.h
27484
27485fi
27486
27487fi
27488
27489# if software 16 x11 is enabled - build software_16 (the generic 16bit
27490# engine). later enable it fb_16 or other "16" bit engines are enabled.
27491have_evas_engine_software_16="no"
27492if test "x$have_evas_engine_software_16_x11" = "xyes" -o "x$have_evas_engine_software_16_x11" = "xstatic"; then
27493 have_evas_engine_software_16="yes"
27494fi
27495if test "x$have_evas_engine_software_16_sdl" = "xyes" -o "x$have_evas_engine_software_16_sdl" = "xstatic"; then
27496 have_evas_engine_software_16="yes"
27497fi
27498if test "x$have_evas_engine_software_16_ddraw" = "xyes" -o "x$have_evas_engine_software_16_ddraw" = "xstatic"; then
27499 have_evas_engine_software_16="yes"
27500fi
27501if test "x$have_evas_engine_software_16_wince" = "xyes" -o "x$have_evas_engine_software_16_wince" = "xstatic"; then
27502 have_evas_engine_software_16="yes"
27503fi
27504 if test "x$have_evas_engine_software_16" = "xyes"; then
27505 BUILD_ENGINE_SOFTWARE_16_TRUE=
27506 BUILD_ENGINE_SOFTWARE_16_FALSE='#'
27507else
27508 BUILD_ENGINE_SOFTWARE_16_TRUE='#'
27509 BUILD_ENGINE_SOFTWARE_16_FALSE=
27510fi
27511
27512
27513# if software 16 need to be build as part of libevas.so
27514have_static_software_16="no"
27515# Check whether --enable-static-software-16 was given.
27516if test "${enable_static_software_16+set}" = set; then :
27517 enableval=$enable_static_software_16; have_static_software_16=${enableval}
27518
27519fi
27520
27521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 16 engine as part of libevas" >&5
27522$as_echo_n "checking Whether to build software 16 engine as part of libevas... " >&6; }
27523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_16}" >&5
27524$as_echo "${have_static_software_16}" >&6; }
27525
27526 if test "x${have_static_software_16}" = "xyes"; then
27527 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE=
27528 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE='#'
27529else
27530 EVAS_STATIC_BUILD_SOFTWARE_16_TRUE='#'
27531 EVAS_STATIC_BUILD_SOFTWARE_16_FALSE=
27532fi
27533
27534if test "x${have_static_software_16}" = "xyes"; then
27535
27536$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_16 1" >>confdefs.h
27537
27538fi
27539
27540# if software 8 x11 is enabled - build software_8 (the generic 8bit
27541# engine).
27542have_evas_engine_software_8="no"
27543if test "x$have_evas_engine_software_8_x11" = "xyes" -o "x$have_evas_engine_software_8_x11" = "xstatic"; then
27544 have_evas_engine_software_8="yes"
27545fi
27546 if test "x$have_evas_engine_software_8" = "xyes"; then
27547 BUILD_ENGINE_SOFTWARE_8_TRUE=
27548 BUILD_ENGINE_SOFTWARE_8_FALSE='#'
27549else
27550 BUILD_ENGINE_SOFTWARE_8_TRUE='#'
27551 BUILD_ENGINE_SOFTWARE_8_FALSE=
27552fi
27553
27554
27555# if software 8 need to be build as part of libevas.so
27556have_static_software_8="no"
27557# Check whether --enable-static-software-8 was given.
27558if test "${enable_static_software_8+set}" = set; then :
27559 enableval=$enable_static_software_8; have_static_software_8=${enableval}
27560
27561fi
27562
27563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Whether to build software 8 engine as part of libevas" >&5
27564$as_echo_n "checking Whether to build software 8 engine as part of libevas... " >&6; }
27565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_static_software_8}" >&5
27566$as_echo "${have_static_software_8}" >&6; }
27567
27568 if test "x${have_static_software_8}" = "xyes"; then
27569 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE=
27570 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE='#'
27571else
27572 EVAS_STATIC_BUILD_SOFTWARE_8_TRUE='#'
27573 EVAS_STATIC_BUILD_SOFTWARE_8_FALSE=
27574fi
27575
27576if test "x${have_static_software_8}" = "xyes"; then
27577
27578$as_echo "#define EVAS_STATIC_BUILD_SOFTWARE_8 1" >>confdefs.h
27579
27580fi
27581
27582#####################################################################
27583## Image loaders
27584
27585
27586
27587
27588
27589
27590want_loader="${want_evas_image_loader_edb}"
27591want_static_loader="no"
27592have_loader="no"
27593have_evas_image_loader_edb="no"
27594
27595# Check whether --enable-image-loader-edb was given.
27596if test "${enable_image_loader_edb+set}" = set; then :
27597 enableval=$enable_image_loader_edb;
27598 if test "x${enableval}" = "xyes" ; then
27599 want_loader="yes"
27600 else
27601 if test "x${enableval}" = "xstatic" ; then
27602 want_loader="static"
27603 else
27604 want_loader="no"
27605 fi
27606 fi
27607
27608
27609fi
27610
27611
27612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Edb image loader" >&5
27613$as_echo_n "checking whether to enable Edb image loader... " >&6; }
27614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
27615$as_echo "${want_loader}" >&6; }
27616
27617if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
27618
27619
27620requirement=""
27621have_dep="no"
27622evas_image_loader_edb_cflags=""
27623evas_image_loader_edb_libs=""
27624
27625
27626pkg_failed=no
27627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDB" >&5
27628$as_echo_n "checking for EDB... " >&6; }
27629
27630if test -n "$EDB_CFLAGS"; then
27631 pkg_cv_EDB_CFLAGS="$EDB_CFLAGS"
27632 elif test -n "$PKG_CONFIG"; then
27633 if test -n "$PKG_CONFIG" && \
27634 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27635 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27636 ac_status=$?
27637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27638 test $ac_status = 0; }; then
27639 pkg_cv_EDB_CFLAGS=`$PKG_CONFIG --cflags "edb" 2>/dev/null`
27640else
27641 pkg_failed=yes
27642fi
27643 else
27644 pkg_failed=untried
27645fi
27646if test -n "$EDB_LIBS"; then
27647 pkg_cv_EDB_LIBS="$EDB_LIBS"
27648 elif test -n "$PKG_CONFIG"; then
27649 if test -n "$PKG_CONFIG" && \
27650 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edb\""; } >&5
27651 ($PKG_CONFIG --exists --print-errors "edb") 2>&5
27652 ac_status=$?
27653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27654 test $ac_status = 0; }; then
27655 pkg_cv_EDB_LIBS=`$PKG_CONFIG --libs "edb" 2>/dev/null`
27656else
27657 pkg_failed=yes
27658fi
27659 else
27660 pkg_failed=untried
27661fi
27662
27663
27664
27665if test $pkg_failed = yes; then
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27667$as_echo "no" >&6; }
27668
27669if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27670 _pkg_short_errors_supported=yes
27671else
27672 _pkg_short_errors_supported=no
27673fi
27674 if test $_pkg_short_errors_supported = yes; then
27675 EDB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edb" 2>&1`
27676 else
27677 EDB_PKG_ERRORS=`$PKG_CONFIG --print-errors "edb" 2>&1`
27678 fi
27679 # Put the nasty error message in config.log where it belongs
27680 echo "$EDB_PKG_ERRORS" >&5
27681
27682 have_dep="no"
27683elif test $pkg_failed = untried; then
27684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27685$as_echo "no" >&6; }
27686 have_dep="no"
27687else
27688 EDB_CFLAGS=$pkg_cv_EDB_CFLAGS
27689 EDB_LIBS=$pkg_cv_EDB_LIBS
27690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27691$as_echo "yes" >&6; }
27692 have_dep="yes" requirement="edb"
27693fi
27694evas_image_loader_edb_cflags="${EDB_CFLAGS}"
27695evas_image_loader_edb_libs="${EDB_LIBS}"
27696
27697
27698
27699
27700if test "x${want_loader}" = "xstatic" ; then
27701 requirement_evas="${requirement} ${requirement_evas}"
27702fi
27703
27704if test "x${have_dep}" = "xyes" ; then
27705 have_loader="yes"
27706else
27707 have_loader="no"
27708fi
27709
27710
27711fi
27712
27713if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27714 as_fn_error $? "Edb dependencies not found (strict dependencies checking)" "$LINENO" 5
27715fi
27716
27717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Edb image loader will be built" >&5
27718$as_echo_n "checking whether Edb image loader will be built... " >&6; }
27719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
27720$as_echo "${have_loader}" >&6; }
27721
27722if test "x${have_loader}" = "xyes" ; then
27723 if test "x${want_loader}" = "xstatic" ; then
27724 have_evas_image_loader_edb="static"
27725 want_static_loader="yes"
27726 else
27727 have_evas_image_loader_edb="yes"
27728 fi
27729fi
27730
27731if test "x${have_loader}" = "xyes" ; then
27732
27733$as_echo "#define BUILD_LOADER_EDB 1" >>confdefs.h
27734
27735fi
27736
27737 if test "x${have_loader}" = "xyes"; then
27738 BUILD_LOADER_EDB_TRUE=
27739 BUILD_LOADER_EDB_FALSE='#'
27740else
27741 BUILD_LOADER_EDB_TRUE='#'
27742 BUILD_LOADER_EDB_FALSE=
27743fi
27744
27745
27746if test "x${want_static_loader}" = "xyes" ; then
27747
27748$as_echo "#define EVAS_STATIC_BUILD_EDB 1" >>confdefs.h
27749
27750 have_static_module="yes"
27751fi
27752
27753 if test "x${want_static_loader}" = "xyes"; then
27754 EVAS_STATIC_BUILD_EDB_TRUE=
27755 EVAS_STATIC_BUILD_EDB_FALSE='#'
27756else
27757 EVAS_STATIC_BUILD_EDB_TRUE='#'
27758 EVAS_STATIC_BUILD_EDB_FALSE=
27759fi
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772want_loader="${want_evas_image_loader_eet}"
27773want_static_loader="no"
27774have_loader="no"
27775have_evas_image_loader_eet="no"
27776
27777# Check whether --enable-image-loader-eet was given.
27778if test "${enable_image_loader_eet+set}" = set; then :
27779 enableval=$enable_image_loader_eet;
27780 if test "x${enableval}" = "xyes" ; then
27781 want_loader="yes"
27782 else
27783 if test "x${enableval}" = "xstatic" ; then
27784 want_loader="static"
27785 else
27786 want_loader="no"
27787 fi
27788 fi
27789
27790
27791fi
27792
27793
27794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet image loader" >&5
27795$as_echo_n "checking whether to enable Eet image loader... " >&6; }
27796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
27797$as_echo "${want_loader}" >&6; }
27798
27799if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
27800
27801
27802requirement=""
27803have_dep="no"
27804evas_image_loader_eet_cflags=""
27805evas_image_loader_eet_libs=""
27806
27807
27808pkg_failed=no
27809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
27810$as_echo_n "checking for EET... " >&6; }
27811
27812if test -n "$EET_CFLAGS"; then
27813 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
27814 elif test -n "$PKG_CONFIG"; then
27815 if test -n "$PKG_CONFIG" && \
27816 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27817 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27818 ac_status=$?
27819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27820 test $ac_status = 0; }; then
27821 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27822else
27823 pkg_failed=yes
27824fi
27825 else
27826 pkg_failed=untried
27827fi
27828if test -n "$EET_LIBS"; then
27829 pkg_cv_EET_LIBS="$EET_LIBS"
27830 elif test -n "$PKG_CONFIG"; then
27831 if test -n "$PKG_CONFIG" && \
27832 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27833 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27834 ac_status=$?
27835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27836 test $ac_status = 0; }; then
27837 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27838else
27839 pkg_failed=yes
27840fi
27841 else
27842 pkg_failed=untried
27843fi
27844
27845
27846
27847if test $pkg_failed = yes; then
27848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27849$as_echo "no" >&6; }
27850
27851if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
27852 _pkg_short_errors_supported=yes
27853else
27854 _pkg_short_errors_supported=no
27855fi
27856 if test $_pkg_short_errors_supported = yes; then
27857 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
27858 else
27859 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
27860 fi
27861 # Put the nasty error message in config.log where it belongs
27862 echo "$EET_PKG_ERRORS" >&5
27863
27864 have_dep="no"
27865elif test $pkg_failed = untried; then
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27867$as_echo "no" >&6; }
27868 have_dep="no"
27869else
27870 EET_CFLAGS=$pkg_cv_EET_CFLAGS
27871 EET_LIBS=$pkg_cv_EET_LIBS
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
27873$as_echo "yes" >&6; }
27874 have_dep="yes" requirement="eet >= 1.4.0"
27875fi
27876evas_image_loader_eet_cflags="${EET_CFLAGS}"
27877evas_image_loader_eet_libs="${EET_LIBS}"
27878
27879
27880
27881
27882if test "x${want_loader}" = "xstatic" ; then
27883 requirement_evas="${requirement} ${requirement_evas}"
27884fi
27885
27886if test "x${have_dep}" = "xyes" ; then
27887 have_loader="yes"
27888else
27889 have_loader="no"
27890fi
27891
27892
27893fi
27894
27895if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
27896 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
27897fi
27898
27899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Eet image loader will be built" >&5
27900$as_echo_n "checking whether Eet image loader will be built... " >&6; }
27901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
27902$as_echo "${have_loader}" >&6; }
27903
27904if test "x${have_loader}" = "xyes" ; then
27905 if test "x${want_loader}" = "xstatic" ; then
27906 have_evas_image_loader_eet="static"
27907 want_static_loader="yes"
27908 else
27909 have_evas_image_loader_eet="yes"
27910 fi
27911fi
27912
27913if test "x${have_loader}" = "xyes" ; then
27914
27915$as_echo "#define BUILD_LOADER_EET 1" >>confdefs.h
27916
27917fi
27918
27919 if test "x${have_loader}" = "xyes"; then
27920 BUILD_LOADER_EET_TRUE=
27921 BUILD_LOADER_EET_FALSE='#'
27922else
27923 BUILD_LOADER_EET_TRUE='#'
27924 BUILD_LOADER_EET_FALSE=
27925fi
27926
27927
27928if test "x${want_static_loader}" = "xyes" ; then
27929
27930$as_echo "#define EVAS_STATIC_BUILD_EET 1" >>confdefs.h
27931
27932 have_static_module="yes"
27933fi
27934
27935 if test "x${want_static_loader}" = "xyes"; then
27936 EVAS_STATIC_BUILD_EET_TRUE=
27937 EVAS_STATIC_BUILD_EET_FALSE='#'
27938else
27939 EVAS_STATIC_BUILD_EET_TRUE='#'
27940 EVAS_STATIC_BUILD_EET_FALSE=
27941fi
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951want_loader="${want_evas_font_loader_eet}"
27952have_evas_font_loader_eet="no"
27953
27954# Check whether --enable-font-loader-eet was given.
27955if test "${enable_font_loader_eet+set}" = set; then :
27956 enableval=$enable_font_loader_eet; want_loader=${enableval}
27957
27958fi
27959
27960
27961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Eet font loader" >&5
27962$as_echo_n "checking whether to enable Eet font loader... " >&6; }
27963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
27964$as_echo "${want_loader}" >&6; }
27965
27966if test "x$want_loader" = "xyes" -o "x$want_loader" = "xauto"; then
27967
27968pkg_failed=no
27969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EET" >&5
27970$as_echo_n "checking for EET... " >&6; }
27971
27972if test -n "$EET_CFLAGS"; then
27973 pkg_cv_EET_CFLAGS="$EET_CFLAGS"
27974 elif test -n "$PKG_CONFIG"; then
27975 if test -n "$PKG_CONFIG" && \
27976 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27977 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27978 ac_status=$?
27979 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27980 test $ac_status = 0; }; then
27981 pkg_cv_EET_CFLAGS=`$PKG_CONFIG --cflags "eet >= 1.6.0" 2>/dev/null`
27982else
27983 pkg_failed=yes
27984fi
27985 else
27986 pkg_failed=untried
27987fi
27988if test -n "$EET_LIBS"; then
27989 pkg_cv_EET_LIBS="$EET_LIBS"
27990 elif test -n "$PKG_CONFIG"; then
27991 if test -n "$PKG_CONFIG" && \
27992 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"eet >= 1.6.0\""; } >&5
27993 ($PKG_CONFIG --exists --print-errors "eet >= 1.6.0") 2>&5
27994 ac_status=$?
27995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
27996 test $ac_status = 0; }; then
27997 pkg_cv_EET_LIBS=`$PKG_CONFIG --libs "eet >= 1.6.0" 2>/dev/null`
27998else
27999 pkg_failed=yes
28000fi
28001 else
28002 pkg_failed=untried
28003fi
28004
28005
28006
28007if test $pkg_failed = yes; then
28008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28009$as_echo "no" >&6; }
28010
28011if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28012 _pkg_short_errors_supported=yes
28013else
28014 _pkg_short_errors_supported=no
28015fi
28016 if test $_pkg_short_errors_supported = yes; then
28017 EET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "eet >= 1.6.0" 2>&1`
28018 else
28019 EET_PKG_ERRORS=`$PKG_CONFIG --print-errors "eet >= 1.6.0" 2>&1`
28020 fi
28021 # Put the nasty error message in config.log where it belongs
28022 echo "$EET_PKG_ERRORS" >&5
28023
28024 have_evas_font_loader_eet="no"
28025elif test $pkg_failed = untried; then
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28027$as_echo "no" >&6; }
28028 have_evas_font_loader_eet="no"
28029else
28030 EET_CFLAGS=$pkg_cv_EET_CFLAGS
28031 EET_LIBS=$pkg_cv_EET_LIBS
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28033$as_echo "yes" >&6; }
28034 have_evas_font_loader_eet="yes"
28035fi
28036fi
28037
28038if test "x${have_evas_font_loader_eet}" = "xno" -a "x$want_loader" = "xyes" -a "x$use_strict" = "xyes" ; then
28039 as_fn_error $? "Eet dependencies not found (strict dependencies checking)" "$LINENO" 5
28040fi
28041
28042if test "x$have_evas_font_loader_eet" = "xyes" ; then
28043
28044$as_echo "#define BUILD_FONT_LOADER_EET 1" >>confdefs.h
28045
28046 requirement_evas="eet >= 1.6.0 ${requirement_evas}"
28047fi
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059want_loader="${want_evas_image_loader_gif}"
28060want_static_loader="no"
28061have_loader="no"
28062have_evas_image_loader_gif="no"
28063
28064# Check whether --enable-image-loader-gif was given.
28065if test "${enable_image_loader_gif+set}" = set; then :
28066 enableval=$enable_image_loader_gif;
28067 if test "x${enableval}" = "xyes" ; then
28068 want_loader="yes"
28069 else
28070 if test "x${enableval}" = "xstatic" ; then
28071 want_loader="static"
28072 else
28073 want_loader="no"
28074 fi
28075 fi
28076
28077
28078fi
28079
28080
28081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Gif image loader" >&5
28082$as_echo_n "checking whether to enable Gif image loader... " >&6; }
28083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28084$as_echo "${want_loader}" >&6; }
28085
28086if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28087
28088
28089have_dep="no"
28090evas_image_loader_gif_cflags=""
28091evas_image_loader_gif_libs=""
28092
28093ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
28094if test "x$ac_cv_header_gif_lib_h" = x""yes; then :
28095 have_dep="yes"
28096fi
28097
28098
28099
28100if test "x${have_dep}" = "xyes" ; then
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
28102$as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
28103if test "${ac_cv_lib_gif_DGifOpenFileName+set}" = set; then :
28104 $as_echo_n "(cached) " >&6
28105else
28106 ac_check_lib_save_LIBS=$LIBS
28107LIBS="-lgif $LIBS"
28108cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28109/* end confdefs.h. */
28110
28111/* Override any GCC internal prototype to avoid an error.
28112 Use char because int might match the return type of a GCC
28113 builtin and then its argument prototype would still apply. */
28114#ifdef __cplusplus
28115extern "C"
28116#endif
28117char DGifOpenFileName ();
28118int
28119main ()
28120{
28121return DGifOpenFileName ();
28122 ;
28123 return 0;
28124}
28125_ACEOF
28126if ac_fn_c_try_link "$LINENO"; then :
28127 ac_cv_lib_gif_DGifOpenFileName=yes
28128else
28129 ac_cv_lib_gif_DGifOpenFileName=no
28130fi
28131rm -f core conftest.err conftest.$ac_objext \
28132 conftest$ac_exeext conftest.$ac_ext
28133LIBS=$ac_check_lib_save_LIBS
28134fi
28135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
28136$as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
28137if test "x$ac_cv_lib_gif_DGifOpenFileName" = x""yes; then :
28138
28139 evas_image_loader_gif_libs="-lgif"
28140
28141else
28142 have_dep="no"
28143
28144fi
28145
28146
28147 if test "x${have_dep}" = "xno" ; then
28148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
28149$as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
28150if test "${ac_cv_lib_ungif_DGifOpenFileName+set}" = set; then :
28151 $as_echo_n "(cached) " >&6
28152else
28153 ac_check_lib_save_LIBS=$LIBS
28154LIBS="-lungif $LIBS"
28155cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28156/* end confdefs.h. */
28157
28158/* Override any GCC internal prototype to avoid an error.
28159 Use char because int might match the return type of a GCC
28160 builtin and then its argument prototype would still apply. */
28161#ifdef __cplusplus
28162extern "C"
28163#endif
28164char DGifOpenFileName ();
28165int
28166main ()
28167{
28168return DGifOpenFileName ();
28169 ;
28170 return 0;
28171}
28172_ACEOF
28173if ac_fn_c_try_link "$LINENO"; then :
28174 ac_cv_lib_ungif_DGifOpenFileName=yes
28175else
28176 ac_cv_lib_ungif_DGifOpenFileName=no
28177fi
28178rm -f core conftest.err conftest.$ac_objext \
28179 conftest$ac_exeext conftest.$ac_ext
28180LIBS=$ac_check_lib_save_LIBS
28181fi
28182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
28183$as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
28184if test "x$ac_cv_lib_ungif_DGifOpenFileName" = x""yes; then :
28185
28186 have_dep="yes"
28187 evas_image_loader_gif_libs="-lungif"
28188
28189
28190fi
28191
28192 fi
28193fi
28194
28195
28196
28197
28198if test "x${have_dep}" = "xyes" ; then
28199 have_loader="yes"
28200else
28201 have_loader="no"
28202fi
28203
28204
28205fi
28206
28207if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28208 as_fn_error $? "Gif dependencies not found (strict dependencies checking)" "$LINENO" 5
28209fi
28210
28211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Gif image loader will be built" >&5
28212$as_echo_n "checking whether Gif image loader will be built... " >&6; }
28213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28214$as_echo "${have_loader}" >&6; }
28215
28216if test "x${have_loader}" = "xyes" ; then
28217 if test "x${want_loader}" = "xstatic" ; then
28218 have_evas_image_loader_gif="static"
28219 want_static_loader="yes"
28220 else
28221 have_evas_image_loader_gif="yes"
28222 fi
28223fi
28224
28225if test "x${have_loader}" = "xyes" ; then
28226
28227$as_echo "#define BUILD_LOADER_GIF 1" >>confdefs.h
28228
28229fi
28230
28231 if test "x${have_loader}" = "xyes"; then
28232 BUILD_LOADER_GIF_TRUE=
28233 BUILD_LOADER_GIF_FALSE='#'
28234else
28235 BUILD_LOADER_GIF_TRUE='#'
28236 BUILD_LOADER_GIF_FALSE=
28237fi
28238
28239
28240if test "x${want_static_loader}" = "xyes" ; then
28241
28242$as_echo "#define EVAS_STATIC_BUILD_GIF 1" >>confdefs.h
28243
28244 have_static_module="yes"
28245fi
28246
28247 if test "x${want_static_loader}" = "xyes"; then
28248 EVAS_STATIC_BUILD_GIF_TRUE=
28249 EVAS_STATIC_BUILD_GIF_FALSE='#'
28250else
28251 EVAS_STATIC_BUILD_GIF_TRUE='#'
28252 EVAS_STATIC_BUILD_GIF_FALSE=
28253fi
28254
28255
28256
28257
28258
28259
28260
28261have_evas_image_saver_jpeg="no"
28262
28263
28264
28265
28266
28267want_loader="${want_evas_image_loader_jpeg}"
28268want_static_loader="no"
28269have_loader="no"
28270have_evas_image_loader_jpeg="no"
28271
28272# Check whether --enable-image-loader-jpeg was given.
28273if test "${enable_image_loader_jpeg+set}" = set; then :
28274 enableval=$enable_image_loader_jpeg;
28275 if test "x${enableval}" = "xyes" ; then
28276 want_loader="yes"
28277 else
28278 if test "x${enableval}" = "xstatic" ; then
28279 want_loader="static"
28280 else
28281 want_loader="no"
28282 fi
28283 fi
28284
28285
28286fi
28287
28288
28289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Jpeg image loader" >&5
28290$as_echo_n "checking whether to enable Jpeg image loader... " >&6; }
28291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28292$as_echo "${want_loader}" >&6; }
28293
28294if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28295
28296
28297have_dep="no"
28298evas_image_loader_jpeg_cflags=""
28299evas_image_loader_jpeg_libs=""
28300
28301ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
28302if test "x$ac_cv_header_jpeglib_h" = x""yes; then :
28303 have_dep="yes"
28304fi
28305
28306
28307
28308if test "x${have_dep}" = "xyes" ; then
28309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_CreateDecompress in -ljpeg" >&5
28310$as_echo_n "checking for jpeg_CreateDecompress in -ljpeg... " >&6; }
28311if test "${ac_cv_lib_jpeg_jpeg_CreateDecompress+set}" = set; then :
28312 $as_echo_n "(cached) " >&6
28313else
28314 ac_check_lib_save_LIBS=$LIBS
28315LIBS="-ljpeg $LIBS"
28316cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28317/* end confdefs.h. */
28318
28319/* Override any GCC internal prototype to avoid an error.
28320 Use char because int might match the return type of a GCC
28321 builtin and then its argument prototype would still apply. */
28322#ifdef __cplusplus
28323extern "C"
28324#endif
28325char jpeg_CreateDecompress ();
28326int
28327main ()
28328{
28329return jpeg_CreateDecompress ();
28330 ;
28331 return 0;
28332}
28333_ACEOF
28334if ac_fn_c_try_link "$LINENO"; then :
28335 ac_cv_lib_jpeg_jpeg_CreateDecompress=yes
28336else
28337 ac_cv_lib_jpeg_jpeg_CreateDecompress=no
28338fi
28339rm -f core conftest.err conftest.$ac_objext \
28340 conftest$ac_exeext conftest.$ac_ext
28341LIBS=$ac_check_lib_save_LIBS
28342fi
28343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_CreateDecompress" >&5
28344$as_echo "$ac_cv_lib_jpeg_jpeg_CreateDecompress" >&6; }
28345if test "x$ac_cv_lib_jpeg_jpeg_CreateDecompress" = x""yes; then :
28346
28347 evas_image_loader_jpeg_libs="-ljpeg"
28348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28349/* end confdefs.h. */
28350
28351#include <stdio.h>
28352#include <jpeglib.h>
28353#include <setjmp.h>
28354
28355int
28356main ()
28357{
28358
28359struct jpeg_decompress_struct decomp;
28360decomp.region_x = 0;
28361
28362 ;
28363 return 0;
28364}
28365_ACEOF
28366if ac_fn_c_try_compile "$LINENO"; then :
28367 have_jpeg_region="yes"
28368else
28369 have_jpeg_region="no"
28370fi
28371rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28372
28373else
28374 have_dep="no"
28375
28376fi
28377
28378 if test "x${have_jpeg_region}" = "xyes" ; then
28379
28380$as_echo "#define BUILD_LOADER_JPEG_REGION 1" >>confdefs.h
28381
28382 fi
28383fi
28384
28385
28386
28387
28388if test "x${have_dep}" = "xyes" ; then
28389 have_loader="yes"
28390else
28391 have_loader="no"
28392fi
28393
28394
28395fi
28396
28397if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28398 as_fn_error $? "Jpeg dependencies not found (strict dependencies checking)" "$LINENO" 5
28399fi
28400
28401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Jpeg image loader will be built" >&5
28402$as_echo_n "checking whether Jpeg image loader will be built... " >&6; }
28403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28404$as_echo "${have_loader}" >&6; }
28405
28406if test "x${have_loader}" = "xyes" ; then
28407 if test "x${want_loader}" = "xstatic" ; then
28408 have_evas_image_loader_jpeg="static"
28409 want_static_loader="yes"
28410 else
28411 have_evas_image_loader_jpeg="yes"
28412 fi
28413fi
28414
28415if test "x${have_loader}" = "xyes" ; then
28416
28417$as_echo "#define BUILD_LOADER_JPEG 1" >>confdefs.h
28418
28419fi
28420
28421 if test "x${have_loader}" = "xyes"; then
28422 BUILD_LOADER_JPEG_TRUE=
28423 BUILD_LOADER_JPEG_FALSE='#'
28424else
28425 BUILD_LOADER_JPEG_TRUE='#'
28426 BUILD_LOADER_JPEG_FALSE=
28427fi
28428
28429
28430if test "x${want_static_loader}" = "xyes" ; then
28431
28432$as_echo "#define EVAS_STATIC_BUILD_JPEG 1" >>confdefs.h
28433
28434 have_static_module="yes"
28435fi
28436
28437 if test "x${want_static_loader}" = "xyes"; then
28438 EVAS_STATIC_BUILD_JPEG_TRUE=
28439 EVAS_STATIC_BUILD_JPEG_FALSE='#'
28440else
28441 EVAS_STATIC_BUILD_JPEG_TRUE='#'
28442 EVAS_STATIC_BUILD_JPEG_FALSE=
28443fi
28444
28445
28446
28447
28448
28449
28450
28451case "$host_os" in
28452 mingw*)
28453 ;;
28454 *)
28455 if test "x${have_evas_image_loader_jpeg}" = "xyes" ; then
28456
28457$as_echo "#define EVAS_BUILD_SAVER_JPEG 1" >>confdefs.h
28458
28459 have_evas_image_saver_jpeg="yes"
28460 fi
28461 ;;
28462esac
28463 if test "x${have_evas_image_saver_jpeg}" = "xyes"; then
28464 BUILD_SAVER_JPEG_TRUE=
28465 BUILD_SAVER_JPEG_FALSE='#'
28466else
28467 BUILD_SAVER_JPEG_TRUE='#'
28468 BUILD_SAVER_JPEG_FALSE=
28469fi
28470
28471
28472
28473
28474
28475
28476
28477want_loader="${want_evas_image_loader_pmaps}"
28478want_static_loader="no"
28479have_loader="no"
28480have_evas_image_loader_pmaps="no"
28481
28482# Check whether --enable-image-loader-pmaps was given.
28483if test "${enable_image_loader_pmaps+set}" = set; then :
28484 enableval=$enable_image_loader_pmaps;
28485 if test "x${enableval}" = "xyes" ; then
28486 want_loader="yes"
28487 else
28488 if test "x${enableval}" = "xstatic" ; then
28489 want_loader="static"
28490 else
28491 want_loader="no"
28492 fi
28493 fi
28494
28495
28496fi
28497
28498
28499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PMAPS image loader" >&5
28500$as_echo_n "checking whether to enable PMAPS image loader... " >&6; }
28501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28502$as_echo "${want_loader}" >&6; }
28503
28504if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28505
28506
28507have_dep="yes"
28508evas_image_loader_pmaps_cflags=""
28509evas_image_loader_pmaps_libs=""
28510
28511
28512
28513
28514if test "x${have_dep}" = "xyes" ; then
28515 have_loader="yes"
28516else
28517 have_loader="no"
28518fi
28519
28520
28521fi
28522
28523if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28524 as_fn_error $? "PMAPS dependencies not found (strict dependencies checking)" "$LINENO" 5
28525fi
28526
28527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PMAPS image loader will be built" >&5
28528$as_echo_n "checking whether PMAPS image loader will be built... " >&6; }
28529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28530$as_echo "${have_loader}" >&6; }
28531
28532if test "x${have_loader}" = "xyes" ; then
28533 if test "x${want_loader}" = "xstatic" ; then
28534 have_evas_image_loader_pmaps="static"
28535 want_static_loader="yes"
28536 else
28537 have_evas_image_loader_pmaps="yes"
28538 fi
28539fi
28540
28541if test "x${have_loader}" = "xyes" ; then
28542
28543$as_echo "#define BUILD_LOADER_PMAPS 1" >>confdefs.h
28544
28545fi
28546
28547 if test "x${have_loader}" = "xyes"; then
28548 BUILD_LOADER_PMAPS_TRUE=
28549 BUILD_LOADER_PMAPS_FALSE='#'
28550else
28551 BUILD_LOADER_PMAPS_TRUE='#'
28552 BUILD_LOADER_PMAPS_FALSE=
28553fi
28554
28555
28556if test "x${want_static_loader}" = "xyes" ; then
28557
28558$as_echo "#define EVAS_STATIC_BUILD_PMAPS 1" >>confdefs.h
28559
28560 have_static_module="yes"
28561fi
28562
28563 if test "x${want_static_loader}" = "xyes"; then
28564 EVAS_STATIC_BUILD_PMAPS_TRUE=
28565 EVAS_STATIC_BUILD_PMAPS_FALSE='#'
28566else
28567 EVAS_STATIC_BUILD_PMAPS_TRUE='#'
28568 EVAS_STATIC_BUILD_PMAPS_FALSE=
28569fi
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582want_loader="${want_evas_image_loader_png}"
28583want_static_loader="no"
28584have_loader="no"
28585have_evas_image_loader_png="no"
28586
28587# Check whether --enable-image-loader-png was given.
28588if test "${enable_image_loader_png+set}" = set; then :
28589 enableval=$enable_image_loader_png;
28590 if test "x${enableval}" = "xyes" ; then
28591 want_loader="yes"
28592 else
28593 if test "x${enableval}" = "xstatic" ; then
28594 want_loader="static"
28595 else
28596 want_loader="no"
28597 fi
28598 fi
28599
28600
28601fi
28602
28603
28604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PNG image loader" >&5
28605$as_echo_n "checking whether to enable PNG image loader... " >&6; }
28606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
28607$as_echo "${want_loader}" >&6; }
28608
28609if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
28610
28611
28612requirement=""
28613have_dep="no"
28614evas_image_loader_png_cflags=""
28615evas_image_loader_png_libs=""
28616
28617
28618pkg_failed=no
28619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28620$as_echo_n "checking for PNG... " >&6; }
28621
28622if test -n "$PNG_CFLAGS"; then
28623 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28624 elif test -n "$PKG_CONFIG"; then
28625 if test -n "$PKG_CONFIG" && \
28626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28627 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28628 ac_status=$?
28629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28630 test $ac_status = 0; }; then
28631 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng >= 1.2.10" 2>/dev/null`
28632else
28633 pkg_failed=yes
28634fi
28635 else
28636 pkg_failed=untried
28637fi
28638if test -n "$PNG_LIBS"; then
28639 pkg_cv_PNG_LIBS="$PNG_LIBS"
28640 elif test -n "$PKG_CONFIG"; then
28641 if test -n "$PKG_CONFIG" && \
28642 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng >= 1.2.10\""; } >&5
28643 ($PKG_CONFIG --exists --print-errors "libpng >= 1.2.10") 2>&5
28644 ac_status=$?
28645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28646 test $ac_status = 0; }; then
28647 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng >= 1.2.10" 2>/dev/null`
28648else
28649 pkg_failed=yes
28650fi
28651 else
28652 pkg_failed=untried
28653fi
28654
28655
28656
28657if test $pkg_failed = yes; then
28658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28659$as_echo "no" >&6; }
28660
28661if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28662 _pkg_short_errors_supported=yes
28663else
28664 _pkg_short_errors_supported=no
28665fi
28666 if test $_pkg_short_errors_supported = yes; then
28667 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng >= 1.2.10" 2>&1`
28668 else
28669 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng >= 1.2.10" 2>&1`
28670 fi
28671 # Put the nasty error message in config.log where it belongs
28672 echo "$PNG_PKG_ERRORS" >&5
28673
28674 have_dep="no"
28675elif test $pkg_failed = untried; then
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28677$as_echo "no" >&6; }
28678 have_dep="no"
28679else
28680 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28681 PNG_LIBS=$pkg_cv_PNG_LIBS
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28683$as_echo "yes" >&6; }
28684 have_dep="yes" requirement="libpng"
28685fi
28686
28687if test "x${have_dep}" = "xno" ; then
28688
28689pkg_failed=no
28690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28691$as_echo_n "checking for PNG... " >&6; }
28692
28693if test -n "$PNG_CFLAGS"; then
28694 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28695 elif test -n "$PKG_CONFIG"; then
28696 if test -n "$PKG_CONFIG" && \
28697 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28698 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28699 ac_status=$?
28700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28701 test $ac_status = 0; }; then
28702 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng15" 2>/dev/null`
28703else
28704 pkg_failed=yes
28705fi
28706 else
28707 pkg_failed=untried
28708fi
28709if test -n "$PNG_LIBS"; then
28710 pkg_cv_PNG_LIBS="$PNG_LIBS"
28711 elif test -n "$PKG_CONFIG"; then
28712 if test -n "$PKG_CONFIG" && \
28713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng15\""; } >&5
28714 ($PKG_CONFIG --exists --print-errors "libpng15") 2>&5
28715 ac_status=$?
28716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28717 test $ac_status = 0; }; then
28718 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng15" 2>/dev/null`
28719else
28720 pkg_failed=yes
28721fi
28722 else
28723 pkg_failed=untried
28724fi
28725
28726
28727
28728if test $pkg_failed = yes; then
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28730$as_echo "no" >&6; }
28731
28732if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28733 _pkg_short_errors_supported=yes
28734else
28735 _pkg_short_errors_supported=no
28736fi
28737 if test $_pkg_short_errors_supported = yes; then
28738 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng15" 2>&1`
28739 else
28740 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng15" 2>&1`
28741 fi
28742 # Put the nasty error message in config.log where it belongs
28743 echo "$PNG_PKG_ERRORS" >&5
28744
28745 have_dep="no"
28746elif test $pkg_failed = untried; then
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28748$as_echo "no" >&6; }
28749 have_dep="no"
28750else
28751 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28752 PNG_LIBS=$pkg_cv_PNG_LIBS
28753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28754$as_echo "yes" >&6; }
28755 have_dep="yes" requirement="libpng15"
28756fi
28757fi
28758
28759if test "x${have_dep}" = "xno" ; then
28760
28761pkg_failed=no
28762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28763$as_echo_n "checking for PNG... " >&6; }
28764
28765if test -n "$PNG_CFLAGS"; then
28766 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28767 elif test -n "$PKG_CONFIG"; then
28768 if test -n "$PKG_CONFIG" && \
28769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
28770 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28771 ac_status=$?
28772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28773 test $ac_status = 0; }; then
28774 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng14" 2>/dev/null`
28775else
28776 pkg_failed=yes
28777fi
28778 else
28779 pkg_failed=untried
28780fi
28781if test -n "$PNG_LIBS"; then
28782 pkg_cv_PNG_LIBS="$PNG_LIBS"
28783 elif test -n "$PKG_CONFIG"; then
28784 if test -n "$PKG_CONFIG" && \
28785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng14\""; } >&5
28786 ($PKG_CONFIG --exists --print-errors "libpng14") 2>&5
28787 ac_status=$?
28788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28789 test $ac_status = 0; }; then
28790 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng14" 2>/dev/null`
28791else
28792 pkg_failed=yes
28793fi
28794 else
28795 pkg_failed=untried
28796fi
28797
28798
28799
28800if test $pkg_failed = yes; then
28801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28802$as_echo "no" >&6; }
28803
28804if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28805 _pkg_short_errors_supported=yes
28806else
28807 _pkg_short_errors_supported=no
28808fi
28809 if test $_pkg_short_errors_supported = yes; then
28810 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng14" 2>&1`
28811 else
28812 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng14" 2>&1`
28813 fi
28814 # Put the nasty error message in config.log where it belongs
28815 echo "$PNG_PKG_ERRORS" >&5
28816
28817 have_dep="no"
28818elif test $pkg_failed = untried; then
28819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28820$as_echo "no" >&6; }
28821 have_dep="no"
28822else
28823 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28824 PNG_LIBS=$pkg_cv_PNG_LIBS
28825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28826$as_echo "yes" >&6; }
28827 have_dep="yes" requirement="libpng14"
28828fi
28829fi
28830
28831if test "x${have_dep}" = "xno" ; then
28832
28833pkg_failed=no
28834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5
28835$as_echo_n "checking for PNG... " >&6; }
28836
28837if test -n "$PNG_CFLAGS"; then
28838 pkg_cv_PNG_CFLAGS="$PNG_CFLAGS"
28839 elif test -n "$PKG_CONFIG"; then
28840 if test -n "$PKG_CONFIG" && \
28841 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28842 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28843 ac_status=$?
28844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28845 test $ac_status = 0; }; then
28846 pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng12 >= 1.2.10" 2>/dev/null`
28847else
28848 pkg_failed=yes
28849fi
28850 else
28851 pkg_failed=untried
28852fi
28853if test -n "$PNG_LIBS"; then
28854 pkg_cv_PNG_LIBS="$PNG_LIBS"
28855 elif test -n "$PKG_CONFIG"; then
28856 if test -n "$PKG_CONFIG" && \
28857 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng12 >= 1.2.10\""; } >&5
28858 ($PKG_CONFIG --exists --print-errors "libpng12 >= 1.2.10") 2>&5
28859 ac_status=$?
28860 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
28861 test $ac_status = 0; }; then
28862 pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng12 >= 1.2.10" 2>/dev/null`
28863else
28864 pkg_failed=yes
28865fi
28866 else
28867 pkg_failed=untried
28868fi
28869
28870
28871
28872if test $pkg_failed = yes; then
28873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28874$as_echo "no" >&6; }
28875
28876if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28877 _pkg_short_errors_supported=yes
28878else
28879 _pkg_short_errors_supported=no
28880fi
28881 if test $_pkg_short_errors_supported = yes; then
28882 PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng12 >= 1.2.10" 2>&1`
28883 else
28884 PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng12 >= 1.2.10" 2>&1`
28885 fi
28886 # Put the nasty error message in config.log where it belongs
28887 echo "$PNG_PKG_ERRORS" >&5
28888
28889 have_dep="no"
28890elif test $pkg_failed = untried; then
28891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28892$as_echo "no" >&6; }
28893 have_dep="no"
28894else
28895 PNG_CFLAGS=$pkg_cv_PNG_CFLAGS
28896 PNG_LIBS=$pkg_cv_PNG_LIBS
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
28898$as_echo "yes" >&6; }
28899 have_dep="yes" requirement="libpng12"
28900fi
28901fi
28902
28903evas_image_loader_png_cflags="${PNG_CFLAGS}"
28904evas_image_loader_png_libs="${PNG_LIBS}"
28905
28906
28907
28908
28909if test "x${want_loader}" = "xstatic" ; then
28910 requirement_evas="${requirement} ${requirement_evas}"
28911fi
28912
28913if test "x${have_dep}" = "xyes" ; then
28914 have_loader="yes"
28915else
28916 have_loader="no"
28917fi
28918
28919
28920fi
28921
28922if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
28923 as_fn_error $? "PNG dependencies not found (strict dependencies checking)" "$LINENO" 5
28924fi
28925
28926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PNG image loader will be built" >&5
28927$as_echo_n "checking whether PNG image loader will be built... " >&6; }
28928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
28929$as_echo "${have_loader}" >&6; }
28930
28931if test "x${have_loader}" = "xyes" ; then
28932 if test "x${want_loader}" = "xstatic" ; then
28933 have_evas_image_loader_png="static"
28934 want_static_loader="yes"
28935 else
28936 have_evas_image_loader_png="yes"
28937 fi
28938fi
28939
28940if test "x${have_loader}" = "xyes" ; then
28941
28942$as_echo "#define BUILD_LOADER_PNG 1" >>confdefs.h
28943
28944fi
28945
28946 if test "x${have_loader}" = "xyes"; then
28947 BUILD_LOADER_PNG_TRUE=
28948 BUILD_LOADER_PNG_FALSE='#'
28949else
28950 BUILD_LOADER_PNG_TRUE='#'
28951 BUILD_LOADER_PNG_FALSE=
28952fi
28953
28954
28955if test "x${want_static_loader}" = "xyes" ; then
28956
28957$as_echo "#define EVAS_STATIC_BUILD_PNG 1" >>confdefs.h
28958
28959 have_static_module="yes"
28960fi
28961
28962 if test "x${want_static_loader}" = "xyes"; then
28963 EVAS_STATIC_BUILD_PNG_TRUE=
28964 EVAS_STATIC_BUILD_PNG_FALSE='#'
28965else
28966 EVAS_STATIC_BUILD_PNG_TRUE='#'
28967 EVAS_STATIC_BUILD_PNG_FALSE=
28968fi
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981want_loader="${want_evas_image_loader_svg}"
28982want_static_loader="no"
28983have_loader="no"
28984have_evas_image_loader_svg="no"
28985
28986# Check whether --enable-image-loader-svg was given.
28987if test "${enable_image_loader_svg+set}" = set; then :
28988 enableval=$enable_image_loader_svg;
28989 if test "x${enableval}" = "xyes" ; then
28990 want_loader="yes"
28991 else
28992 if test "x${enableval}" = "xstatic" ; then
28993 want_loader="static"
28994 else
28995 want_loader="no"
28996 fi
28997 fi
28998
28999
29000fi
29001
29002
29003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable SVG image loader" >&5
29004$as_echo_n "checking whether to enable SVG image loader... " >&6; }
29005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29006$as_echo "${want_loader}" >&6; }
29007
29008if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29009
29010
29011requirement=""
29012have_dep="no"
29013evas_image_loader_svg_cflags=""
29014evas_image_loader_svg_libs=""
29015
29016
29017pkg_failed=no
29018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVG" >&5
29019$as_echo_n "checking for SVG... " >&6; }
29020
29021if test -n "$SVG_CFLAGS"; then
29022 pkg_cv_SVG_CFLAGS="$SVG_CFLAGS"
29023 elif test -n "$PKG_CONFIG"; then
29024 if test -n "$PKG_CONFIG" && \
29025 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14.0
29026 cairo >= 1.0.0\""; } >&5
29027 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14.0
29028 cairo >= 1.0.0") 2>&5
29029 ac_status=$?
29030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29031 test $ac_status = 0; }; then
29032 pkg_cv_SVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0 >= 2.14.0
29033 cairo >= 1.0.0" 2>/dev/null`
29034else
29035 pkg_failed=yes
29036fi
29037 else
29038 pkg_failed=untried
29039fi
29040if test -n "$SVG_LIBS"; then
29041 pkg_cv_SVG_LIBS="$SVG_LIBS"
29042 elif test -n "$PKG_CONFIG"; then
29043 if test -n "$PKG_CONFIG" && \
29044 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0 >= 2.14.0
29045 cairo >= 1.0.0\""; } >&5
29046 ($PKG_CONFIG --exists --print-errors "librsvg-2.0 >= 2.14.0
29047 cairo >= 1.0.0") 2>&5
29048 ac_status=$?
29049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
29050 test $ac_status = 0; }; then
29051 pkg_cv_SVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0 >= 2.14.0
29052 cairo >= 1.0.0" 2>/dev/null`
29053else
29054 pkg_failed=yes
29055fi
29056 else
29057 pkg_failed=untried
29058fi
29059
29060
29061
29062if test $pkg_failed = yes; then
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29064$as_echo "no" >&6; }
29065
29066if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29067 _pkg_short_errors_supported=yes
29068else
29069 _pkg_short_errors_supported=no
29070fi
29071 if test $_pkg_short_errors_supported = yes; then
29072 SVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "librsvg-2.0 >= 2.14.0
29073 cairo >= 1.0.0" 2>&1`
29074 else
29075 SVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "librsvg-2.0 >= 2.14.0
29076 cairo >= 1.0.0" 2>&1`
29077 fi
29078 # Put the nasty error message in config.log where it belongs
29079 echo "$SVG_PKG_ERRORS" >&5
29080
29081 have_svg="no"
29082
29083elif test $pkg_failed = untried; then
29084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29085$as_echo "no" >&6; }
29086 have_svg="no"
29087
29088else
29089 SVG_CFLAGS=$pkg_cv_SVG_CFLAGS
29090 SVG_LIBS=$pkg_cv_SVG_LIBS
29091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
29092$as_echo "yes" >&6; }
29093 have_dep="yes" requirement="librsvg-2.0 cairo"
29094fi
29095
29096if test "x${have_dep}" = "xyes" ; then
29097 evas_image_loader_svg_cflags="${SVG_CFLAGS}"
29098 evas_image_loader_svg_libs="${SVG_LIBS}"
29099fi
29100
29101
29102
29103
29104if test "x${want_loader}" = "xstatic" ; then
29105 requirement_evas="${requirement} ${requirement_evas}"
29106fi
29107
29108if test "x${have_dep}" = "xyes" ; then
29109 have_loader="yes"
29110else
29111 have_loader="no"
29112fi
29113
29114
29115fi
29116
29117if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29118 as_fn_error $? "SVG dependencies not found (strict dependencies checking)" "$LINENO" 5
29119fi
29120
29121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether SVG image loader will be built" >&5
29122$as_echo_n "checking whether SVG image loader will be built... " >&6; }
29123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29124$as_echo "${have_loader}" >&6; }
29125
29126if test "x${have_loader}" = "xyes" ; then
29127 if test "x${want_loader}" = "xstatic" ; then
29128 have_evas_image_loader_svg="static"
29129 want_static_loader="yes"
29130 else
29131 have_evas_image_loader_svg="yes"
29132 fi
29133fi
29134
29135if test "x${have_loader}" = "xyes" ; then
29136
29137$as_echo "#define BUILD_LOADER_SVG 1" >>confdefs.h
29138
29139fi
29140
29141 if test "x${have_loader}" = "xyes"; then
29142 BUILD_LOADER_SVG_TRUE=
29143 BUILD_LOADER_SVG_FALSE='#'
29144else
29145 BUILD_LOADER_SVG_TRUE='#'
29146 BUILD_LOADER_SVG_FALSE=
29147fi
29148
29149
29150if test "x${want_static_loader}" = "xyes" ; then
29151
29152$as_echo "#define EVAS_STATIC_BUILD_SVG 1" >>confdefs.h
29153
29154 have_static_module="yes"
29155fi
29156
29157 if test "x${want_static_loader}" = "xyes"; then
29158 EVAS_STATIC_BUILD_SVG_TRUE=
29159 EVAS_STATIC_BUILD_SVG_FALSE='#'
29160else
29161 EVAS_STATIC_BUILD_SVG_TRUE='#'
29162 EVAS_STATIC_BUILD_SVG_FALSE=
29163fi
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176want_loader="${want_evas_image_loader_tiff}"
29177want_static_loader="no"
29178have_loader="no"
29179have_evas_image_loader_tiff="no"
29180
29181# Check whether --enable-image-loader-tiff was given.
29182if test "${enable_image_loader_tiff+set}" = set; then :
29183 enableval=$enable_image_loader_tiff;
29184 if test "x${enableval}" = "xyes" ; then
29185 want_loader="yes"
29186 else
29187 if test "x${enableval}" = "xstatic" ; then
29188 want_loader="static"
29189 else
29190 want_loader="no"
29191 fi
29192 fi
29193
29194
29195fi
29196
29197
29198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable Tiff image loader" >&5
29199$as_echo_n "checking whether to enable Tiff image loader... " >&6; }
29200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29201$as_echo "${want_loader}" >&6; }
29202
29203if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29204
29205
29206have_dep="no"
29207evas_image_loader_tiff_cflags=""
29208evas_image_loader_tiff_libs=""
29209
29210ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
29211if test "x$ac_cv_header_tiffio_h" = x""yes; then :
29212 have_dep="yes"
29213fi
29214
29215
29216
29217if test "x${have_dep}" = "xyes" ; then
29218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
29219$as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
29220if test "${ac_cv_lib_tiff_TIFFReadScanline+set}" = set; then :
29221 $as_echo_n "(cached) " >&6
29222else
29223 ac_check_lib_save_LIBS=$LIBS
29224LIBS="-ltiff $LIBS"
29225cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29226/* end confdefs.h. */
29227
29228/* Override any GCC internal prototype to avoid an error.
29229 Use char because int might match the return type of a GCC
29230 builtin and then its argument prototype would still apply. */
29231#ifdef __cplusplus
29232extern "C"
29233#endif
29234char TIFFReadScanline ();
29235int
29236main ()
29237{
29238return TIFFReadScanline ();
29239 ;
29240 return 0;
29241}
29242_ACEOF
29243if ac_fn_c_try_link "$LINENO"; then :
29244 ac_cv_lib_tiff_TIFFReadScanline=yes
29245else
29246 ac_cv_lib_tiff_TIFFReadScanline=no
29247fi
29248rm -f core conftest.err conftest.$ac_objext \
29249 conftest$ac_exeext conftest.$ac_ext
29250LIBS=$ac_check_lib_save_LIBS
29251fi
29252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
29253$as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
29254if test "x$ac_cv_lib_tiff_TIFFReadScanline" = x""yes; then :
29255
29256 evas_image_loader_tiff_libs="-ltiff"
29257
29258else
29259 have_dep="no"
29260
29261fi
29262
29263
29264 if test "x${have_dep}" = "xno" ; then
29265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
29266$as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
29267if test "${ac_cv_lib_tiff_TIFFReadScanline+set}" = set; then :
29268 $as_echo_n "(cached) " >&6
29269else
29270 ac_check_lib_save_LIBS=$LIBS
29271LIBS="-ltiff $LIBS"
29272cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29273/* end confdefs.h. */
29274
29275/* Override any GCC internal prototype to avoid an error.
29276 Use char because int might match the return type of a GCC
29277 builtin and then its argument prototype would still apply. */
29278#ifdef __cplusplus
29279extern "C"
29280#endif
29281char TIFFReadScanline ();
29282int
29283main ()
29284{
29285return TIFFReadScanline ();
29286 ;
29287 return 0;
29288}
29289_ACEOF
29290if ac_fn_c_try_link "$LINENO"; then :
29291 ac_cv_lib_tiff_TIFFReadScanline=yes
29292else
29293 ac_cv_lib_tiff_TIFFReadScanline=no
29294fi
29295rm -f core conftest.err conftest.$ac_objext \
29296 conftest$ac_exeext conftest.$ac_ext
29297LIBS=$ac_check_lib_save_LIBS
29298fi
29299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
29300$as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
29301if test "x$ac_cv_lib_tiff_TIFFReadScanline" = x""yes; then :
29302
29303 have_dep="yes"
29304 evas_image_loader_tiff_libs="-ltiff -ljpeg -lz -lm"
29305
29306
29307fi
29308
29309 fi
29310
29311 if test "x${have_dep}" = "xno" ; then
29312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff34" >&5
29313$as_echo_n "checking for TIFFReadScanline in -ltiff34... " >&6; }
29314if test "${ac_cv_lib_tiff34_TIFFReadScanline+set}" = set; then :
29315 $as_echo_n "(cached) " >&6
29316else
29317 ac_check_lib_save_LIBS=$LIBS
29318LIBS="-ltiff34 $LIBS"
29319cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29320/* end confdefs.h. */
29321
29322/* Override any GCC internal prototype to avoid an error.
29323 Use char because int might match the return type of a GCC
29324 builtin and then its argument prototype would still apply. */
29325#ifdef __cplusplus
29326extern "C"
29327#endif
29328char TIFFReadScanline ();
29329int
29330main ()
29331{
29332return TIFFReadScanline ();
29333 ;
29334 return 0;
29335}
29336_ACEOF
29337if ac_fn_c_try_link "$LINENO"; then :
29338 ac_cv_lib_tiff34_TIFFReadScanline=yes
29339else
29340 ac_cv_lib_tiff34_TIFFReadScanline=no
29341fi
29342rm -f core conftest.err conftest.$ac_objext \
29343 conftest$ac_exeext conftest.$ac_ext
29344LIBS=$ac_check_lib_save_LIBS
29345fi
29346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFReadScanline" >&5
29347$as_echo "$ac_cv_lib_tiff34_TIFFReadScanline" >&6; }
29348if test "x$ac_cv_lib_tiff34_TIFFReadScanline" = x""yes; then :
29349
29350 have_dep="yes"
29351 evas_image_loader_tiff_libs="-ltiff34 -ljpeg -lz -lm"
29352
29353
29354fi
29355
29356 fi
29357fi
29358
29359
29360
29361
29362if test "x${have_dep}" = "xyes" ; then
29363 have_loader="yes"
29364else
29365 have_loader="no"
29366fi
29367
29368
29369fi
29370
29371if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29372 as_fn_error $? "Tiff dependencies not found (strict dependencies checking)" "$LINENO" 5
29373fi
29374
29375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Tiff image loader will be built" >&5
29376$as_echo_n "checking whether Tiff image loader will be built... " >&6; }
29377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29378$as_echo "${have_loader}" >&6; }
29379
29380if test "x${have_loader}" = "xyes" ; then
29381 if test "x${want_loader}" = "xstatic" ; then
29382 have_evas_image_loader_tiff="static"
29383 want_static_loader="yes"
29384 else
29385 have_evas_image_loader_tiff="yes"
29386 fi
29387fi
29388
29389if test "x${have_loader}" = "xyes" ; then
29390
29391$as_echo "#define BUILD_LOADER_TIFF 1" >>confdefs.h
29392
29393fi
29394
29395 if test "x${have_loader}" = "xyes"; then
29396 BUILD_LOADER_TIFF_TRUE=
29397 BUILD_LOADER_TIFF_FALSE='#'
29398else
29399 BUILD_LOADER_TIFF_TRUE='#'
29400 BUILD_LOADER_TIFF_FALSE=
29401fi
29402
29403
29404if test "x${want_static_loader}" = "xyes" ; then
29405
29406$as_echo "#define EVAS_STATIC_BUILD_TIFF 1" >>confdefs.h
29407
29408 have_static_module="yes"
29409fi
29410
29411 if test "x${want_static_loader}" = "xyes"; then
29412 EVAS_STATIC_BUILD_TIFF_TRUE=
29413 EVAS_STATIC_BUILD_TIFF_FALSE='#'
29414else
29415 EVAS_STATIC_BUILD_TIFF_TRUE='#'
29416 EVAS_STATIC_BUILD_TIFF_FALSE=
29417fi
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430want_loader="${want_evas_image_loader_xpm}"
29431want_static_loader="no"
29432have_loader="no"
29433have_evas_image_loader_xpm="no"
29434
29435# Check whether --enable-image-loader-xpm was given.
29436if test "${enable_image_loader_xpm+set}" = set; then :
29437 enableval=$enable_image_loader_xpm;
29438 if test "x${enableval}" = "xyes" ; then
29439 want_loader="yes"
29440 else
29441 if test "x${enableval}" = "xstatic" ; then
29442 want_loader="static"
29443 else
29444 want_loader="no"
29445 fi
29446 fi
29447
29448
29449fi
29450
29451
29452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable XPM image loader" >&5
29453$as_echo_n "checking whether to enable XPM image loader... " >&6; }
29454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29455$as_echo "${want_loader}" >&6; }
29456
29457if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29458
29459
29460have_dep="yes"
29461evas_image_loader_xpm_cflags=""
29462evas_image_loader_xpm_libs=""
29463
29464
29465
29466
29467if test "x${have_dep}" = "xyes" ; then
29468 have_loader="yes"
29469else
29470 have_loader="no"
29471fi
29472
29473
29474fi
29475
29476if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29477 as_fn_error $? "XPM dependencies not found (strict dependencies checking)" "$LINENO" 5
29478fi
29479
29480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether XPM image loader will be built" >&5
29481$as_echo_n "checking whether XPM image loader will be built... " >&6; }
29482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29483$as_echo "${have_loader}" >&6; }
29484
29485if test "x${have_loader}" = "xyes" ; then
29486 if test "x${want_loader}" = "xstatic" ; then
29487 have_evas_image_loader_xpm="static"
29488 want_static_loader="yes"
29489 else
29490 have_evas_image_loader_xpm="yes"
29491 fi
29492fi
29493
29494if test "x${have_loader}" = "xyes" ; then
29495
29496$as_echo "#define BUILD_LOADER_XPM 1" >>confdefs.h
29497
29498fi
29499
29500 if test "x${have_loader}" = "xyes"; then
29501 BUILD_LOADER_XPM_TRUE=
29502 BUILD_LOADER_XPM_FALSE='#'
29503else
29504 BUILD_LOADER_XPM_TRUE='#'
29505 BUILD_LOADER_XPM_FALSE=
29506fi
29507
29508
29509if test "x${want_static_loader}" = "xyes" ; then
29510
29511$as_echo "#define EVAS_STATIC_BUILD_XPM 1" >>confdefs.h
29512
29513 have_static_module="yes"
29514fi
29515
29516 if test "x${want_static_loader}" = "xyes"; then
29517 EVAS_STATIC_BUILD_XPM_TRUE=
29518 EVAS_STATIC_BUILD_XPM_FALSE='#'
29519else
29520 EVAS_STATIC_BUILD_XPM_TRUE='#'
29521 EVAS_STATIC_BUILD_XPM_FALSE=
29522fi
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535want_loader="${want_evas_image_loader_bmp}"
29536want_static_loader="no"
29537have_loader="no"
29538have_evas_image_loader_bmp="no"
29539
29540# Check whether --enable-image-loader-bmp was given.
29541if test "${enable_image_loader_bmp+set}" = set; then :
29542 enableval=$enable_image_loader_bmp;
29543 if test "x${enableval}" = "xyes" ; then
29544 want_loader="yes"
29545 else
29546 if test "x${enableval}" = "xstatic" ; then
29547 want_loader="static"
29548 else
29549 want_loader="no"
29550 fi
29551 fi
29552
29553
29554fi
29555
29556
29557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable BMP image loader" >&5
29558$as_echo_n "checking whether to enable BMP image loader... " >&6; }
29559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29560$as_echo "${want_loader}" >&6; }
29561
29562if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29563
29564
29565have_dep="yes"
29566evas_image_loader_bmp_cflags=""
29567evas_image_loader_bmp_libs=""
29568
29569
29570
29571
29572if test "x${have_dep}" = "xyes" ; then
29573 have_loader="yes"
29574else
29575 have_loader="no"
29576fi
29577
29578
29579fi
29580
29581if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29582 as_fn_error $? "BMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29583fi
29584
29585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether BMP image loader will be built" >&5
29586$as_echo_n "checking whether BMP image loader will be built... " >&6; }
29587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29588$as_echo "${have_loader}" >&6; }
29589
29590if test "x${have_loader}" = "xyes" ; then
29591 if test "x${want_loader}" = "xstatic" ; then
29592 have_evas_image_loader_bmp="static"
29593 want_static_loader="yes"
29594 else
29595 have_evas_image_loader_bmp="yes"
29596 fi
29597fi
29598
29599if test "x${have_loader}" = "xyes" ; then
29600
29601$as_echo "#define BUILD_LOADER_BMP 1" >>confdefs.h
29602
29603fi
29604
29605 if test "x${have_loader}" = "xyes"; then
29606 BUILD_LOADER_BMP_TRUE=
29607 BUILD_LOADER_BMP_FALSE='#'
29608else
29609 BUILD_LOADER_BMP_TRUE='#'
29610 BUILD_LOADER_BMP_FALSE=
29611fi
29612
29613
29614if test "x${want_static_loader}" = "xyes" ; then
29615
29616$as_echo "#define EVAS_STATIC_BUILD_BMP 1" >>confdefs.h
29617
29618 have_static_module="yes"
29619fi
29620
29621 if test "x${want_static_loader}" = "xyes"; then
29622 EVAS_STATIC_BUILD_BMP_TRUE=
29623 EVAS_STATIC_BUILD_BMP_FALSE='#'
29624else
29625 EVAS_STATIC_BUILD_BMP_TRUE='#'
29626 EVAS_STATIC_BUILD_BMP_FALSE=
29627fi
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640want_loader="${want_evas_image_loader_tga}"
29641want_static_loader="no"
29642have_loader="no"
29643have_evas_image_loader_tga="no"
29644
29645# Check whether --enable-image-loader-tga was given.
29646if test "${enable_image_loader_tga+set}" = set; then :
29647 enableval=$enable_image_loader_tga;
29648 if test "x${enableval}" = "xyes" ; then
29649 want_loader="yes"
29650 else
29651 if test "x${enableval}" = "xstatic" ; then
29652 want_loader="static"
29653 else
29654 want_loader="no"
29655 fi
29656 fi
29657
29658
29659fi
29660
29661
29662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable TGA image loader" >&5
29663$as_echo_n "checking whether to enable TGA image loader... " >&6; }
29664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29665$as_echo "${want_loader}" >&6; }
29666
29667if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29668
29669
29670have_dep="yes"
29671evas_image_loader_tga_cflags=""
29672evas_image_loader_tga_libs=""
29673
29674
29675
29676
29677if test "x${have_dep}" = "xyes" ; then
29678 have_loader="yes"
29679else
29680 have_loader="no"
29681fi
29682
29683
29684fi
29685
29686if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29687 as_fn_error $? "TGA dependencies not found (strict dependencies checking)" "$LINENO" 5
29688fi
29689
29690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether TGA image loader will be built" >&5
29691$as_echo_n "checking whether TGA image loader will be built... " >&6; }
29692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29693$as_echo "${have_loader}" >&6; }
29694
29695if test "x${have_loader}" = "xyes" ; then
29696 if test "x${want_loader}" = "xstatic" ; then
29697 have_evas_image_loader_tga="static"
29698 want_static_loader="yes"
29699 else
29700 have_evas_image_loader_tga="yes"
29701 fi
29702fi
29703
29704if test "x${have_loader}" = "xyes" ; then
29705
29706$as_echo "#define BUILD_LOADER_TGA 1" >>confdefs.h
29707
29708fi
29709
29710 if test "x${have_loader}" = "xyes"; then
29711 BUILD_LOADER_TGA_TRUE=
29712 BUILD_LOADER_TGA_FALSE='#'
29713else
29714 BUILD_LOADER_TGA_TRUE='#'
29715 BUILD_LOADER_TGA_FALSE=
29716fi
29717
29718
29719if test "x${want_static_loader}" = "xyes" ; then
29720
29721$as_echo "#define EVAS_STATIC_BUILD_TGA 1" >>confdefs.h
29722
29723 have_static_module="yes"
29724fi
29725
29726 if test "x${want_static_loader}" = "xyes"; then
29727 EVAS_STATIC_BUILD_TGA_TRUE=
29728 EVAS_STATIC_BUILD_TGA_FALSE='#'
29729else
29730 EVAS_STATIC_BUILD_TGA_TRUE='#'
29731 EVAS_STATIC_BUILD_TGA_FALSE=
29732fi
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745want_loader="${want_evas_image_loader_wbmp}"
29746want_static_loader="no"
29747have_loader="no"
29748have_evas_image_loader_wbmp="no"
29749
29750# Check whether --enable-image-loader-wbmp was given.
29751if test "${enable_image_loader_wbmp+set}" = set; then :
29752 enableval=$enable_image_loader_wbmp;
29753 if test "x${enableval}" = "xyes" ; then
29754 want_loader="yes"
29755 else
29756 if test "x${enableval}" = "xstatic" ; then
29757 want_loader="static"
29758 else
29759 want_loader="no"
29760 fi
29761 fi
29762
29763
29764fi
29765
29766
29767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable WBMP image loader" >&5
29768$as_echo_n "checking whether to enable WBMP image loader... " >&6; }
29769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29770$as_echo "${want_loader}" >&6; }
29771
29772if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29773
29774
29775have_dep="yes"
29776evas_image_loader_wbmp_cflags=""
29777evas_image_loader_wbmp_libs=""
29778
29779
29780
29781
29782if test "x${have_dep}" = "xyes" ; then
29783 have_loader="yes"
29784else
29785 have_loader="no"
29786fi
29787
29788
29789fi
29790
29791if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29792 as_fn_error $? "WBMP dependencies not found (strict dependencies checking)" "$LINENO" 5
29793fi
29794
29795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether WBMP image loader will be built" >&5
29796$as_echo_n "checking whether WBMP image loader will be built... " >&6; }
29797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29798$as_echo "${have_loader}" >&6; }
29799
29800if test "x${have_loader}" = "xyes" ; then
29801 if test "x${want_loader}" = "xstatic" ; then
29802 have_evas_image_loader_wbmp="static"
29803 want_static_loader="yes"
29804 else
29805 have_evas_image_loader_wbmp="yes"
29806 fi
29807fi
29808
29809if test "x${have_loader}" = "xyes" ; then
29810
29811$as_echo "#define BUILD_LOADER_WBMP 1" >>confdefs.h
29812
29813fi
29814
29815 if test "x${have_loader}" = "xyes"; then
29816 BUILD_LOADER_WBMP_TRUE=
29817 BUILD_LOADER_WBMP_FALSE='#'
29818else
29819 BUILD_LOADER_WBMP_TRUE='#'
29820 BUILD_LOADER_WBMP_FALSE=
29821fi
29822
29823
29824if test "x${want_static_loader}" = "xyes" ; then
29825
29826$as_echo "#define EVAS_STATIC_BUILD_WBMP 1" >>confdefs.h
29827
29828 have_static_module="yes"
29829fi
29830
29831 if test "x${want_static_loader}" = "xyes"; then
29832 EVAS_STATIC_BUILD_WBMP_TRUE=
29833 EVAS_STATIC_BUILD_WBMP_FALSE='#'
29834else
29835 EVAS_STATIC_BUILD_WBMP_TRUE='#'
29836 EVAS_STATIC_BUILD_WBMP_FALSE=
29837fi
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850want_loader="${want_evas_image_loader_ico}"
29851want_static_loader="no"
29852have_loader="no"
29853have_evas_image_loader_ico="no"
29854
29855# Check whether --enable-image-loader-ico was given.
29856if test "${enable_image_loader_ico+set}" = set; then :
29857 enableval=$enable_image_loader_ico;
29858 if test "x${enableval}" = "xyes" ; then
29859 want_loader="yes"
29860 else
29861 if test "x${enableval}" = "xstatic" ; then
29862 want_loader="static"
29863 else
29864 want_loader="no"
29865 fi
29866 fi
29867
29868
29869fi
29870
29871
29872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ICO image loader" >&5
29873$as_echo_n "checking whether to enable ICO image loader... " >&6; }
29874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29875$as_echo "${want_loader}" >&6; }
29876
29877if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29878
29879
29880have_dep="yes"
29881evas_image_loader_ico_cflags=""
29882evas_image_loader_ico_libs=""
29883
29884
29885
29886
29887if test "x${have_dep}" = "xyes" ; then
29888 have_loader="yes"
29889else
29890 have_loader="no"
29891fi
29892
29893
29894fi
29895
29896if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
29897 as_fn_error $? "ICO dependencies not found (strict dependencies checking)" "$LINENO" 5
29898fi
29899
29900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ICO image loader will be built" >&5
29901$as_echo_n "checking whether ICO image loader will be built... " >&6; }
29902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
29903$as_echo "${have_loader}" >&6; }
29904
29905if test "x${have_loader}" = "xyes" ; then
29906 if test "x${want_loader}" = "xstatic" ; then
29907 have_evas_image_loader_ico="static"
29908 want_static_loader="yes"
29909 else
29910 have_evas_image_loader_ico="yes"
29911 fi
29912fi
29913
29914if test "x${have_loader}" = "xyes" ; then
29915
29916$as_echo "#define BUILD_LOADER_ICO 1" >>confdefs.h
29917
29918fi
29919
29920 if test "x${have_loader}" = "xyes"; then
29921 BUILD_LOADER_ICO_TRUE=
29922 BUILD_LOADER_ICO_FALSE='#'
29923else
29924 BUILD_LOADER_ICO_TRUE='#'
29925 BUILD_LOADER_ICO_FALSE=
29926fi
29927
29928
29929if test "x${want_static_loader}" = "xyes" ; then
29930
29931$as_echo "#define EVAS_STATIC_BUILD_ICO 1" >>confdefs.h
29932
29933 have_static_module="yes"
29934fi
29935
29936 if test "x${want_static_loader}" = "xyes"; then
29937 EVAS_STATIC_BUILD_ICO_TRUE=
29938 EVAS_STATIC_BUILD_ICO_FALSE='#'
29939else
29940 EVAS_STATIC_BUILD_ICO_TRUE='#'
29941 EVAS_STATIC_BUILD_ICO_FALSE=
29942fi
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955want_loader="${want_evas_image_loader_psd}"
29956want_static_loader="no"
29957have_loader="no"
29958have_evas_image_loader_psd="no"
29959
29960# Check whether --enable-image-loader-psd was given.
29961if test "${enable_image_loader_psd+set}" = set; then :
29962 enableval=$enable_image_loader_psd;
29963 if test "x${enableval}" = "xyes" ; then
29964 want_loader="yes"
29965 else
29966 if test "x${enableval}" = "xstatic" ; then
29967 want_loader="static"
29968 else
29969 want_loader="no"
29970 fi
29971 fi
29972
29973
29974fi
29975
29976
29977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable PSD image loader" >&5
29978$as_echo_n "checking whether to enable PSD image loader... " >&6; }
29979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
29980$as_echo "${want_loader}" >&6; }
29981
29982if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
29983
29984
29985have_dep="yes"
29986evas_image_loader_psd_cflags=""
29987evas_image_loader_psd_libs=""
29988
29989
29990
29991
29992if test "x${have_dep}" = "xyes" ; then
29993 have_loader="yes"
29994else
29995 have_loader="no"
29996fi
29997
29998
29999fi
30000
30001if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30002 as_fn_error $? "PSD dependencies not found (strict dependencies checking)" "$LINENO" 5
30003fi
30004
30005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether PSD image loader will be built" >&5
30006$as_echo_n "checking whether PSD image loader will be built... " >&6; }
30007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30008$as_echo "${have_loader}" >&6; }
30009
30010if test "x${have_loader}" = "xyes" ; then
30011 if test "x${want_loader}" = "xstatic" ; then
30012 have_evas_image_loader_psd="static"
30013 want_static_loader="yes"
30014 else
30015 have_evas_image_loader_psd="yes"
30016 fi
30017fi
30018
30019if test "x${have_loader}" = "xyes" ; then
30020
30021$as_echo "#define BUILD_LOADER_PSD 1" >>confdefs.h
30022
30023fi
30024
30025 if test "x${have_loader}" = "xyes"; then
30026 BUILD_LOADER_PSD_TRUE=
30027 BUILD_LOADER_PSD_FALSE='#'
30028else
30029 BUILD_LOADER_PSD_TRUE='#'
30030 BUILD_LOADER_PSD_FALSE=
30031fi
30032
30033
30034if test "x${want_static_loader}" = "xyes" ; then
30035
30036$as_echo "#define EVAS_STATIC_BUILD_PSD 1" >>confdefs.h
30037
30038 have_static_module="yes"
30039fi
30040
30041 if test "x${want_static_loader}" = "xyes"; then
30042 EVAS_STATIC_BUILD_PSD_TRUE=
30043 EVAS_STATIC_BUILD_PSD_FALSE='#'
30044else
30045 EVAS_STATIC_BUILD_PSD_TRUE='#'
30046 EVAS_STATIC_BUILD_PSD_FALSE=
30047fi
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060want_loader="${want_evas_image_loader_generic}"
30061want_static_loader="no"
30062have_loader="no"
30063have_evas_image_loader_generic="no"
30064
30065# Check whether --enable-image-loader-generic was given.
30066if test "${enable_image_loader_generic+set}" = set; then :
30067 enableval=$enable_image_loader_generic;
30068 if test "x${enableval}" = "xyes" ; then
30069 want_loader="yes"
30070 else
30071 if test "x${enableval}" = "xstatic" ; then
30072 want_loader="static"
30073 else
30074 want_loader="no"
30075 fi
30076 fi
30077
30078
30079fi
30080
30081
30082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable GENERIC image loader" >&5
30083$as_echo_n "checking whether to enable GENERIC image loader... " >&6; }
30084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${want_loader}" >&5
30085$as_echo "${want_loader}" >&6; }
30086
30087if test "x${want_loader}" = "xyes" -o "x${want_loader}" = "xstatic" -o "x${want_loader}" = "xauto"; then
30088
30089
30090have_dep="yes"
30091evas_image_loader_generic_cflags=""
30092evas_image_loader_generic_libs=""
30093
30094
30095
30096
30097if test "x${have_dep}" = "xyes" ; then
30098 have_loader="yes"
30099else
30100 have_loader="no"
30101fi
30102
30103
30104fi
30105
30106if test "x${have_loader}" = "xno" -a "x${want_loader}" = "xyes" -a "x${use_strict}" = "xyes" ; then
30107 as_fn_error $? "GENERIC dependencies not found (strict dependencies checking)" "$LINENO" 5
30108fi
30109
30110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GENERIC image loader will be built" >&5
30111$as_echo_n "checking whether GENERIC image loader will be built... " >&6; }
30112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${have_loader}" >&5
30113$as_echo "${have_loader}" >&6; }
30114
30115if test "x${have_loader}" = "xyes" ; then
30116 if test "x${want_loader}" = "xstatic" ; then
30117 have_evas_image_loader_generic="static"
30118 want_static_loader="yes"
30119 else
30120 have_evas_image_loader_generic="yes"
30121 fi
30122fi
30123
30124if test "x${have_loader}" = "xyes" ; then
30125
30126$as_echo "#define BUILD_LOADER_GENERIC 1" >>confdefs.h
30127
30128fi
30129
30130 if test "x${have_loader}" = "xyes"; then
30131 BUILD_LOADER_GENERIC_TRUE=
30132 BUILD_LOADER_GENERIC_FALSE='#'
30133else
30134 BUILD_LOADER_GENERIC_TRUE='#'
30135 BUILD_LOADER_GENERIC_FALSE=
30136fi
30137
30138
30139if test "x${want_static_loader}" = "xyes" ; then
30140
30141$as_echo "#define EVAS_STATIC_BUILD_GENERIC 1" >>confdefs.h
30142
30143 have_static_module="yes"
30144fi
30145
30146 if test "x${want_static_loader}" = "xyes"; then
30147 EVAS_STATIC_BUILD_GENERIC_TRUE=
30148 EVAS_STATIC_BUILD_GENERIC_FALSE='#'
30149else
30150 EVAS_STATIC_BUILD_GENERIC_TRUE='#'
30151 EVAS_STATIC_BUILD_GENERIC_FALSE=
30152fi
30153
30154
30155
30156
30157
30158
30159
30160#####################################################################
30161## Cpu based optimizations
30162
30163#######################################
30164## PTHREADS
30165pthread_cflags=""
30166pthread_libs=""
30167build_pthreads="no"
30168has_pthreads="no"
30169need_pthreads="no"
30170# basic pthread support
30171ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
30172if test "x$ac_cv_header_pthread_h" = x""yes; then :
30173
30174 has_pthreads="yes"
30175
30176else
30177
30178 has_pthreads="no"
30179
30180
30181fi
30182
30183
30184
30185# sched_getaffinity pthread_attr_setaffinity_np
30186for ac_header in pthread.h sched.h
30187do :
30188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
30189ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
30190if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
30191 cat >>confdefs.h <<_ACEOF
30192#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
30193_ACEOF
30194
30195 CFLAGS_save="${CFLAGS}"
30196 CFLAGS="${CFLAGS} -pthread"
30197 LIBS_save="${LIBS}"
30198 LIBS="${LIBS} -pthread"
30199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30200/* end confdefs.h. */
30201
30202#include <pthread.h>
30203#include <sched.h>
30204
30205int
30206main ()
30207{
30208
30209pthread_attr_setaffinity_np(NULL, 0, NULL);
30210pthread_barrier_wait(NULL);
30211
30212 ;
30213 return 0;
30214}
30215_ACEOF
30216if ac_fn_c_try_link "$LINENO"; then :
30217 build_pthreads="yes"
30218else
30219 build_pthreads="no"
30220fi
30221rm -f core conftest.err conftest.$ac_objext \
30222 conftest$ac_exeext conftest.$ac_ext
30223 CFLAGS=${CFLAGS_save}
30224 LIBS=${LIBS_save}
30225
30226else
30227 build_pthreads="no"
30228fi
30229
30230done
30231
30232
30233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported" >&5
30234$as_echo_n "checking whether pthread_attr_setaffinity_np() and pthread_barrier_wait() are supported... " >&6; }
30235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${build_pthreads}" >&5
30236$as_echo "${build_pthreads}" >&6; }
30237
30238#######################################
30239## Pthread
30240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build pthread code" >&5
30241$as_echo_n "checking whether to build pthread code... " >&6; }
30242# Check whether --enable-pthreads was given.
30243if test "${enable_pthreads+set}" = set; then :
30244 enableval=$enable_pthreads;
30245 if test "x$enableval" = "xyes" ; then
30246 if test "x$build_pthreads" = "xyes"; then
30247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30248$as_echo "yes" >&6; }
30249
30250$as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30251
30252 build_pthreads="yes"
30253 need_pthreads="yes"
30254 else
30255 if "x$use_strict" = "xyes"; then
30256 as_fn_error $? "pthreads headers or functions not found (strict dependencies checking)" "$LINENO" 5
30257 else
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no: pthread headers or functions not found" >&5
30259$as_echo "no: pthread headers or functions not found" >&6; }
30260 fi
30261 fi
30262 else
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30264$as_echo "no" >&6; }
30265 build_pthreads="no"
30266 fi
30267
30268else
30269
30270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pthreads" >&5
30271$as_echo "$build_pthreads" >&6; }
30272 if test "x$build_pthreads" = "xyes" ; then
30273
30274$as_echo "#define BUILD_PTHREAD 1" >>confdefs.h
30275
30276 need_pthreads="yes"
30277 fi
30278
30279
30280fi
30281
30282
30283#######################################
30284## Pipe Renderer
30285build_pipe_render="no"
30286
30287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Threaded Pipe Rendering support" >&5
30288$as_echo_n "checking whether to build Threaded Pipe Rendering support... " >&6; }
30289# Check whether --enable-pipe-render was given.
30290if test "${enable_pipe_render+set}" = set; then :
30291 enableval=$enable_pipe_render; build_pipe_render=$enableval
30292
30293fi
30294
30295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_pipe_render" >&5
30296$as_echo "$build_pipe_render" >&6; }
30297
30298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Threaded Pipe Rendering support" >&5
30299$as_echo_n "checking whether we can build Threaded Pipe Rendering support... " >&6; }
30300if test \( "x$build_pipe_render" = "xyes" -o "x$build_pipe_render" = "xauto" \); then
30301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30302$as_echo "yes" >&6; }
30303
30304$as_echo "#define BUILD_PIPE_RENDER 1" >>confdefs.h
30305
30306 build_pipe_render="yes"
30307 need_pthreads="yes"
30308else
30309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30310$as_echo "no" >&6; }
30311 build_pipe_render="no"
30312fi
30313
30314#######################################
30315## Async Renderer
30316build_async_render="no"
30317
30318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Asynchronously Threaded Pipe Rendering support" >&5
30319$as_echo_n "checking whether to build Asynchronously Threaded Pipe Rendering support... " >&6; }
30320# Check whether --enable-async-render was given.
30321if test "${enable_async_render+set}" = set; then :
30322 enableval=$enable_async_render; build_async_render=$enableval
30323
30324fi
30325
30326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_render" >&5
30327$as_echo "$build_async_render" >&6; }
30328
30329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Asynchronously Threaded Pipe Rendering support" >&5
30330$as_echo_n "checking whether we can build Asynchronously Threaded Pipe Rendering support... " >&6; }
30331if test \( "x$build_async_render" = "xyes" \); then
30332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30333$as_echo "yes" >&6; }
30334
30335$as_echo "#define EVAS_FRAME_QUEUING 1" >>confdefs.h
30336
30337 build_async_render="yes"
30338
30339$as_echo "#define BUILD_PIPE_RENDER 1" >>confdefs.h
30340
30341 build_pipe_render="yes"
30342 need_pthreads="yes"
30343
30344
30345pkg_failed=no
30346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
30347$as_echo_n "checking for XEXT... " >&6; }
30348
30349if test -n "$XEXT_CFLAGS"; then
30350 pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
30351 elif test -n "$PKG_CONFIG"; then
30352 if test -n "$PKG_CONFIG" && \
30353 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext < 1.1.1\""; } >&5
30354 ($PKG_CONFIG --exists --print-errors "xext < 1.1.1") 2>&5
30355 ac_status=$?
30356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30357 test $ac_status = 0; }; then
30358 pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext < 1.1.1" 2>/dev/null`
30359else
30360 pkg_failed=yes
30361fi
30362 else
30363 pkg_failed=untried
30364fi
30365if test -n "$XEXT_LIBS"; then
30366 pkg_cv_XEXT_LIBS="$XEXT_LIBS"
30367 elif test -n "$PKG_CONFIG"; then
30368 if test -n "$PKG_CONFIG" && \
30369 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext < 1.1.1\""; } >&5
30370 ($PKG_CONFIG --exists --print-errors "xext < 1.1.1") 2>&5
30371 ac_status=$?
30372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
30373 test $ac_status = 0; }; then
30374 pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xext < 1.1.1" 2>/dev/null`
30375else
30376 pkg_failed=yes
30377fi
30378 else
30379 pkg_failed=untried
30380fi
30381
30382
30383
30384if test $pkg_failed = yes; then
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30386$as_echo "no" >&6; }
30387
30388if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30389 _pkg_short_errors_supported=yes
30390else
30391 _pkg_short_errors_supported=no
30392fi
30393 if test $_pkg_short_errors_supported = yes; then
30394 XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xext < 1.1.1" 2>&1`
30395 else
30396 XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xext < 1.1.1" 2>&1`
30397 fi
30398 # Put the nasty error message in config.log where it belongs
30399 echo "$XEXT_PKG_ERRORS" >&5
30400
30401 build_avoid_libXext_bug=no
30402
30403elif test $pkg_failed = untried; then
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30405$as_echo "no" >&6; }
30406 build_avoid_libXext_bug=no
30407
30408else
30409 XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
30410 XEXT_LIBS=$pkg_cv_XEXT_LIBS
30411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30412$as_echo "yes" >&6; }
30413 build_avoid_libXext_bug=yes
30414fi
30415 if test \( "x$build_avoid_libXext_bug" = "xyes" \); then
30416
30417$as_echo "#define LIBXEXT_VERSION_LOW 1" >>confdefs.h
30418
30419 fi
30420else
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30422$as_echo "no" >&6; }
30423 build_async_render="no"
30424fi
30425
30426#######################################
30427## Async events
30428build_async_events="auto"
30429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Events support" >&5
30430$as_echo_n "checking whether to build Async Events support... " >&6; }
30431# Check whether --enable-async-events was given.
30432if test "${enable_async_events+set}" = set; then :
30433 enableval=$enable_async_events; build_async_events=$enableval
30434
30435fi
30436
30437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_events" >&5
30438$as_echo "$build_async_events" >&6; }
30439
30440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Events support" >&5
30441$as_echo_n "checking whether we can build Async Events support... " >&6; }
30442if test "x$build_async_events" = "xyes" || test "x$build_async_events" = "xauto" ; then
30443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30444$as_echo "yes" >&6; }
30445
30446$as_echo "#define BUILD_ASYNC_EVENTS 1" >>confdefs.h
30447
30448 build_async_events="yes"
30449else
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30451$as_echo "no" >&6; }
30452 build_async_events="no"
30453fi
30454
30455#######################################
30456## Async image preload
30457build_async_preload="auto"
30458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Async Image Preload support" >&5
30459$as_echo_n "checking whether to build Async Image Preload support... " >&6; }
30460# Check whether --enable-async-preload was given.
30461if test "${enable_async_preload+set}" = set; then :
30462 enableval=$enable_async_preload; build_async_preload=$enableval
30463
30464fi
30465
30466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_async_preload" >&5
30467$as_echo "$build_async_preload" >&6; }
30468
30469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build Async Image Preload support" >&5
30470$as_echo_n "checking whether we can build Async Image Preload support... " >&6; }
30471if test \( "x$build_async_preload" = "xyes" -o "x$build_async_preload" = "xauto" \) -a "x$build_async_events" = "xyes"; then
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30473$as_echo "yes" >&6; }
30474
30475$as_echo "#define BUILD_ASYNC_PRELOAD 1" >>confdefs.h
30476
30477 build_async_preload="yes"
30478 need_pthreads="yes"
30479else
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30481$as_echo "no" >&6; }
30482 build_async_preload="no"
30483fi
30484
30485#######################################
30486## Link with pthread if needed
30487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should link with pthread" >&5
30488$as_echo_n "checking whether we should link with pthread... " >&6; }
30489if test "x$need_pthreads" = "xyes"; then
30490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30491$as_echo "yes" >&6; }
30492 pthread_cflags="-pthread"
30493 pthread_libs="-pthread"
30494else
30495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30496$as_echo "no" >&6; }
30497fi
30498
30499#######################################
30500## MMX
30501build_cpu_mmx="no"
30502case $host_cpu in
30503 i*86)
30504 build_cpu_mmx="yes"
30505 ;;
30506 x86_64)
30507 build_cpu_mmx="yes"
30508 ;;
30509 amd64)
30510 build_cpu_mmx="yes"
30511 ;;
30512esac
30513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build mmx code" >&5
30514$as_echo_n "checking whether to build mmx code... " >&6; }
30515# Check whether --enable-cpu-mmx was given.
30516if test "${enable_cpu_mmx+set}" = set; then :
30517 enableval=$enable_cpu_mmx;
30518 if test "x$enableval" = "xyes" ; then
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30520$as_echo "yes" >&6; }
30521
30522$as_echo "#define BUILD_MMX 1" >>confdefs.h
30523
30524 build_cpu_mmx="yes"
30525 else
30526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30527$as_echo "no" >&6; }
30528 build_cpu_mmx="no"
30529 fi
30530
30531else
30532
30533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_mmx" >&5
30534$as_echo "$build_cpu_mmx" >&6; }
30535 if test "x$build_cpu_mmx" = "xyes" ; then
30536
30537$as_echo "#define BUILD_MMX 1" >>confdefs.h
30538
30539 fi
30540
30541
30542fi
30543
30544
30545#######################################
30546## SSE
30547build_cpu_sse="no"
30548case $host_cpu in
30549 i*86)
30550 build_cpu_sse="yes"
30551 ;;
30552 x86_64)
30553 build_cpu_sse="yes"
30554 ;;
30555 amd64)
30556 build_cpu_sse="yes"
30557 ;;
30558esac
30559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse code" >&5
30560$as_echo_n "checking whether to build sse code... " >&6; }
30561# Check whether --enable-cpu-sse was given.
30562if test "${enable_cpu_sse+set}" = set; then :
30563 enableval=$enable_cpu_sse;
30564 if test "x$enableval" = "xyes" ; then
30565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30566$as_echo "yes" >&6; }
30567
30568$as_echo "#define BUILD_SSE 1" >>confdefs.h
30569
30570 build_cpu_sse="yes"
30571 else
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30573$as_echo "no" >&6; }
30574 build_cpu_sse="no"
30575 fi
30576
30577else
30578
30579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse" >&5
30580$as_echo "$build_cpu_sse" >&6; }
30581 if test "x$build_cpu_sse" = "xyes" ; then
30582
30583$as_echo "#define BUILD_SSE 1" >>confdefs.h
30584
30585 fi
30586
30587
30588fi
30589
30590
30591#######################################
30592## SSE3
30593build_cpu_sse3="no"
30594case $host_cpu in
30595 i*86)
30596 build_cpu_sse3="yes"
30597 ;;
30598 x86_64)
30599 build_cpu_sse3="yes"
30600 ;;
30601 amd64)
30602 build_cpu_sse3="yes"
30603 ;;
30604esac
30605{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sse3 code" >&5
30606$as_echo_n "checking whether to build sse3 code... " >&6; }
30607# Check whether --enable-cpu-sse3 was given.
30608if test "${enable_cpu_sse3+set}" = set; then :
30609 enableval=$enable_cpu_sse3;
30610 if test "x$enableval" = "xyes" ; then
30611 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
30612if test "x$ac_cv_header_immintrin_h" = x""yes; then :
30613
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30615$as_echo "yes" >&6; }
30616
30617$as_echo "#define BUILD_SSE3 1" >>confdefs.h
30618
30619 build_cpu_sse3="yes"
30620
30621else
30622
30623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30624$as_echo "no" >&6; }
30625 build_cpu_sse3="no"
30626
30627fi
30628
30629
30630 else
30631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30632$as_echo "no" >&6; }
30633 build_cpu_sse3="no"
30634 fi
30635
30636else
30637
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_sse3" >&5
30639$as_echo "$build_cpu_sse3" >&6; }
30640 if test "x$build_cpu_sse3" = "xyes" ; then
30641 ac_fn_c_check_header_mongrel "$LINENO" "immintrin.h" "ac_cv_header_immintrin_h" "$ac_includes_default"
30642if test "x$ac_cv_header_immintrin_h" = x""yes; then :
30643
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30645$as_echo "yes" >&6; }
30646
30647$as_echo "#define BUILD_SSE3 1" >>confdefs.h
30648
30649 build_cpu_sse3="yes"
30650
30651else
30652
30653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30654$as_echo "no" >&6; }
30655 build_cpu_sse3="no"
30656
30657fi
30658
30659
30660 fi
30661
30662
30663fi
30664
30665
30666
30667# as a big warning flag to anyone doing stuff like this...
30668# NEVER EVER EVER EVER put **OPTIMIZATION** flags in
30669# build flags in makefiles (from configure or anywhere else)
30670# EVER as this screws your ability to build 1 binary and
30671# cover ALL x86 arch's. This is the HEIGHT of WRONG. If the
30672# person building choses to add optimization flags themselves
30673# and decide the minimum baseline cpu arch is X then that's
30674# their business, but NEVER should it be done here. NEVER.
30675# I now have to do this due to the way this sse3 code was done - using
30676# intrinsics and "functions" (opcodes) and types that only compile *IF*
30677# you compile with -msse3. this ALSO tries to optimize REGULAR c code
30678# with sse3 asm.. and this breaks things so badly. so... sse3 will be
30679# off until further notice for 32bit x86.
30680EVAS_SSE3_CFLAGS=" "
30681if test "x$build_cpu_sse3" = "xyes" ; then
30682 EVAS_SSE3_CFLAGS="-msse3 "
30683# CFLAGS="${CFLAGS} ${EVAS_SSE3_CFLAGS}"
30684fi
30685
30686
30687
30688
30689#######################################
30690## ALTIVEC
30691build_cpu_altivec="no"
30692case $host_cpu in
30693 *power* | *ppc*)
30694 build_cpu_altivec="auto"
30695 ;;
30696esac
30697altivec_cflags=""
30698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build altivec code" >&5
30699$as_echo_n "checking whether to build altivec code... " >&6; }
30700# Check whether --enable-cpu-altivec was given.
30701if test "${enable_cpu_altivec+set}" = set; then :
30702 enableval=$enable_cpu_altivec; build_cpu_altivec=$enableval
30703else
30704
30705 if test ! "x$build_cpu_altivec" = "xauto"; then
30706 build_cpu_altivec="no"
30707 fi
30708
30709
30710fi
30711
30712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_altivec" >&5
30713$as_echo "$build_cpu_altivec" >&6; }
30714
30715if test "x$build_cpu_altivec" = "xyes"; then
30716 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
30717if test "x$ac_cv_header_altivec_h" = x""yes; then :
30718
30719
30720$as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30721
30722
30723$as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
30724
30725 build_cpu_altivec="yes"
30726
30727else
30728
30729 save_CFLAGS=$CFLAGS
30730 save_CPPFLAGS=$CPPFLAGS
30731 CFLAGS=$CFLAGS" -maltivec"
30732 CPPFLAGS=$CPPFLAGS" -maltivec"
30733 unset ac_cv_header_altivec_h
30734 ac_fn_c_check_header_mongrel "$LINENO" "altivec.h" "ac_cv_header_altivec_h" "$ac_includes_default"
30735if test "x$ac_cv_header_altivec_h" = x""yes; then :
30736
30737
30738$as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30739
30740
30741$as_echo "#define HAVE_ALTIVEC_H 1" >>confdefs.h
30742
30743 build_cpu_altivec="yes"
30744
30745else
30746
30747 if test "x$build_cpu_altivec" = "xyes" -a "x$use_strict" = "xyes" ; then
30748 as_fn_error $? "Altivec not found (strict dependencies checking)" "$LINENO" 5
30749 fi
30750 build_cpu_altivec="no"
30751
30752
30753fi
30754
30755
30756 CFLAGS=$save_CFLAGS
30757 CPPFLAGS=$save_CPPFLAGS
30758
30759
30760fi
30761
30762
30763fi
30764
30765if test "x$build_cpu_altivec" = "xyes"; then
30766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use altivec compiler flag" >&5
30767$as_echo_n "checking whether to use altivec compiler flag... " >&6; }
30768 if test "x$GCC" = "xyes"; then
30769 if echo "int main(){return 0;}" | ${CPP} -faltivec - > /dev/null 2>&1; then
30770 altivec_cflags="-faltivec"
30771
30772$as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30773
30774 elif echo "int main(){return 0;}" | ${CPP} -maltivec - > /dev/null 2>&1; then
30775 altivec_cflags="-maltivec"
30776
30777$as_echo "#define BUILD_ALTIVEC 1" >>confdefs.h
30778
30779 fi
30780 fi
30781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $altivec_cflags" >&5
30782$as_echo "$altivec_cflags" >&6; }
30783 CFLAGS="$CFLAGS $altivec_cflags"
30784fi
30785
30786#######################################
30787## NEON
30788build_cpu_neon="no"
30789case $host_cpu in
30790 arm*)
30791 build_cpu_neon="yes"
30792 ;;
30793esac
30794{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build neon code" >&5
30795$as_echo_n "checking whether to build neon code... " >&6; }
30796# Check whether --enable-cpu-neon was given.
30797if test "${enable_cpu_neon+set}" = set; then :
30798 enableval=$enable_cpu_neon;
30799 if test "x$enableval" = "xyes" ; then
30800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30801/* end confdefs.h. */
30802
30803int
30804main ()
30805{
30806asm volatile (".fpu neon\nvqadd.u8 d0, d1, d0\n")
30807 ;
30808 return 0;
30809}
30810_ACEOF
30811if ac_fn_c_try_compile "$LINENO"; then :
30812
30813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30814$as_echo "yes" >&6; }
30815
30816$as_echo "#define BUILD_NEON 1" >>confdefs.h
30817
30818 build_cpu_neon="yes"
30819
30820else
30821
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30823$as_echo "no" >&6; }
30824 build_cpu_neon="no"
30825
30826fi
30827rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30828 else
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30830$as_echo "no" >&6; }
30831 build_cpu_neon="no"
30832 fi
30833
30834else
30835
30836 if test "x$build_cpu_neon" = "xyes" ; then
30837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30838/* end confdefs.h. */
30839#include <arm_neon.h>
30840int
30841main ()
30842{
30843asm volatile ("vqadd.u8 d0, d1, d0\n")
30844 ;
30845 return 0;
30846}
30847_ACEOF
30848if ac_fn_c_try_compile "$LINENO"; then :
30849
30850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30851$as_echo "yes" >&6; }
30852
30853$as_echo "#define BUILD_NEON 1" >>confdefs.h
30854
30855 build_cpu_neon="yes"
30856
30857else
30858
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30860$as_echo "no" >&6; }
30861 build_cpu_neon="no"
30862
30863fi
30864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30865 fi
30866
30867
30868fi
30869
30870
30871#######################################
30872## C
30873build_cpu_c="yes"
30874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build c code" >&5
30875$as_echo_n "checking whether to build c code... " >&6; }
30876# Check whether --enable-cpu-c was given.
30877if test "${enable_cpu_c+set}" = set; then :
30878 enableval=$enable_cpu_c;
30879 if test "x$enableval" = "xyes" ; then
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
30881$as_echo "yes" >&6; }
30882
30883$as_echo "#define BUILD_C 1" >>confdefs.h
30884
30885 build_cpu_c="yes"
30886 else
30887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30888$as_echo "no" >&6; }
30889 build_cpu_c="no"
30890 fi
30891
30892else
30893
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_cpu_c" >&5
30895$as_echo "$build_cpu_c" >&6; }
30896 if test "x$build_cpu_c" = "xyes" ; then
30897
30898$as_echo "#define BUILD_C 1" >>confdefs.h
30899
30900 fi
30901
30902
30903fi
30904
30905
30906#######################################
30907## MAGIC_DEBUG
30908want_evas_magic_debug="yes"
30909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to check magic for evas object" >&5
30910$as_echo_n "checking whether to check magic for evas object... " >&6; }
30911# Check whether --enable-evas-magic-debug was given.
30912if test "${enable_evas_magic_debug+set}" = set; then :
30913 enableval=$enable_evas_magic_debug; want_evas_magic_debug="$enableval"
30914
30915fi
30916
30917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_evas_magic_debug" >&5
30918$as_echo "$want_evas_magic_debug" >&6; }
30919
30920 if test "x$want_evas_magic_debug" = "xyes"; then
30921 EVAS_MAGIC_DEBUG_TRUE=
30922 EVAS_MAGIC_DEBUG_FALSE='#'
30923else
30924 EVAS_MAGIC_DEBUG_TRUE='#'
30925 EVAS_MAGIC_DEBUG_FALSE=
30926fi
30927
30928if test "x$want_evas_magic_debug" = "xyes"; then
30929
30930$as_echo "#define EVAS_MAGIC_DEBUG 1" >>confdefs.h
30931
30932fi
30933
30934
30935#######################################
30936## Word Caching
30937want_word_cache="no"
30938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable caching of rendered words" >&5
30939$as_echo_n "checking whether to enable caching of rendered words... " >&6; }
30940# Check whether --enable-word-cache was given.
30941if test "${enable_word_cache+set}" = set; then :
30942 enableval=$enable_word_cache; want_word_cache="$enableval"
30943
30944fi
30945
30946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_word_cache" >&5
30947$as_echo "$want_word_cache" >&6; }
30948
30949 if test "x$want_word_cache" = "xyes"; then
30950 WORD_CACHE_TRUE=
30951 WORD_CACHE_FALSE='#'
30952else
30953 WORD_CACHE_TRUE='#'
30954 WORD_CACHE_FALSE=
30955fi
30956
30957if test "x$want_word_cache" = "xyes"; then
30958
30959$as_echo "#define WORD_CACHE 1" >>confdefs.h
30960
30961fi
30962
30963#######################################
30964## Metric Caching
30965want_metric_cache="no"
30966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable caching of rendered metrics" >&5
30967$as_echo_n "checking whether to enable caching of rendered metrics... " >&6; }
30968# Check whether --enable-metric-cache was given.
30969if test "${enable_metric_cache+set}" = set; then :
30970 enableval=$enable_metric_cache; want_metric_cache="$enableval"
30971
30972fi
30973
30974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_metric_cache" >&5
30975$as_echo "$want_metric_cache" >&6; }
30976
30977 if test "x$want_metric_cache" = "xyes"; then
30978 METRIC_CACHE_TRUE=
30979 METRIC_CACHE_FALSE='#'
30980else
30981 METRIC_CACHE_TRUE='#'
30982 METRIC_CACHE_FALSE=
30983fi
30984
30985if test "x$want_metric_cache" = "xyes"; then
30986
30987$as_echo "#define METRIC_CACHE 1" >>confdefs.h
30988
30989fi
30990
30991
30992
30993#####################################################################
30994## ARGB engine options
30995
30996#######################################
30997## Nearest sampling scaler
30998
30999
31000# Check whether --enable-scale-sample was given.
31001if test "${enable_scale_sample+set}" = set; then :
31002 enableval=$enable_scale_sample;
31003 if test "x${enableval}" = "xyes" ; then
31004 _efl_enable_scaler_option_scale_sample="yes"
31005 else
31006 _efl_enable_scaler_option_scale_sample="no"
31007 fi
31008
31009else
31010 _efl_enable_scaler_option_scale_sample="yes"
31011fi
31012
31013
31014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build sampling scaler" >&5
31015$as_echo_n "checking whether to build sampling scaler... " >&6; }
31016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_sample}" >&5
31017$as_echo "${_efl_enable_scaler_option_scale_sample}" >&6; }
31018
31019if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31020
31021$as_echo "#define BUILD_SCALE_SAMPLE 1" >>confdefs.h
31022
31023fi
31024
31025if test "x${_efl_enable_scaler_option_scale_sample}" = "xyes" ; then
31026 scaler_sample="yes"
31027else
31028 scaler_sample="no"
31029fi
31030
31031
31032
31033
31034## Smooth super and sub sampling scaler
31035
31036
31037# Check whether --enable-scale-smooth was given.
31038if test "${enable_scale_smooth+set}" = set; then :
31039 enableval=$enable_scale_smooth;
31040 if test "x${enableval}" = "xyes" ; then
31041 _efl_enable_scaler_option_scale_smooth="yes"
31042 else
31043 _efl_enable_scaler_option_scale_smooth="no"
31044 fi
31045
31046else
31047 _efl_enable_scaler_option_scale_smooth="yes"
31048fi
31049
31050
31051{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build smooth scaler" >&5
31052$as_echo_n "checking whether to build smooth scaler... " >&6; }
31053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_scaler_option_scale_smooth}" >&5
31054$as_echo "${_efl_enable_scaler_option_scale_smooth}" >&6; }
31055
31056if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31057
31058$as_echo "#define BUILD_SCALE_SMOOTH 1" >>confdefs.h
31059
31060fi
31061
31062if test "x${_efl_enable_scaler_option_scale_smooth}" = "xyes" ; then
31063 scaler_smooth="yes"
31064else
31065 scaler_smooth="no"
31066fi
31067
31068
31069
31070
31071
31072#######################################
31073## YUV -> ARGB converter
31074conv_yuv="no"
31075conv_yuv="yes"
31076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build yuv converter code" >&5
31077$as_echo_n "checking whether to build yuv converter code... " >&6; }
31078# Check whether --enable-convert-yuv was given.
31079if test "${enable_convert_yuv+set}" = set; then :
31080 enableval=$enable_convert_yuv;
31081 if test "x$enableval" = "xyes" ; then
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
31083$as_echo "yes" >&6; }
31084
31085$as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31086
31087 conv_yuv="yes"
31088 else
31089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
31090$as_echo "no" >&6; }
31091 conv_yuv="no"
31092 fi
31093
31094else
31095
31096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_yuv" >&5
31097$as_echo "$conv_yuv" >&6; }
31098 if test "x$conv_yuv" = "xyes" ; then
31099
31100$as_echo "#define BUILD_CONVERT_YUV 1" >>confdefs.h
31101
31102 fi
31103
31104
31105fi
31106
31107
31108#####################################################################
31109## Output rendering features
31110
31111#######################################
31112## Small dither mask instead of big one (lower quality)
31113
31114
31115# Check whether --enable-small-dither-mask was given.
31116if test "${enable_small_dither_mask+set}" = set; then :
31117 enableval=$enable_small_dither_mask;
31118 if test "x${enableval}" = "xyes" ; then
31119 _efl_enable_dither_option_small_dither_mask="yes"
31120 else
31121 _efl_enable_dither_option_small_dither_mask="no"
31122 fi
31123
31124else
31125 _efl_enable_dither_option_small_dither_mask="no"
31126fi
31127
31128
31129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build small dither mask" >&5
31130$as_echo_n "checking whether to build small dither mask... " >&6; }
31131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_small_dither_mask}" >&5
31132$as_echo "${_efl_enable_dither_option_small_dither_mask}" >&6; }
31133
31134if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31135
31136$as_echo "#define BUILD_SMALL_DITHER_MASK 1" >>confdefs.h
31137
31138fi
31139
31140if test "x${_efl_enable_dither_option_small_dither_mask}" = "xyes" ; then
31141 conv_small_dither="yes"
31142else
31143 conv_small_dither="no"
31144fi
31145
31146
31147
31148
31149## Alternate Line dither mask instead of big one (lower quality - but fastest)
31150
31151
31152# Check whether --enable-line-dither-mask was given.
31153if test "${enable_line_dither_mask+set}" = set; then :
31154 enableval=$enable_line_dither_mask;
31155 if test "x${enableval}" = "xyes" ; then
31156 _efl_enable_dither_option_line_dither_mask="yes"
31157 else
31158 _efl_enable_dither_option_line_dither_mask="no"
31159 fi
31160
31161else
31162 _efl_enable_dither_option_line_dither_mask="no"
31163fi
31164
31165
31166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build line dither mask" >&5
31167$as_echo_n "checking whether to build line dither mask... " >&6; }
31168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_line_dither_mask}" >&5
31169$as_echo "${_efl_enable_dither_option_line_dither_mask}" >&6; }
31170
31171if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31172
31173$as_echo "#define BUILD_LINE_DITHER_MASK 1" >>confdefs.h
31174
31175fi
31176
31177if test "x${_efl_enable_dither_option_line_dither_mask}" = "xyes" ; then
31178 conv_line_dither="yes"
31179else
31180 conv_line_dither="no"
31181fi
31182
31183
31184
31185
31186## No dither mask at all for 16bpp
31187
31188
31189# Check whether --enable-no-dither-mask was given.
31190if test "${enable_no_dither_mask+set}" = set; then :
31191 enableval=$enable_no_dither_mask;
31192 if test "x${enableval}" = "xyes" ; then
31193 _efl_enable_dither_option_no_dither_mask="yes"
31194 else
31195 _efl_enable_dither_option_no_dither_mask="no"
31196 fi
31197
31198else
31199 _efl_enable_dither_option_no_dither_mask="no"
31200fi
31201
31202
31203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build conversion to 16bpp without dither mask" >&5
31204$as_echo_n "checking whether to build conversion to 16bpp without dither mask... " >&6; }
31205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_dither_option_no_dither_mask}" >&5
31206$as_echo "${_efl_enable_dither_option_no_dither_mask}" >&6; }
31207
31208if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31209
31210$as_echo "#define BUILD_NO_DITHER_MASK 1" >>confdefs.h
31211
31212fi
31213
31214if test "x${_efl_enable_dither_option_no_dither_mask}" = "xyes" ; then
31215 conv_no_dither="yes"
31216else
31217 conv_no_dither="no"
31218fi
31219
31220
31221
31222
31223
31224#######################################
31225## Convert to 8bpp RGB 332
31226
31227
31228conv_8_rgb_332="no"
31229
31230
31231 # Check whether --enable-convert-8-rgb-332 was given.
31232if test "${enable_convert_8_rgb_332+set}" = set; then :
31233 enableval=$enable_convert_8_rgb_332; conv_8_rgb_332=$enableval
31234else
31235 conv_8_rgb_332=yes
31236
31237fi
31238
31239
31240
31241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 332 converter code" >&5
31242$as_echo_n "checking whether to build 8bpp RGB 332 converter code... " >&6; }
31243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_332" >&5
31244$as_echo "$conv_8_rgb_332" >&6; }
31245
31246if test "x$conv_8_rgb_332" = "xyes" ; then
31247
31248$as_echo "#define BUILD_CONVERT_8_RGB_332 1" >>confdefs.h
31249
31250fi
31251
31252
31253
31254
31255
31256## Convert to 8bpp RGB 666
31257
31258
31259conv_8_rgb_666="no"
31260
31261
31262 # Check whether --enable-convert-8-rgb-666 was given.
31263if test "${enable_convert_8_rgb_666+set}" = set; then :
31264 enableval=$enable_convert_8_rgb_666; conv_8_rgb_666=$enableval
31265else
31266 conv_8_rgb_666=yes
31267
31268fi
31269
31270
31271
31272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 666 converter code" >&5
31273$as_echo_n "checking whether to build 8bpp RGB 666 converter code... " >&6; }
31274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_666" >&5
31275$as_echo "$conv_8_rgb_666" >&6; }
31276
31277if test "x$conv_8_rgb_666" = "xyes" ; then
31278
31279$as_echo "#define BUILD_CONVERT_8_RGB_666 1" >>confdefs.h
31280
31281fi
31282
31283
31284
31285
31286
31287## Convert to 8bpp RGB 232
31288
31289
31290conv_8_rgb_232="no"
31291
31292
31293 # Check whether --enable-convert-8-rgb-232 was given.
31294if test "${enable_convert_8_rgb_232+set}" = set; then :
31295 enableval=$enable_convert_8_rgb_232; conv_8_rgb_232=$enableval
31296else
31297 conv_8_rgb_232=yes
31298
31299fi
31300
31301
31302
31303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 232 converter code" >&5
31304$as_echo_n "checking whether to build 8bpp RGB 232 converter code... " >&6; }
31305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_232" >&5
31306$as_echo "$conv_8_rgb_232" >&6; }
31307
31308if test "x$conv_8_rgb_232" = "xyes" ; then
31309
31310$as_echo "#define BUILD_CONVERT_8_RGB_232 1" >>confdefs.h
31311
31312fi
31313
31314
31315
31316
31317
31318## Convert to 8bpp RGB 222
31319
31320
31321conv_8_rgb_222="no"
31322
31323
31324 # Check whether --enable-convert-8-rgb-222 was given.
31325if test "${enable_convert_8_rgb_222+set}" = set; then :
31326 enableval=$enable_convert_8_rgb_222; conv_8_rgb_222=$enableval
31327else
31328 conv_8_rgb_222=yes
31329
31330fi
31331
31332
31333
31334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 222 converter code" >&5
31335$as_echo_n "checking whether to build 8bpp RGB 222 converter code... " >&6; }
31336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_222" >&5
31337$as_echo "$conv_8_rgb_222" >&6; }
31338
31339if test "x$conv_8_rgb_222" = "xyes" ; then
31340
31341$as_echo "#define BUILD_CONVERT_8_RGB_222 1" >>confdefs.h
31342
31343fi
31344
31345
31346
31347
31348
31349## Convert to 8bpp RGB 221
31350
31351
31352conv_8_rgb_221="no"
31353
31354
31355 # Check whether --enable-convert-8-rgb-221 was given.
31356if test "${enable_convert_8_rgb_221+set}" = set; then :
31357 enableval=$enable_convert_8_rgb_221; conv_8_rgb_221=$enableval
31358else
31359 conv_8_rgb_221=yes
31360
31361fi
31362
31363
31364
31365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 221 converter code" >&5
31366$as_echo_n "checking whether to build 8bpp RGB 221 converter code... " >&6; }
31367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_221" >&5
31368$as_echo "$conv_8_rgb_221" >&6; }
31369
31370if test "x$conv_8_rgb_221" = "xyes" ; then
31371
31372$as_echo "#define BUILD_CONVERT_8_RGB_221 1" >>confdefs.h
31373
31374fi
31375
31376
31377
31378
31379
31380## Convert to 8bpp RGB 121
31381
31382
31383conv_8_rgb_121="no"
31384
31385
31386 # Check whether --enable-convert-8-rgb-121 was given.
31387if test "${enable_convert_8_rgb_121+set}" = set; then :
31388 enableval=$enable_convert_8_rgb_121; conv_8_rgb_121=$enableval
31389else
31390 conv_8_rgb_121=yes
31391
31392fi
31393
31394
31395
31396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 121 converter code" >&5
31397$as_echo_n "checking whether to build 8bpp RGB 121 converter code... " >&6; }
31398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_121" >&5
31399$as_echo "$conv_8_rgb_121" >&6; }
31400
31401if test "x$conv_8_rgb_121" = "xyes" ; then
31402
31403$as_echo "#define BUILD_CONVERT_8_RGB_121 1" >>confdefs.h
31404
31405fi
31406
31407
31408
31409
31410
31411## Convert to 8bpp RGB 111
31412
31413
31414conv_8_rgb_111="no"
31415
31416
31417 # Check whether --enable-convert-8-rgb-111 was given.
31418if test "${enable_convert_8_rgb_111+set}" = set; then :
31419 enableval=$enable_convert_8_rgb_111; conv_8_rgb_111=$enableval
31420else
31421 conv_8_rgb_111=yes
31422
31423fi
31424
31425
31426
31427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp RGB 111 converter code" >&5
31428$as_echo_n "checking whether to build 8bpp RGB 111 converter code... " >&6; }
31429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_rgb_111" >&5
31430$as_echo "$conv_8_rgb_111" >&6; }
31431
31432if test "x$conv_8_rgb_111" = "xyes" ; then
31433
31434$as_echo "#define BUILD_CONVERT_8_RGB_111 1" >>confdefs.h
31435
31436fi
31437
31438
31439
31440
31441
31442## Convert to 16bpp RGB 565
31443
31444
31445conv_16_rgb_565="no"
31446
31447
31448 # Check whether --enable-convert-16-rgb-565 was given.
31449if test "${enable_convert_16_rgb_565+set}" = set; then :
31450 enableval=$enable_convert_16_rgb_565; conv_16_rgb_565=$enableval
31451else
31452 conv_16_rgb_565=yes
31453
31454fi
31455
31456
31457
31458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 565 converter code" >&5
31459$as_echo_n "checking whether to build 16bpp RGB 565 converter code... " >&6; }
31460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_565" >&5
31461$as_echo "$conv_16_rgb_565" >&6; }
31462
31463if test "x$conv_16_rgb_565" = "xyes" ; then
31464
31465$as_echo "#define BUILD_CONVERT_16_RGB_565 1" >>confdefs.h
31466
31467fi
31468
31469
31470
31471
31472
31473## Convert to 16bpp BGR 565
31474
31475
31476conv_16_bgr_565="no"
31477
31478
31479 # Check whether --enable-convert-16-bgr-565 was given.
31480if test "${enable_convert_16_bgr_565+set}" = set; then :
31481 enableval=$enable_convert_16_bgr_565; conv_16_bgr_565=$enableval
31482else
31483 conv_16_bgr_565=yes
31484
31485fi
31486
31487
31488
31489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp BGR 565 converter code" >&5
31490$as_echo_n "checking whether to build 16bpp BGR 565 converter code... " >&6; }
31491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_bgr_565" >&5
31492$as_echo "$conv_16_bgr_565" >&6; }
31493
31494if test "x$conv_16_bgr_565" = "xyes" ; then
31495
31496$as_echo "#define BUILD_CONVERT_16_BGR_565 1" >>confdefs.h
31497
31498fi
31499
31500
31501
31502
31503
31504## Convert to 16bpp RGB 555
31505
31506
31507conv_16_rgb_555="no"
31508
31509
31510 # Check whether --enable-convert-16-rgb-555 was given.
31511if test "${enable_convert_16_rgb_555+set}" = set; then :
31512 enableval=$enable_convert_16_rgb_555; conv_16_rgb_555=$enableval
31513else
31514 conv_16_rgb_555=yes
31515
31516fi
31517
31518
31519
31520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 555 converter code" >&5
31521$as_echo_n "checking whether to build 16bpp RGB 555 converter code... " >&6; }
31522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_555" >&5
31523$as_echo "$conv_16_rgb_555" >&6; }
31524
31525if test "x$conv_16_rgb_555" = "xyes" ; then
31526
31527$as_echo "#define BUILD_CONVERT_16_RGB_555 1" >>confdefs.h
31528
31529fi
31530
31531
31532
31533
31534
31535## Convert to 16bpp RGB 444
31536
31537
31538conv_16_rgb_444="no"
31539
31540
31541 # Check whether --enable-convert-16-rgb-444 was given.
31542if test "${enable_convert_16_rgb_444+set}" = set; then :
31543 enableval=$enable_convert_16_rgb_444; conv_16_rgb_444=$enableval
31544else
31545 conv_16_rgb_444=yes
31546
31547fi
31548
31549
31550
31551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB 444 converter code" >&5
31552$as_echo_n "checking whether to build 16bpp RGB 444 converter code... " >&6; }
31553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_444" >&5
31554$as_echo "$conv_16_rgb_444" >&6; }
31555
31556if test "x$conv_16_rgb_444" = "xyes" ; then
31557
31558$as_echo "#define BUILD_CONVERT_16_RGB_444 1" >>confdefs.h
31559
31560fi
31561
31562
31563
31564
31565
31566
31567#######################################
31568## Convert to 16bpp RGB 565 (444 ipaq)
31569conv_16_rgb_ipq="yes"
31570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp 565 (444 ipaq) converter code" >&5
31571$as_echo_n "checking whether to build 16bpp 565 (444 ipaq) converter code... " >&6; }
31572# Check whether --enable-convert-16-rgb-ipq was given.
31573if test "${enable_convert_16_rgb_ipq+set}" = set; then :
31574 enableval=$enable_convert_16_rgb_ipq;
31575 if test "x$enableval" = "xyes" ; then
31576
31577$as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
31578
31579 conv_16_rgb_ipq="yes"
31580 else
31581 conv_16_rgb_ipq="no"
31582 fi
31583
31584else
31585
31586 if test "x$conv_16_rgb_ipq" = "xyes" ; then
31587
31588$as_echo "#define BUILD_CONVERT_16_RGB_454645 1" >>confdefs.h
31589
31590 fi
31591
31592
31593fi
31594
31595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_ipq" >&5
31596$as_echo "$conv_16_rgb_ipq" >&6; }
31597
31598#######################################
31599## Convert to 16bpp RGB with rotation of 0
31600
31601
31602conv_16_rgb_rot_0="no"
31603
31604
31605 # Check whether --enable-convert-16-rgb-rot-0 was given.
31606if test "${enable_convert_16_rgb_rot_0+set}" = set; then :
31607 enableval=$enable_convert_16_rgb_rot_0; conv_16_rgb_rot_0=$enableval
31608else
31609 conv_16_rgb_rot_0=yes
31610
31611fi
31612
31613
31614
31615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 0 converter code" >&5
31616$as_echo_n "checking whether to build 16bpp RGB rotation 0 converter code... " >&6; }
31617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_0" >&5
31618$as_echo "$conv_16_rgb_rot_0" >&6; }
31619
31620if test "x$conv_16_rgb_rot_0" = "xyes" ; then
31621
31622$as_echo "#define BUILD_CONVERT_16_RGB_ROT0 1" >>confdefs.h
31623
31624fi
31625
31626
31627
31628
31629
31630## Convert to 16bpp RGB with rotation of 180
31631
31632
31633conv_16_rgb_rot_180="no"
31634
31635
31636 # Check whether --enable-convert-16-rgb-rot-180 was given.
31637if test "${enable_convert_16_rgb_rot_180+set}" = set; then :
31638 enableval=$enable_convert_16_rgb_rot_180; conv_16_rgb_rot_180=$enableval
31639else
31640 conv_16_rgb_rot_180=yes
31641
31642fi
31643
31644
31645
31646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 180 converter code" >&5
31647$as_echo_n "checking whether to build 16bpp RGB rotation 180 converter code... " >&6; }
31648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_180" >&5
31649$as_echo "$conv_16_rgb_rot_180" >&6; }
31650
31651if test "x$conv_16_rgb_rot_180" = "xyes" ; then
31652
31653$as_echo "#define BUILD_CONVERT_16_RGB_ROT180 1" >>confdefs.h
31654
31655fi
31656
31657
31658
31659
31660
31661## Convert to 16bpp RGB with rotation of 270
31662
31663
31664conv_16_rgb_rot_270="no"
31665
31666
31667 # Check whether --enable-convert-16-rgb-rot-270 was given.
31668if test "${enable_convert_16_rgb_rot_270+set}" = set; then :
31669 enableval=$enable_convert_16_rgb_rot_270; conv_16_rgb_rot_270=$enableval
31670else
31671 conv_16_rgb_rot_270=yes
31672
31673fi
31674
31675
31676
31677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 270 converter code" >&5
31678$as_echo_n "checking whether to build 16bpp RGB rotation 270 converter code... " >&6; }
31679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_270" >&5
31680$as_echo "$conv_16_rgb_rot_270" >&6; }
31681
31682if test "x$conv_16_rgb_rot_270" = "xyes" ; then
31683
31684$as_echo "#define BUILD_CONVERT_16_RGB_ROT270 1" >>confdefs.h
31685
31686fi
31687
31688
31689
31690
31691
31692## Convert to 16bpp RGB with rotation of 90
31693
31694
31695conv_16_rgb_rot_90="no"
31696
31697
31698 # Check whether --enable-convert-16-rgb-rot-90 was given.
31699if test "${enable_convert_16_rgb_rot_90+set}" = set; then :
31700 enableval=$enable_convert_16_rgb_rot_90; conv_16_rgb_rot_90=$enableval
31701else
31702 conv_16_rgb_rot_90=yes
31703
31704fi
31705
31706
31707
31708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 16bpp RGB rotation 90 converter code" >&5
31709$as_echo_n "checking whether to build 16bpp RGB rotation 90 converter code... " >&6; }
31710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_16_rgb_rot_90" >&5
31711$as_echo "$conv_16_rgb_rot_90" >&6; }
31712
31713if test "x$conv_16_rgb_rot_90" = "xyes" ; then
31714
31715$as_echo "#define BUILD_CONVERT_16_RGB_ROT90 1" >>confdefs.h
31716
31717fi
31718
31719
31720
31721
31722
31723
31724#######################################
31725## Convert to 24bpp RGB 888
31726
31727
31728conv_24_rgb_888="no"
31729
31730
31731 # Check whether --enable-convert-24-rgb-888 was given.
31732if test "${enable_convert_24_rgb_888+set}" = set; then :
31733 enableval=$enable_convert_24_rgb_888; conv_24_rgb_888=$enableval
31734else
31735 conv_24_rgb_888=yes
31736
31737fi
31738
31739
31740
31741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp RGB 888 converter code" >&5
31742$as_echo_n "checking whether to build 24bpp RGB 888 converter code... " >&6; }
31743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_888" >&5
31744$as_echo "$conv_24_rgb_888" >&6; }
31745
31746if test "x$conv_24_rgb_888" = "xyes" ; then
31747
31748$as_echo "#define BUILD_CONVERT_24_RGB_888 1" >>confdefs.h
31749
31750fi
31751
31752
31753
31754
31755
31756## Convert to 24bpp BGR 888
31757
31758
31759conv_24_bgr_888="no"
31760
31761
31762 # Check whether --enable-convert-24-bgr-888 was given.
31763if test "${enable_convert_24_bgr_888+set}" = set; then :
31764 enableval=$enable_convert_24_bgr_888; conv_24_bgr_888=$enableval
31765else
31766 conv_24_bgr_888=yes
31767
31768fi
31769
31770
31771
31772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp BGR 888 converter code" >&5
31773$as_echo_n "checking whether to build 24bpp BGR 888 converter code... " >&6; }
31774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_bgr_888" >&5
31775$as_echo "$conv_24_bgr_888" >&6; }
31776
31777if test "x$conv_24_bgr_888" = "xyes" ; then
31778
31779$as_echo "#define BUILD_CONVERT_24_BGR_888 1" >>confdefs.h
31780
31781fi
31782
31783
31784
31785
31786
31787## Convert to 32bpp RGB 8888
31788
31789
31790conv_32_rgb_8888="no"
31791
31792
31793 # Check whether --enable-convert-32-rgb-8888 was given.
31794if test "${enable_convert_32_rgb_8888+set}" = set; then :
31795 enableval=$enable_convert_32_rgb_8888; conv_32_rgb_8888=$enableval
31796else
31797 conv_32_rgb_8888=yes
31798
31799fi
31800
31801
31802
31803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB 8888 converter code" >&5
31804$as_echo_n "checking whether to build 32bpp RGB 8888 converter code... " >&6; }
31805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_8888" >&5
31806$as_echo "$conv_32_rgb_8888" >&6; }
31807
31808if test "x$conv_32_rgb_8888" = "xyes" ; then
31809
31810$as_echo "#define BUILD_CONVERT_32_RGB_8888 1" >>confdefs.h
31811
31812fi
31813
31814
31815
31816
31817
31818## Convert to 32bpp RGBX 8888
31819
31820
31821conv_32_rgbx_8888="no"
31822
31823
31824 # Check whether --enable-convert-32-rgbx-8888 was given.
31825if test "${enable_convert_32_rgbx_8888+set}" = set; then :
31826 enableval=$enable_convert_32_rgbx_8888; conv_32_rgbx_8888=$enableval
31827else
31828 conv_32_rgbx_8888=yes
31829
31830fi
31831
31832
31833
31834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGBX 8888 converter code" >&5
31835$as_echo_n "checking whether to build 32bpp RGBX 8888 converter code... " >&6; }
31836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgbx_8888" >&5
31837$as_echo "$conv_32_rgbx_8888" >&6; }
31838
31839if test "x$conv_32_rgbx_8888" = "xyes" ; then
31840
31841$as_echo "#define BUILD_CONVERT_32_RGBX_8888 1" >>confdefs.h
31842
31843fi
31844
31845
31846
31847
31848
31849## Convert to 32bpp BGR 8888
31850
31851
31852conv_32_bgr_8888="no"
31853
31854
31855 # Check whether --enable-convert-32-bgr-8888 was given.
31856if test "${enable_convert_32_bgr_8888+set}" = set; then :
31857 enableval=$enable_convert_32_bgr_8888; conv_32_bgr_8888=$enableval
31858else
31859 conv_32_bgr_8888=yes
31860
31861fi
31862
31863
31864
31865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGR 8888 converter code" >&5
31866$as_echo_n "checking whether to build 32bpp BGR 8888 converter code... " >&6; }
31867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgr_8888" >&5
31868$as_echo "$conv_32_bgr_8888" >&6; }
31869
31870if test "x$conv_32_bgr_8888" = "xyes" ; then
31871
31872$as_echo "#define BUILD_CONVERT_32_BGR_8888 1" >>confdefs.h
31873
31874fi
31875
31876
31877
31878
31879
31880## Convert to 32bpp BGRX 8888
31881
31882
31883conv_32_bgrx_8888="no"
31884
31885
31886 # Check whether --enable-convert-32-bgrx-8888 was given.
31887if test "${enable_convert_32_bgrx_8888+set}" = set; then :
31888 enableval=$enable_convert_32_bgrx_8888; conv_32_bgrx_8888=$enableval
31889else
31890 conv_32_bgrx_8888=yes
31891
31892fi
31893
31894
31895
31896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp BGRX 8888 converter code" >&5
31897$as_echo_n "checking whether to build 32bpp BGRX 8888 converter code... " >&6; }
31898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_bgrx_8888" >&5
31899$as_echo "$conv_32_bgrx_8888" >&6; }
31900
31901if test "x$conv_32_bgrx_8888" = "xyes" ; then
31902
31903$as_echo "#define BUILD_CONVERT_32_BGRX_8888 1" >>confdefs.h
31904
31905fi
31906
31907
31908
31909
31910
31911
31912#######################################
31913## Convert to 24bpp RGB 666 (666 ezx)
31914conv_24_rgb_ezx="yes"
31915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 24bpp 666 (666 ezx) converter code" >&5
31916$as_echo_n "checking whether to build 24bpp 666 (666 ezx) converter code... " >&6; }
31917# Check whether --enable-convert-24-rgb-ezx was given.
31918if test "${enable_convert_24_rgb_ezx+set}" = set; then :
31919 enableval=$enable_convert_24_rgb_ezx;
31920 if test "x$enableval" = "xyes" ; then
31921
31922$as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
31923
31924 conv_24_rgb_ezx="yes"
31925 else
31926 conv_24_rgb_ezx="no"
31927 fi
31928
31929else
31930
31931 if test "x$conv_24_rgb_ezx" = "xyes" ; then
31932
31933$as_echo "#define BUILD_CONVERT_24_RGB_666 1" >>confdefs.h
31934
31935 fi
31936
31937
31938fi
31939
31940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_24_rgb_ezx" >&5
31941$as_echo "$conv_24_rgb_ezx" >&6; }
31942
31943#######################################
31944## Convert to 32bpp RGB 666 (666 ezx)
31945conv_32_rgb_ezx="yes"
31946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp 666 (666 ezx) converter code" >&5
31947$as_echo_n "checking whether to build 32bpp 666 (666 ezx) converter code... " >&6; }
31948# Check whether --enable-convert-32-rgb-ezx was given.
31949if test "${enable_convert_32_rgb_ezx+set}" = set; then :
31950 enableval=$enable_convert_32_rgb_ezx;
31951 if test "x$enableval" = "xyes" ; then
31952
31953$as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
31954
31955 conv_32_rgb_ezx="yes"
31956 else
31957 conv_32_rgb_ezx="no"
31958 fi
31959
31960else
31961
31962 if test "x$conv_32_rgb_ezx" = "xyes" ; then
31963
31964$as_echo "#define BUILD_CONVERT_32_RGB_666 1" >>confdefs.h
31965
31966 fi
31967
31968
31969fi
31970
31971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_ezx" >&5
31972$as_echo "$conv_32_rgb_ezx" >&6; }
31973
31974#######################################
31975## Convert to 32bpp RGB with rotation of 0
31976
31977
31978conv_32_rgb_rot_0="no"
31979
31980
31981 # Check whether --enable-convert-32-rgb-rot-0 was given.
31982if test "${enable_convert_32_rgb_rot_0+set}" = set; then :
31983 enableval=$enable_convert_32_rgb_rot_0; conv_32_rgb_rot_0=$enableval
31984else
31985 conv_32_rgb_rot_0=yes
31986
31987fi
31988
31989
31990
31991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 0 converter code" >&5
31992$as_echo_n "checking whether to build 32bpp RGB rotation 0 converter code... " >&6; }
31993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_0" >&5
31994$as_echo "$conv_32_rgb_rot_0" >&6; }
31995
31996if test "x$conv_32_rgb_rot_0" = "xyes" ; then
31997
31998$as_echo "#define BUILD_CONVERT_32_RGB_ROT0 1" >>confdefs.h
31999
32000fi
32001
32002
32003
32004
32005
32006## Convert to 32bpp RGB with rotation of 180
32007
32008
32009conv_32_rgb_rot_180="no"
32010
32011
32012 # Check whether --enable-convert-32-rgb-rot-180 was given.
32013if test "${enable_convert_32_rgb_rot_180+set}" = set; then :
32014 enableval=$enable_convert_32_rgb_rot_180; conv_32_rgb_rot_180=$enableval
32015else
32016 conv_32_rgb_rot_180=yes
32017
32018fi
32019
32020
32021
32022{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 180 converter code" >&5
32023$as_echo_n "checking whether to build 32bpp RGB rotation 180 converter code... " >&6; }
32024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_180" >&5
32025$as_echo "$conv_32_rgb_rot_180" >&6; }
32026
32027if test "x$conv_32_rgb_rot_180" = "xyes" ; then
32028
32029$as_echo "#define BUILD_CONVERT_32_RGB_ROT180 1" >>confdefs.h
32030
32031fi
32032
32033
32034
32035
32036
32037## Convert to 32bpp RGB with rotation of 270
32038
32039
32040conv_32_rgb_rot_270="no"
32041
32042
32043 # Check whether --enable-convert-32-rgb-rot-270 was given.
32044if test "${enable_convert_32_rgb_rot_270+set}" = set; then :
32045 enableval=$enable_convert_32_rgb_rot_270; conv_32_rgb_rot_270=$enableval
32046else
32047 conv_32_rgb_rot_270=yes
32048
32049fi
32050
32051
32052
32053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 270 converter code" >&5
32054$as_echo_n "checking whether to build 32bpp RGB rotation 270 converter code... " >&6; }
32055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_270" >&5
32056$as_echo "$conv_32_rgb_rot_270" >&6; }
32057
32058if test "x$conv_32_rgb_rot_270" = "xyes" ; then
32059
32060$as_echo "#define BUILD_CONVERT_32_RGB_ROT270 1" >>confdefs.h
32061
32062fi
32063
32064
32065
32066
32067
32068## Convert to 32bpp RGB with rotation of 90
32069
32070
32071conv_32_rgb_rot_90="no"
32072
32073
32074 # Check whether --enable-convert-32-rgb-rot-90 was given.
32075if test "${enable_convert_32_rgb_rot_90+set}" = set; then :
32076 enableval=$enable_convert_32_rgb_rot_90; conv_32_rgb_rot_90=$enableval
32077else
32078 conv_32_rgb_rot_90=yes
32079
32080fi
32081
32082
32083
32084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 32bpp RGB rotation 90 converter code" >&5
32085$as_echo_n "checking whether to build 32bpp RGB rotation 90 converter code... " >&6; }
32086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_32_rgb_rot_90" >&5
32087$as_echo "$conv_32_rgb_rot_90" >&6; }
32088
32089if test "x$conv_32_rgb_rot_90" = "xyes" ; then
32090
32091$as_echo "#define BUILD_CONVERT_32_RGB_ROT90 1" >>confdefs.h
32092
32093fi
32094
32095
32096
32097
32098
32099
32100#######################################
32101## Convert to 8bpp grayscale with 256 value, no palette
32102
32103
32104conv_8_gry_1="no"
32105
32106
32107 # Check whether --enable-convert-8-gry-1 was given.
32108if test "${enable_convert_8_gry_1+set}" = set; then :
32109 enableval=$enable_convert_8_gry_1; conv_8_gry_1=$enableval
32110else
32111 conv_8_gry_1=yes
32112
32113fi
32114
32115
32116
32117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 1 converter code" >&5
32118$as_echo_n "checking whether to build 8bpp GRY 1 converter code... " >&6; }
32119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_1" >&5
32120$as_echo "$conv_8_gry_1" >&6; }
32121
32122if test "x$conv_8_gry_1" = "xyes" ; then
32123
32124$as_echo "#define BUILD_CONVERT_8_GRY_1 1" >>confdefs.h
32125
32126fi
32127
32128
32129
32130
32131
32132## Convert to 8bpp grayscale with 16 value, no palette
32133
32134
32135conv_8_gry_16="no"
32136
32137
32138 # Check whether --enable-convert-8-gry-16 was given.
32139if test "${enable_convert_8_gry_16+set}" = set; then :
32140 enableval=$enable_convert_8_gry_16; conv_8_gry_16=$enableval
32141else
32142 conv_8_gry_16=yes
32143
32144fi
32145
32146
32147
32148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp GRY 16 converter code" >&5
32149$as_echo_n "checking whether to build 8bpp GRY 16 converter code... " >&6; }
32150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_gry_16" >&5
32151$as_echo "$conv_8_gry_16" >&6; }
32152
32153if test "x$conv_8_gry_16" = "xyes" ; then
32154
32155$as_echo "#define BUILD_CONVERT_8_GRY_16 1" >>confdefs.h
32156
32157fi
32158
32159
32160
32161
32162
32163
32164#######################################
32165## Convert to 8bpp grayscale, 64-palette
32166conv_8_grayscale_64="yes"
32167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build 8bpp grayscale 64-palette converter code" >&5
32168$as_echo_n "checking whether to build 8bpp grayscale 64-palette converter code... " >&6; }
32169# Check whether --enable-convert-8-grayscale-64 was given.
32170if test "${enable_convert_8_grayscale_64+set}" = set; then :
32171 enableval=$enable_convert_8_grayscale_64;
32172 if test "x$enableval" = "xyes"; then
32173
32174$as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32175
32176 conv_8_grayscale_64="yes"
32177 else
32178 conv_8_grayscale_64="no"
32179 fi
32180
32181else
32182
32183 if test "x$conv_8_grayscale_64" = "xyes"; then
32184
32185$as_echo "#define BUILD_CONVERT_8_GRAYSCALE_64 1" >>confdefs.h
32186
32187 fi
32188
32189
32190fi
32191
32192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $conv_8_grayscale_64" >&5
32193$as_echo "$conv_8_grayscale_64" >&6; }
32194
32195## valgrind
32196want_valgrind="no"
32197have_valgrind="no"
32198
32199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build with valgrind" >&5
32200$as_echo_n "checking whether to enable build with valgrind... " >&6; }
32201# Check whether --enable-valgrind was given.
32202if test "${enable_valgrind+set}" = set; then :
32203 enableval=$enable_valgrind; want_valgrind=$enableval
32204
32205fi
32206
32207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $want_valgrind" >&5
32208$as_echo "$want_valgrind" >&6; }
32209
32210if test x$want_valgrind = "xyes"; then
32211
32212pkg_failed=no
32213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5
32214$as_echo_n "checking for VALGRIND... " >&6; }
32215
32216if test -n "$VALGRIND_CFLAGS"; then
32217 pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS"
32218 elif test -n "$PKG_CONFIG"; then
32219 if test -n "$PKG_CONFIG" && \
32220 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32221 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32222 ac_status=$?
32223 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32224 test $ac_status = 0; }; then
32225 pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= 2.4.0" 2>/dev/null`
32226else
32227 pkg_failed=yes
32228fi
32229 else
32230 pkg_failed=untried
32231fi
32232if test -n "$VALGRIND_LIBS"; then
32233 pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS"
32234 elif test -n "$PKG_CONFIG"; then
32235 if test -n "$PKG_CONFIG" && \
32236 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= 2.4.0\""; } >&5
32237 ($PKG_CONFIG --exists --print-errors "valgrind >= 2.4.0") 2>&5
32238 ac_status=$?
32239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32240 test $ac_status = 0; }; then
32241 pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= 2.4.0" 2>/dev/null`
32242else
32243 pkg_failed=yes
32244fi
32245 else
32246 pkg_failed=untried
32247fi
32248
32249
32250
32251if test $pkg_failed = yes; then
32252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32253$as_echo "no" >&6; }
32254
32255if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32256 _pkg_short_errors_supported=yes
32257else
32258 _pkg_short_errors_supported=no
32259fi
32260 if test $_pkg_short_errors_supported = yes; then
32261 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "valgrind >= 2.4.0" 2>&1`
32262 else
32263 VALGRIND_PKG_ERRORS=`$PKG_CONFIG --print-errors "valgrind >= 2.4.0" 2>&1`
32264 fi
32265 # Put the nasty error message in config.log where it belongs
32266 echo "$VALGRIND_PKG_ERRORS" >&5
32267
32268
32269 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32270 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32271 fi
32272
32273
32274elif test $pkg_failed = untried; then
32275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32276$as_echo "no" >&6; }
32277
32278 if test "x$want_valgrind" = "xyes" -a "x$use_strict" = "xyes" ; then
32279 as_fn_error $? "Valgrind not found (strict dependencies checking)" "$LINENO" 5
32280 fi
32281
32282
32283else
32284 VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS
32285 VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32287$as_echo "yes" >&6; }
32288
32289
32290$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h
32291
32292 have_valgrind=yes
32293 requirement_evas="valgrind ${requirement_evas}"
32294
32295fi
32296fi
32297
32298## Examples
32299
32300install_examples="yes"
32301# Check whether --enable-install-examples was given.
32302if test "${enable_install_examples+set}" = set; then :
32303 enableval=$enable_install_examples;
32304 if test "x${enableval}" = "xyes" ; then
32305 install_examples="yes"
32306 else
32307 install_examples="no"
32308 fi
32309
32310else
32311 install_examples="yes"
32312fi
32313
32314 if test "x${install_examples}" = "xyes"; then
32315 INSTALL_EXAMPLES_TRUE=
32316 INSTALL_EXAMPLES_FALSE='#'
32317else
32318 INSTALL_EXAMPLES_TRUE='#'
32319 INSTALL_EXAMPLES_FALSE=
32320fi
32321
32322
32323build_examples="no"
32324# Check whether --enable-build-examples was given.
32325if test "${enable_build_examples+set}" = set; then :
32326 enableval=$enable_build_examples;
32327 if test "x${enableval}" = "xyes" ; then
32328 build_examples="yes"
32329 # put in here the dependencies for Evas' examples. they are
32330 # meant to be 'real world' usage examples, thus one will be
32331 # using higher level libraries on these programs
32332
32333pkg_failed=no
32334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECORE_EVAS" >&5
32335$as_echo_n "checking for ECORE_EVAS... " >&6; }
32336
32337if test -n "$ECORE_EVAS_CFLAGS"; then
32338 pkg_cv_ECORE_EVAS_CFLAGS="$ECORE_EVAS_CFLAGS"
32339 elif test -n "$PKG_CONFIG"; then
32340 if test -n "$PKG_CONFIG" && \
32341 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32342 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32343 ac_status=$?
32344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32345 test $ac_status = 0; }; then
32346 pkg_cv_ECORE_EVAS_CFLAGS=`$PKG_CONFIG --cflags "ecore-evas ecore" 2>/dev/null`
32347else
32348 pkg_failed=yes
32349fi
32350 else
32351 pkg_failed=untried
32352fi
32353if test -n "$ECORE_EVAS_LIBS"; then
32354 pkg_cv_ECORE_EVAS_LIBS="$ECORE_EVAS_LIBS"
32355 elif test -n "$PKG_CONFIG"; then
32356 if test -n "$PKG_CONFIG" && \
32357 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ecore-evas ecore\""; } >&5
32358 ($PKG_CONFIG --exists --print-errors "ecore-evas ecore") 2>&5
32359 ac_status=$?
32360 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32361 test $ac_status = 0; }; then
32362 pkg_cv_ECORE_EVAS_LIBS=`$PKG_CONFIG --libs "ecore-evas ecore" 2>/dev/null`
32363else
32364 pkg_failed=yes
32365fi
32366 else
32367 pkg_failed=untried
32368fi
32369
32370
32371
32372if test $pkg_failed = yes; then
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32374$as_echo "no" >&6; }
32375
32376if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32377 _pkg_short_errors_supported=yes
32378else
32379 _pkg_short_errors_supported=no
32380fi
32381 if test $_pkg_short_errors_supported = yes; then
32382 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "ecore-evas ecore" 2>&1`
32383 else
32384 ECORE_EVAS_PKG_ERRORS=`$PKG_CONFIG --print-errors "ecore-evas ecore" 2>&1`
32385 fi
32386 # Put the nasty error message in config.log where it belongs
32387 echo "$ECORE_EVAS_PKG_ERRORS" >&5
32388
32389 build_examples="no"
32390elif test $pkg_failed = untried; then
32391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32392$as_echo "no" >&6; }
32393 build_examples="no"
32394else
32395 ECORE_EVAS_CFLAGS=$pkg_cv_ECORE_EVAS_CFLAGS
32396 ECORE_EVAS_LIBS=$pkg_cv_ECORE_EVAS_LIBS
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32398$as_echo "yes" >&6; }
32399
32400fi
32401
32402pkg_failed=no
32403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDJE" >&5
32404$as_echo_n "checking for EDJE... " >&6; }
32405
32406if test -n "$EDJE_CFLAGS"; then
32407 pkg_cv_EDJE_CFLAGS="$EDJE_CFLAGS"
32408 elif test -n "$PKG_CONFIG"; then
32409 if test -n "$PKG_CONFIG" && \
32410 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32411 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32412 ac_status=$?
32413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32414 test $ac_status = 0; }; then
32415 pkg_cv_EDJE_CFLAGS=`$PKG_CONFIG --cflags "edje" 2>/dev/null`
32416else
32417 pkg_failed=yes
32418fi
32419 else
32420 pkg_failed=untried
32421fi
32422if test -n "$EDJE_LIBS"; then
32423 pkg_cv_EDJE_LIBS="$EDJE_LIBS"
32424 elif test -n "$PKG_CONFIG"; then
32425 if test -n "$PKG_CONFIG" && \
32426 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"edje\""; } >&5
32427 ($PKG_CONFIG --exists --print-errors "edje") 2>&5
32428 ac_status=$?
32429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32430 test $ac_status = 0; }; then
32431 pkg_cv_EDJE_LIBS=`$PKG_CONFIG --libs "edje" 2>/dev/null`
32432else
32433 pkg_failed=yes
32434fi
32435 else
32436 pkg_failed=untried
32437fi
32438
32439
32440
32441if test $pkg_failed = yes; then
32442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32443$as_echo "no" >&6; }
32444
32445if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32446 _pkg_short_errors_supported=yes
32447else
32448 _pkg_short_errors_supported=no
32449fi
32450 if test $_pkg_short_errors_supported = yes; then
32451 EDJE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "edje" 2>&1`
32452 else
32453 EDJE_PKG_ERRORS=`$PKG_CONFIG --print-errors "edje" 2>&1`
32454 fi
32455 # Put the nasty error message in config.log where it belongs
32456 echo "$EDJE_PKG_ERRORS" >&5
32457
32458 build_examples="no"
32459elif test $pkg_failed = untried; then
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32461$as_echo "no" >&6; }
32462 build_examples="no"
32463else
32464 EDJE_CFLAGS=$pkg_cv_EDJE_CFLAGS
32465 EDJE_LIBS=$pkg_cv_EDJE_LIBS
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32467$as_echo "yes" >&6; }
32468 edje_cc=$($PKG_CONFIG --variable=prefix edje)/bin/edje_cc
32469fi
32470
32471 else
32472 build_examples="no"
32473 fi
32474
32475else
32476 build_examples="no"
32477fi
32478
32479 if test "x${build_examples}" = "xyes"; then
32480 BUILD_EXAMPLES_TRUE=
32481 BUILD_EXAMPLES_FALSE='#'
32482else
32483 BUILD_EXAMPLES_TRUE='#'
32484 BUILD_EXAMPLES_FALSE=
32485fi
32486
32487
32488## Unit tests, coverage
32489
32490
32491
32492
32493# Check whether --enable-tests was given.
32494if test "${enable_tests+set}" = set; then :
32495 enableval=$enable_tests;
32496 if test "x${enableval}" = "xyes" ; then
32497 _efl_enable_tests="yes"
32498 else
32499 _efl_enable_tests="no"
32500 fi
32501
32502else
32503 _efl_enable_tests="no"
32504fi
32505
32506
32507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether tests are built" >&5
32508$as_echo_n "checking whether tests are built... " >&6; }
32509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_efl_enable_tests}" >&5
32510$as_echo "${_efl_enable_tests}" >&6; }
32511
32512
32513
32514if test "x${_efl_enable_tests}" = "xyes" ; then
32515
32516pkg_failed=no
32517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
32518$as_echo_n "checking for CHECK... " >&6; }
32519
32520if test -n "$CHECK_CFLAGS"; then
32521 pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
32522 elif test -n "$PKG_CONFIG"; then
32523 if test -n "$PKG_CONFIG" && \
32524 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32525 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32526 ac_status=$?
32527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32528 test $ac_status = 0; }; then
32529 pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.5" 2>/dev/null`
32530else
32531 pkg_failed=yes
32532fi
32533 else
32534 pkg_failed=untried
32535fi
32536if test -n "$CHECK_LIBS"; then
32537 pkg_cv_CHECK_LIBS="$CHECK_LIBS"
32538 elif test -n "$PKG_CONFIG"; then
32539 if test -n "$PKG_CONFIG" && \
32540 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.5\""; } >&5
32541 ($PKG_CONFIG --exists --print-errors "check >= 0.9.5") 2>&5
32542 ac_status=$?
32543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
32544 test $ac_status = 0; }; then
32545 pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.5" 2>/dev/null`
32546else
32547 pkg_failed=yes
32548fi
32549 else
32550 pkg_failed=untried
32551fi
32552
32553
32554
32555if test $pkg_failed = yes; then
32556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32557$as_echo "no" >&6; }
32558
32559if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32560 _pkg_short_errors_supported=yes
32561else
32562 _pkg_short_errors_supported=no
32563fi
32564 if test $_pkg_short_errors_supported = yes; then
32565 CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "check >= 0.9.5" 2>&1`
32566 else
32567 CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors "check >= 0.9.5" 2>&1`
32568 fi
32569 # Put the nasty error message in config.log where it belongs
32570 echo "$CHECK_PKG_ERRORS" >&5
32571
32572 _efl_enable_tests="no"
32573elif test $pkg_failed = untried; then
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32575$as_echo "no" >&6; }
32576 _efl_enable_tests="no"
32577else
32578 CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
32579 CHECK_LIBS=$pkg_cv_CHECK_LIBS
32580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
32581$as_echo "yes" >&6; }
32582 dummy="yes"
32583fi
32584fi
32585if test "x${_efl_enable_tests}" = "xyes" ; then
32586
32587$as_echo "#define HAVE_TESTS 1" >>confdefs.h
32588
32589fi
32590
32591 if test "x${_efl_enable_tests}" = "xyes"; then
32592 EFL_ENABLE_TESTS_TRUE=
32593 EFL_ENABLE_TESTS_FALSE='#'
32594else
32595 EFL_ENABLE_TESTS_TRUE='#'
32596 EFL_ENABLE_TESTS_FALSE=
32597fi
32598
32599
32600if test "x$_efl_enable_tests" = "xyes"; then :
32601 enable_tests="yes"
32602else
32603 enable_tests="no"
32604fi
32605
32606
32607
32608
32609
32610# Check whether --enable-coverage was given.
32611if test "${enable_coverage+set}" = set; then :
32612 enableval=$enable_coverage;
32613 if test "x${enableval}" = "xyes" ; then
32614 _efl_enable_coverage="yes"
32615 else
32616 _efl_enable_coverage="no"
32617 fi
32618
32619else
32620 _efl_enable_coverage="no"
32621fi
32622
32623
32624{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use profiling instrumentation" >&5
32625$as_echo_n "checking whether to use profiling instrumentation... " >&6; }
32626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_efl_enable_coverage" >&5
32627$as_echo "$_efl_enable_coverage" >&6; }
32628
32629
32630if test "x$_efl_enable_coverage" = "xyes" && test ! "x${enable_tests}" = "xyes" ; then
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&5
32632$as_echo "$as_me: WARNING: Coverage report requested but tests not being built, disable profiling instrumentation." >&2;}
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Run configure with --enable-tests" >&5
32634$as_echo "$as_me: WARNING: Run configure with --enable-tests" >&2;}
32635 _efl_enable_coverage="no"
32636fi
32637
32638if test "x$_efl_enable_coverage" = "xyes" ; then
32639 # Extract the first word of "lcov", so it can be a program name with args.
32640set dummy lcov; ac_word=$2
32641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
32642$as_echo_n "checking for $ac_word... " >&6; }
32643if test "${ac_cv_prog_have_lcov+set}" = set; then :
32644 $as_echo_n "(cached) " >&6
32645else
32646 if test -n "$have_lcov"; then
32647 ac_cv_prog_have_lcov="$have_lcov" # Let the user override the test.
32648else
32649as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32650for as_dir in $PATH
32651do
32652 IFS=$as_save_IFS
32653 test -z "$as_dir" && as_dir=.
32654 for ac_exec_ext in '' $ac_executable_extensions; do
32655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32656 ac_cv_prog_have_lcov="yes"
32657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
32658 break 2
32659 fi
32660done
32661 done
32662IFS=$as_save_IFS
32663
32664 test -z "$ac_cv_prog_have_lcov" && ac_cv_prog_have_lcov="no"
32665fi
32666fi
32667have_lcov=$ac_cv_prog_have_lcov
32668if test -n "$have_lcov"; then
32669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_lcov" >&5
32670$as_echo "$have_lcov" >&6; }
32671else
32672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
32673$as_echo "no" >&6; }
32674fi
32675
32676
32677 if test "x$have_lcov" = "xyes" ; then
32678 EFL_COVERAGE_CFLAGS="-fprofile-arcs -ftest-coverage"
32679 EFL_COVERAGE_LIBS="-lgcov"
32680# remove any optimisation flag and force debug symbols
32681 EFL_DEBUG_CFLAGS="-g -O0 -DDEBUG"
32682 else
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: lcov is not found, disable profiling instrumentation" >&5
32684$as_echo "$as_me: WARNING: lcov is not found, disable profiling instrumentation" >&2;}
32685 _efl_enable_coverage="no"
32686 fi
32687fi
32688
32689
32690
32691
32692 if test "x${_efl_enable_coverage}" = "xyes"; then
32693 EFL_ENABLE_COVERAGE_TRUE=
32694 EFL_ENABLE_COVERAGE_FALSE='#'
32695else
32696 EFL_ENABLE_COVERAGE_TRUE='#'
32697 EFL_ENABLE_COVERAGE_FALSE=
32698fi
32699
32700
32701if test "x$_efl_enable_coverage" = "xyes"; then :
32702 enable_coverage="yes"
32703else
32704 enable_coverage="no"
32705fi
32706
32707EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_COVERAGE_CFLAGS} ${EXOTIC_CFLAGS}"
32708EVAS_LIBS="${EVAS_LIBS} ${EFL_COVERAGE_LIBS} ${EXOTIC_LIBS}"
32709if test "x$enable_coverage" = "xyes" ; then
32710 EVAS_CFLAGS="${EVAS_CFLAGS} ${EFL_DEBUG_CFLAGS}"
32711fi
32712
32713
32714
32715
32716#####################################################################
32717## Fill in flags
32718
32719
32720
32721
32722
32723
32724
32725#####################################################################
32726## Output
32727
32728ac_config_files="$ac_config_files Makefile evas-directfb.pc evas-fb.pc evas-opengl-x11.pc evas-opengl-sdl.pc evas-opengl-cocoa.pc evas-software-buffer.pc evas-software-x11.pc evas-software-8-x11.pc evas-software-16-x11.pc evas-software-gdi.pc evas-software-ddraw.pc evas-software-16-ddraw.pc evas-direct3d.pc evas-software-16-wince.pc evas-software-sdl.pc evas-psl1ght.pc evas-wayland-shm.pc evas-wayland-egl.pc evas.pc doc/evas.dox doc/Makefile doc/Doxyfile src/Makefile src/bin/Makefile src/lib/Makefile src/lib/canvas/Makefile src/lib/file/Makefile src/lib/cache/Makefile src/lib/cserve/Makefile src/lib/engines/Makefile src/lib/engines/common/Makefile src/lib/engines/common/evas_op_add/Makefile src/lib/engines/common/evas_op_blend/Makefile src/lib/engines/common/evas_op_copy/Makefile src/lib/engines/common/evas_op_mask/Makefile src/lib/engines/common/evas_op_mul/Makefile src/lib/engines/common/evas_op_sub/Makefile src/lib/engines/common_8/Makefile src/lib/engines/common_16/Makefile src/modules/Makefile src/modules/engines/Makefile src/modules/engines/software_generic/Makefile src/modules/engines/software_gdi/Makefile src/modules/engines/software_ddraw/Makefile src/modules/engines/direct3d/Makefile src/modules/engines/software_16_wince/Makefile src/modules/engines/software_x11/Makefile src/modules/engines/fb/Makefile src/modules/engines/buffer/Makefile src/modules/engines/directfb/Makefile src/modules/engines/gl_common/Makefile src/modules/engines/gl_x11/Makefile src/modules/engines/gl_sdl/Makefile src/modules/engines/gl_cocoa/Makefile src/modules/engines/psl1ght/Makefile src/modules/engines/software_8/Makefile src/modules/engines/software_8_x11/Makefile src/modules/engines/software_16/Makefile src/modules/engines/software_16_x11/Makefile src/modules/engines/software_16_ddraw/Makefile src/modules/engines/software_16_sdl/Makefile src/modules/engines/wayland_shm/Makefile src/modules/engines/wayland_egl/Makefile src/modules/loaders/Makefile src/modules/loaders/edb/Makefile src/modules/loaders/eet/Makefile src/modules/loaders/gif/Makefile src/modules/loaders/jpeg/Makefile src/modules/loaders/png/Makefile src/modules/loaders/tiff/Makefile src/modules/loaders/xpm/Makefile src/modules/loaders/bmp/Makefile src/modules/loaders/ico/Makefile src/modules/loaders/tga/Makefile src/modules/loaders/svg/Makefile src/modules/loaders/pmaps/Makefile src/modules/loaders/wbmp/Makefile src/modules/loaders/psd/Makefile src/modules/loaders/generic/Makefile src/modules/savers/Makefile src/modules/savers/edb/Makefile src/modules/savers/eet/Makefile src/modules/savers/jpeg/Makefile src/modules/savers/png/Makefile src/modules/savers/tiff/Makefile src/static_deps/Makefile src/static_deps/liblinebreak/Makefile src/lib/include/Makefile src/examples/Makefile src/tests/Makefile evas.spec"
32729
32730cat >confcache <<\_ACEOF
32731# This file is a shell script that caches the results of configure
32732# tests run on this system so they can be shared between configure
32733# scripts and configure runs, see configure's option --config-cache.
32734# It is not useful on other systems. If it contains results you don't
32735# want to keep, you may remove or edit it.
32736#
32737# config.status only pays attention to the cache file if you give it
32738# the --recheck option to rerun configure.
32739#
32740# `ac_cv_env_foo' variables (set or unset) will be overridden when
32741# loading this file, other *unset* `ac_cv_foo' will be assigned the
32742# following values.
32743
32744_ACEOF
32745
32746# The following way of writing the cache mishandles newlines in values,
32747# but we know of no workaround that is simple, portable, and efficient.
32748# So, we kill variables containing newlines.
32749# Ultrix sh set writes to stderr and can't be redirected directly,
32750# and sets the high bit in the cache file unless we assign to the vars.
32751(
32752 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
32753 eval ac_val=\$$ac_var
32754 case $ac_val in #(
32755 *${as_nl}*)
32756 case $ac_var in #(
32757 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
32758$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
32759 esac
32760 case $ac_var in #(
32761 _ | IFS | as_nl) ;; #(
32762 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
32763 *) { eval $ac_var=; unset $ac_var;} ;;
32764 esac ;;
32765 esac
32766 done
32767
32768 (set) 2>&1 |
32769 case $as_nl`(ac_space=' '; set) 2>&1` in #(
32770 *${as_nl}ac_space=\ *)
32771 # `set' does not quote correctly, so add quotes: double-quote
32772 # substitution turns \\\\ into \\, and sed turns \\ into \.
32773 sed -n \
32774 "s/'/'\\\\''/g;
32775 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32776 ;; #(
32777 *)
32778 # `set' quotes correctly as required by POSIX, so do not add quotes.
32779 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
32780 ;;
32781 esac |
32782 sort
32783) |
32784 sed '
32785 /^ac_cv_env_/b end
32786 t clear
32787 :clear
32788 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32789 t end
32790 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32791 :end' >>confcache
32792if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
32793 if test -w "$cache_file"; then
32794 test "x$cache_file" != "x/dev/null" &&
32795 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
32796$as_echo "$as_me: updating cache $cache_file" >&6;}
32797 cat confcache >$cache_file
32798 else
32799 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
32800$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
32801 fi
32802fi
32803rm -f confcache
32804
32805test "x$prefix" = xNONE && prefix=$ac_default_prefix
32806# Let make expand exec_prefix.
32807test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32808
32809DEFS=-DHAVE_CONFIG_H
32810
32811ac_libobjs=
32812ac_ltlibobjs=
32813U=
32814for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32815 # 1. Remove the extension, and $U if already installed.
32816 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
32817 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
32818 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
32819 # will be set to the directory where LIBOBJS objects are built.
32820 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
32821 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
32822done
32823LIBOBJS=$ac_libobjs
32824
32825LTLIBOBJS=$ac_ltlibobjs
32826
32827
32828 if test -n "$EXEEXT"; then
32829 am__EXEEXT_TRUE=
32830 am__EXEEXT_FALSE='#'
32831else
32832 am__EXEEXT_TRUE='#'
32833 am__EXEEXT_FALSE=
32834fi
32835
32836if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32837 as_fn_error $? "conditional \"AMDEP\" was never defined.
32838Usually this means the macro was only invoked conditionally." "$LINENO" 5
32839fi
32840if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32841 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32842Usually this means the macro was only invoked conditionally." "$LINENO" 5
32843fi
32844if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32845 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32846Usually this means the macro was only invoked conditionally." "$LINENO" 5
32847fi
32848if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
32849 as_fn_error $? "conditional \"am__fastdepOBJC\" was never defined.
32850Usually this means the macro was only invoked conditionally." "$LINENO" 5
32851fi
32852if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32853 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32854Usually this means the macro was only invoked conditionally." "$LINENO" 5
32855fi
32856if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
32857 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
32858Usually this means the macro was only invoked conditionally." "$LINENO" 5
32859fi
32860if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32861 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
32862Usually this means the macro was only invoked conditionally." "$LINENO" 5
32863fi
32864if test -z "${EFL_BUILD_DOC_TRUE}" && test -z "${EFL_BUILD_DOC_FALSE}"; then
32865 as_fn_error $? "conditional \"EFL_BUILD_DOC\" was never defined.
32866Usually this means the macro was only invoked conditionally." "$LINENO" 5
32867fi
32868if test -z "${EVAS_HAVE_EXOTIC_TRUE}" && test -z "${EVAS_HAVE_EXOTIC_FALSE}"; then
32869 as_fn_error $? "conditional \"EVAS_HAVE_EXOTIC\" was never defined.
32870Usually this means the macro was only invoked conditionally." "$LINENO" 5
32871fi
32872if test -z "${EVAS_USE_LINEBREAK_TRUE}" && test -z "${EVAS_USE_LINEBREAK_FALSE}"; then
32873 as_fn_error $? "conditional \"EVAS_USE_LINEBREAK\" was never defined.
32874Usually this means the macro was only invoked conditionally." "$LINENO" 5
32875fi
32876
32877if test -z "${EVAS_CSERVE_TRUE}" && test -z "${EVAS_CSERVE_FALSE}"; then
32878 as_fn_error $? "conditional \"EVAS_CSERVE\" was never defined.
32879Usually this means the macro was only invoked conditionally." "$LINENO" 5
32880fi
32881if test -z "${BUILD_ENGINE_BUFFER_TRUE}" && test -z "${BUILD_ENGINE_BUFFER_FALSE}"; then
32882 as_fn_error $? "conditional \"BUILD_ENGINE_BUFFER\" was never defined.
32883Usually this means the macro was only invoked conditionally." "$LINENO" 5
32884fi
32885if test -z "${EVAS_STATIC_BUILD_BUFFER_TRUE}" && test -z "${EVAS_STATIC_BUILD_BUFFER_FALSE}"; then
32886 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BUFFER\" was never defined.
32887Usually this means the macro was only invoked conditionally." "$LINENO" 5
32888fi
32889if test -z "${BUILD_ENGINE_SOFTWARE_GDI_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_GDI_FALSE}"; then
32890 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_GDI\" was never defined.
32891Usually this means the macro was only invoked conditionally." "$LINENO" 5
32892fi
32893if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GDI_FALSE}"; then
32894 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GDI\" was never defined.
32895Usually this means the macro was only invoked conditionally." "$LINENO" 5
32896fi
32897if test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_DDRAW_FALSE}"; then
32898 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_DDRAW\" was never defined.
32899Usually this means the macro was only invoked conditionally." "$LINENO" 5
32900fi
32901if test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_DDRAW_FALSE}"; then
32902 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_DDRAW\" was never defined.
32903Usually this means the macro was only invoked conditionally." "$LINENO" 5
32904fi
32905if test -z "${BUILD_ENGINE_DIRECT3D_TRUE}" && test -z "${BUILD_ENGINE_DIRECT3D_FALSE}"; then
32906 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECT3D\" was never defined.
32907Usually this means the macro was only invoked conditionally." "$LINENO" 5
32908fi
32909if test -z "${EVAS_STATIC_BUILD_DIRECT3D_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECT3D_FALSE}"; then
32910 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECT3D\" was never defined.
32911Usually this means the macro was only invoked conditionally." "$LINENO" 5
32912fi
32913if test -z "${BUILD_ENGINE_PSL1GHT_TRUE}" && test -z "${BUILD_ENGINE_PSL1GHT_FALSE}"; then
32914 as_fn_error $? "conditional \"BUILD_ENGINE_PSL1GHT\" was never defined.
32915Usually this means the macro was only invoked conditionally." "$LINENO" 5
32916fi
32917if test -z "${EVAS_STATIC_BUILD_PSL1GHT_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSL1GHT_FALSE}"; then
32918 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSL1GHT\" was never defined.
32919Usually this means the macro was only invoked conditionally." "$LINENO" 5
32920fi
32921if test -z "${BUILD_ENGINE_GL_SDL_TRUE}" && test -z "${BUILD_ENGINE_GL_SDL_FALSE}"; then
32922 as_fn_error $? "conditional \"BUILD_ENGINE_GL_SDL\" was never defined.
32923Usually this means the macro was only invoked conditionally." "$LINENO" 5
32924fi
32925if test -z "${EVAS_STATIC_BUILD_GL_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_SDL_FALSE}"; then
32926 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_SDL\" was never defined.
32927Usually this means the macro was only invoked conditionally." "$LINENO" 5
32928fi
32929if test -z "${BUILD_ENGINE_GL_COCOA_TRUE}" && test -z "${BUILD_ENGINE_GL_COCOA_FALSE}"; then
32930 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COCOA\" was never defined.
32931Usually this means the macro was only invoked conditionally." "$LINENO" 5
32932fi
32933if test -z "${EVAS_STATIC_BUILD_GL_COCOA_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COCOA_FALSE}"; then
32934 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COCOA\" was never defined.
32935Usually this means the macro was only invoked conditionally." "$LINENO" 5
32936fi
32937if test -z "${BUILD_ENGINE_FB_TRUE}" && test -z "${BUILD_ENGINE_FB_FALSE}"; then
32938 as_fn_error $? "conditional \"BUILD_ENGINE_FB\" was never defined.
32939Usually this means the macro was only invoked conditionally." "$LINENO" 5
32940fi
32941if test -z "${EVAS_STATIC_BUILD_FB_TRUE}" && test -z "${EVAS_STATIC_BUILD_FB_FALSE}"; then
32942 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_FB\" was never defined.
32943Usually this means the macro was only invoked conditionally." "$LINENO" 5
32944fi
32945if test -z "${BUILD_ENGINE_DIRECTFB_TRUE}" && test -z "${BUILD_ENGINE_DIRECTFB_FALSE}"; then
32946 as_fn_error $? "conditional \"BUILD_ENGINE_DIRECTFB\" was never defined.
32947Usually this means the macro was only invoked conditionally." "$LINENO" 5
32948fi
32949if test -z "${EVAS_STATIC_BUILD_DIRECTFB_TRUE}" && test -z "${EVAS_STATIC_BUILD_DIRECTFB_FALSE}"; then
32950 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_DIRECTFB\" was never defined.
32951Usually this means the macro was only invoked conditionally." "$LINENO" 5
32952fi
32953if test -z "${BUILD_ENGINE_SOFTWARE_8_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_X11_FALSE}"; then
32954 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8_X11\" was never defined.
32955Usually this means the macro was only invoked conditionally." "$LINENO" 5
32956fi
32957if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_X11_FALSE}"; then
32958 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8_X11\" was never defined.
32959Usually this means the macro was only invoked conditionally." "$LINENO" 5
32960fi
32961if test -z "${BUILD_ENGINE_SOFTWARE_16_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_X11_FALSE}"; then
32962 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_X11\" was never defined.
32963Usually this means the macro was only invoked conditionally." "$LINENO" 5
32964fi
32965if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_X11_FALSE}"; then
32966 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_X11\" was never defined.
32967Usually this means the macro was only invoked conditionally." "$LINENO" 5
32968fi
32969if test -z "${BUILD_ENGINE_SOFTWARE_16_DDRAW_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_DDRAW_FALSE}"; then
32970 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_DDRAW\" was never defined.
32971Usually this means the macro was only invoked conditionally." "$LINENO" 5
32972fi
32973if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW_FALSE}"; then
32974 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_DDRAW\" was never defined.
32975Usually this means the macro was only invoked conditionally." "$LINENO" 5
32976fi
32977if test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_WINCE_FALSE}"; then
32978 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_WINCE\" was never defined.
32979Usually this means the macro was only invoked conditionally." "$LINENO" 5
32980fi
32981if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_WINCE_FALSE}"; then
32982 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_WINCE\" was never defined.
32983Usually this means the macro was only invoked conditionally." "$LINENO" 5
32984fi
32985if test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_SDL_FALSE}"; then
32986 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16_SDL\" was never defined.
32987Usually this means the macro was only invoked conditionally." "$LINENO" 5
32988fi
32989if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_SDL_FALSE}"; then
32990 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16_SDL\" was never defined.
32991Usually this means the macro was only invoked conditionally." "$LINENO" 5
32992fi
32993if test -z "${BUILD_ENGINE_WAYLAND_SHM_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_SHM_FALSE}"; then
32994 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_SHM\" was never defined.
32995Usually this means the macro was only invoked conditionally." "$LINENO" 5
32996fi
32997if test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_SHM_FALSE}"; then
32998 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_SHM\" was never defined.
32999Usually this means the macro was only invoked conditionally." "$LINENO" 5
33000fi
33001if test -z "${BUILD_ENGINE_WAYLAND_EGL_TRUE}" && test -z "${BUILD_ENGINE_WAYLAND_EGL_FALSE}"; then
33002 as_fn_error $? "conditional \"BUILD_ENGINE_WAYLAND_EGL\" was never defined.
33003Usually this means the macro was only invoked conditionally." "$LINENO" 5
33004fi
33005if test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_TRUE}" && test -z "${EVAS_STATIC_BUILD_WAYLAND_EGL_FALSE}"; then
33006 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WAYLAND_EGL\" was never defined.
33007Usually this means the macro was only invoked conditionally." "$LINENO" 5
33008fi
33009if test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_GENERIC_FALSE}"; then
33010 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_GENERIC\" was never defined.
33011Usually this means the macro was only invoked conditionally." "$LINENO" 5
33012fi
33013if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33014 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33015Usually this means the macro was only invoked conditionally." "$LINENO" 5
33016fi
33017if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33018 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33019Usually this means the macro was only invoked conditionally." "$LINENO" 5
33020fi
33021if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33022 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33023Usually this means the macro was only invoked conditionally." "$LINENO" 5
33024fi
33025if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33026 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33027Usually this means the macro was only invoked conditionally." "$LINENO" 5
33028fi
33029if test -z "${BUILD_ENGINE_SOFTWARE_XLIB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XLIB_FALSE}"; then
33030 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XLIB\" was never defined.
33031Usually this means the macro was only invoked conditionally." "$LINENO" 5
33032fi
33033if test -z "${BUILD_ENGINE_SOFTWARE_XCB_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_XCB_FALSE}"; then
33034 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_XCB\" was never defined.
33035Usually this means the macro was only invoked conditionally." "$LINENO" 5
33036fi
33037if test -z "${BUILD_ENGINE_SOFTWARE_X11_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_X11_FALSE}"; then
33038 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_X11\" was never defined.
33039Usually this means the macro was only invoked conditionally." "$LINENO" 5
33040fi
33041if test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_X11_FALSE}"; then
33042 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_X11\" was never defined.
33043Usually this means the macro was only invoked conditionally." "$LINENO" 5
33044fi
33045if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XLIB_FALSE}"; then
33046 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XLIB\" was never defined.
33047Usually this means the macro was only invoked conditionally." "$LINENO" 5
33048fi
33049if test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_XCB_FALSE}"; then
33050 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_XCB\" was never defined.
33051Usually this means the macro was only invoked conditionally." "$LINENO" 5
33052fi
33053if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33054 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33055Usually this means the macro was only invoked conditionally." "$LINENO" 5
33056fi
33057if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33058 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33059Usually this means the macro was only invoked conditionally." "$LINENO" 5
33060fi
33061if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33062 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33063Usually this means the macro was only invoked conditionally." "$LINENO" 5
33064fi
33065if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33066 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33067Usually this means the macro was only invoked conditionally." "$LINENO" 5
33068fi
33069if test -z "${BUILD_ENGINE_GL_XLIB_TRUE}" && test -z "${BUILD_ENGINE_GL_XLIB_FALSE}"; then
33070 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XLIB\" was never defined.
33071Usually this means the macro was only invoked conditionally." "$LINENO" 5
33072fi
33073if test -z "${BUILD_ENGINE_GL_XCB_TRUE}" && test -z "${BUILD_ENGINE_GL_XCB_FALSE}"; then
33074 as_fn_error $? "conditional \"BUILD_ENGINE_GL_XCB\" was never defined.
33075Usually this means the macro was only invoked conditionally." "$LINENO" 5
33076fi
33077if test -z "${BUILD_ENGINE_GL_X11_TRUE}" && test -z "${BUILD_ENGINE_GL_X11_FALSE}"; then
33078 as_fn_error $? "conditional \"BUILD_ENGINE_GL_X11\" was never defined.
33079Usually this means the macro was only invoked conditionally." "$LINENO" 5
33080fi
33081if test -z "${EVAS_STATIC_BUILD_GL_X11_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_X11_FALSE}"; then
33082 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_X11\" was never defined.
33083Usually this means the macro was only invoked conditionally." "$LINENO" 5
33084fi
33085if test -z "${EVAS_STATIC_BUILD_GL_XLIB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XLIB_FALSE}"; then
33086 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XLIB\" was never defined.
33087Usually this means the macro was only invoked conditionally." "$LINENO" 5
33088fi
33089if test -z "${EVAS_STATIC_BUILD_GL_XCB_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_XCB_FALSE}"; then
33090 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_XCB\" was never defined.
33091Usually this means the macro was only invoked conditionally." "$LINENO" 5
33092fi
33093if test -z "${BUILD_ENGINE_GL_COMMON_TRUE}" && test -z "${BUILD_ENGINE_GL_COMMON_FALSE}"; then
33094 as_fn_error $? "conditional \"BUILD_ENGINE_GL_COMMON\" was never defined.
33095Usually this means the macro was only invoked conditionally." "$LINENO" 5
33096fi
33097if test -z "${EVAS_STATIC_BUILD_GL_COMMON_TRUE}" && test -z "${EVAS_STATIC_BUILD_GL_COMMON_FALSE}"; then
33098 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GL_COMMON\" was never defined.
33099Usually this means the macro was only invoked conditionally." "$LINENO" 5
33100fi
33101if test -z "${BUILD_ENGINE_SOFTWARE_16_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_16_FALSE}"; then
33102 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_16\" was never defined.
33103Usually this means the macro was only invoked conditionally." "$LINENO" 5
33104fi
33105if test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_16_FALSE}"; then
33106 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_16\" was never defined.
33107Usually this means the macro was only invoked conditionally." "$LINENO" 5
33108fi
33109if test -z "${BUILD_ENGINE_SOFTWARE_8_TRUE}" && test -z "${BUILD_ENGINE_SOFTWARE_8_FALSE}"; then
33110 as_fn_error $? "conditional \"BUILD_ENGINE_SOFTWARE_8\" was never defined.
33111Usually this means the macro was only invoked conditionally." "$LINENO" 5
33112fi
33113if test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_TRUE}" && test -z "${EVAS_STATIC_BUILD_SOFTWARE_8_FALSE}"; then
33114 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SOFTWARE_8\" was never defined.
33115Usually this means the macro was only invoked conditionally." "$LINENO" 5
33116fi
33117if test -z "${BUILD_LOADER_EDB_TRUE}" && test -z "${BUILD_LOADER_EDB_FALSE}"; then
33118 as_fn_error $? "conditional \"BUILD_LOADER_EDB\" was never defined.
33119Usually this means the macro was only invoked conditionally." "$LINENO" 5
33120fi
33121if test -z "${EVAS_STATIC_BUILD_EDB_TRUE}" && test -z "${EVAS_STATIC_BUILD_EDB_FALSE}"; then
33122 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EDB\" was never defined.
33123Usually this means the macro was only invoked conditionally." "$LINENO" 5
33124fi
33125if test -z "${BUILD_LOADER_EET_TRUE}" && test -z "${BUILD_LOADER_EET_FALSE}"; then
33126 as_fn_error $? "conditional \"BUILD_LOADER_EET\" was never defined.
33127Usually this means the macro was only invoked conditionally." "$LINENO" 5
33128fi
33129if test -z "${EVAS_STATIC_BUILD_EET_TRUE}" && test -z "${EVAS_STATIC_BUILD_EET_FALSE}"; then
33130 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_EET\" was never defined.
33131Usually this means the macro was only invoked conditionally." "$LINENO" 5
33132fi
33133if test -z "${BUILD_LOADER_GIF_TRUE}" && test -z "${BUILD_LOADER_GIF_FALSE}"; then
33134 as_fn_error $? "conditional \"BUILD_LOADER_GIF\" was never defined.
33135Usually this means the macro was only invoked conditionally." "$LINENO" 5
33136fi
33137if test -z "${EVAS_STATIC_BUILD_GIF_TRUE}" && test -z "${EVAS_STATIC_BUILD_GIF_FALSE}"; then
33138 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GIF\" was never defined.
33139Usually this means the macro was only invoked conditionally." "$LINENO" 5
33140fi
33141if test -z "${BUILD_LOADER_JPEG_TRUE}" && test -z "${BUILD_LOADER_JPEG_FALSE}"; then
33142 as_fn_error $? "conditional \"BUILD_LOADER_JPEG\" was never defined.
33143Usually this means the macro was only invoked conditionally." "$LINENO" 5
33144fi
33145if test -z "${EVAS_STATIC_BUILD_JPEG_TRUE}" && test -z "${EVAS_STATIC_BUILD_JPEG_FALSE}"; then
33146 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_JPEG\" was never defined.
33147Usually this means the macro was only invoked conditionally." "$LINENO" 5
33148fi
33149if test -z "${BUILD_SAVER_JPEG_TRUE}" && test -z "${BUILD_SAVER_JPEG_FALSE}"; then
33150 as_fn_error $? "conditional \"BUILD_SAVER_JPEG\" was never defined.
33151Usually this means the macro was only invoked conditionally." "$LINENO" 5
33152fi
33153if test -z "${BUILD_LOADER_PMAPS_TRUE}" && test -z "${BUILD_LOADER_PMAPS_FALSE}"; then
33154 as_fn_error $? "conditional \"BUILD_LOADER_PMAPS\" was never defined.
33155Usually this means the macro was only invoked conditionally." "$LINENO" 5
33156fi
33157if test -z "${EVAS_STATIC_BUILD_PMAPS_TRUE}" && test -z "${EVAS_STATIC_BUILD_PMAPS_FALSE}"; then
33158 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PMAPS\" was never defined.
33159Usually this means the macro was only invoked conditionally." "$LINENO" 5
33160fi
33161if test -z "${BUILD_LOADER_PNG_TRUE}" && test -z "${BUILD_LOADER_PNG_FALSE}"; then
33162 as_fn_error $? "conditional \"BUILD_LOADER_PNG\" was never defined.
33163Usually this means the macro was only invoked conditionally." "$LINENO" 5
33164fi
33165if test -z "${EVAS_STATIC_BUILD_PNG_TRUE}" && test -z "${EVAS_STATIC_BUILD_PNG_FALSE}"; then
33166 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PNG\" was never defined.
33167Usually this means the macro was only invoked conditionally." "$LINENO" 5
33168fi
33169if test -z "${BUILD_LOADER_SVG_TRUE}" && test -z "${BUILD_LOADER_SVG_FALSE}"; then
33170 as_fn_error $? "conditional \"BUILD_LOADER_SVG\" was never defined.
33171Usually this means the macro was only invoked conditionally." "$LINENO" 5
33172fi
33173if test -z "${EVAS_STATIC_BUILD_SVG_TRUE}" && test -z "${EVAS_STATIC_BUILD_SVG_FALSE}"; then
33174 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_SVG\" was never defined.
33175Usually this means the macro was only invoked conditionally." "$LINENO" 5
33176fi
33177if test -z "${BUILD_LOADER_TIFF_TRUE}" && test -z "${BUILD_LOADER_TIFF_FALSE}"; then
33178 as_fn_error $? "conditional \"BUILD_LOADER_TIFF\" was never defined.
33179Usually this means the macro was only invoked conditionally." "$LINENO" 5
33180fi
33181if test -z "${EVAS_STATIC_BUILD_TIFF_TRUE}" && test -z "${EVAS_STATIC_BUILD_TIFF_FALSE}"; then
33182 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TIFF\" was never defined.
33183Usually this means the macro was only invoked conditionally." "$LINENO" 5
33184fi
33185if test -z "${BUILD_LOADER_XPM_TRUE}" && test -z "${BUILD_LOADER_XPM_FALSE}"; then
33186 as_fn_error $? "conditional \"BUILD_LOADER_XPM\" was never defined.
33187Usually this means the macro was only invoked conditionally." "$LINENO" 5
33188fi
33189if test -z "${EVAS_STATIC_BUILD_XPM_TRUE}" && test -z "${EVAS_STATIC_BUILD_XPM_FALSE}"; then
33190 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_XPM\" was never defined.
33191Usually this means the macro was only invoked conditionally." "$LINENO" 5
33192fi
33193if test -z "${BUILD_LOADER_BMP_TRUE}" && test -z "${BUILD_LOADER_BMP_FALSE}"; then
33194 as_fn_error $? "conditional \"BUILD_LOADER_BMP\" was never defined.
33195Usually this means the macro was only invoked conditionally." "$LINENO" 5
33196fi
33197if test -z "${EVAS_STATIC_BUILD_BMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_BMP_FALSE}"; then
33198 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_BMP\" was never defined.
33199Usually this means the macro was only invoked conditionally." "$LINENO" 5
33200fi
33201if test -z "${BUILD_LOADER_TGA_TRUE}" && test -z "${BUILD_LOADER_TGA_FALSE}"; then
33202 as_fn_error $? "conditional \"BUILD_LOADER_TGA\" was never defined.
33203Usually this means the macro was only invoked conditionally." "$LINENO" 5
33204fi
33205if test -z "${EVAS_STATIC_BUILD_TGA_TRUE}" && test -z "${EVAS_STATIC_BUILD_TGA_FALSE}"; then
33206 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_TGA\" was never defined.
33207Usually this means the macro was only invoked conditionally." "$LINENO" 5
33208fi
33209if test -z "${BUILD_LOADER_WBMP_TRUE}" && test -z "${BUILD_LOADER_WBMP_FALSE}"; then
33210 as_fn_error $? "conditional \"BUILD_LOADER_WBMP\" was never defined.
33211Usually this means the macro was only invoked conditionally." "$LINENO" 5
33212fi
33213if test -z "${EVAS_STATIC_BUILD_WBMP_TRUE}" && test -z "${EVAS_STATIC_BUILD_WBMP_FALSE}"; then
33214 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_WBMP\" was never defined.
33215Usually this means the macro was only invoked conditionally." "$LINENO" 5
33216fi
33217if test -z "${BUILD_LOADER_ICO_TRUE}" && test -z "${BUILD_LOADER_ICO_FALSE}"; then
33218 as_fn_error $? "conditional \"BUILD_LOADER_ICO\" was never defined.
33219Usually this means the macro was only invoked conditionally." "$LINENO" 5
33220fi
33221if test -z "${EVAS_STATIC_BUILD_ICO_TRUE}" && test -z "${EVAS_STATIC_BUILD_ICO_FALSE}"; then
33222 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_ICO\" was never defined.
33223Usually this means the macro was only invoked conditionally." "$LINENO" 5
33224fi
33225if test -z "${BUILD_LOADER_PSD_TRUE}" && test -z "${BUILD_LOADER_PSD_FALSE}"; then
33226 as_fn_error $? "conditional \"BUILD_LOADER_PSD\" was never defined.
33227Usually this means the macro was only invoked conditionally." "$LINENO" 5
33228fi
33229if test -z "${EVAS_STATIC_BUILD_PSD_TRUE}" && test -z "${EVAS_STATIC_BUILD_PSD_FALSE}"; then
33230 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_PSD\" was never defined.
33231Usually this means the macro was only invoked conditionally." "$LINENO" 5
33232fi
33233if test -z "${BUILD_LOADER_GENERIC_TRUE}" && test -z "${BUILD_LOADER_GENERIC_FALSE}"; then
33234 as_fn_error $? "conditional \"BUILD_LOADER_GENERIC\" was never defined.
33235Usually this means the macro was only invoked conditionally." "$LINENO" 5
33236fi
33237if test -z "${EVAS_STATIC_BUILD_GENERIC_TRUE}" && test -z "${EVAS_STATIC_BUILD_GENERIC_FALSE}"; then
33238 as_fn_error $? "conditional \"EVAS_STATIC_BUILD_GENERIC\" was never defined.
33239Usually this means the macro was only invoked conditionally." "$LINENO" 5
33240fi
33241if test -z "${EVAS_MAGIC_DEBUG_TRUE}" && test -z "${EVAS_MAGIC_DEBUG_FALSE}"; then
33242 as_fn_error $? "conditional \"EVAS_MAGIC_DEBUG\" was never defined.
33243Usually this means the macro was only invoked conditionally." "$LINENO" 5
33244fi
33245if test -z "${WORD_CACHE_TRUE}" && test -z "${WORD_CACHE_FALSE}"; then
33246 as_fn_error $? "conditional \"WORD_CACHE\" was never defined.
33247Usually this means the macro was only invoked conditionally." "$LINENO" 5
33248fi
33249if test -z "${METRIC_CACHE_TRUE}" && test -z "${METRIC_CACHE_FALSE}"; then
33250 as_fn_error $? "conditional \"METRIC_CACHE\" was never defined.
33251Usually this means the macro was only invoked conditionally." "$LINENO" 5
33252fi
33253if test -z "${INSTALL_EXAMPLES_TRUE}" && test -z "${INSTALL_EXAMPLES_FALSE}"; then
33254 as_fn_error $? "conditional \"INSTALL_EXAMPLES\" was never defined.
33255Usually this means the macro was only invoked conditionally." "$LINENO" 5
33256fi
33257if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
33258 as_fn_error $? "conditional \"BUILD_EXAMPLES\" was never defined.
33259Usually this means the macro was only invoked conditionally." "$LINENO" 5
33260fi
33261if test -z "${EFL_ENABLE_TESTS_TRUE}" && test -z "${EFL_ENABLE_TESTS_FALSE}"; then
33262 as_fn_error $? "conditional \"EFL_ENABLE_TESTS\" was never defined.
33263Usually this means the macro was only invoked conditionally." "$LINENO" 5
33264fi
33265if test -z "${EFL_ENABLE_COVERAGE_TRUE}" && test -z "${EFL_ENABLE_COVERAGE_FALSE}"; then
33266 as_fn_error $? "conditional \"EFL_ENABLE_COVERAGE\" was never defined.
33267Usually this means the macro was only invoked conditionally." "$LINENO" 5
33268fi
33269
33270: ${CONFIG_STATUS=./config.status}
33271ac_write_fail=0
33272ac_clean_files_save=$ac_clean_files
33273ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33274{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
33275$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
33276as_write_fail=0
33277cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
33278#! $SHELL
33279# Generated by $as_me.
33280# Run this file to recreate the current configuration.
33281# Compiler output produced by configure, useful for debugging
33282# configure, is in config.log if it exists.
33283
33284debug=false
33285ac_cs_recheck=false
33286ac_cs_silent=false
33287
33288SHELL=\${CONFIG_SHELL-$SHELL}
33289export SHELL
33290_ASEOF
33291cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
33292## -------------------- ##
33293## M4sh Initialization. ##
33294## -------------------- ##
33295
33296# Be more Bourne compatible
33297DUALCASE=1; export DUALCASE # for MKS sh
33298if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
33299 emulate sh
33300 NULLCMD=:
33301 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
33302 # is contrary to our usage. Disable this feature.
33303 alias -g '${1+"$@"}'='"$@"'
33304 setopt NO_GLOB_SUBST
33305else
33306 case `(set -o) 2>/dev/null` in #(
33307 *posix*) :
33308 set -o posix ;; #(
33309 *) :
33310 ;;
33311esac
33312fi
33313
33314
33315as_nl='
33316'
33317export as_nl
33318# Printing a long string crashes Solaris 7 /usr/bin/printf.
33319as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
33320as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
33321as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
33322# Prefer a ksh shell builtin over an external printf program on Solaris,
33323# but without wasting forks for bash or zsh.
33324if test -z "$BASH_VERSION$ZSH_VERSION" \
33325 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
33326 as_echo='print -r --'
33327 as_echo_n='print -rn --'
33328elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
33329 as_echo='printf %s\n'
33330 as_echo_n='printf %s'
33331else
33332 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
33333 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
33334 as_echo_n='/usr/ucb/echo -n'
33335 else
33336 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
33337 as_echo_n_body='eval
33338 arg=$1;
33339 case $arg in #(
33340 *"$as_nl"*)
33341 expr "X$arg" : "X\\(.*\\)$as_nl";
33342 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
33343 esac;
33344 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
33345 '
33346 export as_echo_n_body
33347 as_echo_n='sh -c $as_echo_n_body as_echo'
33348 fi
33349 export as_echo_body
33350 as_echo='sh -c $as_echo_body as_echo'
33351fi
33352
33353# The user is always right.
33354if test "${PATH_SEPARATOR+set}" != set; then
33355 PATH_SEPARATOR=:
33356 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
33357 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
33358 PATH_SEPARATOR=';'
33359 }
33360fi
33361
33362
33363# IFS
33364# We need space, tab and new line, in precisely that order. Quoting is
33365# there to prevent editors from complaining about space-tab.
33366# (If _AS_PATH_WALK were called with IFS unset, it would disable word
33367# splitting by setting IFS to empty value.)
33368IFS=" "" $as_nl"
33369
33370# Find who we are. Look in the path if we contain no directory separator.
33371case $0 in #((
33372 *[\\/]* ) as_myself=$0 ;;
33373 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33374for as_dir in $PATH
33375do
33376 IFS=$as_save_IFS
33377 test -z "$as_dir" && as_dir=.
33378 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33379 done
33380IFS=$as_save_IFS
33381
33382 ;;
33383esac
33384# We did not find ourselves, most probably we were run as `sh COMMAND'
33385# in which case we are not to be found in the path.
33386if test "x$as_myself" = x; then
33387 as_myself=$0
33388fi
33389if test ! -f "$as_myself"; then
33390 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
33391 exit 1
33392fi
33393
33394# Unset variables that we do not need and which cause bugs (e.g. in
33395# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
33396# suppresses any "Segmentation fault" message there. '((' could
33397# trigger a bug in pdksh 5.2.14.
33398for as_var in BASH_ENV ENV MAIL MAILPATH
33399do eval test x\${$as_var+set} = xset \
33400 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
33401done
33402PS1='$ '
33403PS2='> '
33404PS4='+ '
33405
33406# NLS nuisances.
33407LC_ALL=C
33408export LC_ALL
33409LANGUAGE=C
33410export LANGUAGE
33411
33412# CDPATH.
33413(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33414
33415
33416# as_fn_error STATUS ERROR [LINENO LOG_FD]
33417# ----------------------------------------
33418# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
33419# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
33420# script with STATUS, using 1 if that was 0.
33421as_fn_error ()
33422{
33423 as_status=$1; test $as_status -eq 0 && as_status=1
33424 if test "$4"; then
33425 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
33426 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
33427 fi
33428 $as_echo "$as_me: error: $2" >&2
33429 as_fn_exit $as_status
33430} # as_fn_error
33431
33432
33433# as_fn_set_status STATUS
33434# -----------------------
33435# Set $? to STATUS, without forking.
33436as_fn_set_status ()
33437{
33438 return $1
33439} # as_fn_set_status
33440
33441# as_fn_exit STATUS
33442# -----------------
33443# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
33444as_fn_exit ()
33445{
33446 set +e
33447 as_fn_set_status $1
33448 exit $1
33449} # as_fn_exit
33450
33451# as_fn_unset VAR
33452# ---------------
33453# Portably unset VAR.
33454as_fn_unset ()
33455{
33456 { eval $1=; unset $1;}
33457}
33458as_unset=as_fn_unset
33459# as_fn_append VAR VALUE
33460# ----------------------
33461# Append the text in VALUE to the end of the definition contained in VAR. Take
33462# advantage of any shell optimizations that allow amortized linear growth over
33463# repeated appends, instead of the typical quadratic growth present in naive
33464# implementations.
33465if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
33466 eval 'as_fn_append ()
33467 {
33468 eval $1+=\$2
33469 }'
33470else
33471 as_fn_append ()
33472 {
33473 eval $1=\$$1\$2
33474 }
33475fi # as_fn_append
33476
33477# as_fn_arith ARG...
33478# ------------------
33479# Perform arithmetic evaluation on the ARGs, and store the result in the
33480# global $as_val. Take advantage of shells that can avoid forks. The arguments
33481# must be portable across $(()) and expr.
33482if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
33483 eval 'as_fn_arith ()
33484 {
33485 as_val=$(( $* ))
33486 }'
33487else
33488 as_fn_arith ()
33489 {
33490 as_val=`expr "$@" || test $? -eq 1`
33491 }
33492fi # as_fn_arith
33493
33494
33495if expr a : '\(a\)' >/dev/null 2>&1 &&
33496 test "X`expr 00001 : '.*\(...\)'`" = X001; then
33497 as_expr=expr
33498else
33499 as_expr=false
33500fi
33501
33502if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
33503 as_basename=basename
33504else
33505 as_basename=false
33506fi
33507
33508if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
33509 as_dirname=dirname
33510else
33511 as_dirname=false
33512fi
33513
33514as_me=`$as_basename -- "$0" ||
33515$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33516 X"$0" : 'X\(//\)$' \| \
33517 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
33518$as_echo X/"$0" |
33519 sed '/^.*\/\([^/][^/]*\)\/*$/{
33520 s//\1/
33521 q
33522 }
33523 /^X\/\(\/\/\)$/{
33524 s//\1/
33525 q
33526 }
33527 /^X\/\(\/\).*/{
33528 s//\1/
33529 q
33530 }
33531 s/.*/./; q'`
33532
33533# Avoid depending upon Character Ranges.
33534as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33535as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33536as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33537as_cr_digits='0123456789'
33538as_cr_alnum=$as_cr_Letters$as_cr_digits
33539
33540ECHO_C= ECHO_N= ECHO_T=
33541case `echo -n x` in #(((((
33542-n*)
33543 case `echo 'xy\c'` in
33544 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
33545 xy) ECHO_C='\c';;
33546 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
33547 ECHO_T=' ';;
33548 esac;;
33549*)
33550 ECHO_N='-n';;
33551esac
33552
33553rm -f conf$$ conf$$.exe conf$$.file
33554if test -d conf$$.dir; then
33555 rm -f conf$$.dir/conf$$.file
33556else
33557 rm -f conf$$.dir
33558 mkdir conf$$.dir 2>/dev/null
33559fi
33560if (echo >conf$$.file) 2>/dev/null; then
33561 if ln -s conf$$.file conf$$ 2>/dev/null; then
33562 as_ln_s='ln -s'
33563 # ... but there are two gotchas:
33564 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
33565 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
33566 # In both cases, we have to default to `cp -p'.
33567 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
33568 as_ln_s='cp -p'
33569 elif ln conf$$.file conf$$ 2>/dev/null; then
33570 as_ln_s=ln
33571 else
33572 as_ln_s='cp -p'
33573 fi
33574else
33575 as_ln_s='cp -p'
33576fi
33577rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
33578rmdir conf$$.dir 2>/dev/null
33579
33580
33581# as_fn_mkdir_p
33582# -------------
33583# Create "$as_dir" as a directory, including parents if necessary.
33584as_fn_mkdir_p ()
33585{
33586
33587 case $as_dir in #(
33588 -*) as_dir=./$as_dir;;
33589 esac
33590 test -d "$as_dir" || eval $as_mkdir_p || {
33591 as_dirs=
33592 while :; do
33593 case $as_dir in #(
33594 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
33595 *) as_qdir=$as_dir;;
33596 esac
33597 as_dirs="'$as_qdir' $as_dirs"
33598 as_dir=`$as_dirname -- "$as_dir" ||
33599$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33600 X"$as_dir" : 'X\(//\)[^/]' \| \
33601 X"$as_dir" : 'X\(//\)$' \| \
33602 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
33603$as_echo X"$as_dir" |
33604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33605 s//\1/
33606 q
33607 }
33608 /^X\(\/\/\)[^/].*/{
33609 s//\1/
33610 q
33611 }
33612 /^X\(\/\/\)$/{
33613 s//\1/
33614 q
33615 }
33616 /^X\(\/\).*/{
33617 s//\1/
33618 q
33619 }
33620 s/.*/./; q'`
33621 test -d "$as_dir" && break
33622 done
33623 test -z "$as_dirs" || eval "mkdir $as_dirs"
33624 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
33625
33626
33627} # as_fn_mkdir_p
33628if mkdir -p . 2>/dev/null; then
33629 as_mkdir_p='mkdir -p "$as_dir"'
33630else
33631 test -d ./-p && rmdir ./-p
33632 as_mkdir_p=false
33633fi
33634
33635if test -x / >/dev/null 2>&1; then
33636 as_test_x='test -x'
33637else
33638 if ls -dL / >/dev/null 2>&1; then
33639 as_ls_L_option=L
33640 else
33641 as_ls_L_option=
33642 fi
33643 as_test_x='
33644 eval sh -c '\''
33645 if test -d "$1"; then
33646 test -d "$1/.";
33647 else
33648 case $1 in #(
33649 -*)set "./$1";;
33650 esac;
33651 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
33652 ???[sx]*):;;*)false;;esac;fi
33653 '\'' sh
33654 '
33655fi
33656as_executable_p=$as_test_x
33657
33658# Sed expression to map a string onto a valid CPP name.
33659as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33660
33661# Sed expression to map a string onto a valid variable name.
33662as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33663
33664
33665exec 6>&1
33666## ----------------------------------- ##
33667## Main body of $CONFIG_STATUS script. ##
33668## ----------------------------------- ##
33669_ASEOF
33670test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
33671
33672cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33673# Save the log message, to keep $0 and so on meaningful, and to
33674# report actual input values of CONFIG_FILES etc. instead of their
33675# values after options handling.
33676ac_log="
33677This file was extended by evas $as_me 1.2.0-alpha, which was
33678generated by GNU Autoconf 2.67. Invocation command line was
33679
33680 CONFIG_FILES = $CONFIG_FILES
33681 CONFIG_HEADERS = $CONFIG_HEADERS
33682 CONFIG_LINKS = $CONFIG_LINKS
33683 CONFIG_COMMANDS = $CONFIG_COMMANDS
33684 $ $0 $@
33685
33686on `(hostname || uname -n) 2>/dev/null | sed 1q`
33687"
33688
33689_ACEOF
33690
33691case $ac_config_files in *"
33692"*) set x $ac_config_files; shift; ac_config_files=$*;;
33693esac
33694
33695case $ac_config_headers in *"
33696"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
33697esac
33698
33699
33700cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33701# Files that config.status was made for.
33702config_files="$ac_config_files"
33703config_headers="$ac_config_headers"
33704config_commands="$ac_config_commands"
33705
33706_ACEOF
33707
33708cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33709ac_cs_usage="\
33710\`$as_me' instantiates files and other configuration actions
33711from templates according to the current configuration. Unless the files
33712and actions are specified as TAGs, all are instantiated by default.
33713
33714Usage: $0 [OPTION]... [TAG]...
33715
33716 -h, --help print this help, then exit
33717 -V, --version print version number and configuration settings, then exit
33718 --config print configuration, then exit
33719 -q, --quiet, --silent
33720 do not print progress messages
33721 -d, --debug don't remove temporary files
33722 --recheck update $as_me by reconfiguring in the same conditions
33723 --file=FILE[:TEMPLATE]
33724 instantiate the configuration file FILE
33725 --header=FILE[:TEMPLATE]
33726 instantiate the configuration header FILE
33727
33728Configuration files:
33729$config_files
33730
33731Configuration headers:
33732$config_headers
33733
33734Configuration commands:
33735$config_commands
33736
33737Report bugs to <enlightenment-devel@lists.sourceforge.net>."
33738
33739_ACEOF
33740cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33741ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
33742ac_cs_version="\\
33743evas config.status 1.2.0-alpha
33744configured by $0, generated by GNU Autoconf 2.67,
33745 with options \\"\$ac_cs_config\\"
33746
33747Copyright (C) 2010 Free Software Foundation, Inc.
33748This config.status script is free software; the Free Software Foundation
33749gives unlimited permission to copy, distribute and modify it."
33750
33751ac_pwd='$ac_pwd'
33752srcdir='$srcdir'
33753INSTALL='$INSTALL'
33754MKDIR_P='$MKDIR_P'
33755AWK='$AWK'
33756test -n "\$AWK" || AWK=awk
33757_ACEOF
33758
33759cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33760# The default lists apply if the user does not specify any file.
33761ac_need_defaults=:
33762while test $# != 0
33763do
33764 case $1 in
33765 --*=?*)
33766 ac_option=`expr "X$1" : 'X\([^=]*\)='`
33767 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
33768 ac_shift=:
33769 ;;
33770 --*=)
33771 ac_option=`expr "X$1" : 'X\([^=]*\)='`
33772 ac_optarg=
33773 ac_shift=:
33774 ;;
33775 *)
33776 ac_option=$1
33777 ac_optarg=$2
33778 ac_shift=shift
33779 ;;
33780 esac
33781
33782 case $ac_option in
33783 # Handling of the options.
33784 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33785 ac_cs_recheck=: ;;
33786 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
33787 $as_echo "$ac_cs_version"; exit ;;
33788 --config | --confi | --conf | --con | --co | --c )
33789 $as_echo "$ac_cs_config"; exit ;;
33790 --debug | --debu | --deb | --de | --d | -d )
33791 debug=: ;;
33792 --file | --fil | --fi | --f )
33793 $ac_shift
33794 case $ac_optarg in
33795 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33796 '') as_fn_error $? "missing file argument" ;;
33797 esac
33798 as_fn_append CONFIG_FILES " '$ac_optarg'"
33799 ac_need_defaults=false;;
33800 --header | --heade | --head | --hea )
33801 $ac_shift
33802 case $ac_optarg in
33803 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
33804 esac
33805 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
33806 ac_need_defaults=false;;
33807 --he | --h)
33808 # Conflict between --help and --header
33809 as_fn_error $? "ambiguous option: \`$1'
33810Try \`$0 --help' for more information.";;
33811 --help | --hel | -h )
33812 $as_echo "$ac_cs_usage"; exit ;;
33813 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33814 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33815 ac_cs_silent=: ;;
33816
33817 # This is an error.
33818 -*) as_fn_error $? "unrecognized option: \`$1'
33819Try \`$0 --help' for more information." ;;
33820
33821 *) as_fn_append ac_config_targets " $1"
33822 ac_need_defaults=false ;;
33823
33824 esac
33825 shift
33826done
33827
33828ac_configure_extra_args=
33829
33830if $ac_cs_silent; then
33831 exec 6>/dev/null
33832 ac_configure_extra_args="$ac_configure_extra_args --silent"
33833fi
33834
33835_ACEOF
33836cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33837if \$ac_cs_recheck; then
33838 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33839 shift
33840 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
33841 CONFIG_SHELL='$SHELL'
33842 export CONFIG_SHELL
33843 exec "\$@"
33844fi
33845
33846_ACEOF
33847cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
33848exec 5>>config.log
33849{
33850 echo
33851 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33852## Running $as_me. ##
33853_ASBOX
33854 $as_echo "$ac_log"
33855} >&5
33856
33857_ACEOF
33858cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33859#
33860# INIT-COMMANDS
33861#
33862AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33863
33864
33865# The HP-UX ksh and POSIX shell print the target directory to stdout
33866# if CDPATH is set.
33867(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33868
33869sed_quote_subst='$sed_quote_subst'
33870double_quote_subst='$double_quote_subst'
33871delay_variable_subst='$delay_variable_subst'
33872AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
33873DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
33874OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
33875macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33876macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33877enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33878enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33879pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33880enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33881host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33882host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33883host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33884build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33885build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33886build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33887SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33888Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33889GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33890EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33891FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33892LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33893NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33894LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33895max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33896ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33897exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33898lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33899lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33900lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33901reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33902reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33903deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33904file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33905AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33906AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33907STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33908RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33909old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33910old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33911old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33912CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33913CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33914compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33915GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33916lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33917lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33918lt_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"`'
33919lt_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"`'
33920objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33921SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33922ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33923MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33924lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33925lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33926lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33927lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33928lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33929need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33930DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
33931NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
33932LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
33933OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
33934OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
33935libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33936shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33937extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33938archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33939enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33940export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33941whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33942compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33943old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33944old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33945archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33946archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33947module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33948module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33949with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33950allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33951no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33952hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33953hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33954hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33955hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33956hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33957hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33958hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33959hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33960inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33961link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33962fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33963always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33964export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33965exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33966include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33967prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33968file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33969variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33970need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33971need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33972version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33973runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33974shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33975shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33976libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33977library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33978soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33979postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33980postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33981finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33982finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33983hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33984sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33985sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33986hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33987enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33988enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33989enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33990old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33991striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33992compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
33993predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33994postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33995predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33996postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33997compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33998LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
33999old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34000compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34001GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34002lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34003lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34004lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34005lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34006lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34007archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34008enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34009export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34010whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34011compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34012old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34013old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34014archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34015archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34016module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34017module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34018with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34019allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34020no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34021hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34022hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34023hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34024hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34025hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34026hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34027hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34028hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34029inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34030link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34031fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34032always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34033export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34034exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34035include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34036prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34037file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34038hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34039compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34040predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34041postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34042predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34043postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34044compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
34045
34046LTCC='$LTCC'
34047LTCFLAGS='$LTCFLAGS'
34048compiler='$compiler_DEFAULT'
34049
34050# Quote evaled strings.
34051for var in SED \
34052GREP \
34053EGREP \
34054FGREP \
34055LD \
34056NM \
34057LN_S \
34058lt_SP2NL \
34059lt_NL2SP \
34060reload_flag \
34061deplibs_check_method \
34062file_magic_cmd \
34063AR \
34064AR_FLAGS \
34065STRIP \
34066RANLIB \
34067CC \
34068CFLAGS \
34069compiler \
34070lt_cv_sys_global_symbol_pipe \
34071lt_cv_sys_global_symbol_to_cdecl \
34072lt_cv_sys_global_symbol_to_c_name_address \
34073lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34074SHELL \
34075ECHO \
34076lt_prog_compiler_no_builtin_flag \
34077lt_prog_compiler_wl \
34078lt_prog_compiler_pic \
34079lt_prog_compiler_static \
34080lt_cv_prog_compiler_c_o \
34081need_locks \
34082DSYMUTIL \
34083NMEDIT \
34084LIPO \
34085OTOOL \
34086OTOOL64 \
34087shrext_cmds \
34088export_dynamic_flag_spec \
34089whole_archive_flag_spec \
34090compiler_needs_object \
34091with_gnu_ld \
34092allow_undefined_flag \
34093no_undefined_flag \
34094hardcode_libdir_flag_spec \
34095hardcode_libdir_flag_spec_ld \
34096hardcode_libdir_separator \
34097fix_srcfile_path \
34098exclude_expsyms \
34099include_expsyms \
34100file_list_spec \
34101variables_saved_for_relink \
34102libname_spec \
34103library_names_spec \
34104soname_spec \
34105finish_eval \
34106old_striplib \
34107striplib \
34108compiler_lib_search_dirs \
34109predep_objects \
34110postdep_objects \
34111predeps \
34112postdeps \
34113compiler_lib_search_path \
34114LD_CXX \
34115compiler_CXX \
34116lt_prog_compiler_no_builtin_flag_CXX \
34117lt_prog_compiler_wl_CXX \
34118lt_prog_compiler_pic_CXX \
34119lt_prog_compiler_static_CXX \
34120lt_cv_prog_compiler_c_o_CXX \
34121export_dynamic_flag_spec_CXX \
34122whole_archive_flag_spec_CXX \
34123compiler_needs_object_CXX \
34124with_gnu_ld_CXX \
34125allow_undefined_flag_CXX \
34126no_undefined_flag_CXX \
34127hardcode_libdir_flag_spec_CXX \
34128hardcode_libdir_flag_spec_ld_CXX \
34129hardcode_libdir_separator_CXX \
34130fix_srcfile_path_CXX \
34131exclude_expsyms_CXX \
34132include_expsyms_CXX \
34133file_list_spec_CXX \
34134compiler_lib_search_dirs_CXX \
34135predep_objects_CXX \
34136postdep_objects_CXX \
34137predeps_CXX \
34138postdeps_CXX \
34139compiler_lib_search_path_CXX; do
34140 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34141 *[\\\\\\\`\\"\\\$]*)
34142 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34143 ;;
34144 *)
34145 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34146 ;;
34147 esac
34148done
34149
34150# Double-quote double-evaled strings.
34151for var in reload_cmds \
34152old_postinstall_cmds \
34153old_postuninstall_cmds \
34154old_archive_cmds \
34155extract_expsyms_cmds \
34156old_archive_from_new_cmds \
34157old_archive_from_expsyms_cmds \
34158archive_cmds \
34159archive_expsym_cmds \
34160module_cmds \
34161module_expsym_cmds \
34162export_symbols_cmds \
34163prelink_cmds \
34164postinstall_cmds \
34165postuninstall_cmds \
34166finish_cmds \
34167sys_lib_search_path_spec \
34168sys_lib_dlsearch_path_spec \
34169old_archive_cmds_CXX \
34170old_archive_from_new_cmds_CXX \
34171old_archive_from_expsyms_cmds_CXX \
34172archive_cmds_CXX \
34173archive_expsym_cmds_CXX \
34174module_cmds_CXX \
34175module_expsym_cmds_CXX \
34176export_symbols_cmds_CXX \
34177prelink_cmds_CXX; do
34178 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34179 *[\\\\\\\`\\"\\\$]*)
34180 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34181 ;;
34182 *)
34183 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34184 ;;
34185 esac
34186done
34187
34188# Fix-up fallback echo if it was mangled by the above quoting rules.
34189case \$lt_ECHO in
34190*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34191 ;;
34192esac
34193
34194ac_aux_dir='$ac_aux_dir'
34195xsi_shell='$xsi_shell'
34196lt_shell_append='$lt_shell_append'
34197
34198# See if we are running on zsh, and set the options which allow our
34199# commands through without removal of \ escapes INIT.
34200if test -n "\${ZSH_VERSION+set}" ; then
34201 setopt NO_GLOB_SUBST
34202fi
34203
34204
34205 PACKAGE='$PACKAGE'
34206 VERSION='$VERSION'
34207 TIMESTAMP='$TIMESTAMP'
34208 RM='$RM'
34209 ofile='$ofile'
34210
34211
34212
34213
34214
34215
34216_ACEOF
34217
34218cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34219
34220# Handling of arguments.
34221for ac_config_target in $ac_config_targets
34222do
34223 case $ac_config_target in
34224 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34225 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34226 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34227 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34228 "evas-directfb.pc") CONFIG_FILES="$CONFIG_FILES evas-directfb.pc" ;;
34229 "evas-fb.pc") CONFIG_FILES="$CONFIG_FILES evas-fb.pc" ;;
34230 "evas-opengl-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-x11.pc" ;;
34231 "evas-opengl-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-sdl.pc" ;;
34232 "evas-opengl-cocoa.pc") CONFIG_FILES="$CONFIG_FILES evas-opengl-cocoa.pc" ;;
34233 "evas-software-buffer.pc") CONFIG_FILES="$CONFIG_FILES evas-software-buffer.pc" ;;
34234 "evas-software-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-x11.pc" ;;
34235 "evas-software-8-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-8-x11.pc" ;;
34236 "evas-software-16-x11.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-x11.pc" ;;
34237 "evas-software-gdi.pc") CONFIG_FILES="$CONFIG_FILES evas-software-gdi.pc" ;;
34238 "evas-software-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-ddraw.pc" ;;
34239 "evas-software-16-ddraw.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-ddraw.pc" ;;
34240 "evas-direct3d.pc") CONFIG_FILES="$CONFIG_FILES evas-direct3d.pc" ;;
34241 "evas-software-16-wince.pc") CONFIG_FILES="$CONFIG_FILES evas-software-16-wince.pc" ;;
34242 "evas-software-sdl.pc") CONFIG_FILES="$CONFIG_FILES evas-software-sdl.pc" ;;
34243 "evas-psl1ght.pc") CONFIG_FILES="$CONFIG_FILES evas-psl1ght.pc" ;;
34244 "evas-wayland-shm.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-shm.pc" ;;
34245 "evas-wayland-egl.pc") CONFIG_FILES="$CONFIG_FILES evas-wayland-egl.pc" ;;
34246 "evas.pc") CONFIG_FILES="$CONFIG_FILES evas.pc" ;;
34247 "doc/evas.dox") CONFIG_FILES="$CONFIG_FILES doc/evas.dox" ;;
34248 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
34249 "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
34250 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
34251 "src/bin/Makefile") CONFIG_FILES="$CONFIG_FILES src/bin/Makefile" ;;
34252 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
34253 "src/lib/canvas/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/canvas/Makefile" ;;
34254 "src/lib/file/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/file/Makefile" ;;
34255 "src/lib/cache/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cache/Makefile" ;;
34256 "src/lib/cserve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/cserve/Makefile" ;;
34257 "src/lib/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/Makefile" ;;
34258 "src/lib/engines/common/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/Makefile" ;;
34259 "src/lib/engines/common/evas_op_add/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_add/Makefile" ;;
34260 "src/lib/engines/common/evas_op_blend/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_blend/Makefile" ;;
34261 "src/lib/engines/common/evas_op_copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_copy/Makefile" ;;
34262 "src/lib/engines/common/evas_op_mask/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mask/Makefile" ;;
34263 "src/lib/engines/common/evas_op_mul/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_mul/Makefile" ;;
34264 "src/lib/engines/common/evas_op_sub/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common/evas_op_sub/Makefile" ;;
34265 "src/lib/engines/common_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_8/Makefile" ;;
34266 "src/lib/engines/common_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/engines/common_16/Makefile" ;;
34267 "src/modules/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/Makefile" ;;
34268 "src/modules/engines/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/Makefile" ;;
34269 "src/modules/engines/software_generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_generic/Makefile" ;;
34270 "src/modules/engines/software_gdi/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_gdi/Makefile" ;;
34271 "src/modules/engines/software_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_ddraw/Makefile" ;;
34272 "src/modules/engines/direct3d/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/direct3d/Makefile" ;;
34273 "src/modules/engines/software_16_wince/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_wince/Makefile" ;;
34274 "src/modules/engines/software_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_x11/Makefile" ;;
34275 "src/modules/engines/fb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/fb/Makefile" ;;
34276 "src/modules/engines/buffer/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/buffer/Makefile" ;;
34277 "src/modules/engines/directfb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/directfb/Makefile" ;;
34278 "src/modules/engines/gl_common/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_common/Makefile" ;;
34279 "src/modules/engines/gl_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_x11/Makefile" ;;
34280 "src/modules/engines/gl_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_sdl/Makefile" ;;
34281 "src/modules/engines/gl_cocoa/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/gl_cocoa/Makefile" ;;
34282 "src/modules/engines/psl1ght/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/psl1ght/Makefile" ;;
34283 "src/modules/engines/software_8/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8/Makefile" ;;
34284 "src/modules/engines/software_8_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_8_x11/Makefile" ;;
34285 "src/modules/engines/software_16/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16/Makefile" ;;
34286 "src/modules/engines/software_16_x11/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_x11/Makefile" ;;
34287 "src/modules/engines/software_16_ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_ddraw/Makefile" ;;
34288 "src/modules/engines/software_16_sdl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/software_16_sdl/Makefile" ;;
34289 "src/modules/engines/wayland_shm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_shm/Makefile" ;;
34290 "src/modules/engines/wayland_egl/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/engines/wayland_egl/Makefile" ;;
34291 "src/modules/loaders/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/Makefile" ;;
34292 "src/modules/loaders/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/edb/Makefile" ;;
34293 "src/modules/loaders/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/eet/Makefile" ;;
34294 "src/modules/loaders/gif/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/gif/Makefile" ;;
34295 "src/modules/loaders/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/jpeg/Makefile" ;;
34296 "src/modules/loaders/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/png/Makefile" ;;
34297 "src/modules/loaders/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tiff/Makefile" ;;
34298 "src/modules/loaders/xpm/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/xpm/Makefile" ;;
34299 "src/modules/loaders/bmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/bmp/Makefile" ;;
34300 "src/modules/loaders/ico/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/ico/Makefile" ;;
34301 "src/modules/loaders/tga/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/tga/Makefile" ;;
34302 "src/modules/loaders/svg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/svg/Makefile" ;;
34303 "src/modules/loaders/pmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/pmaps/Makefile" ;;
34304 "src/modules/loaders/wbmp/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/wbmp/Makefile" ;;
34305 "src/modules/loaders/psd/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/psd/Makefile" ;;
34306 "src/modules/loaders/generic/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/loaders/generic/Makefile" ;;
34307 "src/modules/savers/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/Makefile" ;;
34308 "src/modules/savers/edb/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/edb/Makefile" ;;
34309 "src/modules/savers/eet/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/eet/Makefile" ;;
34310 "src/modules/savers/jpeg/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/jpeg/Makefile" ;;
34311 "src/modules/savers/png/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/png/Makefile" ;;
34312 "src/modules/savers/tiff/Makefile") CONFIG_FILES="$CONFIG_FILES src/modules/savers/tiff/Makefile" ;;
34313 "src/static_deps/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/Makefile" ;;
34314 "src/static_deps/liblinebreak/Makefile") CONFIG_FILES="$CONFIG_FILES src/static_deps/liblinebreak/Makefile" ;;
34315 "src/lib/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/include/Makefile" ;;
34316 "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
34317 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
34318 "evas.spec") CONFIG_FILES="$CONFIG_FILES evas.spec" ;;
34319
34320 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
34321 esac
34322done
34323
34324
34325# If the user did not use the arguments to specify the items to instantiate,
34326# then the envvar interface is used. Set only those that are not.
34327# We use the long form for the default assignment because of an extremely
34328# bizarre bug on SunOS 4.1.3.
34329if $ac_need_defaults; then
34330 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34331 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34332 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34333fi
34334
34335# Have a temporary directory for convenience. Make it in the build tree
34336# simply because there is no reason against having it here, and in addition,
34337# creating and moving files from /tmp can sometimes cause problems.
34338# Hook for its removal unless debugging.
34339# Note that there is a small window in which the directory will not be cleaned:
34340# after its creation but before its name has been assigned to `$tmp'.
34341$debug ||
34342{
34343 tmp=
34344 trap 'exit_status=$?
34345 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
34346' 0
34347 trap 'as_fn_exit 1' 1 2 13 15
34348}
34349# Create a (secure) tmp directory for tmp files.
34350
34351{
34352 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
34353 test -n "$tmp" && test -d "$tmp"
34354} ||
34355{
34356 tmp=./conf$$-$RANDOM
34357 (umask 077 && mkdir "$tmp")
34358} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
34359
34360# Set up the scripts for CONFIG_FILES section.
34361# No need to generate them if there are no CONFIG_FILES.
34362# This happens for instance with `./config.status config.h'.
34363if test -n "$CONFIG_FILES"; then
34364
34365
34366ac_cr=`echo X | tr X '\015'`
34367# On cygwin, bash can eat \r inside `` if the user requested igncr.
34368# But we know of no other shell where ac_cr would be empty at this
34369# point, so we can use a bashism as a fallback.
34370if test "x$ac_cr" = x; then
34371 eval ac_cr=\$\'\\r\'
34372fi
34373ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
34374if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
34375 ac_cs_awk_cr='\\r'
34376else
34377 ac_cs_awk_cr=$ac_cr
34378fi
34379
34380echo 'BEGIN {' >"$tmp/subs1.awk" &&
34381_ACEOF
34382
34383
34384{
34385 echo "cat >conf$$subs.awk <<_ACEOF" &&
34386 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
34387 echo "_ACEOF"
34388} >conf$$subs.sh ||
34389 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34390ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
34391ac_delim='%!_!# '
34392for ac_last_try in false false false false false :; do
34393 . ./conf$$subs.sh ||
34394 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34395
34396 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
34397 if test $ac_delim_n = $ac_delim_num; then
34398 break
34399 elif $ac_last_try; then
34400 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
34401 else
34402 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34403 fi
34404done
34405rm -f conf$$subs.sh
34406
34407cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34408cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
34409_ACEOF
34410sed -n '
34411h
34412s/^/S["/; s/!.*/"]=/
34413p
34414g
34415s/^[^!]*!//
34416:repl
34417t repl
34418s/'"$ac_delim"'$//
34419t delim
34420:nl
34421h
34422s/\(.\{148\}\)..*/\1/
34423t more1
34424s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
34425p
34426n
34427b repl
34428:more1
34429s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34430p
34431g
34432s/.\{148\}//
34433t nl
34434:delim
34435h
34436s/\(.\{148\}\)..*/\1/
34437t more2
34438s/["\\]/\\&/g; s/^/"/; s/$/"/
34439p
34440b
34441:more2
34442s/["\\]/\\&/g; s/^/"/; s/$/"\\/
34443p
34444g
34445s/.\{148\}//
34446t delim
34447' <conf$$subs.awk | sed '
34448/^[^""]/{
34449 N
34450 s/\n//
34451}
34452' >>$CONFIG_STATUS || ac_write_fail=1
34453rm -f conf$$subs.awk
34454cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34455_ACAWK
34456cat >>"\$tmp/subs1.awk" <<_ACAWK &&
34457 for (key in S) S_is_set[key] = 1
34458 FS = ""
34459
34460}
34461{
34462 line = $ 0
34463 nfields = split(line, field, "@")
34464 substed = 0
34465 len = length(field[1])
34466 for (i = 2; i < nfields; i++) {
34467 key = field[i]
34468 keylen = length(key)
34469 if (S_is_set[key]) {
34470 value = S[key]
34471 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
34472 len += length(value) + length(field[++i])
34473 substed = 1
34474 } else
34475 len += 1 + keylen
34476 }
34477
34478 print line
34479}
34480
34481_ACAWK
34482_ACEOF
34483cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34484if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
34485 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
34486else
34487 cat
34488fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
34489 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
34490_ACEOF
34491
34492# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
34493# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
34494# trailing colons and then remove the whole line if VPATH becomes empty
34495# (actually we leave an empty line to preserve line numbers).
34496if test "x$srcdir" = x.; then
34497 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
34498h
34499s///
34500s/^/:/
34501s/[ ]*$/:/
34502s/:\$(srcdir):/:/g
34503s/:\${srcdir}:/:/g
34504s/:@srcdir@:/:/g
34505s/^:*//
34506s/:*$//
34507x
34508s/\(=[ ]*\).*/\1/
34509G
34510s/\n//
34511s/^[^=]*=[ ]*$//
34512}'
34513fi
34514
34515cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34516fi # test -n "$CONFIG_FILES"
34517
34518# Set up the scripts for CONFIG_HEADERS section.
34519# No need to generate them if there are no CONFIG_HEADERS.
34520# This happens for instance with `./config.status Makefile'.
34521if test -n "$CONFIG_HEADERS"; then
34522cat >"$tmp/defines.awk" <<\_ACAWK ||
34523BEGIN {
34524_ACEOF
34525
34526# Transform confdefs.h into an awk script `defines.awk', embedded as
34527# here-document in config.status, that substitutes the proper values into
34528# config.h.in to produce config.h.
34529
34530# Create a delimiter string that does not exist in confdefs.h, to ease
34531# handling of long lines.
34532ac_delim='%!_!# '
34533for ac_last_try in false false :; do
34534 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
34535 if test -z "$ac_t"; then
34536 break
34537 elif $ac_last_try; then
34538 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
34539 else
34540 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
34541 fi
34542done
34543
34544# For the awk script, D is an array of macro values keyed by name,
34545# likewise P contains macro parameters if any. Preserve backslash
34546# newline sequences.
34547
34548ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
34549sed -n '
34550s/.\{148\}/&'"$ac_delim"'/g
34551t rset
34552:rset
34553s/^[ ]*#[ ]*define[ ][ ]*/ /
34554t def
34555d
34556:def
34557s/\\$//
34558t bsnl
34559s/["\\]/\\&/g
34560s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
34561D["\1"]=" \3"/p
34562s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
34563d
34564:bsnl
34565s/["\\]/\\&/g
34566s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
34567D["\1"]=" \3\\\\\\n"\\/p
34568t cont
34569s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
34570t cont
34571d
34572:cont
34573n
34574s/.\{148\}/&'"$ac_delim"'/g
34575t clear
34576:clear
34577s/\\$//
34578t bsnlc
34579s/["\\]/\\&/g; s/^/"/; s/$/"/p
34580d
34581:bsnlc
34582s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
34583b cont
34584' <confdefs.h | sed '
34585s/'"$ac_delim"'/"\\\
34586"/g' >>$CONFIG_STATUS || ac_write_fail=1
34587
34588cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34589 for (key in D) D_is_set[key] = 1
34590 FS = ""
34591}
34592/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
34593 line = \$ 0
34594 split(line, arg, " ")
34595 if (arg[1] == "#") {
34596 defundef = arg[2]
34597 mac1 = arg[3]
34598 } else {
34599 defundef = substr(arg[1], 2)
34600 mac1 = arg[2]
34601 }
34602 split(mac1, mac2, "(") #)
34603 macro = mac2[1]
34604 prefix = substr(line, 1, index(line, defundef) - 1)
34605 if (D_is_set[macro]) {
34606 # Preserve the white space surrounding the "#".
34607 print prefix "define", macro P[macro] D[macro]
34608 next
34609 } else {
34610 # Replace #undef with comments. This is necessary, for example,
34611 # in the case of _POSIX_SOURCE, which is predefined and required
34612 # on some systems where configure will not decide to define it.
34613 if (defundef == "undef") {
34614 print "/*", prefix defundef, macro, "*/"
34615 next
34616 }
34617 }
34618}
34619{ print }
34620_ACAWK
34621_ACEOF
34622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34623 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
34624fi # test -n "$CONFIG_HEADERS"
34625
34626
34627eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
34628shift
34629for ac_tag
34630do
34631 case $ac_tag in
34632 :[FHLC]) ac_mode=$ac_tag; continue;;
34633 esac
34634 case $ac_mode$ac_tag in
34635 :[FHL]*:*);;
34636 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
34637 :[FH]-) ac_tag=-:-;;
34638 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
34639 esac
34640 ac_save_IFS=$IFS
34641 IFS=:
34642 set x $ac_tag
34643 IFS=$ac_save_IFS
34644 shift
34645 ac_file=$1
34646 shift
34647
34648 case $ac_mode in
34649 :L) ac_source=$1;;
34650 :[FH])
34651 ac_file_inputs=
34652 for ac_f
34653 do
34654 case $ac_f in
34655 -) ac_f="$tmp/stdin";;
34656 *) # Look for the file first in the build tree, then in the source tree
34657 # (if the path is not absolute). The absolute path cannot be DOS-style,
34658 # because $ac_f cannot contain `:'.
34659 test -f "$ac_f" ||
34660 case $ac_f in
34661 [\\/$]*) false;;
34662 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
34663 esac ||
34664 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
34665 esac
34666 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
34667 as_fn_append ac_file_inputs " '$ac_f'"
34668 done
34669
34670 # Let's still pretend it is `configure' which instantiates (i.e., don't
34671 # use $as_me), people would be surprised to read:
34672 # /* config.h. Generated by config.status. */
34673 configure_input='Generated from '`
34674 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
34675 `' by configure.'
34676 if test x"$ac_file" != x-; then
34677 configure_input="$ac_file. $configure_input"
34678 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
34679$as_echo "$as_me: creating $ac_file" >&6;}
34680 fi
34681 # Neutralize special characters interpreted by sed in replacement strings.
34682 case $configure_input in #(
34683 *\&* | *\|* | *\\* )
34684 ac_sed_conf_input=`$as_echo "$configure_input" |
34685 sed 's/[\\\\&|]/\\\\&/g'`;; #(
34686 *) ac_sed_conf_input=$configure_input;;
34687 esac
34688
34689 case $ac_tag in
34690 *:-:* | *:-) cat >"$tmp/stdin" \
34691 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
34692 esac
34693 ;;
34694 esac
34695
34696 ac_dir=`$as_dirname -- "$ac_file" ||
34697$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34698 X"$ac_file" : 'X\(//\)[^/]' \| \
34699 X"$ac_file" : 'X\(//\)$' \| \
34700 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
34701$as_echo X"$ac_file" |
34702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34703 s//\1/
34704 q
34705 }
34706 /^X\(\/\/\)[^/].*/{
34707 s//\1/
34708 q
34709 }
34710 /^X\(\/\/\)$/{
34711 s//\1/
34712 q
34713 }
34714 /^X\(\/\).*/{
34715 s//\1/
34716 q
34717 }
34718 s/.*/./; q'`
34719 as_dir="$ac_dir"; as_fn_mkdir_p
34720 ac_builddir=.
34721
34722case "$ac_dir" in
34723.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
34724*)
34725 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
34726 # A ".." for each directory in $ac_dir_suffix.
34727 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
34728 case $ac_top_builddir_sub in
34729 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
34730 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
34731 esac ;;
34732esac
34733ac_abs_top_builddir=$ac_pwd
34734ac_abs_builddir=$ac_pwd$ac_dir_suffix
34735# for backward compatibility:
34736ac_top_builddir=$ac_top_build_prefix
34737
34738case $srcdir in
34739 .) # We are building in place.
34740 ac_srcdir=.
34741 ac_top_srcdir=$ac_top_builddir_sub
34742 ac_abs_top_srcdir=$ac_pwd ;;
34743 [\\/]* | ?:[\\/]* ) # Absolute name.
34744 ac_srcdir=$srcdir$ac_dir_suffix;
34745 ac_top_srcdir=$srcdir
34746 ac_abs_top_srcdir=$srcdir ;;
34747 *) # Relative name.
34748 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
34749 ac_top_srcdir=$ac_top_build_prefix$srcdir
34750 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
34751esac
34752ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
34753
34754
34755 case $ac_mode in
34756 :F)
34757 #
34758 # CONFIG_FILE
34759 #
34760
34761 case $INSTALL in
34762 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34763 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
34764 esac
34765 ac_MKDIR_P=$MKDIR_P
34766 case $MKDIR_P in
34767 [\\/$]* | ?:[\\/]* ) ;;
34768 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
34769 esac
34770_ACEOF
34771
34772cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34773# If the template does not know about datarootdir, expand it.
34774# FIXME: This hack should be removed a few years after 2.60.
34775ac_datarootdir_hack=; ac_datarootdir_seen=
34776ac_sed_dataroot='
34777/datarootdir/ {
34778 p
34779 q
34780}
34781/@datadir@/p
34782/@docdir@/p
34783/@infodir@/p
34784/@localedir@/p
34785/@mandir@/p'
34786case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
34787*datarootdir*) ac_datarootdir_seen=yes;;
34788*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
34790$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
34791_ACEOF
34792cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34793 ac_datarootdir_hack='
34794 s&@datadir@&$datadir&g
34795 s&@docdir@&$docdir&g
34796 s&@infodir@&$infodir&g
34797 s&@localedir@&$localedir&g
34798 s&@mandir@&$mandir&g
34799 s&\\\${datarootdir}&$datarootdir&g' ;;
34800esac
34801_ACEOF
34802
34803# Neutralize VPATH when `$srcdir' = `.'.
34804# Shell code in configure.ac might set extrasub.
34805# FIXME: do we really want to maintain this feature?
34806cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
34807ac_sed_extra="$ac_vpsub
34808$extrasub
34809_ACEOF
34810cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
34811:t
34812/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34813s|@configure_input@|$ac_sed_conf_input|;t t
34814s&@top_builddir@&$ac_top_builddir_sub&;t t
34815s&@top_build_prefix@&$ac_top_build_prefix&;t t
34816s&@srcdir@&$ac_srcdir&;t t
34817s&@abs_srcdir@&$ac_abs_srcdir&;t t
34818s&@top_srcdir@&$ac_top_srcdir&;t t
34819s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
34820s&@builddir@&$ac_builddir&;t t
34821s&@abs_builddir@&$ac_abs_builddir&;t t
34822s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
34823s&@INSTALL@&$ac_INSTALL&;t t
34824s&@MKDIR_P@&$ac_MKDIR_P&;t t
34825$ac_datarootdir_hack
34826"
34827eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
34828 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34829
34830test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
34831 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
34832 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
34833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34834which seems to be undefined. Please make sure it is defined" >&5
34835$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
34836which seems to be undefined. Please make sure it is defined" >&2;}
34837
34838 rm -f "$tmp/stdin"
34839 case $ac_file in
34840 -) cat "$tmp/out" && rm -f "$tmp/out";;
34841 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
34842 esac \
34843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34844 ;;
34845 :H)
34846 #
34847 # CONFIG_HEADER
34848 #
34849 if test x"$ac_file" != x-; then
34850 {
34851 $as_echo "/* $configure_input */" \
34852 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
34853 } >"$tmp/config.h" \
34854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34855 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
34856 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
34857$as_echo "$as_me: $ac_file is unchanged" >&6;}
34858 else
34859 rm -f "$ac_file"
34860 mv "$tmp/config.h" "$ac_file" \
34861 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
34862 fi
34863 else
34864 $as_echo "/* $configure_input */" \
34865 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
34866 || as_fn_error $? "could not create -" "$LINENO" 5
34867 fi
34868# Compute "$ac_file"'s index in $config_headers.
34869_am_arg="$ac_file"
34870_am_stamp_count=1
34871for _am_header in $config_headers :; do
34872 case $_am_header in
34873 $_am_arg | $_am_arg:* )
34874 break ;;
34875 * )
34876 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34877 esac
34878done
34879echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
34880$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34881 X"$_am_arg" : 'X\(//\)[^/]' \| \
34882 X"$_am_arg" : 'X\(//\)$' \| \
34883 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
34884$as_echo X"$_am_arg" |
34885 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34886 s//\1/
34887 q
34888 }
34889 /^X\(\/\/\)[^/].*/{
34890 s//\1/
34891 q
34892 }
34893 /^X\(\/\/\)$/{
34894 s//\1/
34895 q
34896 }
34897 /^X\(\/\).*/{
34898 s//\1/
34899 q
34900 }
34901 s/.*/./; q'`/stamp-h$_am_stamp_count
34902 ;;
34903
34904 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
34905$as_echo "$as_me: executing $ac_file commands" >&6;}
34906 ;;
34907 esac
34908
34909
34910 case $ac_file$ac_mode in
34911 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
34912 # Autoconf 2.62 quotes --file arguments for eval, but not when files
34913 # are listed without --file. Let's play safe and only enable the eval
34914 # if we detect the quoting.
34915 case $CONFIG_FILES in
34916 *\'*) eval set x "$CONFIG_FILES" ;;
34917 *) set x $CONFIG_FILES ;;
34918 esac
34919 shift
34920 for mf
34921 do
34922 # Strip MF so we end up with the name of the file.
34923 mf=`echo "$mf" | sed -e 's/:.*$//'`
34924 # Check whether this is an Automake generated Makefile or not.
34925 # We used to match only the files named `Makefile.in', but
34926 # some people rename them; so instead we look at the file content.
34927 # Grep'ing the first line is not enough: some people post-process
34928 # each Makefile.in and add a new line on top of each file to say so.
34929 # Grep'ing the whole file is not good either: AIX grep has a line
34930 # limit of 2048, but all sed's we know have understand at least 4000.
34931 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
34932 dirpart=`$as_dirname -- "$mf" ||
34933$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34934 X"$mf" : 'X\(//\)[^/]' \| \
34935 X"$mf" : 'X\(//\)$' \| \
34936 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
34937$as_echo X"$mf" |
34938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34939 s//\1/
34940 q
34941 }
34942 /^X\(\/\/\)[^/].*/{
34943 s//\1/
34944 q
34945 }
34946 /^X\(\/\/\)$/{
34947 s//\1/
34948 q
34949 }
34950 /^X\(\/\).*/{
34951 s//\1/
34952 q
34953 }
34954 s/.*/./; q'`
34955 else
34956 continue
34957 fi
34958 # Extract the definition of DEPDIR, am__include, and am__quote
34959 # from the Makefile without running `make'.
34960 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34961 test -z "$DEPDIR" && continue
34962 am__include=`sed -n 's/^am__include = //p' < "$mf"`
34963 test -z "am__include" && continue
34964 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34965 # When using ansi2knr, U may be empty or an underscore; expand it
34966 U=`sed -n 's/^U = //p' < "$mf"`
34967 # Find all dependency output files, they are included files with
34968 # $(DEPDIR) in their names. We invoke sed twice because it is the
34969 # simplest approach to changing $(DEPDIR) to its actual value in the
34970 # expansion.
34971 for file in `sed -n "
34972 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34973 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34974 # Make sure the directory exists.
34975 test -f "$dirpart/$file" && continue
34976 fdir=`$as_dirname -- "$file" ||
34977$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34978 X"$file" : 'X\(//\)[^/]' \| \
34979 X"$file" : 'X\(//\)$' \| \
34980 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
34981$as_echo X"$file" |
34982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
34983 s//\1/
34984 q
34985 }
34986 /^X\(\/\/\)[^/].*/{
34987 s//\1/
34988 q
34989 }
34990 /^X\(\/\/\)$/{
34991 s//\1/
34992 q
34993 }
34994 /^X\(\/\).*/{
34995 s//\1/
34996 q
34997 }
34998 s/.*/./; q'`
34999 as_dir=$dirpart/$fdir; as_fn_mkdir_p
35000 # echo "creating $dirpart/$file"
35001 echo '# dummy' > "$dirpart/$file"
35002 done
35003 done
35004}
35005 ;;
35006 "libtool":C)
35007
35008 # See if we are running on zsh, and set the options which allow our
35009 # commands through without removal of \ escapes.
35010 if test -n "${ZSH_VERSION+set}" ; then
35011 setopt NO_GLOB_SUBST
35012 fi
35013
35014 cfgfile="${ofile}T"
35015 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35016 $RM "$cfgfile"
35017
35018 cat <<_LT_EOF >> "$cfgfile"
35019#! $SHELL
35020
35021# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35022# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
35023# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35024# NOTE: Changes made to this file will be lost: look at ltmain.sh.
35025#
35026# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35027# 2006, 2007, 2008 Free Software Foundation, Inc.
35028# Written by Gordon Matzigkeit, 1996
35029#
35030# This file is part of GNU Libtool.
35031#
35032# GNU Libtool is free software; you can redistribute it and/or
35033# modify it under the terms of the GNU General Public License as
35034# published by the Free Software Foundation; either version 2 of
35035# the License, or (at your option) any later version.
35036#
35037# As a special exception to the GNU General Public License,
35038# if you distribute this file as part of a program or library that
35039# is built using GNU Libtool, you may include this file under the
35040# same distribution terms that you use for the rest of that program.
35041#
35042# GNU Libtool is distributed in the hope that it will be useful,
35043# but WITHOUT ANY WARRANTY; without even the implied warranty of
35044# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35045# GNU General Public License for more details.
35046#
35047# You should have received a copy of the GNU General Public License
35048# along with GNU Libtool; see the file COPYING. If not, a copy
35049# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
35050# obtained by writing to the Free Software Foundation, Inc.,
35051# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
35052
35053
35054# The names of the tagged configurations supported by this script.
35055available_tags="CXX "
35056
35057# ### BEGIN LIBTOOL CONFIG
35058
35059# Assembler program.
35060AS=$AS
35061
35062# DLL creation program.
35063DLLTOOL=$DLLTOOL
35064
35065# Object dumper program.
35066OBJDUMP=$OBJDUMP
35067
35068# Which release of libtool.m4 was used?
35069macro_version=$macro_version
35070macro_revision=$macro_revision
35071
35072# Whether or not to build shared libraries.
35073build_libtool_libs=$enable_shared
35074
35075# Whether or not to build static libraries.
35076build_old_libs=$enable_static
35077
35078# What type of objects to build.
35079pic_mode=$pic_mode
35080
35081# Whether or not to optimize for fast installation.
35082fast_install=$enable_fast_install
35083
35084# The host system.
35085host_alias=$host_alias
35086host=$host
35087host_os=$host_os
35088
35089# The build system.
35090build_alias=$build_alias
35091build=$build
35092build_os=$build_os
35093
35094# A sed program that does not truncate output.
35095SED=$lt_SED
35096
35097# Sed that helps us avoid accidentally triggering echo(1) options like -n.
35098Xsed="\$SED -e 1s/^X//"
35099
35100# A grep program that handles long lines.
35101GREP=$lt_GREP
35102
35103# An ERE matcher.
35104EGREP=$lt_EGREP
35105
35106# A literal string matcher.
35107FGREP=$lt_FGREP
35108
35109# A BSD- or MS-compatible name lister.
35110NM=$lt_NM
35111
35112# Whether we need soft or hard links.
35113LN_S=$lt_LN_S
35114
35115# What is the maximum length of a command?
35116max_cmd_len=$max_cmd_len
35117
35118# Object file suffix (normally "o").
35119objext=$ac_objext
35120
35121# Executable file suffix (normally "").
35122exeext=$exeext
35123
35124# whether the shell understands "unset".
35125lt_unset=$lt_unset
35126
35127# turn spaces into newlines.
35128SP2NL=$lt_lt_SP2NL
35129
35130# turn newlines into spaces.
35131NL2SP=$lt_lt_NL2SP
35132
35133# How to create reloadable object files.
35134reload_flag=$lt_reload_flag
35135reload_cmds=$lt_reload_cmds
35136
35137# Method to check whether dependent libraries are shared objects.
35138deplibs_check_method=$lt_deplibs_check_method
35139
35140# Command to use when deplibs_check_method == "file_magic".
35141file_magic_cmd=$lt_file_magic_cmd
35142
35143# The archiver.
35144AR=$lt_AR
35145AR_FLAGS=$lt_AR_FLAGS
35146
35147# A symbol stripping program.
35148STRIP=$lt_STRIP
35149
35150# Commands used to install an old-style archive.
35151RANLIB=$lt_RANLIB
35152old_postinstall_cmds=$lt_old_postinstall_cmds
35153old_postuninstall_cmds=$lt_old_postuninstall_cmds
35154
35155# A C compiler.
35156LTCC=$lt_CC
35157
35158# LTCC compiler flags.
35159LTCFLAGS=$lt_CFLAGS
35160
35161# Take the output of nm and produce a listing of raw symbols and C names.
35162global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35163
35164# Transform the output of nm in a proper C declaration.
35165global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35166
35167# Transform the output of nm in a C name address pair.
35168global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35169
35170# Transform the output of nm in a C name address pair when lib prefix is needed.
35171global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
35172
35173# The name of the directory that contains temporary libtool files.
35174objdir=$objdir
35175
35176# Shell to use when invoking shell scripts.
35177SHELL=$lt_SHELL
35178
35179# An echo program that does not interpret backslashes.
35180ECHO=$lt_ECHO
35181
35182# Used to examine libraries when file_magic_cmd begins with "file".
35183MAGIC_CMD=$MAGIC_CMD
35184
35185# Must we lock files when doing compilation?
35186need_locks=$lt_need_locks
35187
35188# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
35189DSYMUTIL=$lt_DSYMUTIL
35190
35191# Tool to change global to local symbols on Mac OS X.
35192NMEDIT=$lt_NMEDIT
35193
35194# Tool to manipulate fat objects and archives on Mac OS X.
35195LIPO=$lt_LIPO
35196
35197# ldd/readelf like tool for Mach-O binaries on Mac OS X.
35198OTOOL=$lt_OTOOL
35199
35200# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
35201OTOOL64=$lt_OTOOL64
35202
35203# Old archive suffix (normally "a").
35204libext=$libext
35205
35206# Shared library suffix (normally ".so").
35207shrext_cmds=$lt_shrext_cmds
35208
35209# The commands to extract the exported symbol list from a shared archive.
35210extract_expsyms_cmds=$lt_extract_expsyms_cmds
35211
35212# Variables whose values should be saved in libtool wrapper scripts and
35213# restored at link time.
35214variables_saved_for_relink=$lt_variables_saved_for_relink
35215
35216# Do we need the "lib" prefix for modules?
35217need_lib_prefix=$need_lib_prefix
35218
35219# Do we need a version for libraries?
35220need_version=$need_version
35221
35222# Library versioning type.
35223version_type=$version_type
35224
35225# Shared library runtime path variable.
35226runpath_var=$runpath_var
35227
35228# Shared library path variable.
35229shlibpath_var=$shlibpath_var
35230
35231# Is shlibpath searched before the hard-coded library search path?
35232shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35233
35234# Format of library name prefix.
35235libname_spec=$lt_libname_spec
35236
35237# List of archive names. First name is the real one, the rest are links.
35238# The last name is the one that the linker finds with -lNAME
35239library_names_spec=$lt_library_names_spec
35240
35241# The coded name of the library, if different from the real name.
35242soname_spec=$lt_soname_spec
35243
35244# Command to use after installation of a shared archive.
35245postinstall_cmds=$lt_postinstall_cmds
35246
35247# Command to use after uninstallation of a shared archive.
35248postuninstall_cmds=$lt_postuninstall_cmds
35249
35250# Commands used to finish a libtool library installation in a directory.
35251finish_cmds=$lt_finish_cmds
35252
35253# As "finish_cmds", except a single script fragment to be evaled but
35254# not shown.
35255finish_eval=$lt_finish_eval
35256
35257# Whether we should hardcode library paths into libraries.
35258hardcode_into_libs=$hardcode_into_libs
35259
35260# Compile-time system search path for libraries.
35261sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35262
35263# Run-time system search path for libraries.
35264sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35265
35266# Whether dlopen is supported.
35267dlopen_support=$enable_dlopen
35268
35269# Whether dlopen of programs is supported.
35270dlopen_self=$enable_dlopen_self
35271
35272# Whether dlopen of statically linked programs is supported.
35273dlopen_self_static=$enable_dlopen_self_static
35274
35275# Commands to strip libraries.
35276old_striplib=$lt_old_striplib
35277striplib=$lt_striplib
35278
35279
35280# The linker used to build libraries.
35281LD=$lt_LD
35282
35283# Commands used to build an old-style archive.
35284old_archive_cmds=$lt_old_archive_cmds
35285
35286# A language specific compiler.
35287CC=$lt_compiler
35288
35289# Is the compiler the GNU compiler?
35290with_gcc=$GCC
35291
35292# Compiler flag to turn off builtin functions.
35293no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35294
35295# How to pass a linker flag through the compiler.
35296wl=$lt_lt_prog_compiler_wl
35297
35298# Additional compiler flags for building library objects.
35299pic_flag=$lt_lt_prog_compiler_pic
35300
35301# Compiler flag to prevent dynamic linking.
35302link_static_flag=$lt_lt_prog_compiler_static
35303
35304# Does compiler simultaneously support -c and -o options?
35305compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35306
35307# Whether or not to add -lc for building shared libraries.
35308build_libtool_need_lc=$archive_cmds_need_lc
35309
35310# Whether or not to disallow shared libs when runtime libs are static.
35311allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35312
35313# Compiler flag to allow reflexive dlopens.
35314export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35315
35316# Compiler flag to generate shared objects directly from archives.
35317whole_archive_flag_spec=$lt_whole_archive_flag_spec
35318
35319# Whether the compiler copes with passing no objects directly.
35320compiler_needs_object=$lt_compiler_needs_object
35321
35322# Create an old-style archive from a shared archive.
35323old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35324
35325# Create a temporary old-style archive to link instead of a shared archive.
35326old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35327
35328# Commands used to build a shared archive.
35329archive_cmds=$lt_archive_cmds
35330archive_expsym_cmds=$lt_archive_expsym_cmds
35331
35332# Commands used to build a loadable module if different from building
35333# a shared archive.
35334module_cmds=$lt_module_cmds
35335module_expsym_cmds=$lt_module_expsym_cmds
35336
35337# Whether we are building with GNU ld or not.
35338with_gnu_ld=$lt_with_gnu_ld
35339
35340# Flag that allows shared libraries with undefined symbols to be built.
35341allow_undefined_flag=$lt_allow_undefined_flag
35342
35343# Flag that enforces no undefined symbols.
35344no_undefined_flag=$lt_no_undefined_flag
35345
35346# Flag to hardcode \$libdir into a binary during linking.
35347# This must work even if \$libdir does not exist
35348hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35349
35350# If ld is used when linking, flag to hardcode \$libdir into a binary
35351# during linking. This must work even if \$libdir does not exist.
35352hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35353
35354# Whether we need a single "-rpath" flag with a separated argument.
35355hardcode_libdir_separator=$lt_hardcode_libdir_separator
35356
35357# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35358# DIR into the resulting binary.
35359hardcode_direct=$hardcode_direct
35360
35361# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35362# DIR into the resulting binary and the resulting library dependency is
35363# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35364# library is relocated.
35365hardcode_direct_absolute=$hardcode_direct_absolute
35366
35367# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35368# into the resulting binary.
35369hardcode_minus_L=$hardcode_minus_L
35370
35371# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35372# into the resulting binary.
35373hardcode_shlibpath_var=$hardcode_shlibpath_var
35374
35375# Set to "yes" if building a shared library automatically hardcodes DIR
35376# into the library and all subsequent libraries and executables linked
35377# against it.
35378hardcode_automatic=$hardcode_automatic
35379
35380# Set to yes if linker adds runtime paths of dependent libraries
35381# to runtime path list.
35382inherit_rpath=$inherit_rpath
35383
35384# Whether libtool must link a program against all its dependency libraries.
35385link_all_deplibs=$link_all_deplibs
35386
35387# Fix the shell variable \$srcfile for the compiler.
35388fix_srcfile_path=$lt_fix_srcfile_path
35389
35390# Set to "yes" if exported symbols are required.
35391always_export_symbols=$always_export_symbols
35392
35393# The commands to list exported symbols.
35394export_symbols_cmds=$lt_export_symbols_cmds
35395
35396# Symbols that should not be listed in the preloaded symbols.
35397exclude_expsyms=$lt_exclude_expsyms
35398
35399# Symbols that must always be exported.
35400include_expsyms=$lt_include_expsyms
35401
35402# Commands necessary for linking programs (against libraries) with templates.
35403prelink_cmds=$lt_prelink_cmds
35404
35405# Specify filename containing input files.
35406file_list_spec=$lt_file_list_spec
35407
35408# How to hardcode a shared library path into an executable.
35409hardcode_action=$hardcode_action
35410
35411# The directories searched by this compiler when creating a shared library.
35412compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
35413
35414# Dependencies to place before and after the objects being linked to
35415# create a shared library.
35416predep_objects=$lt_predep_objects
35417postdep_objects=$lt_postdep_objects
35418predeps=$lt_predeps
35419postdeps=$lt_postdeps
35420
35421# The library search path used internally by the compiler when linking
35422# a shared library.
35423compiler_lib_search_path=$lt_compiler_lib_search_path
35424
35425# ### END LIBTOOL CONFIG
35426
35427_LT_EOF
35428
35429 case $host_os in
35430 aix3*)
35431 cat <<\_LT_EOF >> "$cfgfile"
35432# AIX sometimes has problems with the GCC collect2 program. For some
35433# reason, if we set the COLLECT_NAMES environment variable, the problems
35434# vanish in a puff of smoke.
35435if test "X${COLLECT_NAMES+set}" != Xset; then
35436 COLLECT_NAMES=
35437 export COLLECT_NAMES
35438fi
35439_LT_EOF
35440 ;;
35441 esac
35442
35443
35444ltmain="$ac_aux_dir/ltmain.sh"
35445
35446
35447 # We use sed instead of cat because bash on DJGPP gets confused if
35448 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35449 # text mode, it properly converts lines to CR/LF. This bash problem
35450 # is reportedly fixed, but why not run on old versions too?
35451 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35452 || (rm -f "$cfgfile"; exit 1)
35453
35454 case $xsi_shell in
35455 yes)
35456 cat << \_LT_EOF >> "$cfgfile"
35457
35458# func_dirname file append nondir_replacement
35459# Compute the dirname of FILE. If nonempty, add APPEND to the result,
35460# otherwise set result to NONDIR_REPLACEMENT.
35461func_dirname ()
35462{
35463 case ${1} in
35464 */*) func_dirname_result="${1%/*}${2}" ;;
35465 * ) func_dirname_result="${3}" ;;
35466 esac
35467}
35468
35469# func_basename file
35470func_basename ()
35471{
35472 func_basename_result="${1##*/}"
35473}
35474
35475# func_dirname_and_basename file append nondir_replacement
35476# perform func_basename and func_dirname in a single function
35477# call:
35478# dirname: Compute the dirname of FILE. If nonempty,
35479# add APPEND to the result, otherwise set result
35480# to NONDIR_REPLACEMENT.
35481# value returned in "$func_dirname_result"
35482# basename: Compute filename of FILE.
35483# value retuned in "$func_basename_result"
35484# Implementation must be kept synchronized with func_dirname
35485# and func_basename. For efficiency, we do not delegate to
35486# those functions but instead duplicate the functionality here.
35487func_dirname_and_basename ()
35488{
35489 case ${1} in
35490 */*) func_dirname_result="${1%/*}${2}" ;;
35491 * ) func_dirname_result="${3}" ;;
35492 esac
35493 func_basename_result="${1##*/}"
35494}
35495
35496# func_stripname prefix suffix name
35497# strip PREFIX and SUFFIX off of NAME.
35498# PREFIX and SUFFIX must not contain globbing or regex special
35499# characters, hashes, percent signs, but SUFFIX may contain a leading
35500# dot (in which case that matches only a dot).
35501func_stripname ()
35502{
35503 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35504 # positional parameters, so assign one to ordinary parameter first.
35505 func_stripname_result=${3}
35506 func_stripname_result=${func_stripname_result#"${1}"}
35507 func_stripname_result=${func_stripname_result%"${2}"}
35508}
35509
35510# func_opt_split
35511func_opt_split ()
35512{
35513 func_opt_split_opt=${1%%=*}
35514 func_opt_split_arg=${1#*=}
35515}
35516
35517# func_lo2o object
35518func_lo2o ()
35519{
35520 case ${1} in
35521 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35522 *) func_lo2o_result=${1} ;;
35523 esac
35524}
35525
35526# func_xform libobj-or-source
35527func_xform ()
35528{
35529 func_xform_result=${1%.*}.lo
35530}
35531
35532# func_arith arithmetic-term...
35533func_arith ()
35534{
35535 func_arith_result=$(( $* ))
35536}
35537
35538# func_len string
35539# STRING may not start with a hyphen.
35540func_len ()
35541{
35542 func_len_result=${#1}
35543}
35544
35545_LT_EOF
35546 ;;
35547 *) # Bourne compatible functions.
35548 cat << \_LT_EOF >> "$cfgfile"
35549
35550# func_dirname file append nondir_replacement
35551# Compute the dirname of FILE. If nonempty, add APPEND to the result,
35552# otherwise set result to NONDIR_REPLACEMENT.
35553func_dirname ()
35554{
35555 # Extract subdirectory from the argument.
35556 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35557 if test "X$func_dirname_result" = "X${1}"; then
35558 func_dirname_result="${3}"
35559 else
35560 func_dirname_result="$func_dirname_result${2}"
35561 fi
35562}
35563
35564# func_basename file
35565func_basename ()
35566{
35567 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35568}
35569
35570
35571# func_stripname prefix suffix name
35572# strip PREFIX and SUFFIX off of NAME.
35573# PREFIX and SUFFIX must not contain globbing or regex special
35574# characters, hashes, percent signs, but SUFFIX may contain a leading
35575# dot (in which case that matches only a dot).
35576# func_strip_suffix prefix name
35577func_stripname ()
35578{
35579 case ${2} in
35580 .*) func_stripname_result=`$ECHO "X${3}" \
35581 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35582 *) func_stripname_result=`$ECHO "X${3}" \
35583 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35584 esac
35585}
35586
35587# sed scripts:
35588my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35589my_sed_long_arg='1s/^-[^=]*=//'
35590
35591# func_opt_split
35592func_opt_split ()
35593{
35594 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35595 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35596}
35597
35598# func_lo2o object
35599func_lo2o ()
35600{
35601 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35602}
35603
35604# func_xform libobj-or-source
35605func_xform ()
35606{
35607 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
35608}
35609
35610# func_arith arithmetic-term...
35611func_arith ()
35612{
35613 func_arith_result=`expr "$@"`
35614}
35615
35616# func_len string
35617# STRING may not start with a hyphen.
35618func_len ()
35619{
35620 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
35621}
35622
35623_LT_EOF
35624esac
35625
35626case $lt_shell_append in
35627 yes)
35628 cat << \_LT_EOF >> "$cfgfile"
35629
35630# func_append var value
35631# Append VALUE to the end of shell variable VAR.
35632func_append ()
35633{
35634 eval "$1+=\$2"
35635}
35636_LT_EOF
35637 ;;
35638 *)
35639 cat << \_LT_EOF >> "$cfgfile"
35640
35641# func_append var value
35642# Append VALUE to the end of shell variable VAR.
35643func_append ()
35644{
35645 eval "$1=\$$1\$2"
35646}
35647
35648_LT_EOF
35649 ;;
35650 esac
35651
35652
35653 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35654 || (rm -f "$cfgfile"; exit 1)
35655
35656 mv -f "$cfgfile" "$ofile" ||
35657 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35658 chmod +x "$ofile"
35659
35660
35661 cat <<_LT_EOF >> "$ofile"
35662
35663# ### BEGIN LIBTOOL TAG CONFIG: CXX
35664
35665# The linker used to build libraries.
35666LD=$lt_LD_CXX
35667
35668# Commands used to build an old-style archive.
35669old_archive_cmds=$lt_old_archive_cmds_CXX
35670
35671# A language specific compiler.
35672CC=$lt_compiler_CXX
35673
35674# Is the compiler the GNU compiler?
35675with_gcc=$GCC_CXX
35676
35677# Compiler flag to turn off builtin functions.
35678no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
35679
35680# How to pass a linker flag through the compiler.
35681wl=$lt_lt_prog_compiler_wl_CXX
35682
35683# Additional compiler flags for building library objects.
35684pic_flag=$lt_lt_prog_compiler_pic_CXX
35685
35686# Compiler flag to prevent dynamic linking.
35687link_static_flag=$lt_lt_prog_compiler_static_CXX
35688
35689# Does compiler simultaneously support -c and -o options?
35690compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
35691
35692# Whether or not to add -lc for building shared libraries.
35693build_libtool_need_lc=$archive_cmds_need_lc_CXX
35694
35695# Whether or not to disallow shared libs when runtime libs are static.
35696allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
35697
35698# Compiler flag to allow reflexive dlopens.
35699export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
35700
35701# Compiler flag to generate shared objects directly from archives.
35702whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
35703
35704# Whether the compiler copes with passing no objects directly.
35705compiler_needs_object=$lt_compiler_needs_object_CXX
35706
35707# Create an old-style archive from a shared archive.
35708old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
35709
35710# Create a temporary old-style archive to link instead of a shared archive.
35711old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
35712
35713# Commands used to build a shared archive.
35714archive_cmds=$lt_archive_cmds_CXX
35715archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
35716
35717# Commands used to build a loadable module if different from building
35718# a shared archive.
35719module_cmds=$lt_module_cmds_CXX
35720module_expsym_cmds=$lt_module_expsym_cmds_CXX
35721
35722# Whether we are building with GNU ld or not.
35723with_gnu_ld=$lt_with_gnu_ld_CXX
35724
35725# Flag that allows shared libraries with undefined symbols to be built.
35726allow_undefined_flag=$lt_allow_undefined_flag_CXX
35727
35728# Flag that enforces no undefined symbols.
35729no_undefined_flag=$lt_no_undefined_flag_CXX
35730
35731# Flag to hardcode \$libdir into a binary during linking.
35732# This must work even if \$libdir does not exist
35733hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
35734
35735# If ld is used when linking, flag to hardcode \$libdir into a binary
35736# during linking. This must work even if \$libdir does not exist.
35737hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
35738
35739# Whether we need a single "-rpath" flag with a separated argument.
35740hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
35741
35742# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35743# DIR into the resulting binary.
35744hardcode_direct=$hardcode_direct_CXX
35745
35746# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35747# DIR into the resulting binary and the resulting library dependency is
35748# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35749# library is relocated.
35750hardcode_direct_absolute=$hardcode_direct_absolute_CXX
35751
35752# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35753# into the resulting binary.
35754hardcode_minus_L=$hardcode_minus_L_CXX
35755
35756# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35757# into the resulting binary.
35758hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
35759
35760# Set to "yes" if building a shared library automatically hardcodes DIR
35761# into the library and all subsequent libraries and executables linked
35762# against it.
35763hardcode_automatic=$hardcode_automatic_CXX
35764
35765# Set to yes if linker adds runtime paths of dependent libraries
35766# to runtime path list.
35767inherit_rpath=$inherit_rpath_CXX
35768
35769# Whether libtool must link a program against all its dependency libraries.
35770link_all_deplibs=$link_all_deplibs_CXX
35771
35772# Fix the shell variable \$srcfile for the compiler.
35773fix_srcfile_path=$lt_fix_srcfile_path_CXX
35774
35775# Set to "yes" if exported symbols are required.
35776always_export_symbols=$always_export_symbols_CXX
35777
35778# The commands to list exported symbols.
35779export_symbols_cmds=$lt_export_symbols_cmds_CXX
35780
35781# Symbols that should not be listed in the preloaded symbols.
35782exclude_expsyms=$lt_exclude_expsyms_CXX
35783
35784# Symbols that must always be exported.
35785include_expsyms=$lt_include_expsyms_CXX
35786
35787# Commands necessary for linking programs (against libraries) with templates.
35788prelink_cmds=$lt_prelink_cmds_CXX
35789
35790# Specify filename containing input files.
35791file_list_spec=$lt_file_list_spec_CXX
35792
35793# How to hardcode a shared library path into an executable.
35794hardcode_action=$hardcode_action_CXX
35795
35796# The directories searched by this compiler when creating a shared library.
35797compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
35798
35799# Dependencies to place before and after the objects being linked to
35800# create a shared library.
35801predep_objects=$lt_predep_objects_CXX
35802postdep_objects=$lt_postdep_objects_CXX
35803predeps=$lt_predeps_CXX
35804postdeps=$lt_postdeps_CXX
35805
35806# The library search path used internally by the compiler when linking
35807# a shared library.
35808compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
35809
35810# ### END LIBTOOL TAG CONFIG: CXX
35811_LT_EOF
35812
35813 ;;
35814
35815 esac
35816done # for ac_tag
35817
35818
35819as_fn_exit 0
35820_ACEOF
35821ac_clean_files=$ac_clean_files_save
35822
35823test $ac_write_fail = 0 ||
35824 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
35825
35826
35827# configure is writing to config.log, and then calls config.status.
35828# config.status does its own redirection, appending to config.log.
35829# Unfortunately, on DOS this fails, as config.log is still kept open
35830# by configure, so config.status won't be able to write to it; its
35831# output is simply discarded. So we exec the FD to /dev/null,
35832# effectively closing config.log, so it can be properly (re)opened and
35833# appended to by config.status. When coming back to configure, we
35834# need to make the FD available again.
35835if test "$no_create" != yes; then
35836 ac_cs_success=:
35837 ac_config_status_args=
35838 test "$silent" = yes &&
35839 ac_config_status_args="$ac_config_status_args --quiet"
35840 exec 5>/dev/null
35841 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35842 exec 5>>config.log
35843 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35844 # would make configure fail if this is the last instruction.
35845 $ac_cs_success || as_fn_exit 1
35846fi
35847if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
35849$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
35850fi
35851
35852
35853#####################################################################
35854## Sanity Checks
35855
35856if test "x$build_pthreads" = "xno" ; then
35857 if test "x$build_async_render" = "xyes" ; then
35858 echo "ERROR: PThreads off, but async rendering on. Async rendering"
35859 echo " needs thread support."
35860 exit 1
35861 fi
35862 if test "x$build_pipe_render" = "xyes" ; then
35863 echo "ERROR: PThreads off, but pipe rendering on. Pipe rendering"
35864 echo " needs thread support."
35865 exit 1
35866 fi
35867fi
35868
35869if test "x${has_pthreads}" = "xno" ; then
35870 if test "x$build_async_preload" = "xyes" ; then
35871 echo "ERROR: PThreads off, but Async Preload on. Async Preload"
35872 echo " needs thread support."
35873 exit 1
35874 fi
35875fi
35876
35877#####################################################################
35878## Info
35879
35880echo
35881echo
35882echo
35883echo "------------------------------------------------------------------------"
35884echo "$PACKAGE $VERSION"
35885echo "------------------------------------------------------------------------"
35886echo
35887echo "Configuration Options Summary:"
35888echo
35889echo "Engines:"
35890echo " Software Memory Buffer.....: $have_evas_engine_buffer"
35891echo " Software X11...............: $have_evas_engine_software_x11 (Xlib: $have_evas_engine_software_xlib) (XCB: $have_evas_engine_software_xcb)"
35892echo $ECHO_N " OpenGL X11.................: $have_evas_engine_gl_x11 (Xlib: $have_evas_engine_gl_xlib) (XCB: $have_evas_engine_gl_xcb) $ECHO_C"
35893if test "x$have_evas_engine_gl_x11" = "xyes"; then
35894 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
35895else
35896 echo
35897fi
35898echo " Software GDI...............: $have_evas_engine_software_gdi"
35899echo " Software DirectDraw........: $have_evas_engine_software_ddraw"
35900echo " Direct3d...................: $have_evas_engine_direct3d"
35901echo " OpenGL SDL.................: $have_evas_engine_gl_sdl $ECHO_C"
35902if test "x$have_evas_engine_gl_sdl" = "xyes"; then
35903 echo "(GLES: $gl_flavor_gles) (SGX: $gles_variety_sgx) (s3c6410: $gles_variety_s3c6410)"
35904else
35905 echo
35906fi
35907echo " OpenGL Cocoa...............: $have_evas_engine_gl_cocoa"
35908echo " Software Framebuffer.......: $have_evas_engine_fb"
35909echo " DirectFB...................: $have_evas_engine_directfb"
35910echo " PSL1GHT....................: $have_evas_engine_psl1ght"
35911echo " Software 8bit grayscale....: $have_evas_engine_software_8"
35912# FIXME: kill software 16bit
35913echo " Software 16bit ............: $have_evas_engine_software_16"
35914echo " Software 16bit X11.........: $have_evas_engine_software_16_x11"
35915echo " Software 16bit Directdraw..: $have_evas_engine_software_16_ddraw"
35916echo " Software 16bit WinCE.......: $have_evas_engine_software_16_wince"
35917echo " Software 16bit SDL.........: $have_evas_engine_software_16_sdl (primitive: $sdl_primitive)"
35918echo " Wayland Shm................: $have_evas_engine_wayland_shm"
35919echo " Wayland Egl................: $have_evas_engine_wayland_egl"
35920echo
35921echo "Image Loaders:"
35922echo " BMP.....................: $have_evas_image_loader_bmp"
35923echo " EDB.....................: $have_evas_image_loader_edb"
35924echo " EET.....................: $have_evas_image_loader_eet"
35925echo " GENERIC.................: $have_evas_image_loader_generic"
35926echo " GIF.....................: $have_evas_image_loader_gif"
35927echo " ICO.....................: $have_evas_image_loader_ico"
35928echo " JPEG....................: $have_evas_image_loader_jpeg (region: $have_jpeg_region)"
35929echo " PMAPS...................: $have_evas_image_loader_pmaps"
35930echo " PNG.....................: $have_evas_image_loader_png"
35931echo " PSD.....................: $have_evas_image_loader_psd"
35932echo " SVG.....................: $have_evas_image_loader_svg"
35933echo " TGA.....................: $have_evas_image_loader_tga"
35934echo " TIFF....................: $have_evas_image_loader_tiff"
35935echo " WBMP....................: $have_evas_image_loader_wbmp"
35936echo " XPM.....................: $have_evas_image_loader_xpm"
35937echo
35938echo "Font Sourcing Systems:"
35939echo " EET.....................: $have_evas_font_loader_eet"
35940echo
35941echo "Font Searching Systems:"
35942echo " Fontconfig..............: $have_fontconfig"
35943echo
35944echo "Font Rendering Helpers:"
35945echo " Fribidi.................: $have_fribidi"
35946echo " Harfbuzz................: $have_harfbuzz"
35947echo " liblinebreak............: $have_linebreak"
35948# FIXME: add non freetype2 font engine support
35949# FIXME: make freetype2 optional
35950echo
35951echo "CPU Specific Extensions:"
35952echo " Fallback C Code.........: $build_cpu_c"
35953echo " MMX.....................: $build_cpu_mmx"
35954echo " SSE.....................: $build_cpu_sse"
35955echo " SSE3....................: $build_cpu_sse3"
35956echo " ALTIVEC.................: $build_cpu_altivec"
35957echo " NEON....................: $build_cpu_neon"
35958echo " Thread Support..........: $build_pthreads"
35959echo
35960echo "Features:"
35961echo " MAGIC_DEBUG.............: $want_evas_magic_debug"
35962echo " Cache Server............: $want_evas_cserve"
35963echo
35964echo " Threaded Pipe Rendering.: $build_pipe_render"
35965echo " Async Pipe Rendering....: $build_async_render"
35966echo " Async Events............: $build_async_events"
35967echo " Async Image Preload.....: $build_async_preload"
35968echo
35969echo " Word Cache..............: $want_word_cache"
35970echo " Metric Cache............: $want_metric_cache"
35971echo
35972echo " Pixman..................: $have_pixman"
35973echo " Pixman Fonts............: $have_pixman_font"
35974echo " Pixman Rects............: $have_pixman_rect"
35975echo " Pixman Lines............: $have_pixman_line"
35976echo " Pixman Polygons.........: $have_pixman_poly"
35977echo " Pixman Images...........: $have_pixman_image"
35978echo " Pixman Image ScaleSample: $have_pixman_image_scale_sample"
35979echo
35980echo " Tiled 32BPP rotate......: $have_tile_rotate"
35981echo
35982echo "ARGB Software Engine Options:"
35983echo " Sampling Scaler.........: $scaler_sample"
35984echo " Smooth Scaler...........: $scaler_smooth"
35985# FIXME: add an mmx scaler routine
35986echo " YUV Converter...........: $conv_yuv"
35987# FIXME: add more YUV format and colorvariant support
35988echo
35989echo "ARGB Conversion Options:"
35990echo " Smaller Dither Mask.....: $conv_small_dither"
35991echo " Line Dither Mask........: $conv_line_dither"
35992echo " No Dither Mask for 16bpp: $conv_no_dither"
35993echo " 8bpp RGB 332............: $conv_8_rgb_332"
35994echo " 8bpp RGB 666............: $conv_8_rgb_666"
35995echo " 8bpp RGB 232............: $conv_8_rgb_232"
35996echo " 8bpp RGB 222............: $conv_8_rgb_222"
35997echo " 8bpp RGB 221............: $conv_8_rgb_221"
35998echo " 8bpp RGB 121............: $conv_8_rgb_121"
35999echo " 8bpp RGB 111............: $conv_8_rgb_111"
36000echo " 8bpp Grayscale (256)....: $conv_8_gry_1"
36001echo " 8bpp Grayscale (16).....: $conv_8_gry_16"
36002echo " 8bpp Grayscale 64-pal...: $conv_8_grayscale_64"
36003# FIXME: add grayscale and B&W support to standard x converters
36004echo " 16bpp RGB 565...........: $conv_16_rgb_565"
36005echo " 16bpp BGR 565...........: $conv_16_bgr_565"
36006echo " 16bpp RGB 555...........: $conv_16_rgb_555"
36007echo " 16bpp RGB 444...........: $conv_16_rgb_444"
36008echo " 16bpp RGB 565 (444 ipaq): $conv_16_rgb_ipq"
36009# FIXME: add 555 (444 ipaq) support
36010# FIXME: add 30bpp support
36011# FIXME: add palletted support (ugh!)
36012# FIXME: add 8bpp and below rotation
36013echo " 16bpp Rotation 0........: $conv_16_rgb_rot_0"
36014echo " 16bpp Rotation 90.......: $conv_16_rgb_rot_90"
36015echo " 16bpp Rotation 180......: $conv_16_rgb_rot_180"
36016echo " 16bpp Rotation 270......: $conv_16_rgb_rot_270"
36017echo " 24bpp RGB 888...........: $conv_24_rgb_888"
36018echo " 24bpp BGR 888...........: $conv_24_bgr_888"
36019echo " 24bpp RGB 666 (666 ezx).: $conv_24_rgb_ezx"
36020# FIXME: add 24bpp rotation
36021echo " 32bpp RGB 8888..........: $conv_32_rgb_8888"
36022echo " 32bpp RGBX 8888.........: $conv_32_rgbx_8888"
36023echo " 32bpp BGR 8888..........: $conv_32_bgr_8888"
36024echo " 32bpp BGRX 8888.........: $conv_32_bgrx_8888"
36025echo " 32bpp RGB 666 (666 ezx).: $conv_32_rgb_ezx"
36026echo " 32bpp Rotation 0........: $conv_32_rgb_rot_0"
36027echo " 32bpp Rotation 90.......: $conv_32_rgb_rot_90"
36028echo " 32bpp Rotation 180......: $conv_32_rgb_rot_180"
36029echo " 32bpp Rotation 270......: $conv_32_rgb_rot_270"
36030echo
36031echo "Documentation.............: ${build_doc}"
36032echo "Examples..................: install:${install_examples} build:${build_examples}"
36033if test "x${enable_tests}" = "xyes" ; then
36034 echo "Tests.....................: ${enable_tests} (make check)"
36035else
36036 echo "Tests.....................: ${enable_tests}"
36037fi
36038if test "x${enable_coverage}" = "xyes" ; then
36039 echo "Coverage..................: ${enable_coverage} (make coverage)"
36040else
36041 echo "Coverage..................: ${enable_coverage}"
36042fi
36043echo
36044echo "Compilation............: make (or gmake)"
36045echo " CPPFLAGS.............: $CPPFLAGS"
36046echo " CFLAGS...............: $CFLAGS"
36047echo " CXXFLAGS.............: $CXXFLAGS"
36048echo " LDFLAGS..............: $LDFLAGS"
36049echo
36050echo "Installation...........: make install (as root if needed, with 'su' or 'sudo')"
36051echo " prefix...............: $prefix"
36052echo
36053if test "x${have_static_module}" = "xyes" ; then
36054echo -e "\0033\01331;31mWarning\0033\01331;0m: You are trying to link statically one or more modules to Evas."
36055echo " You must know what you are doing, or else you will have a lot of"
36056echo " problems. And Kenny will be killed."
36057echo " Think about that."
36058echo
36059fi